@nova-design-system/nova-webcomponents 3.25.0 → 3.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (402) hide show
  1. package/dist/cjs/i18n.utils-BbKpUgYq.js +77 -0
  2. package/dist/cjs/{index-BQjqJTJB.js → index-Cfkoz1kc.js} +5 -1
  3. package/dist/cjs/index.cjs.js +54 -2
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/native.cjs.js +2 -2
  6. package/dist/cjs/nv-accordion-item.cjs.entry.js +1 -1
  7. package/dist/cjs/nv-accordion.cjs.entry.js +1 -1
  8. package/dist/cjs/nv-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/nv-avatar.cjs.entry.js +1 -1
  10. package/dist/cjs/nv-badge_2.cjs.entry.js +6 -4
  11. package/dist/cjs/nv-breadcrumb.cjs.entry.js +2 -2
  12. package/dist/cjs/nv-breadcrumbs.cjs.entry.js +2 -2
  13. package/dist/cjs/nv-button.cjs.entry.js +2 -2
  14. package/dist/cjs/nv-buttongroup.cjs.entry.js +3 -3
  15. package/dist/cjs/nv-calendar.cjs.entry.js +3 -12
  16. package/dist/cjs/nv-col.cjs.entry.js +2 -2
  17. package/dist/cjs/nv-datagrid.cjs.entry.js +3 -3
  18. package/dist/cjs/nv-datagridcolumn.cjs.entry.js +2 -2
  19. package/dist/cjs/nv-dialog.cjs.entry.js +16 -3
  20. package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +3 -3
  21. package/dist/cjs/nv-drawer.cjs.entry.js +2 -2
  22. package/dist/cjs/nv-drawerfooter_2.cjs.entry.js +3 -3
  23. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +6 -6
  24. package/dist/cjs/nv-fielddate.cjs.entry.js +7 -7
  25. package/dist/cjs/nv-fielddaterange.cjs.entry.js +7 -8
  26. package/dist/cjs/nv-fielddropdown.cjs.entry.js +20 -19
  27. package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +2 -2
  28. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +16 -15
  29. package/dist/cjs/nv-fieldnumber.cjs.entry.js +5 -5
  30. package/dist/cjs/nv-fieldpassword.cjs.entry.js +5 -5
  31. package/dist/cjs/nv-fieldradio.cjs.entry.js +5 -5
  32. package/dist/cjs/nv-fieldselect.cjs.entry.js +6 -6
  33. package/dist/cjs/nv-fieldslider.cjs.entry.js +4 -4
  34. package/dist/cjs/nv-fieldtext.cjs.entry.js +5 -5
  35. package/dist/cjs/nv-fieldtextarea.cjs.entry.js +31 -29
  36. package/dist/cjs/nv-fieldtime.cjs.entry.js +4 -4
  37. package/dist/cjs/nv-icon.cjs.entry.js +3 -3
  38. package/dist/cjs/nv-iconbutton_2.cjs.entry.js +3 -3
  39. package/dist/cjs/nv-menu.cjs.entry.js +2 -2
  40. package/dist/cjs/nv-menuitem.cjs.entry.js +2 -2
  41. package/dist/cjs/nv-notification-bullet.cjs.entry.js +1 -1
  42. package/dist/cjs/nv-notification.cjs.entry.js +2 -2
  43. package/dist/cjs/nv-notificationcontainer.cjs.entry.js +2 -2
  44. package/dist/cjs/nv-pagination-nav.cjs.entry.js +198 -0
  45. package/dist/cjs/nv-paginationtable.cjs.entry.js +2 -2
  46. package/dist/cjs/nv-popover.cjs.entry.js +2 -2
  47. package/dist/cjs/nv-row.cjs.entry.js +2 -2
  48. package/dist/cjs/nv-sidebar.cjs.entry.js +2 -2
  49. package/dist/cjs/nv-sidebarcontent.cjs.entry.js +2 -2
  50. package/dist/cjs/nv-sidebardivider.cjs.entry.js +2 -2
  51. package/dist/cjs/nv-sidebarfooter.cjs.entry.js +2 -2
  52. package/dist/cjs/nv-sidebargroup.cjs.entry.js +2 -2
  53. package/dist/cjs/nv-sidebarheader.cjs.entry.js +2 -2
  54. package/dist/cjs/nv-sidebarlogo.cjs.entry.js +2 -2
  55. package/dist/cjs/nv-sidebarnavitem.cjs.entry.js +12 -5
  56. package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js +2 -2
  57. package/dist/cjs/nv-split.cjs.entry.js +2 -2
  58. package/dist/cjs/nv-stack.cjs.entry.js +2 -2
  59. package/dist/cjs/nv-table.cjs.entry.js +4 -2
  60. package/dist/cjs/nv-tableheader.cjs.entry.js +2 -2
  61. package/dist/cjs/nv-toggle.cjs.entry.js +4 -4
  62. package/dist/cjs/nv-togglebutton.cjs.entry.js +2 -2
  63. package/dist/cjs/nv-togglebuttongroup.cjs.entry.js +2 -2
  64. package/dist/cjs/nv-tooltip.cjs.entry.js +3 -3
  65. package/dist/cjs/{i18n.utils-ku0bScip.js → worker-client-ByL3TenE.js} +35 -75
  66. package/dist/collection/collection-manifest.json +1 -0
  67. package/dist/collection/components/nv-badge/nv-badge.css +4 -1
  68. package/dist/collection/components/nv-badge/nv-badge.js +3 -1
  69. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.js +1 -1
  70. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.js +1 -1
  71. package/dist/collection/components/nv-button/nv-button.js +1 -1
  72. package/dist/collection/components/nv-buttongroup/nv-buttongroup.js +1 -1
  73. package/dist/collection/components/nv-buttongroup/styles/nv-buttongroup.css +4 -4
  74. package/dist/collection/components/nv-calendar/nv-calendar.js +2 -11
  75. package/dist/collection/components/nv-calendar/test/nv-calendar.utils.test.js +0 -1
  76. package/dist/collection/components/nv-col/nv-col.js +1 -1
  77. package/dist/collection/components/nv-datagrid/nv-datagrid.js +2 -2
  78. package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +1 -1
  79. package/dist/collection/components/nv-dialog/nv-dialog.js +15 -2
  80. package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +1 -1
  81. package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
  82. package/dist/collection/components/nv-drawer/nv-drawer.js +1 -1
  83. package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.js +1 -1
  84. package/dist/collection/components/nv-drawerheader/nv-drawerheader.js +1 -1
  85. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.css +9 -0
  86. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
  87. package/dist/collection/components/nv-fielddate/nv-fielddate.js +6 -6
  88. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +6 -7
  89. package/dist/collection/components/nv-fielddaterange/test/nv-fielddaterange.logic.test.js +0 -1
  90. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +4 -4
  91. package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
  92. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
  93. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +4 -4
  94. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +4 -4
  95. package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
  96. package/dist/collection/components/nv-fieldradio/styles/nv-fieldradio.css +20 -0
  97. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
  98. package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
  99. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +4 -4
  100. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js +14 -0
  101. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +50 -29
  102. package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +3 -4
  103. package/dist/collection/components/nv-icon/nv-icon.js +1 -1
  104. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
  105. package/dist/collection/components/nv-loader/nv-loader.js +1 -1
  106. package/dist/collection/components/nv-menu/nv-menu.js +1 -1
  107. package/dist/collection/components/nv-menuitem/nv-menuitem.js +1 -1
  108. package/dist/collection/components/nv-notification/nv-notification.js +1 -1
  109. package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.js +1 -1
  110. package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.css +37 -0
  111. package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.docs.js +278 -0
  112. package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.js +359 -0
  113. package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.utils.js +70 -0
  114. package/dist/collection/components/nv-pagination-nav/test/nv-pagination-nav.utils.test.js +66 -0
  115. package/dist/collection/components/nv-paginationtable/nv-paginationtable.js +1 -1
  116. package/dist/collection/components/nv-paginationtable/test/nv-paginationtable.utils.test.js +0 -1
  117. package/dist/collection/components/nv-popover/nv-popover.js +1 -1
  118. package/dist/collection/components/nv-row/nv-row.js +1 -1
  119. package/dist/collection/components/nv-sidebar/nv-sidebar.js +1 -1
  120. package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.js +1 -1
  121. package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.js +1 -1
  122. package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.js +1 -1
  123. package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.js +1 -1
  124. package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.js +1 -1
  125. package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.js +3 -1
  126. package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js +11 -4
  127. package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js +1 -1
  128. package/dist/collection/components/nv-split/nv-split.js +1 -1
  129. package/dist/collection/components/nv-stack/nv-stack.js +1 -1
  130. package/dist/collection/components/nv-table/nv-table.js +1 -2
  131. package/dist/collection/components/nv-table/nv-table.utils.js +2 -0
  132. package/dist/collection/components/nv-table/test/nv-table.utils.test.js +0 -1
  133. package/dist/collection/components/nv-tableheader/nv-tableheader.js +1 -1
  134. package/dist/collection/components/nv-toggle/nv-toggle.css +26 -0
  135. package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
  136. package/dist/collection/components/nv-togglebutton/nv-togglebutton.js +1 -1
  137. package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.js +1 -1
  138. package/dist/collection/components/nv-tooltip/nv-tooltip.css +7 -0
  139. package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
  140. package/dist/collection/index.js +2 -0
  141. package/dist/collection/utils/test/class.utils.test.js +0 -1
  142. package/dist/collection/utils/test/dom.utils.test.js +0 -1
  143. package/dist/components/_.entry.js +1 -0
  144. package/dist/components/index.js +1 -1
  145. package/dist/components/nv-accordion-item.js +1 -1
  146. package/dist/components/nv-accordion.js +1 -1
  147. package/dist/components/nv-alert.js +1 -1
  148. package/dist/components/nv-avatar.js +1 -1
  149. package/dist/components/nv-badge.js +1 -1
  150. package/dist/components/nv-breadcrumb.js +1 -1
  151. package/dist/components/nv-breadcrumbs.js +1 -1
  152. package/dist/components/nv-button.js +1 -1
  153. package/dist/components/nv-buttongroup.js +1 -1
  154. package/dist/components/nv-calendar.js +1 -1
  155. package/dist/components/nv-col.js +1 -1
  156. package/dist/components/nv-datagrid.js +1 -1
  157. package/dist/components/nv-datagridcolumn.js +1 -1
  158. package/dist/components/nv-dialog.js +1 -1
  159. package/dist/components/nv-dialogfooter.js +1 -1
  160. package/dist/components/nv-dialogheader.js +1 -1
  161. package/dist/components/nv-drawer.js +1 -1
  162. package/dist/components/nv-drawerfooter.js +1 -1
  163. package/dist/components/nv-drawerheader.js +1 -1
  164. package/dist/components/nv-fieldcheckbox.js +1 -1
  165. package/dist/components/nv-fielddate.js +1 -1
  166. package/dist/components/nv-fielddaterange.js +1 -1
  167. package/dist/components/nv-fielddropdown.js +1 -1
  168. package/dist/components/nv-fielddropdownitem.js +1 -1
  169. package/dist/components/nv-fielddropdownitemcheck.js +1 -1
  170. package/dist/components/nv-fieldmultiselect.js +1 -1
  171. package/dist/components/nv-fieldnumber.js +1 -1
  172. package/dist/components/nv-fieldpassword.js +1 -1
  173. package/dist/components/nv-fieldradio.js +1 -1
  174. package/dist/components/nv-fieldselect.js +1 -1
  175. package/dist/components/nv-fieldslider.js +1 -1
  176. package/dist/components/nv-fieldtext.js +1 -1
  177. package/dist/components/nv-fieldtextarea.js +1 -1
  178. package/dist/components/nv-fieldtime.js +1 -1
  179. package/dist/components/nv-icon.js +1 -1
  180. package/dist/components/nv-iconbutton.js +1 -1
  181. package/dist/components/nv-loader.js +1 -1
  182. package/dist/components/nv-menu.js +1 -1
  183. package/dist/components/nv-menuitem.js +1 -1
  184. package/dist/components/nv-notification-bullet.js +1 -1
  185. package/dist/components/nv-notification.js +1 -1
  186. package/dist/components/nv-notificationcontainer.js +1 -1
  187. package/dist/components/nv-pagination-nav.d.ts +11 -0
  188. package/dist/components/nv-pagination-nav.js +1 -0
  189. package/dist/components/nv-paginationtable.js +1 -1
  190. package/dist/components/nv-popover.js +1 -1
  191. package/dist/components/nv-row.js +1 -1
  192. package/dist/components/nv-sidebar.js +1 -1
  193. package/dist/components/nv-sidebarcontent.js +1 -1
  194. package/dist/components/nv-sidebardivider.js +1 -1
  195. package/dist/components/nv-sidebarfooter.js +1 -1
  196. package/dist/components/nv-sidebargroup.js +1 -1
  197. package/dist/components/nv-sidebarheader.js +1 -1
  198. package/dist/components/nv-sidebarlogo.js +1 -1
  199. package/dist/components/nv-sidebarnavitem.js +1 -1
  200. package/dist/components/nv-sidebarnavsubitem.js +1 -1
  201. package/dist/components/nv-split.js +1 -1
  202. package/dist/components/nv-stack.js +1 -1
  203. package/dist/components/nv-table.js +1 -1
  204. package/dist/components/nv-tableheader.js +1 -1
  205. package/dist/components/nv-toggle.js +1 -1
  206. package/dist/components/nv-togglebutton.js +1 -1
  207. package/dist/components/nv-togglebuttongroup.js +1 -1
  208. package/dist/components/nv-tooltip.js +1 -1
  209. package/dist/components/{p-iXsbKJzR.js → p-6nAIGZFL.js} +1 -1
  210. package/dist/components/{p-CPjfMClF.js → p-BBy1Mdgv.js} +1 -1
  211. package/dist/components/{p-Cfr9uriB.js → p-BMpkyzCW.js} +1 -1
  212. package/dist/components/{p-Cq5FI49y.js → p-Ba1zVklG.js} +1 -1
  213. package/dist/components/p-BaF3Tuua.js +1 -0
  214. package/dist/components/{p-mWVXEsBF.js → p-BvxuoODv.js} +1 -1
  215. package/dist/components/{p-yHGZRC6Q.js → p-BwYt1BAb.js} +1 -1
  216. package/dist/components/{p-C_a7VT_H.js → p-CAGzfU3O.js} +1 -1
  217. package/dist/components/p-CR9MpYzU.js +1 -0
  218. package/dist/components/{p-Bg-b6OWh.js → p-CV12ukSl.js} +1 -1
  219. package/dist/components/{p-BJSrJH9I.js → p-CZkFkVd8.js} +1 -1
  220. package/dist/components/p-CcmfuwSa.js +1 -0
  221. package/dist/components/p-CqJqzGJS.js +1 -0
  222. package/dist/components/{p-Nf-dwTsx.js → p-D-MnI-R8.js} +1 -1
  223. package/dist/components/{p-D7xBylwr.js → p-D0bGRzSN.js} +1 -1
  224. package/dist/components/p-DC_2597n.js +1 -0
  225. package/dist/components/{p-C6LzzMQm.js → p-Db4JZxyy.js} +1 -1
  226. package/dist/components/{p-Cw5yG8cD.js → p-DlOgBZa8.js} +2 -2
  227. package/dist/components/{p-BkqfOhkU.js → p-DrgqO3gF.js} +1 -1
  228. package/dist/components/{p-C-MlXMFg.js → p-Ho_7-x5W.js} +1 -1
  229. package/dist/components/{p-D_JRZMC-.js → p-IzPWk8zx.js} +1 -1
  230. package/dist/components/{p-DkC2jlrw.js → p-S18SgvAW.js} +1 -1
  231. package/dist/components/{p-tJDdN0lo.js → p-T-bBxAoT.js} +1 -1
  232. package/dist/components/{p-CskCUxuV.js → p-kMTGXpRx.js} +1 -1
  233. package/dist/components/p-uAXqRBhx.js +1 -0
  234. package/dist/esm/i18n.utils-CR9MpYzU.js +74 -0
  235. package/dist/esm/{index-S-IZ4AN_.js → index-BCjiE1MF.js} +5 -1
  236. package/dist/esm/index.js +53 -2
  237. package/dist/esm/loader.js +3 -3
  238. package/dist/esm/native.js +3 -3
  239. package/dist/esm/nv-accordion-item.entry.js +1 -1
  240. package/dist/esm/nv-accordion.entry.js +1 -1
  241. package/dist/esm/nv-alert.entry.js +1 -1
  242. package/dist/esm/nv-avatar.entry.js +1 -1
  243. package/dist/esm/nv-badge_2.entry.js +6 -4
  244. package/dist/esm/nv-breadcrumb.entry.js +2 -2
  245. package/dist/esm/nv-breadcrumbs.entry.js +2 -2
  246. package/dist/esm/nv-button.entry.js +2 -2
  247. package/dist/esm/nv-buttongroup.entry.js +3 -3
  248. package/dist/esm/nv-calendar.entry.js +3 -12
  249. package/dist/esm/nv-col.entry.js +2 -2
  250. package/dist/esm/nv-datagrid.entry.js +3 -3
  251. package/dist/esm/nv-datagridcolumn.entry.js +2 -2
  252. package/dist/esm/nv-dialog.entry.js +16 -3
  253. package/dist/esm/nv-dialogfooter_2.entry.js +3 -3
  254. package/dist/esm/nv-drawer.entry.js +2 -2
  255. package/dist/esm/nv-drawerfooter_2.entry.js +3 -3
  256. package/dist/esm/nv-fieldcheckbox.entry.js +6 -6
  257. package/dist/esm/nv-fielddate.entry.js +7 -7
  258. package/dist/esm/nv-fielddaterange.entry.js +7 -8
  259. package/dist/esm/nv-fielddropdown.entry.js +7 -6
  260. package/dist/esm/nv-fielddropdownitem.entry.js +2 -2
  261. package/dist/esm/nv-fieldmultiselect.entry.js +3 -2
  262. package/dist/esm/nv-fieldnumber.entry.js +5 -5
  263. package/dist/esm/nv-fieldpassword.entry.js +5 -5
  264. package/dist/esm/nv-fieldradio.entry.js +5 -5
  265. package/dist/esm/nv-fieldselect.entry.js +6 -6
  266. package/dist/esm/nv-fieldslider.entry.js +4 -4
  267. package/dist/esm/nv-fieldtext.entry.js +5 -5
  268. package/dist/esm/nv-fieldtextarea.entry.js +31 -29
  269. package/dist/esm/nv-fieldtime.entry.js +4 -4
  270. package/dist/esm/nv-icon.entry.js +3 -3
  271. package/dist/esm/nv-iconbutton_2.entry.js +3 -3
  272. package/dist/esm/nv-menu.entry.js +2 -2
  273. package/dist/esm/nv-menuitem.entry.js +2 -2
  274. package/dist/esm/nv-notification-bullet.entry.js +1 -1
  275. package/dist/esm/nv-notification.entry.js +2 -2
  276. package/dist/esm/nv-notificationcontainer.entry.js +2 -2
  277. package/dist/esm/nv-pagination-nav.entry.js +196 -0
  278. package/dist/esm/nv-paginationtable.entry.js +2 -2
  279. package/dist/esm/nv-popover.entry.js +2 -2
  280. package/dist/esm/nv-row.entry.js +2 -2
  281. package/dist/esm/nv-sidebar.entry.js +2 -2
  282. package/dist/esm/nv-sidebarcontent.entry.js +2 -2
  283. package/dist/esm/nv-sidebardivider.entry.js +2 -2
  284. package/dist/esm/nv-sidebarfooter.entry.js +2 -2
  285. package/dist/esm/nv-sidebargroup.entry.js +2 -2
  286. package/dist/esm/nv-sidebarheader.entry.js +2 -2
  287. package/dist/esm/nv-sidebarlogo.entry.js +2 -2
  288. package/dist/esm/nv-sidebarnavitem.entry.js +12 -5
  289. package/dist/esm/nv-sidebarnavsubitem.entry.js +2 -2
  290. package/dist/esm/nv-split.entry.js +2 -2
  291. package/dist/esm/nv-stack.entry.js +2 -2
  292. package/dist/esm/nv-table.entry.js +4 -2
  293. package/dist/esm/nv-tableheader.entry.js +2 -2
  294. package/dist/esm/nv-toggle.entry.js +4 -4
  295. package/dist/esm/nv-togglebutton.entry.js +2 -2
  296. package/dist/esm/nv-togglebuttongroup.entry.js +2 -2
  297. package/dist/esm/nv-tooltip.entry.js +3 -3
  298. package/dist/esm/{i18n.utils-IlwlcG9l.js → worker-client-BaF3Tuua.js} +20 -74
  299. package/dist/lib/scripts/nextjs-entry-shim.js +25 -0
  300. package/dist/native/index.esm.js +1 -1
  301. package/dist/native/native.css +1 -1
  302. package/dist/native/native.esm.js +1 -1
  303. package/dist/native/{p-4016851b.entry.js → p-03cc1f2c.entry.js} +1 -1
  304. package/dist/native/{p-1bf1a213.entry.js → p-0fe84123.entry.js} +1 -1
  305. package/dist/native/{p-29f0730f.entry.js → p-148c1d3e.entry.js} +1 -1
  306. package/dist/native/{p-4c29c4c7.entry.js → p-157c5ac8.entry.js} +1 -1
  307. package/dist/native/p-18bdc07a.entry.js +1 -0
  308. package/dist/native/{p-ff7eae44.entry.js → p-1aea6fe0.entry.js} +1 -1
  309. package/dist/native/p-1c97c353.entry.js +1 -0
  310. package/dist/native/p-1e0ca4df.entry.js +1 -0
  311. package/dist/native/{p-5fb6d986.entry.js → p-1f8cc03a.entry.js} +1 -1
  312. package/dist/native/p-23f0ca96.entry.js +1 -0
  313. package/dist/native/{p-6ba310e8.entry.js → p-24ce0c8d.entry.js} +1 -1
  314. package/dist/native/{p-a813f497.entry.js → p-24f69387.entry.js} +1 -1
  315. package/dist/native/p-25ef7329.entry.js +1 -0
  316. package/dist/native/{p-ad05cef2.entry.js → p-31ba86b3.entry.js} +1 -1
  317. package/dist/native/{p-997a2268.entry.js → p-34e19b6e.entry.js} +1 -1
  318. package/dist/native/{p-70fa3c6b.entry.js → p-39366f18.entry.js} +1 -1
  319. package/dist/native/{p-1b37bf6c.entry.js → p-3a35cf46.entry.js} +1 -1
  320. package/dist/native/p-46267895.entry.js +1 -0
  321. package/dist/native/{p-00b80d2b.entry.js → p-539c04ad.entry.js} +1 -1
  322. package/dist/native/{p-1c86c5b8.entry.js → p-56593bf0.entry.js} +1 -1
  323. package/dist/native/{p-2623b212.entry.js → p-591f3dcc.entry.js} +1 -1
  324. package/dist/native/p-597cac0f.entry.js +1 -0
  325. package/dist/native/{p-32cbc18b.entry.js → p-5a7e46ad.entry.js} +1 -1
  326. package/dist/native/{p-e1021e2c.entry.js → p-5c003e50.entry.js} +1 -1
  327. package/dist/native/p-5ce3d30b.entry.js +1 -0
  328. package/dist/native/p-5f42a7f1.entry.js +1 -0
  329. package/dist/native/{p-3c09e565.entry.js → p-6742f88f.entry.js} +1 -1
  330. package/dist/native/{p-5cbf5973.entry.js → p-67e0680e.entry.js} +1 -1
  331. package/dist/native/p-6f3c3e2a.entry.js +1 -0
  332. package/dist/native/{p-e371a958.entry.js → p-7aac0b1a.entry.js} +1 -1
  333. package/dist/native/{p-99051651.entry.js → p-7d49e88d.entry.js} +1 -1
  334. package/dist/native/{p-df59dee0.entry.js → p-7ec28d5d.entry.js} +1 -1
  335. package/dist/native/p-855f7be1.entry.js +1 -0
  336. package/dist/native/{p-3ac56d5f.entry.js → p-87758615.entry.js} +1 -1
  337. package/dist/native/{p-84202d8a.entry.js → p-8a0dc37b.entry.js} +1 -1
  338. package/dist/native/{p-3bd49efe.entry.js → p-8f76e030.entry.js} +1 -1
  339. package/dist/native/{p-6f368c8d.entry.js → p-90b8b889.entry.js} +1 -1
  340. package/dist/native/p-927b655d.entry.js +1 -0
  341. package/dist/native/{p-98de77f8.entry.js → p-9709c7d5.entry.js} +1 -1
  342. package/dist/native/p-99726dd4.entry.js +1 -0
  343. package/dist/native/{p-6ccea920.entry.js → p-9fda1976.entry.js} +1 -1
  344. package/dist/native/{p-S-IZ4AN_.js → p-BCjiE1MF.js} +1 -1
  345. package/dist/native/p-BaF3Tuua.js +1 -0
  346. package/dist/native/p-CR9MpYzU.js +1 -0
  347. package/dist/native/{p-91f71346.entry.js → p-a16f8a14.entry.js} +1 -1
  348. package/dist/native/{p-0242699e.entry.js → p-a6b3256b.entry.js} +1 -1
  349. package/dist/native/{p-184b4f0d.entry.js → p-b3964a1c.entry.js} +1 -1
  350. package/dist/native/{p-87f35ce1.entry.js → p-bb43a3b4.entry.js} +1 -1
  351. package/dist/native/{p-34cce087.entry.js → p-c0b05d6f.entry.js} +1 -1
  352. package/dist/native/p-c214e4af.entry.js +1 -0
  353. package/dist/native/p-c29dc907.entry.js +1 -0
  354. package/dist/native/{p-b65f3418.entry.js → p-d12a2841.entry.js} +1 -1
  355. package/dist/native/p-d46bd21a.entry.js +1 -0
  356. package/dist/native/{p-ca3b996b.entry.js → p-d6e2e120.entry.js} +1 -1
  357. package/dist/native/p-ddedc9c1.entry.js +1 -0
  358. package/dist/native/{p-a6287e55.entry.js → p-eb8ba7a2.entry.js} +1 -1
  359. package/dist/native/{p-4725d9aa.entry.js → p-ebff7ddb.entry.js} +1 -1
  360. package/dist/native/p-ecce3e66.entry.js +1 -0
  361. package/dist/native/{p-7f3c3c29.entry.js → p-f9612edf.entry.js} +1 -1
  362. package/dist/native/p-f9e4daf7.entry.js +1 -0
  363. package/dist/native/{p-2106dfbd.entry.js → p-fb34fc7d.entry.js} +1 -1
  364. package/dist/native/{p-98ea927d.entry.js → p-fd5e27ae.entry.js} +1 -1
  365. package/dist/types/components/nv-dialog/nv-dialog.d.ts +9 -0
  366. package/dist/types/components/nv-fieldtextarea/nv-fieldtextarea.d.ts +9 -1
  367. package/dist/types/components/nv-pagination-nav/nv-pagination-nav.d.ts +82 -0
  368. package/dist/types/components/nv-pagination-nav/nv-pagination-nav.docs.d.ts +4 -0
  369. package/dist/types/components/nv-pagination-nav/nv-pagination-nav.utils.d.ts +26 -0
  370. package/dist/types/components/nv-pagination-nav/test/nv-pagination-nav.utils.test.d.ts +1 -0
  371. package/dist/types/components/nv-sidebarlogo/nv-sidebarlogo.d.ts +2 -0
  372. package/dist/types/components.d.ts +159 -2
  373. package/dist/types/index.d.ts +1 -0
  374. package/dist/types/nova-docs.d.ts +0 -1
  375. package/dist/vscode-data.json +54 -1
  376. package/hydrate/index.js +381 -145
  377. package/hydrate/index.mjs +381 -145
  378. package/package.json +6 -2
  379. package/dist/components/p-BqRuoNHJ.js +0 -1
  380. package/dist/components/p-CGXDiomF.js +0 -1
  381. package/dist/components/p-ChRIFm7p.js +0 -1
  382. package/dist/components/p-IlwlcG9l.js +0 -1
  383. package/dist/components/p-r3_atQ9r.js +0 -1
  384. package/dist/native/p-01d09dfa.entry.js +0 -1
  385. package/dist/native/p-09b88c8d.entry.js +0 -1
  386. package/dist/native/p-1a1a6bbf.entry.js +0 -1
  387. package/dist/native/p-223814fe.entry.js +0 -1
  388. package/dist/native/p-2b7e621a.entry.js +0 -1
  389. package/dist/native/p-38e981f2.entry.js +0 -1
  390. package/dist/native/p-3e949805.entry.js +0 -1
  391. package/dist/native/p-4bda5842.entry.js +0 -1
  392. package/dist/native/p-6a548776.entry.js +0 -1
  393. package/dist/native/p-6e9b95fa.entry.js +0 -1
  394. package/dist/native/p-IlwlcG9l.js +0 -1
  395. package/dist/native/p-a60660f6.entry.js +0 -1
  396. package/dist/native/p-bf8b0be2.entry.js +0 -1
  397. package/dist/native/p-d9c1287c.entry.js +0 -1
  398. package/dist/native/p-d9cebb66.entry.js +0 -1
  399. package/dist/native/p-da417f83.entry.js +0 -1
  400. package/dist/native/p-e5dbacf6.entry.js +0 -1
  401. package/dist/native/p-ed19f3dc.entry.js +0 -1
  402. package/dist/native/p-f1b6d43b.entry.js +0 -1
@@ -14,7 +14,7 @@ export class NvDatagridcolumn {
14
14
  /****************************************************************************/
15
15
  //#region RENDER
16
16
  render() {
17
- return (h(Host, { key: '413044aa941d307aa9a2e96faad28e5c78e20b71' }, h("slot", { key: 'c32dedbda74aa8204222b797e92a633eb7246c33', name: "header" }), h("slot", { key: '1412fae3228b4f9583a07395411da3fe264da449', name: "cell" })));
17
+ return (h(Host, { key: 'd93cf7234c22d08319d2e4157945ece0b9e5f7b1' }, h("slot", { key: 'd4530c7f6854773716e7494e0379bc21f446ca53', name: "header" }), h("slot", { key: '60e2933f219f48c0567fd0e01a137a694ae1c1c9', name: "cell" })));
18
18
  }
19
19
  static get is() { return "nv-datagridcolumn"; }
20
20
  static get properties() {
@@ -14,6 +14,7 @@ import { v4 as uuidv4 } from "uuid";
14
14
  export class NvDialog {
15
15
  constructor() {
16
16
  this.eventsAttached = false;
17
+ this.pointerDownTarget = null;
17
18
  this.triggerClickEvents = [
18
19
  ['click', this.show],
19
20
  [
@@ -73,8 +74,18 @@ export class NvDialog {
73
74
  this.close();
74
75
  }
75
76
  };
77
+ /**
78
+ * Records the pointer down target to distinguish intentional outside clicks
79
+ * from drag-out gestures (press inside, release outside).
80
+ * @param {PointerEvent} event - The pointerdown event.
81
+ */
82
+ this.handleDialogPointerDown = (event) => {
83
+ this.pointerDownTarget = event.target;
84
+ };
76
85
  /**
77
86
  * Handles the click event to close the dialog when clickOutside is true.
87
+ * Only closes if both pointerdown and click originated on the backdrop,
88
+ * preventing accidental closes from drag-out gestures.
78
89
  * @param {MouseEvent} event - The click event.
79
90
  */
80
91
  this.handleDialogClick = (event) => {
@@ -82,11 +93,13 @@ export class NvDialog {
82
93
  return;
83
94
  if (this.checkForOpenPopovers())
84
95
  return;
85
- if (event.target === this.backdropElement) {
96
+ if (event.target === this.backdropElement &&
97
+ this.pointerDownTarget === this.backdropElement) {
86
98
  this.close();
87
99
  event.preventDefault();
88
100
  event.stopPropagation();
89
101
  }
102
+ this.pointerDownTarget = null;
90
103
  };
91
104
  this.checkForOpenPopovers = () => {
92
105
  let hasOpenPopover = false;
@@ -278,7 +291,7 @@ export class NvDialog {
278
291
  //#region RENDER
279
292
  render() {
280
293
  const hasForm = this.form || this.el.querySelector('form');
281
- return (h(Host, { key: '3117cc6be5dfcdb0fd561bb7b8cc0179233adca5' }, h("slot", { key: '3462bbebcb37fe65ef192b47562ee554263d8e3d', name: "trigger" }), h("dialog", { key: '2baee57bc9924ac6a7f0e5511228877283c67b7e', 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: clsx({ full: this.full }) }, h("div", { key: '6083efe9e58d402c6df91f57bf45ca2ea77acb3b', class: "backdrop", ref: el => (this.backdropElement = el) }, h("div", { key: 'e133552c05d709d9fb95ca97d4fae1fbba135585', class: "content", ref: el => (this.contentElement = el) }, !this.undismissable && (h("nv-button", { key: '81830f0546f280cf2401f765252fee0a464fca2e', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDialogClose, "aria-label": "Close dialog" }, h("nv-icon", { key: '95a5eff054aad7385c440c1c1833d994b21c0583', name: "x", size: "sm" }))), this.headerElement ? (h("slot", { name: "header" })) : (h("nv-dialogheader", { id: "dialog-header" })), h("div", { key: '8ec787b70862976f09f8bbaa2f2acbd743abd9c5', class: "content-body", id: "dialog-content" }, h("slot", { key: '6939345af1fa362fe9575948f099cf19dee54590' })), this.footerElement ? (h("slot", { name: "footer" })) : (h("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDialogCanceled: this.handleDialogClose, undismissable: this.undismissable })))))));
294
+ return (h(Host, { key: '402dda24aab32637cbfd4a2967297fab760e6389' }, h("slot", { key: '3744313bc37f3bbf4fabe235004d1e99a6d82ffd', name: "trigger" }), 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: clsx({ full: this.full }) }, h("div", { key: '9539f8682b25f4cf52f4a6fc554d1c314f015655', class: "backdrop", ref: el => (this.backdropElement = el) }, h("div", { key: '3d74eb9b30bd5d39afd76a20d229adc0f3343f8c', class: "content", ref: el => (this.contentElement = el) }, !this.undismissable && (h("nv-button", { key: 'd061699ef943f1178e985cfca832918b05e914be', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDialogClose, "aria-label": "Close dialog" }, h("nv-icon", { key: 'f60991a49b800d6a5f3af15ddc27fcbf77310a0d', name: "x", size: "sm" }))), this.headerElement ? (h("slot", { name: "header" })) : (h("nv-dialogheader", { id: "dialog-header" })), h("div", { key: 'b3e76c96245728cd574d7d357ec0507525ba9ed5', class: "content-body", id: "dialog-content" }, h("slot", { key: 'be5a36d7e816f5be9c624c13d5ee03126e1d97cf' })), this.footerElement ? (h("slot", { name: "footer" })) : (h("nv-dialogfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDialogCanceled: this.handleDialogClose, undismissable: this.undismissable })))))));
282
295
  }
283
296
  static get is() { return "nv-dialog"; }
284
297
  static get originalStyleUrls() {
@@ -71,7 +71,7 @@ export class NvDialogfooter {
71
71
  /****************************************************************************/
72
72
  //#region RENDER
73
73
  render() {
74
- return (h(Host, { key: '31d3490d2a966b28d3f23bf7409186c10463f765' }, h("slot", { key: '21c8a3431ad6ec95d7d8467d3a273f730a10984b' }, h(Fragment, { key: '6400d911813010cc012d1b982f5ebdcb9f589b87' }, !this.undismissable && (h("nv-button", { key: '29d8b79619aa6a225b3fe9eb123e166646cb910b', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), h("nv-button", { key: '76cd9d05c3830a7d9d8bd040aa4ecb38da190644', 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 && (h("nv-icon", { key: '5ff1d8988d480dff0c12be00962a0470ef8adccf', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (h("nv-icon", { key: 'b1330826bcc205529a301378685ff72d7d3c53f6', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
74
+ return (h(Host, { key: 'a5148c3e41ad6d7c5e54e2b29b8452707d5c2b2b' }, h("slot", { key: 'e5fcf66789eac1c6b0118403c33e7e80fb974c71' }, h(Fragment, { key: '9255d264f559322bebbcc874d91802bbaaeac2d6' }, !this.undismissable && (h("nv-button", { key: 'e8d6085fbbcf5bbdbad7b23d65660debb296a332', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), 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 && (h("nv-icon", { key: '59dc3f909f7366a0d0e05ab089d34b9d222f43ed', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (h("nv-icon", { key: 'e2be736da129cf7720dad6e1a443eb55a182b2dd', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
75
75
  }
76
76
  static get is() { return "nv-dialogfooter"; }
77
77
  static get formAssociated() { return true; }
@@ -15,7 +15,7 @@ export class NvDialogheader {
15
15
  /****************************************************************************/
16
16
  //#region RENDER
17
17
  render() {
18
- return (h(Host, { key: 'a608cbe8b942b1444d973a5f3d8c97183e76fd0a' }, h("slot", { key: '525dd320304a01682926208674db6210e4e2dd2a' }, h(Fragment, { key: '14f7f8e787941dbf2d9e00f8a8a5d2e25d82d056' }, h("div", { key: '00131448954f8390e145e458c71705850b19ec48', class: "heading" }, this.heading), h("div", { key: '8cd3ee3d6aacb5f54499ea59b9e915efe4c5e33c', class: "subheading" }, this.subheading)))));
18
+ return (h(Host, { key: '8577fd5a719adf8764d85f667495701cb1514df2' }, h("slot", { key: '5858bd8fff71db135f69a76cb298343f0590f853' }, h(Fragment, { key: '81ac703e205f1b8587144213c7f57c9fd7ba9657' }, h("div", { key: '5a12e1facef605d96338b31468c8d8109379e2d1', class: "heading" }, this.heading), h("div", { key: '1a559041968e2b2b92a987c014e41380fe6f8616', class: "subheading" }, this.subheading)))));
19
19
  }
20
20
  static get is() { return "nv-dialogheader"; }
21
21
  static get originalStyleUrls() {
@@ -424,7 +424,7 @@ export class NvDrawer {
424
424
  render() {
425
425
  const hasForm = this.form || this.el.querySelector('form');
426
426
  const state = this.open ? 'open' : 'closed';
427
- return (h(Host, { key: '24fef2e07989d6b9648d8c4c7374680650ac09e8' }, h("slot", { key: 'c8d25517097b715cf42ad3a60ea84c7efb052c6c', name: "trigger" }), h("dialog", { key: 'b9b94f73fa04bb421b70a1af4c3c40171af94008', 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: clsx({ [`side-${this.side}`]: true }), "data-state": state }, h("div", { key: '4867741abdaa5608992dd812311a43ce3af0c94e', class: "backdrop", ref: el => (this.backdropElement = el) }, h("div", { key: '476ac6bb40bb342ffb305faca2e67a8bef43f14e', class: 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 && (h("nv-button", { key: '90d1a2c776d486ee98d4b847ee1d43616c15d86c', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDrawerClose, "aria-label": "Close drawer" }, h("nv-icon", { key: '5c54095bae68cc0780a95fd541a8e607f430ebb9', name: "x", size: "sm" }))), this.headerElement ? (h("slot", { name: "header" })) : (h("nv-drawerheader", { id: "drawer-header" })), h("div", { key: 'fcf2ccf83679fa5a702ce02206144a3a11ab53bf', class: "content-body", id: "drawer-content" }, h("slot", { key: 'b70b2edfb51da8a16f996c90d04391657718a12a' })), this.footerElement ? (h("slot", { name: "footer" })) : (h("nv-drawerfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDrawerCanceled: this.handleDrawerClose, undismissable: this.undismissable })))))));
427
+ return (h(Host, { key: 'e8ae3c1b5adcd23622f97d0f405fd8607e51b3e4' }, h("slot", { key: 'c94efef46482ef65c9a907d5f23e2306cc88c9af', name: "trigger" }), 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: clsx({ [`side-${this.side}`]: true }), "data-state": state }, h("div", { key: '5fc00bd8e28cf26c92e3c3888941e6209e03fb65', class: "backdrop", ref: el => (this.backdropElement = el) }, h("div", { key: '7eb5e3335a15a3821fa4c62160a313bddf34e3b2', class: 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 && (h("nv-button", { key: 'c284d6cea03806890603d71d27d642961eab4423', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDrawerClose, "aria-label": "Close drawer" }, h("nv-icon", { key: 'daf2c3af54c3eaede4835b100200632e644b7cc6', name: "x", size: "sm" }))), this.headerElement ? (h("slot", { name: "header" })) : (h("nv-drawerheader", { id: "drawer-header" })), h("div", { key: '90ffef76d60a3522ae5daf10554a3f8a487c5f76', class: "content-body", id: "drawer-content" }, h("slot", { key: 'd66e675a68c27819f7ca146afc27e63d05ad5603' })), this.footerElement ? (h("slot", { name: "footer" })) : (h("nv-drawerfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDrawerCanceled: this.handleDrawerClose, undismissable: this.undismissable })))))));
428
428
  }
429
429
  static get is() { return "nv-drawer"; }
430
430
  static get originalStyleUrls() {
@@ -76,7 +76,7 @@ export class NvDrawerfooter {
76
76
  /****************************************************************************/
77
77
  //#region RENDER
78
78
  render() {
79
- return (h(Host, { key: '1a15bd9a6bac74ceb64d57ef7830e4ff8d081770' }, h("slot", { key: '72f762cc6d64cc286252da929111b0e86013194f' }, h(Fragment, { key: '21d8100769c0f84dd5fee916bad8021190f08703' }, !this.undismissable && (h("nv-button", { key: '3c5e445643fa1b01fef28fc53f60ffb0d2f6f94c', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), h("nv-button", { key: 'd93583226649f6ac4928c9359d5f0654e0bb6714', 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 && (h("nv-icon", { key: '4d292e8a54df0b1dbdac0ace38dac7f24224ebe2', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (h("nv-icon", { key: '412d46f4ef9ef573234b70a1456a91dda1569936', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
79
+ return (h(Host, { key: 'c83bba64c28cf284847c2b726e2d1bb9deb86152' }, h("slot", { key: '89e9a548f3cee3c45b8e7874e9d8618b469ce94a' }, h(Fragment, { key: 'ef18a333ef7c5de05891a265a8ccb85b6913237a' }, !this.undismissable && (h("nv-button", { key: 'd69eab0d344bdfb9f2454cc18d953f50b9d65aa2', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), 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 && (h("nv-icon", { key: '86ac92ef44afe20e540422d3cd0ee45c04c233bc', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (h("nv-icon", { key: '3a48543e903d060ff77d1100df4984db04c0d2cb', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
80
80
  }
81
81
  static get is() { return "nv-drawerfooter"; }
82
82
  static get formAssociated() { return true; }
@@ -19,7 +19,7 @@ export class NvDrawerheader {
19
19
  /****************************************************************************/
20
20
  //#region RENDER
21
21
  render() {
22
- return (h(Host, { key: '1c9cd7b1157e63563f07b5b4b58a694b3ee4094d' }, h("slot", { key: '97c4b5cd72c240ff25d7f8aa7801a1d68c5ea073' }, h(Fragment, { key: '75896e1efe1ebe98c3275214d6aaea253afefce0' }, h("div", { key: '5bf874923f7cdff2cadcb8d9a352812ee532132d', class: "heading" }, this.heading), h("div", { key: '7ca0080c00eaa1bc68df9efe7aeb6ff57da13730', class: "subheading" }, this.subheading)))));
22
+ return (h(Host, { key: '8ada9e8c2b69a74b61b079de6def10bc7504d7f5' }, h("slot", { key: '29c79bb789bed32bb395f1d5a8ebccf4838e3f45' }, h(Fragment, { key: '688bb835bd87de992f5bc4a63f2a857b7f806120' }, h("div", { key: '2638fa0871f356cc5ec6e8b72f9812cdbc93ff03', class: "heading" }, this.heading), h("div", { key: 'a3c2b292bfc359e2d09ae4d9a88857bc9fa0d8cb', class: "subheading" }, this.subheading)))));
23
23
  }
24
24
  static get is() { return "nv-drawerheader"; }
25
25
  static get originalStyleUrls() {
@@ -204,4 +204,13 @@ nv-fieldcheckbox > .text-container .error-description {
204
204
  font-weight: var(--form-description-font-weight);
205
205
  line-height: var(--form-description-line-height);
206
206
  color: var(--components-form-text-description-error);
207
+ }
208
+ @media print {
209
+ nv-fieldcheckbox > .input-container {
210
+ color: var(--nv-fieldcheckbox-background-checked);
211
+ }
212
+ nv-fieldcheckbox > .input-container input[type=checkbox]:checked, nv-fieldcheckbox > .input-container input[type=checkbox]:indeterminate {
213
+ background: transparent;
214
+ border-color: var(--nv-fieldcheckbox-background-checked);
215
+ }
207
216
  }
@@ -155,15 +155,15 @@ export class NvFieldcheckbox {
155
155
  ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
156
156
  : undefined;
157
157
  const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
158
- return (h(Host, { key: '1e4742153edb85a5d5d2e6bd7101240eb5dd354c', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h("div", { key: '222f3fed3f6626f3fc67cbae5612c7a8aaa10f65', class: "input-container" }, h("input", { key: '62534be4145abdad01e86b9c7d8662e7954ec85a', 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 && {
158
+ return (h(Host, { key: '6ee6fed9bb078e32a40ac2d6c1c4baf2f1825be1', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h("div", { key: '21b122c2c36382824eea7e66f2382cd333c0831c', class: "input-container" }, 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
159
  'aria-required': String(ariaRequiredValue),
160
160
  }), indeterminate: this.indeterminate, ref: el => {
161
161
  if (el) {
162
162
  el.indeterminate = this.indeterminate;
163
163
  }
164
- } }), h("span", { key: '848e8e33f9304104c504474cf98a660cb7620081', class: "icon" }, this.checked && !this.indeterminate && (h("slot", { key: 'ab36f853010d596c2d34ee65f8c0fb5cab6341aa', name: "checked-icon" }, h("svg", { key: '859a903120c84e3e65c5c8e2809e0103d1e36ae0', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, h("path", { key: '0487c96d2b233e1e6fa1d5481de40fdf9762cca1', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (h("slot", { key: 'e6e865f17821b69d7a6dccd832dce1bf170a868b', name: "indeterminate-icon" }, h("svg", { key: 'c989f2dc8fef8a4c8cd4fdda9302d70f56b7d627', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, h("path", { key: 'fd969c39273b2235bfe38840ef333d01fb2eaef5', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("slot", { key: 'bc2db6ec3ff59680c883ee3cc2967da1a541838b' }), h("div", { key: '190ae3a02eb07d0225f858989eb4c033e81bcb68', class: "text-container" }, h("slot", { key: 'ff259699df50be0cda8de8f901c8a07f6e61ff2c', name: "main" }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '24680fbd2f98953cefc51477c5c968d44df3c6d6', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h("slot", { key: '948c7a0ca93a288eb70d5876a3654385dc341a81', name: "label" }, this.label))), (this.description ||
165
- this.el.querySelector('[slot="description"]')) && (h("div", { key: '70010d156ca492d2127c437ba2b66a381522740f', class: "description" }, h("slot", { key: '1d6bacc49c6aa4b81f18c739ed6c7f2161ae64e6', name: "description" }, this.description)))), (this.errorDescription ||
166
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '65872b7a73f74d0bd1db9e701b7b2a0d4890e096', hidden: !this.error, class: "error-description" }, h("slot", { key: '5aeccf82482f24be30e73526512c15b5e727bbd2', name: "error-description" }, this.errorDescription))))));
164
+ } }), h("span", { key: '74e19f64867b671e2f632780726f8cab9c6e485e', class: "icon" }, this.checked && !this.indeterminate && (h("slot", { key: '960d296f7caa4abe6f4268c41c09b29b4c0454da', name: "checked-icon" }, h("svg", { key: '5a6875f34252b36490daabfdc600b4aa748c6f2e', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, h("path", { key: '8acd040c77cb913d2904daaac86038171e338761', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (h("slot", { key: '42163fea08858131d3a4e74c119565e70d850cf2', name: "indeterminate-icon" }, h("svg", { key: '86d0ce5504ea9e8a82ba6c85b7729ce8161aaecf', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, h("path", { key: 'ce47ed03186447bc90321a2aa8343a3377a6ade7', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("slot", { key: 'b41cb04185643e5dada6da24e5fc325905b53d08' }), h("div", { key: '57509a30441ab9de0c1949f6392dab34674ce91c', class: "text-container" }, h("slot", { key: '81ee7728a5a814371dab853d377e249afb5eab7e', name: "main" }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'f428aeaedd1e70f7b9626c54f3995b2998cde140', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h("slot", { key: 'e36c574ba6041b7ab0dee5c02a025370f21d947a', name: "label" }, this.label))), (this.description ||
165
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: 'fed901aef5e5ac91b5ac04fc8751585b55031666', class: "description" }, h("slot", { key: '84fdd3bd94f0249f3ed821e1849be6a6f192fb72', name: "description" }, this.description)))), (this.errorDescription ||
166
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'fc0526ddbbd84e08c18ee27c0b4be0533af0fe22', hidden: !this.error, class: "error-description" }, h("slot", { key: 'd288116644ed450bdab0be20a3e7def7481e6c8b', name: "error-description" }, this.errorDescription))))));
167
167
  }
168
168
  static get is() { return "nv-fieldcheckbox"; }
169
169
  static get formAssociated() { return true; }
@@ -404,15 +404,15 @@ export class NvFielddate {
404
404
  ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
405
405
  : undefined;
406
406
  const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
407
- return (h(Host, { key: '8898ef05a02d52db7457d17b54a942db3730fc74' }, ((this.label && this.label.length > 0) ||
408
- this.el.querySelector('[slot="label"]')) && (h("label", { key: '41f7f75b133b0954b64adb40c777fa34595e1319', htmlFor: this.inputId }, h("slot", { key: '4c70dc05926cc39b0898d3e12b756d8ea5c82e9d', name: "label" }, this.label))), h("nv-popover", { key: '0cc0878e48231202bc0036fe80d5e9ed334d6782', ref: this.setPopoverRef, id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h("div", { key: '18d889f4c8d164ec11efe254dd61978a0215bdb7', slot: "trigger", class: "input-wrapper" }, h("slot", { key: 'e3c8537c9692a241f3a3d869e21605460803fe13', name: "before-input" }), h("div", { key: '03e01a26472ba46e951290f99de396b02ad1acad', class: "input-container", onClick: this.handleInputContainerClick }, h("slot", { key: '440c384b64cdac05fc2f37f65a10d9c3968de67a', name: "leading-input" }), h("input", { key: '095fb9dc86347cb5a09065701e17ea760ffa3faa', id: this.inputId, ref: this.setInputRef, placeholder: this.placeholder ||
407
+ return (h(Host, { key: '3c13437365ba5c194e382050d83a01c2610f901d' }, ((this.label && this.label.length > 0) ||
408
+ this.el.querySelector('[slot="label"]')) && (h("label", { key: '82bccae1ff2044e8b099789e4403857772f8449c', htmlFor: this.inputId }, h("slot", { key: '3a2065e072ba6acb2ca5a162b877d05d30f93815', name: "label" }, this.label))), h("nv-popover", { key: 'afd5fc8f78a46562b318f2f2d48306efa2275fac', ref: this.setPopoverRef, id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h("div", { key: '748395cd864e8ee8f224460a420379b9f8ea362e', slot: "trigger", class: "input-wrapper" }, h("slot", { key: '8c1f2baa6a33861d83c9497ee39a6a2a08b27d2e', name: "before-input" }), h("div", { key: '91dfd2e870fc59e0949ff1ae2b66e0a3c89ec203', class: "input-container", onClick: this.handleInputContainerClick }, h("slot", { key: '7e7a11aacf727512ccbf4c5fd149f9ccbf161c0d', name: "leading-input" }), h("input", { key: '47b9d83bb4942604c3e8244995d032743ad84e78', id: this.inputId, ref: this.setInputRef, placeholder: this.placeholder ||
409
409
  this.convertToInputmaskFormat(this.dateFormat), name: this.name, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
410
410
  'aria-required': String(ariaRequiredValue),
411
- }), autofocus: this.autofocus, onInput: this.handleInput, onFocus: this.handleFocus, "data-scope": "date" }), this.error && (h("nv-icon", { key: '33f6f0c755cdecbd26f258d729c406a79301e221', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: '52960d4d2266249f43aaa205c140b6b78af86096', name: "circle-check", class: "validation", size: "md" })), h("nv-iconbutton", { key: 'f840216a37849b661ca76296b1bb78c0aff4f6a0', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
411
+ }), autofocus: this.autofocus, onInput: this.handleInput, onFocus: this.handleFocus, "data-scope": "date" }), this.error && (h("nv-icon", { key: '0c8badb4887475f3ce278db7dd1bb9d4f4db1948', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: '908c9595d2858b5915ea9625b365d98c9076175d', name: "circle-check", class: "validation", size: "md" })), h("nv-iconbutton", { key: '2acbfe40a0db4b070491e91fa69b9a21fee5111d', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
412
412
  ,
413
- size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h("slot", { key: '87a4c9a1287296001aca41314bc5c9b47d093cad', name: "after-input" })), h("div", { key: 'a268e2bca4958172c2cab48aff2267ce6a6090c8', slot: "content" }, h("nv-calendar", { key: 'df7288f6bcaf64f44496f1e414f1768fa138603d', onSingleDateChange: this.handleSingleDateChange.bind(this), dateFormat: this.dateFormat, singleValue: this.singleValue, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, onValueChanged: this.handleCalendarValueChanged }))), ((this.description && this.description.length > 0) ||
414
- this.el.querySelector('[slot="description"]')) && (h("div", { key: '11f0d3702c944c732c4e9cfd4fa7f73311adb32a', class: "description" }, h("slot", { key: '964af4f567e755f002d955190f39d39b627519b7', name: "description" }, this.description))), (this.errorDescription ||
415
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '017cf538acbb319dce67129673ac80ea6a5e1be5', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h("slot", { name: "error-description" })) : (this.errorDescription))), h("slot", { key: '34c7ab28d7fb6950113ac9536dfc6052fe2969f9' })));
413
+ size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h("slot", { key: 'fb9ae11ed575835053e11a28136c545fefa1f185', name: "after-input" })), h("div", { key: '4ed455b92288d64e1d243e0d2268251f183523c9', slot: "content" }, h("nv-calendar", { key: '1af9d63edd9c95414ddcba5e3988a1bf42fae4bb', onSingleDateChange: this.handleSingleDateChange.bind(this), dateFormat: this.dateFormat, singleValue: this.singleValue, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, onValueChanged: this.handleCalendarValueChanged }))), ((this.description && this.description.length > 0) ||
414
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: '3a124e7dd1d5216ac586893eb2d7ae8383051cdc', class: "description" }, h("slot", { key: '13f0b8e29875e369734799370fbd54c27becebfb', name: "description" }, this.description))), (this.errorDescription ||
415
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '78dbbd76ada0c99907c9725fc82f2edfea41830c', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h("slot", { name: "error-description" })) : (this.errorDescription))), h("slot", { key: '2c7f702581d6645cb9e6e0e94effa2ea067f049a' })));
416
416
  }
417
417
  static get is() { return "nv-fielddate"; }
418
418
  static get originalStyleUrls() {
@@ -62,7 +62,6 @@ export class NvFielddaterange {
62
62
  /**
63
63
  * The initial value of the date range (in string format).
64
64
  */
65
- // eslint-disable-next-line @stencil-community/strict-mutable
66
65
  this.value = '';
67
66
  /**
68
67
  * The current value of the start date in string format.
@@ -561,16 +560,16 @@ export class NvFielddaterange {
561
560
  ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
562
561
  : undefined;
563
562
  const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
564
- return (h(Host, { key: 'a5b6bfb1024db1794bd68970c4d03bc0d2aa12b2' }, ((this.label && this.label.length > 0) ||
565
- this.el.querySelector('[slot="label"]')) && (h("label", { key: 'aebf223f1c199a61d70ff07068b1279cd00fd63a', htmlFor: this.startInputId }, h("slot", { key: 'b0c75a9509c80b5e983b50ff06f0fd987c0dfb13', name: "label" }, this.label))), h("nv-popover", { key: '39d9afe5c5a3d6f1e0a65bc6a25e0123c26bf093', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h("div", { key: '83f602a64a7fe08370da5e7c5ca70da6c9b9743d', slot: "trigger", class: "input-wrapper" }, h("slot", { key: '388802ed31223aa0ca1f4f5e709774df936c79d6', name: "before-input" }), h("div", { key: '45f13be37efe3eaa15396a247f83652ab671d26d', class: "input-container" }, h("slot", { key: 'eb79a369f672e4c6c22bbf8e1f96f1b6ff221599', name: "leading-input" }), h("div", { key: '8a231a529fccb39481aa1be3b75aea92a9ba14d1', class: "range-inputs" }, h("input", { key: 'd547f462d2a695eb7e07abcbcc2b1ff05e138ff3', id: this.startInputId, type: "text", placeholder: this.startPlaceholder ||
563
+ return (h(Host, { key: 'ff398fcfbbe95e5665b774fe43350acbbc348fe9' }, ((this.label && this.label.length > 0) ||
564
+ this.el.querySelector('[slot="label"]')) && (h("label", { key: '2b1909b93047611192bb66f574bdda3b206e2385', htmlFor: this.startInputId }, h("slot", { key: '8195acf71bec4897fca7c4617eb0de096e88b191', name: "label" }, this.label))), h("nv-popover", { key: 'ba36048cf5a34974f4f4deb66fb0d735988e5b53', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h("div", { key: '14b6d78ac81001bd174bad38172a8a1a1f347731', slot: "trigger", class: "input-wrapper" }, h("slot", { key: 'fb016c89c6f8f99ae3c67917fc623bd5ebfd55fc', name: "before-input" }), h("div", { key: 'ba782a5e283e468467ccdb9b571046cd2f4852e9', class: "input-container" }, h("slot", { key: '2adfa150e03b07b3fc68dcf58e8033b7945161a0', name: "leading-input" }), h("div", { key: '0276764deeb85f4211ac741f3eb5fef2f9fbcb43', class: "range-inputs" }, h("input", { key: 'b752bb09fefcd173403cb11db40d0aabd25e1388', id: this.startInputId, type: "text", placeholder: this.startPlaceholder ||
566
565
  this.convertToInputmaskFormat(this.dateFormat), name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
567
566
  'aria-required': String(ariaRequiredValue),
568
- }), autofocus: this.autofocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus, "data-scope": "date-range" }), h("div", { key: '848fa94da2032b0c75973d1e06c4b319f7d6ce1e', class: "range-separator" }), h("input", { key: 'e62de0223934c2f75236fb312bcb0520936769f9', id: this.endInputId, type: "text", placeholder: this.endPlaceholder ||
567
+ }), autofocus: this.autofocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus, "data-scope": "date-range" }), h("div", { key: 'd5be46903d09c3b189dc4e7ee8ddad170c0f6286', class: "range-separator" }), h("input", { key: '11b9a3838149854e68ae7c9d96aedbaaba84a90d', id: this.endInputId, type: "text", placeholder: this.endPlaceholder ||
569
568
  this.convertToInputmaskFormat(this.dateFormat), name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
570
569
  'aria-required': String(ariaRequiredValue),
571
- }), value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus, "data-scope": "date-range" })), this.error && (h("nv-icon", { key: '037dd8133c599ddad1791dc19dd6a5a814e5a51d', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: '314e2584ce385f7c27ddd1ded9f093d7bc48d96c', name: "circle-check", class: "validation", size: "md" })), h("nv-iconbutton", { key: '5462d036a418755e40cb43ccbf06f1b6d3645c8e', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h("slot", { key: '18dd4d9e3abc1f1580d88b62c1380822865f2b64', name: "after-input" })), h("div", { key: '66d37dc2a4158f9e85cc56d68be484ca01eb196c', slot: "content" }, h("nv-calendar", { key: 'e3289b5b2018da82d9c25a9427cfdfceb86af5e7', ref: el => (this.calendarElement = el), onRangeDateChange: this.handleRangeDateChange.bind(this), onValueChanged: this.handleCalendarValueChanged.bind(this), onSingleDateChange: this.handleCancelDateChange.bind(this), dateFormat: this.dateFormat, value: this.value, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, selectionType: "range", "data-prevent-navigation": "true" }))), ((this.description && this.description.length > 0) ||
572
- this.el.querySelector('[slot="description"]')) && (h("div", { key: 'd7f58a9351e717508fff5e3bdbccad7fbef0c9a9', class: "description" }, h("slot", { key: '5acbe11d1bc2f95e05dad845a0b6d4abe8bd3985', name: "description" }, this.description))), (this.errorDescription ||
573
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '6c0a8e0dcd93375296be427908e998b61c94bf9c', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h("slot", { name: "error-description" })) : (this.errorDescription))), h("slot", { key: 'fb82d190c29033466f6db6f45596dc16cad28e42' })));
570
+ }), value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus, "data-scope": "date-range" })), this.error && (h("nv-icon", { key: '26b42abdeafd75930a5ca607d24337b6b3c10ac2', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: '1af99ccf21b9f8089204e9e97c2453b2bdeffd29', name: "circle-check", class: "validation", size: "md" })), h("nv-iconbutton", { key: '38b70d2b9f4ec16ff1707dc2b05ceae806646541', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h("slot", { key: '2ab6a03f44f04595763f4a6cbb8bc142578e1b3a', name: "after-input" })), h("div", { key: '1fc0213d712a8560dee995c4d26c7d9944af650b', slot: "content" }, h("nv-calendar", { key: 'd883272405391bec569516321fd2eae93dac817a', ref: el => (this.calendarElement = el), onRangeDateChange: this.handleRangeDateChange.bind(this), onValueChanged: this.handleCalendarValueChanged.bind(this), onSingleDateChange: this.handleCancelDateChange.bind(this), dateFormat: this.dateFormat, value: this.value, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, selectionType: "range", "data-prevent-navigation": "true" }))), ((this.description && this.description.length > 0) ||
571
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: 'd0f9852ccd37202db9653b338cf850ba44365ddf', class: "description" }, h("slot", { key: 'cff092ce15f1f90f246de859fea30d3714fd4520', name: "description" }, this.description))), (this.errorDescription ||
572
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'c9dfd25d6784cca037337e7ffe28fc4ac1d33fd5', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h("slot", { name: "error-description" })) : (this.errorDescription))), h("slot", { key: '8123f07bf03ae219917f2e9f8146142bd8781bd4' })));
574
573
  }
575
574
  static get is() { return "nv-fielddaterange"; }
576
575
  static get originalStyleUrls() {
@@ -1,4 +1,3 @@
1
- /* eslint-disable jsdoc/require-jsdoc */
2
1
  import { describe, it, expect } from "vitest";
3
2
  /**
4
3
  * Logic tests for nv-fielddaterange basic functionality
@@ -658,11 +658,11 @@ export class NvFielddropdown {
658
658
  ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
659
659
  : undefined;
660
660
  const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
661
- return (h(Host, { key: '0915d7a88c89a16adc2d27630b326c4fa426445b', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'c4c614d2f0224a8a0fa10e4a12ddb5c7023a54d8', htmlFor: this.inputId, onClick: this.syncToggleDropdown.bind(this) }, h("slot", { key: '14b7f31b260e324a57559cd7fc566f8fcfe29c1e', name: "label" }, this.label))), h("nv-popover", { key: 'bffecd6ae3c0e6a5e5def096fd196d9d078cdee5', triggerMode: "controlled", placement: "bottom-start", open: this.open, onOpenChanged: e => this.openChanged.emit(e.detail) }, h("div", { key: 'b2f6dd569d553f61d22b31a96e2020d9a53ecf30', class: "input-wrapper", slot: "trigger" }, h("slot", { key: 'c1d3c314d3466fafa94d4b7f2bf124a70586ea98', name: "before-input" }), h("div", { key: '6f9a5e8eb390569a85b7d8e811995434fc478a31', class: "input-container" }, h("slot", { key: '57c396497f9fb4633b5814ec3e5791fffb4e29fc', name: "leading-input" }), this.filterable || this.disabled || this.readonly ? (h("input", { "data-scope": "focusable", id: this.inputId, type: "search", ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
661
+ return (h(Host, { key: 'fc83e8834e38142ad102d17495b5978283699576', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '5a1eb965296909556869a025a6e4da609f2cbf90', htmlFor: this.inputId, onClick: this.syncToggleDropdown.bind(this) }, h("slot", { key: 'd5d4f3607e07e248c4083c3ea934a3bd1d7a7467', name: "label" }, this.label))), h("nv-popover", { key: '17e42a4d729dbc735db49f398ec14e0c296ff8ee', triggerMode: "controlled", placement: "bottom-start", open: this.open, onOpenChanged: e => this.openChanged.emit(e.detail) }, h("div", { key: 'a665ff2d2142acf5335d52e9a304ea2995750e5f', class: "input-wrapper", slot: "trigger" }, h("slot", { key: 'bddb24c6404ea0ea7da33485f8d497d0a635f3e2', name: "before-input" }), h("div", { key: '7275a9a99c9b4476b405f3966f128ce9ce92801a', class: "input-container" }, h("slot", { key: 'ede3c4442f365377eb83524f5d70d2922cd2a38b', name: "leading-input" }), this.filterable || this.disabled || this.readonly ? (h("input", { "data-scope": "focusable", id: this.inputId, type: "search", ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
662
662
  'aria-required': String(ariaRequiredValue),
663
- }), disabled: this.disabled, readOnly: this.readonly, onInput: this.handleFilterInput })) : (h("p", { "data-scope": "focusable", id: this.inputId, ref: el => (this.selectElement = el), class: "non-filterable-text", tabIndex: this.disabled ? -1 : 0 }, this.getSelectedLabel() || this.value || this.placeholder)), this.filterable && this.filterText && (h("nv-iconbutton", { key: 'a317de934a5525a0f2fc8da60efb30e6f145e26b', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter.bind(this), "aria-label": "Clear input" })), this.error && (h("nv-icon", { key: '66f875b52c5aad0b3d337495e2b84479c539f40c', name: "alert-circle", class: "validation", size: "md" })), h("nv-iconbutton", { key: '87d05a637e89e2d31621fdaf4da25a0472679790', "data-scope": "toggle-dropdown", ref: el => (this.toggleElement = el), name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', onClick: this.syncToggleDropdown.bind(this), tabIndex: this.disabled ? -1 : 0 })), h("slot", { key: '709fa474ef044a35a09ea9e03f2c2cb7f8beb499', name: "after-input" })), h("div", { key: '1c0599436e013c853b8d52411812d383095b7339', slot: "content", style: this.maxHeight ? { maxHeight: this.maxHeight } : {} }, this.options?.length > 0 && (h("ul", { key: '7d29e377eb3c90d20a0e8659a4404da0f603ce33' }, this.options.map(option => (h("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))), h("slot", { key: '76796c930183e266a8f13dceb70040e9a531bf4b', name: "content" }))), (this.description ||
664
- this.el.querySelector('[slot="description"]')) && (h("div", { key: '5ce379ed837ce4045e29835f452615901a49e765', class: "description" }, h("slot", { key: '099b08d109920596d58aee26aa3a1f13ed5c8743', name: "description" }, this.description))), (this.errorDescription ||
665
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'f8357878d232e6d28714bcc7f3aa508fd33d4c84', hidden: !this.error, class: "error-description" }, h("slot", { key: '3f76cd412d3b8cff001295bc68cc726f166788ab', name: "error-description" }, this.errorDescription)))));
663
+ }), disabled: this.disabled, readOnly: this.readonly, onInput: this.handleFilterInput })) : (h("p", { "data-scope": "focusable", id: this.inputId, ref: el => (this.selectElement = el), class: "non-filterable-text", tabIndex: this.disabled ? -1 : 0 }, this.getSelectedLabel() || this.value || this.placeholder)), this.filterable && this.filterText && (h("nv-iconbutton", { key: 'd1aa81c5d14601ea85cec133a94f2b071ca98358', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter.bind(this), "aria-label": "Clear input" })), this.error && (h("nv-icon", { key: 'd49e30222d63ffdcc4d952d959a98946b943685f', name: "alert-circle", class: "validation", size: "md" })), h("nv-iconbutton", { key: '6e157ce63f3f6faa08df5b7b9b7e6fd3ae9d0c31', "data-scope": "toggle-dropdown", ref: el => (this.toggleElement = el), name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', onClick: this.syncToggleDropdown.bind(this), tabIndex: this.disabled ? -1 : 0 })), h("slot", { key: '665519b43abbd562ea1c3e36355b15ffb3e6fea2', name: "after-input" })), h("div", { key: 'da97b6498e93d5f6c427bec6963db697c41c2d9a', slot: "content", style: this.maxHeight ? { maxHeight: this.maxHeight } : {} }, this.options?.length > 0 && (h("ul", { key: '0db57a711680aad61c32993b5f3afe304ec9066f' }, this.options.map(option => (h("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))), h("slot", { key: '5c7643c6436c42efa63bab75f416b684b662812b', name: "content" }))), (this.description ||
664
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: '0ade462a96a16bb0cf6fb9d49d4ead0d98a6234b', class: "description" }, h("slot", { key: 'bb2d0c3340bdc0d0b3ac77feab8bc70a73b89a00', name: "description" }, this.description))), (this.errorDescription ||
665
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'c04c2329d71e088b262a46441bb3bd9592d304e8', hidden: !this.error, class: "error-description" }, h("slot", { key: 'b85d769f12c4bf2a2ba5aba69c20566d17801f0a', name: "error-description" }, this.errorDescription)))));
666
666
  }
667
667
  static get is() { return "nv-fielddropdown"; }
668
668
  static get formAssociated() { return true; }
@@ -53,7 +53,7 @@ export class NvFielddropdownitem {
53
53
  /****************************************************************************/
54
54
  //#region RENDER
55
55
  render() {
56
- return (h(Host, { key: 'cc904014a9b842b78989983ea9bef85b77d78ccd', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, h("slot", { key: 'bea22ab46cadc0150ee379e2157fad80d11cccdd' }, h("div", { key: 'bd873a6664bee68e5e177ef04c14f68f2e0d3cf1', class: "text-wrapper" }, h("span", { key: '786a7be6c2aaf0d3cbc570f38ed45f2f23e742be', "data-scope": "text" }, this.label))), this.selected && (h("nv-icon", { key: 'a53bfcf17378c42bec4bbd970635dbd6ada1c3a4', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
56
+ return (h(Host, { key: '6d50463d72a8e2dde08ba3d7bc6f3ba21021163e', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, h("slot", { key: 'b38c59fc95f124c3395ff1ab0b7dfc4ecc27823b' }, h("div", { key: 'a5ba5d4b636847e5ce6c1bab6cbbce418b70a1af', class: "text-wrapper" }, h("span", { key: 'f01a0aa5ee475a9640c7abefe321f605ea5e7cdf', "data-scope": "text" }, this.label))), this.selected && (h("nv-icon", { key: '9cd1b5532a4d2f5c2546e9432262f483bd5c8d69', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
57
57
  }
58
58
  static get is() { return "nv-fielddropdownitem"; }
59
59
  static get originalStyleUrls() {
@@ -52,7 +52,7 @@ export class NvFielddropdownitemcheck {
52
52
  /****************************************************************************/
53
53
  //#region RENDER
54
54
  render() {
55
- return (h(Host, { key: '3d170ba455c58880f20590200decfde25224886f', onClick: this.handleClick }, h("nv-fieldcheckbox", { key: 'b13310319d63346dcef8ee13f1bbc348617e5981', 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 }, h("slot", { key: 'c936ae30f4fcf8073be1f1e3a3b0d79cf1532136' }), h("slot", { key: '0e6d7701da3d5d26141ce471fcd79b9693ca3e57', name: "main" }), h("slot", { key: '5be71b210a4b4fc49d772afd3bb0a7d1c778d870', name: "label" }), h("slot", { key: '4e5b81eefa8c3bc37763e0d3c7fc2828b5ece4bc', name: "description" }))));
55
+ return (h(Host, { key: '6c5bc9f6060ac711a1360dd45da58dddf7d7d563', onClick: this.handleClick }, 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 }, h("slot", { key: 'e603490efb497f0ef62049e7b44c34d91c8989d2' }), h("slot", { key: '6774a2ab5bf182297929afbcec8c489bf620bcab', name: "main" }), h("slot", { key: '5ca19cd56a5917ed125eb20c6713e25dc512fb45', name: "label" }), h("slot", { key: '847864bfbc3302bb07088f77d9c2d200fac8b505', name: "description" }))));
56
56
  }
57
57
  static get is() { return "nv-fielddropdownitemcheck"; }
58
58
  static get originalStyleUrls() {
@@ -169,11 +169,11 @@ export class NvFieldnumber {
169
169
  ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
170
170
  : undefined;
171
171
  const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
172
- return (h(Host, { key: '8923d44cca66a2540688650ababfeec76ea1ef37' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '56b80106201b70cb881df6051c6ef12694762cc3', htmlFor: this.inputId }, h("slot", { key: '864103e328f18ad16041f434856ee6b3c996aa86', name: "label" }, this.label))), h("div", { key: '83f62b35fa18c43b7825d1510e47b47151c007cd', class: "input-wrapper" }, h("slot", { key: 'c566e63d0e78c63ee1a3d42e44dfed04eb1bf442', name: "before-input" }), h("div", { key: '234a861d3bd801394ed529a96480616357d1be68', class: "input-container", onClick: this.handleInputContainerClick }, h("slot", { key: 'c1128d9b4cbe4b7c2c57117b8b86f8ae553df749', name: "leading-input" }), h("input", { key: 'b5d2a4a11e7a86be87bc43b2258352c427478f2e', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: "number", autofocus: this.autofocus, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
172
+ return (h(Host, { key: '1e36baa7bada38760fc9363329cb133d92aad28b' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '7c47d4417b1a26dd35e0e566451c3e8386803611', htmlFor: this.inputId }, h("slot", { key: '6aeedee63b8d2fbe2d7df6f567cb6d81020efe98', name: "label" }, this.label))), h("div", { key: '4507a0ec037b3822a396ad89d86b62d1adcf0011', class: "input-wrapper" }, h("slot", { key: '7f469b67aa088cea2967e430d1e257097f84ae84', name: "before-input" }), h("div", { key: 'c3c5a0e713e5cd94ab6d9c6414cf33a1bd91daee', class: "input-container", onClick: this.handleInputContainerClick }, h("slot", { key: '8c6b3952d186bf4873470fc7fa67768e4d76d561', name: "leading-input" }), h("input", { key: 'f413f4c3cd77a0a872b0038bbf8e61ce780c3f78', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: "number", autofocus: this.autofocus, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
173
173
  'aria-required': String(ariaRequiredValue),
174
- }), max: this.max, min: this.min, step: this.step, value: typeof this.value === 'number' ? this.value : undefined, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), h("slot", { key: '37629423645755fdf53ea955ead6950752047ca4', name: "trailing-input" }), this.error && (h("nv-icon", { key: 'a23fccf662246ac1f696942f96d632112644b103', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: 'b20933d5b749b3d3bc56ceb9acab8dc4a1a22c7b', name: "circle-check", class: "validation", size: "md" })), h("div", { key: '1b1eccecd0c62d1c8675b323e5e69df4321ab0b1', class: "stepper" }, h("nv-iconbutton", { key: '4065c40b5f1dcb35d4508741d24ec4e98b410e20', size: "md", name: "minus", emphasis: "lower", onClick: this.handleMinus, disabled: this.isMinValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }), h("nv-iconbutton", { key: '185fc575ffb4143b6f212831c0cfdb9467593a14', size: "md", name: "plus", emphasis: "lower", onClick: this.handlePlus, disabled: this.isMaxValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }))), h("slot", { key: '684f6fd512db5becf5a392d641583f3fde4b7ee1', name: "after-input" })), (this.description ||
175
- this.el.querySelector('[slot="description"]')) && (h("div", { key: '731b758b37cf19b90ed83fc59ef071d758fa308c', class: "description" }, h("slot", { key: '6c5b91e259ec4f70353ff52297c5d9e3f5d4e830', name: "description" }, this.description))), (this.errorDescription ||
176
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'ac5c52dc7f3ece9cb6c7fa19dfc537fbac307686', hidden: !this.error, class: "error-description" }, h("slot", { key: 'ce43bfc92428463267fccf376b580ab6794e9200', name: "error-description" }, this.errorDescription)))));
174
+ }), max: this.max, min: this.min, step: this.step, value: typeof this.value === 'number' ? this.value : undefined, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), h("slot", { key: 'af60594f2c536e5527478a66b72ad96bedcdcbd7', name: "trailing-input" }), this.error && (h("nv-icon", { key: 'd1ac93ad90cf44304581e4c1516e50a9ccdfa13a', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: '13e5220090b3841c6dcc688e89ad99df8df1fc65', name: "circle-check", class: "validation", size: "md" })), h("div", { key: '4823aa102f38909d488cde22f3c8e5607a6dad36', class: "stepper" }, h("nv-iconbutton", { key: 'beb7246372406a126f5eeb10f36532e6727e29db', size: "md", name: "minus", emphasis: "lower", onClick: this.handleMinus, disabled: this.isMinValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }), h("nv-iconbutton", { key: 'f17eef8a17252962ee0f282ece0e402cc71a231d', size: "md", name: "plus", emphasis: "lower", onClick: this.handlePlus, disabled: this.isMaxValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }))), h("slot", { key: '54e427210db1972f194a7e60a5523038615e2889', name: "after-input" })), (this.description ||
175
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: 'b74c0ecd5d63a072a47b841294614d9f7cfb1371', class: "description" }, h("slot", { key: '3feddef8e3658097a3137dbdbd872e72c527f5f8', name: "description" }, this.description))), (this.errorDescription ||
176
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '4b6956f6ae94393d37b94703401dc6ab62657fdf', hidden: !this.error, class: "error-description" }, h("slot", { key: '37c04247cf7842d623ee36b1144f9656af651768', name: "error-description" }, this.errorDescription)))));
177
177
  }
178
178
  static get is() { return "nv-fieldnumber"; }
179
179
  static get formAssociated() { return true; }
@@ -146,11 +146,11 @@ export class NvFieldpassword {
146
146
  ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
147
147
  : undefined;
148
148
  const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
149
- return (h(Host, { key: 'f9df0663358647d4305ebce0277cde70500e8740' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'ac7f2c7c2351d231f95f1366fd562168172947e9', htmlFor: this.inputId }, h("slot", { key: 'bd816b47b2e5f396d075fef7162ced4a37fb218f', name: "label" }, this.label))), h("div", { key: '10e75900c29557bdb52d8ea6e44a44cf361fa3eb', class: "input-wrapper" }, h("slot", { key: '11f12897969247d96452d0c60f30634a8d3d1b65', name: "before-input" }), h("div", { key: '43a4dd389bde61fb42d71f9adf7fc3ae39b78937', class: "input-container", onClick: this.handleInputContainerClick }, h("slot", { key: '8831059e08707a3a14b19134189291f391ec1e06', name: "leading-input" }), h("input", { key: '06780d7a981405f5fbee6dafde3b044733ac381a', id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, type: this.showPasswordState ? 'text' : 'password', inputMode: this.mode, value: this.value, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
149
+ return (h(Host, { key: '0022e7c0b9529f4cd6840732a12bdfd7af178c4d' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'ac8eebc87258b3ff220809e1304c69c657d91a6e', htmlFor: this.inputId }, h("slot", { key: '0385f62cef83b64170ffbe796163407e7f5a5ab5', name: "label" }, this.label))), h("div", { key: 'a4b02b838c72a5f5c263919bb56ec2f601f9b2af', class: "input-wrapper" }, h("slot", { key: 'fbcfea7b266fc54c29583ada4f0007984a2c4e05', name: "before-input" }), h("div", { key: '83ca16802319a42e59718c1836b9692da0f34fc9', class: "input-container", onClick: this.handleInputContainerClick }, h("slot", { key: '996aceac450cf9ab7e0c0a96061b06212ed95ca0', name: "leading-input" }), h("input", { key: '2d23175d6a47ee52e2a3dbae88a989e13fe5ea02', id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, type: this.showPasswordState ? 'text' : 'password', inputMode: this.mode, value: this.value, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
150
150
  'aria-required': String(ariaRequiredValue),
151
- }), maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), (this.success || this.error) && (h("nv-icon", { key: 'be4cb48eeb99a2a474cf7a6a53055e04d1baabff', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (h("nv-iconbutton", { key: '0749a349e7f7253c3574b1c5e8b45c27394cac31', name: this.showPasswordState ? 'eye' : 'eye-off', size: "md", emphasis: "lower", onClick: this.togglePasswordVisibility, "aria-label": this.showPasswordState ? 'Hide password' : 'Show password', "aria-pressed": this.showPasswordState.toString() }))), h("slot", { key: '045d8eae1db96d902e8590fab30673b782b41a24', name: "after-input" })), (this.description ||
152
- this.el.querySelector('[slot="description"]')) && (h("div", { key: 'eb0305e565f4056fe0d8213caa5665e38fcbca95', class: "description" }, h("slot", { key: 'a6890087afa2b3d1a289e415bb9c21b7c71e9f04', name: "description" }, this.description))), (this.errorDescription ||
153
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '4113509789b3bd7bd2f94217b68527f61449b262', hidden: !this.error, class: "error-description" }, h("slot", { key: '3ca63688c3db3ef4fe3b0d5d341b0b3536b1f692', name: "error-description" }, this.errorDescription)))));
151
+ }), maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), (this.success || this.error) && (h("nv-icon", { key: '388170ed995039b69b2b3db523b2c7ba33e8fd87', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (h("nv-iconbutton", { key: '92567a64f653423e351bb558456233318461a0e0', name: this.showPasswordState ? 'eye' : 'eye-off', size: "md", emphasis: "lower", onClick: this.togglePasswordVisibility, "aria-label": this.showPasswordState ? 'Hide password' : 'Show password', "aria-pressed": this.showPasswordState.toString() }))), h("slot", { key: '929d2faa36c128bd5d163beb8a06f40c008981e9', name: "after-input" })), (this.description ||
152
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: 'ddd0ed40de645fae289d3e1b60db0067e219fd78', class: "description" }, h("slot", { key: '17122748a9a401a50d43d3fd556c20809dfb9bc2', name: "description" }, this.description))), (this.errorDescription ||
153
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '1ef139333591257d3a13e9506be0721cee1fd4f1', hidden: !this.error, class: "error-description" }, h("slot", { key: '631bf31a710d0ace20cd7d631d6218101ac896b0', name: "error-description" }, this.errorDescription)))));
154
154
  }
155
155
  static get is() { return "nv-fieldpassword"; }
156
156
  static get formAssociated() { return true; }
@@ -83,9 +83,9 @@ export class NvFieldradio {
83
83
  /****************************************************************************/
84
84
  //#region RENDER
85
85
  render() {
86
- return (h(Host, { key: 'bae8d6168e0845413655d8b52c14a2c348832616', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h("input", { key: '4d3e7cd78625c3d42025f85be66c8f389501d01e', type: "radio", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: this.checked, disabled: this.disabled }), h("div", { key: '2d12f20bc8c0cf4bd3d31916bfeed8a8ef13de37', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '91b2080433d987def3d2ddf45c9817cc5852ebee', htmlFor: this.inputId }, h("slot", { key: '61c2209353903495e30bc86a281b0460a8d1ee2e', name: "label" }, this.label))), (this.description ||
87
- this.el.querySelector('[slot="description"]')) && (h("div", { key: 'f33b847894e5ea058ae36bb0fa107c5c28062443', class: "description" }, h("slot", { key: '24c4b14000b8dd0738b1c3fdc8c97aebc9f3c03f', name: "description" }, this.description))), (this.errorDescription ||
88
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'bcc07ebfaa0d8dcd3c9a813ccd33322096b5aa82', hidden: !this.error, class: "error-description" }, h("slot", { key: '7cd0cb86be513924ccd83a3a93e4d8871ac21b7b', name: "error-description" }, this.errorDescription))))));
86
+ return (h(Host, { key: '07d9225a6a3af28efa5885b5bb02a3f512708a97', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h("input", { key: '2b5afcf255bc442914f9225537987d331000883d', type: "radio", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: this.checked, disabled: this.disabled }), h("div", { key: '8fc76a826e8a8ef51a80173b950ab460cf0ff8f3', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '4578fccf241e9470a7f514761b3141d3fad77a88', htmlFor: this.inputId }, h("slot", { key: 'f6d9f4961d07525175bd51fa4a4b546d62e74d4e', name: "label" }, this.label))), (this.description ||
87
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: '17d029eb709c443e8a68a5d6bdd1265400ae35d2', class: "description" }, h("slot", { key: 'e4485b5ed253c6fc45508947387fa43f0492f654', name: "description" }, this.description))), (this.errorDescription ||
88
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'cde01e850752c1a2b4a3b2559f2052167409a605', hidden: !this.error, class: "error-description" }, h("slot", { key: 'f9d9f08be6506a495a5b42bcc9ebd2db49e749d5', name: "error-description" }, this.errorDescription))))));
89
89
  }
90
90
  static get is() { return "nv-fieldradio"; }
91
91
  static get formAssociated() { return true; }
@@ -1,3 +1,4 @@
1
+ @charset "UTF-8";
1
2
  nv-fieldradio {
2
3
  --nv-fieldradio-border-default: var(--components-form-field-border-default);
3
4
  --nv-fieldradio-border-hover: var(--components-form-field-border-hover);
@@ -106,6 +107,25 @@ nv-fieldradio input[type=radio]:disabled:hover {
106
107
  border-color: var(--nv-fieldradio-border-default);
107
108
  background: var(--nv-fieldradio-background-disabled);
108
109
  }
110
+ @media print {
111
+ nv-fieldradio input[type=radio]:checked {
112
+ background: transparent;
113
+ border-color: var(--nv-fieldradio-background-checked);
114
+ }
115
+ nv-fieldradio input[type=radio]:checked::before {
116
+ content: "●";
117
+ position: absolute;
118
+ top: calc(50% - 2px);
119
+ left: calc(50% - 4.5px);
120
+ transform: translate(-50%, -50%);
121
+ width: auto;
122
+ height: auto;
123
+ background: none;
124
+ color: var(--nv-fieldradio-background-checked);
125
+ font-size: calc(var(--form-radio-inner-circle-size) * 3);
126
+ line-height: 1;
127
+ }
128
+ }
109
129
  nv-fieldradio .description {
110
130
  align-self: stretch;
111
131
  color: var(--components-form-text-description-default);
@@ -372,15 +372,15 @@ export class NvFieldselect {
372
372
  ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
373
373
  : undefined;
374
374
  const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
375
- return (h(Host, { key: '3e1db8da89c5d0b916f683aa69d31c779804fd4d' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'f9563ef31e408807bf5f1f5e2de28ebcc6a85f3e', htmlFor: this.inputId }, h("slot", { key: '5af97b78470901fa65daa6e80b129958544a773c', name: "label" }, this.label))), h("div", { key: '3b27b4b3a3eb0b52d75b89fb74302a0b25c2668d', class: "select-wrapper" }, h("slot", { key: 'f9a55c3d0180d7ebd950433069ab28abf6c1c284', name: "before-input" }), h("div", { key: 'd52aa5c1cfc373e8b7f2a89d2c12b57c94f23ba3', class: "select-container", onClick: this.handleSelectContainerClick }, h("slot", { key: '6d7d0162b5d31bff3ed62394314ae7fbfe0d48f2', name: "leading-input" }), this.internalReadonly && (h("input", { key: 'e424fa104e6fdb914642283da5817cfc9b2a9bde', id: this.inputId + '-readonly', type: "text", value: this.computedDisplayValue, readonly: true, class: "readonly-input", "aria-readonly": "true", "aria-label": this.label, "aria-describedby": this.error
375
+ return (h(Host, { key: '14b1a2aa45b0c68539234e57dfcce39422d6d23b' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'a9c3a454574d65358d28f8e72049d82b5667b0cb', htmlFor: this.inputId }, h("slot", { key: 'ead692187041569b918d65afd775e1f4050d54e7', name: "label" }, this.label))), h("div", { key: '1707389d32a34a16a141990a9ab133c0e39fdd11', class: "select-wrapper" }, h("slot", { key: 'd8ac565ec1a564f1e451f8d0f80ad12c4b25a70d', name: "before-input" }), h("div", { key: '4c0edadba8462c36ea4f315971842796fb59852f', class: "select-container", onClick: this.handleSelectContainerClick }, h("slot", { key: '68442a898f7321d584d7fff62452af2b37ee3467', name: "leading-input" }), this.internalReadonly && (h("input", { key: '997d8e04f32826d65f4a1a138b008f69910fa6d2', id: this.inputId + '-readonly', type: "text", value: this.computedDisplayValue, readonly: true, class: "readonly-input", "aria-readonly": "true", "aria-label": this.label, "aria-describedby": this.error
376
376
  ? `${this.inputId}-error`
377
- : `${this.inputId}-description` })), h("select", { key: '40b5dc4762ff71b411106504c8f5781c4683d9b0', id: this.inputId, ref: el => (this.selectElement = el), name: this.name, autofocus: this.autofocus, disabled: this.disabled, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
377
+ : `${this.inputId}-description` })), h("select", { key: '732a7a11d9547ea4f6b3322781bc34be18b6b77e', id: this.inputId, ref: el => (this.selectElement = el), name: this.name, autofocus: this.autofocus, disabled: this.disabled, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
378
378
  'aria-required': String(ariaRequiredValue),
379
379
  }), multiple: this.multiple, onChange: this.handleSelectChange, class: this.internalReadonly ? 'hidden' : '', "aria-label": this.label, "aria-describedby": this.error
380
380
  ? `${this.inputId}-error`
381
- : `${this.inputId}-description` }, this.options && this.options.length > 0 ? (this.options.map(option => (h("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (h("slot", null))), h("div", { key: 'a7643035cae31cf8d51c2d5fef4884d937973145', class: "select-icons" }, this.error && (h("nv-icon", { key: 'b14aef3d09000a587ab31c5dd01737c9af6fd484', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: '718235edb2b332041fbd52bf7eefb7a3b85fc48e', name: "circle-check", class: "validation", size: "md" })), !this.multiple && (h("nv-iconbutton", { key: '1c6f671d617be4ac490a666ac9d4bd1d2e4ca741', name: "chevron-down", size: "md", emphasis: "lower", tabindex: -1 })))), h("slot", { key: 'c10d04364dcbf2919dd09e2281326400e0121329', name: "after-input" })), (this.description ||
382
- this.el.querySelector('[slot="description"]')) && (h("div", { key: '2f971bfa9568529ffcd442c3a28408614c6d156b', class: "description", id: `${this.inputId}-description` }, h("slot", { key: 'd1e6be348a300c8d157250a46396d9e574ed7e1f', name: "description" }, this.description))), (this.errorDescription ||
383
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'df3c8fa6bd21adbd4fedba999449bab77568b166', class: "error-description", id: `${this.inputId}-error` }, h("slot", { key: '7e1c69a2fe2d742699fb8715bc1f3b1f4ef4a9d2', name: "error-description" }, this.errorDescription)))));
381
+ : `${this.inputId}-description` }, this.options && this.options.length > 0 ? (this.options.map(option => (h("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (h("slot", null))), h("div", { key: 'f4675290f5ee76afb1020f40e70c19e2f33b9292', class: "select-icons" }, this.error && (h("nv-icon", { key: '246f1fd624270c5f2cfdfc5fc31ff1e63c0aa99f', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: 'ff06df43b44ceb423c2dd3be999e553a62953d84', name: "circle-check", class: "validation", size: "md" })), !this.multiple && (h("nv-iconbutton", { key: 'fee5dd8d3268d6ad00389b2ace10eaffa81fb0c0', name: "chevron-down", size: "md", emphasis: "lower", tabindex: -1 })))), h("slot", { key: 'debcb059b6fc7a3667009af11539a98778812064', name: "after-input" })), (this.description ||
382
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: 'c64ad4587fe24de32391e730a02d34138e9dd55d', class: "description", id: `${this.inputId}-description` }, h("slot", { key: '7bee964467a46ea037d3be6733a04a08979fbebb', name: "description" }, this.description))), (this.errorDescription ||
383
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'd759750f8a90a8a41d2b42ac1cc4a297ae14e571', class: "error-description", id: `${this.inputId}-error` }, h("slot", { key: 'df17b5135b5f8bbf991895f11cc1bb74c7e665a6', name: "error-description" }, this.errorDescription)))));
384
384
  }
385
385
  static get is() { return "nv-fieldselect"; }
386
386
  static get formAssociated() { return true; }
@@ -464,11 +464,11 @@ export class NvFieldslider {
464
464
  /****************************************************************************/
465
465
  //#region RENDER
466
466
  render() {
467
- return (h(Host, { key: 'c247ce569201985167186da763f874c838919130' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'b5a17814669c6b8a3300dea842e1b886c48896ee', htmlFor: this.startInputId }, h("slot", { key: '6eab25a6ef6a73e034eafe23806c6924344f3f3a', name: "label" }, this.label))), h("div", { key: '6d3987ddc4f0005a6af919c00674356cf92b893e', class: "slider-container" }, this.range ? (h(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, index: 0, inputId: this.startInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name, endName: this.endName })) : null, h("div", { key: 'a10ccb88fe4d3c9a44fb5b90ca2cf65567715bd5', class: "track-container" }, h("div", { key: '0d680c3b8b9aac3aee165e44e67501e60239b069', class: "track", onPointerDown: this.onTrackInteraction }, this.range ? (h(RangeThumb, { rangeValue: this.rangeValueInternal, rawRangePosition: this.rawRangePosition, activeDragThumb: this.activeDragThumb, isDragging: this.isDragging, snap: this.snap, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onKeyDown: this.onKeyDown, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue })) : (h(SingleThumb, { value: this.valueInternal, min: this.min, max: this.max, step: this.step, rawPosition: this.rawPosition, isDragging: this.isDragging, snap: this.snap, disabled: this.disabled, readonly: this.readonly, onKeyDown: this.onKeyDown, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue }))), h(TickMarks, { key: '261331b8517e65b17e0ad3059d11fc3e383a8db3', ticks: this.internalTicks, min: this.min, max: this.max })), this.range ? (h(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, index: 1, inputId: this.endInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name, endName: this.endName })) : (h(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, inputId: this.startInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name }))), (this.success ||
467
+ return (h(Host, { key: '34ffffbcfefbeac4050ced2db000a32f67222376' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'b07225ad89ae0f85d3cd2b1ee203b30e6abd7e57', htmlFor: this.startInputId }, h("slot", { key: 'b1f39009872c4a38dae38286a036bb69f8ba6f62', name: "label" }, this.label))), h("div", { key: '0013570dd6edbcb7c0f4a6ea32a550b6d9432271', class: "slider-container" }, this.range ? (h(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, index: 0, inputId: this.startInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name, endName: this.endName })) : null, h("div", { key: 'ca639497db1b588fcf0d4fad5f548a53ff1ee353', class: "track-container" }, h("div", { key: '6a8d1eb4bddff4d5ca9760729cfa1ce27b887a65', class: "track", onPointerDown: this.onTrackInteraction }, this.range ? (h(RangeThumb, { rangeValue: this.rangeValueInternal, rawRangePosition: this.rawRangePosition, activeDragThumb: this.activeDragThumb, isDragging: this.isDragging, snap: this.snap, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onKeyDown: this.onKeyDown, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue })) : (h(SingleThumb, { value: this.valueInternal, min: this.min, max: this.max, step: this.step, rawPosition: this.rawPosition, isDragging: this.isDragging, snap: this.snap, disabled: this.disabled, readonly: this.readonly, onKeyDown: this.onKeyDown, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue }))), h(TickMarks, { key: '134bf7de84a7572b1f033e4e17e0e435e841eb42', ticks: this.internalTicks, min: this.min, max: this.max })), this.range ? (h(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, index: 1, inputId: this.endInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name, endName: this.endName })) : (h(FieldInput, { range: this.range, hasField: this.hasField, value: this.valueInternal, rangeValue: this.rangeValueInternal, inputId: this.startInputId, min: this.min, max: this.max, step: this.step, disabled: this.disabled, readonly: this.readonly, onInput: this.handleFieldChange, labelBeforeValue: this.labelBeforeValue, labelAfterValue: this.labelAfterValue, name: this.name }))), (this.success ||
468
468
  this.description ||
469
- this.el.querySelector('[slot="description"]')) && (h("div", { key: 'b4fa791292ac4bcaba6f33a79dff07706c4ce3b0', class: "description" }, this.success && (h("nv-icon", { key: 'dc9f8213e6dc87aa2cdfdd131c7c7cfaa0a10f64', name: "circle-check", class: "validation", size: "md" })), h("slot", { key: 'e64c6e4364acac752049f9908fc6fadce81b52f8', name: "description" }, this.description))), (this.error ||
469
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: 'b0188dce4fe8718a90715049d2af71fff7e9c512', class: "description" }, this.success && (h("nv-icon", { key: 'cd2fd95080cd96ed516f9caa3b078ad481ee9912', name: "circle-check", class: "validation", size: "md" })), h("slot", { key: 'd5dbc5f8bb6b66cef814a58e00aa07e7b9e07a23', name: "description" }, this.description))), (this.error ||
470
470
  this.errorDescription ||
471
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '98e434ed68e64a8ad6d1d06dd1436682768e4d6d', class: "error-description", hidden: !this.error }, this.error && (h("nv-icon", { key: '7b56d0e87896fc2c10956e72dc7f701dc169aea6', name: "alert-circle", class: "validation", size: "md" })), h("slot", { key: 'b3ba1f603903131c42d95e67f3871a0b1a2ebb7b', name: "error-description" }, this.errorDescription)))));
471
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '67a78749af19d44d553581ff0042e40c067dd44c', class: "error-description", hidden: !this.error }, this.error && (h("nv-icon", { key: '4aac6d31b273cee32d235b7c53fd4cac6af4c253', name: "alert-circle", class: "validation", size: "md" })), h("slot", { key: '9faa92d59e9fde524d1fb41e30b30178d9c12c4b', name: "error-description" }, this.errorDescription)))));
472
472
  }
473
473
  static get is() { return "nv-fieldslider"; }
474
474
  static get formAssociated() { return true; }
@@ -148,11 +148,11 @@ export class NvFieldtext {
148
148
  ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
149
149
  : undefined;
150
150
  const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
151
- return (h(Host, { key: '752b96931256a9b1c09079e4af9f1010af8ff409' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '9d04322a2519c8754f39ea4930e156b6df965bc6', htmlFor: this.inputId }, h("slot", { key: '3249f9865193d8a7ab8bf201b89ebcf9ee464961', name: "label" }, this.label))), h("div", { key: '072ad06abfd59614c8ff76e996d9f323f3795bdd', class: "input-wrapper" }, h("slot", { key: '3d2acf809e2565da88ff1ced1a62e58734a38f26', name: "before-input" }), h("div", { key: '64e0e81f95a0cecb3fa721e383e22de406c7b02f', class: "input-container", onClick: this.handleInputContainerClick }, h("slot", { key: '7e4a48edef0443a18b9ebb33ee0644e56ae7347f', name: "leading-input" }), h("input", { key: 'afb87b6fc112249291c7d8f05dd94501aa3f51c9', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: this.type, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
151
+ return (h(Host, { key: '0baf2e0b76bd06018a819a60d2d3a271474d8b26' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '915a355b200bb2eebb44b60b46715c0be57af927', htmlFor: this.inputId }, h("slot", { key: 'e915661a6fdf9d7a489b39ac9c41ae368c64764c', name: "label" }, this.label))), h("div", { key: '33109ed1f7ddfc38de2606d7b3ac273678a71a82', class: "input-wrapper" }, h("slot", { key: 'a93db4a91c9fb313031680c7cd992f501930b5da', name: "before-input" }), h("div", { key: '1c56222cf9e1ad0b4242548bb3133b502b890ea7', class: "input-container", onClick: this.handleInputContainerClick }, h("slot", { key: 'bcff7d46918f5069e8c512412a6d7120e3204f1f', name: "leading-input" }), h("input", { key: '16f7a7230799cccdec45dc5a53939f5fc78f4e24', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: this.type, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
152
152
  'aria-required': String(ariaRequiredValue),
153
- }), maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, autofocus: this.autofocus, autocomplete: this.autocomplete, multiple: this.multiple, value: this.value, onInput: this.handleInput }), h("slot", { key: '43df7002bd3c9304e3eb7965e6a13cc086eb2856', name: "trailing-input" }), this.error && (h("nv-icon", { key: '0735de48552dd73cad4bf9fe99b6a882ecdd33e4', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: '666395f960bd25410c7a2fb31c88f13887d82dbc', name: "circle-check", class: "validation", size: "md" }))), h("slot", { key: '8564a034022bd27777bed4c138bcf0131037a6fc', name: "after-input" })), (this.description ||
154
- this.el.querySelector('[slot="description"]')) && (h("div", { key: '156613e0ea9c6bd81c821e99bb9497fe3069616b', class: "description" }, h("slot", { key: '5dc12f9875778d04c3a66238bfcec0b765d20039', name: "description" }, this.description))), (this.errorDescription ||
155
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '22fcd8a566ab55e54f59db939e5c3a505dbcca65', hidden: !this.error, class: "error-description" }, h("slot", { key: 'f10a7a4b2e5514d035f31f90aa07f7d727b1c302', name: "error-description" }, this.errorDescription)))));
153
+ }), maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, autofocus: this.autofocus, autocomplete: this.autocomplete, multiple: this.multiple, value: this.value, onInput: this.handleInput }), h("slot", { key: '446a2dcd683ba6caeb9f1f715890a38cb084d341', name: "trailing-input" }), this.error && (h("nv-icon", { key: '2e2787b8ac5c39db8a8212dffb7ed545b2d35084', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: '88e507f5003fc9d2967968b6938b51731dbb5d09', name: "circle-check", class: "validation", size: "md" }))), h("slot", { key: '3d471559b8630cfbcb39b17477beb62bf707bea7', name: "after-input" })), (this.description ||
154
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: '5e6bb278db247a1f94e27f6401519821a9fc571b', class: "description" }, h("slot", { key: '13483a478681d97b00d06664fee40c35f81eb29f', name: "description" }, this.description))), (this.errorDescription ||
155
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'c91425b592a094661d4c76316b060877861d85f5', hidden: !this.error, class: "error-description" }, h("slot", { key: 'f371e111411bf60d331e3a0762135d62010ad06c', name: "error-description" }, this.errorDescription)))));
156
156
  }
157
157
  static get is() { return "nv-fieldtext"; }
158
158
  static get formAssociated() { return true; }
@@ -168,6 +168,20 @@ const NvFieldtextareaDocs = {
168
168
  },
169
169
  template: h("nv-fieldtextarea", { "data-storybook-args": true }),
170
170
  },
171
+ // maxAutoHeight
172
+ {
173
+ name: nameof(x => x.maxAutoHeight),
174
+ description: 'Sets a maximum height (in pixels) when autosize is enabled. Content beyond this height will overflow with a scrollbar, useful for chat-style inputs.',
175
+ args: {
176
+ label: 'Textarea Max Auto Height',
177
+ autosize: true,
178
+ maxAutoHeight: 120,
179
+ rows: 2,
180
+ value: faker.lorem.paragraph(10),
181
+ resize: 'none',
182
+ },
183
+ template: h("nv-fieldtextarea", { "data-storybook-args": true }),
184
+ },
171
185
  // autofocus
172
186
  {
173
187
  name: nameof(x => x.autofocus),