@nova-design-system/nova-webcomponents 3.25.0 → 3.26.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 (363) hide show
  1. package/dist/cjs/i18n.utils-BbKpUgYq.js +77 -0
  2. package/dist/cjs/index.cjs.js +54 -2
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/native.cjs.js +1 -1
  5. package/dist/cjs/nv-badge_2.cjs.entry.js +5 -3
  6. package/dist/cjs/nv-breadcrumb.cjs.entry.js +1 -1
  7. package/dist/cjs/nv-breadcrumbs.cjs.entry.js +1 -1
  8. package/dist/cjs/nv-button.cjs.entry.js +1 -1
  9. package/dist/cjs/nv-buttongroup.cjs.entry.js +2 -2
  10. package/dist/cjs/nv-calendar.cjs.entry.js +2 -11
  11. package/dist/cjs/nv-col.cjs.entry.js +1 -1
  12. package/dist/cjs/nv-datagrid.cjs.entry.js +2 -2
  13. package/dist/cjs/nv-datagridcolumn.cjs.entry.js +1 -1
  14. package/dist/cjs/nv-dialog.cjs.entry.js +1 -1
  15. package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +2 -2
  16. package/dist/cjs/nv-drawer.cjs.entry.js +1 -1
  17. package/dist/cjs/nv-drawerfooter_2.cjs.entry.js +2 -2
  18. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +5 -5
  19. package/dist/cjs/nv-fielddate.cjs.entry.js +6 -6
  20. package/dist/cjs/nv-fielddaterange.cjs.entry.js +6 -7
  21. package/dist/cjs/nv-fielddropdown.cjs.entry.js +19 -18
  22. package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +1 -1
  23. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +15 -14
  24. package/dist/cjs/nv-fieldnumber.cjs.entry.js +4 -4
  25. package/dist/cjs/nv-fieldpassword.cjs.entry.js +4 -4
  26. package/dist/cjs/nv-fieldradio.cjs.entry.js +4 -4
  27. package/dist/cjs/nv-fieldselect.cjs.entry.js +5 -5
  28. package/dist/cjs/nv-fieldslider.cjs.entry.js +3 -3
  29. package/dist/cjs/nv-fieldtext.cjs.entry.js +4 -4
  30. package/dist/cjs/nv-fieldtextarea.cjs.entry.js +30 -28
  31. package/dist/cjs/nv-fieldtime.cjs.entry.js +3 -3
  32. package/dist/cjs/nv-icon.cjs.entry.js +1 -1
  33. package/dist/cjs/nv-iconbutton_2.cjs.entry.js +2 -2
  34. package/dist/cjs/nv-menu.cjs.entry.js +1 -1
  35. package/dist/cjs/nv-menuitem.cjs.entry.js +1 -1
  36. package/dist/cjs/nv-notification.cjs.entry.js +1 -1
  37. package/dist/cjs/nv-notificationcontainer.cjs.entry.js +1 -1
  38. package/dist/cjs/nv-paginationtable.cjs.entry.js +1 -1
  39. package/dist/cjs/nv-popover.cjs.entry.js +1 -1
  40. package/dist/cjs/nv-row.cjs.entry.js +1 -1
  41. package/dist/cjs/nv-sidebar.cjs.entry.js +1 -1
  42. package/dist/cjs/nv-sidebarcontent.cjs.entry.js +1 -1
  43. package/dist/cjs/nv-sidebardivider.cjs.entry.js +1 -1
  44. package/dist/cjs/nv-sidebarfooter.cjs.entry.js +1 -1
  45. package/dist/cjs/nv-sidebargroup.cjs.entry.js +1 -1
  46. package/dist/cjs/nv-sidebarheader.cjs.entry.js +1 -1
  47. package/dist/cjs/nv-sidebarlogo.cjs.entry.js +1 -1
  48. package/dist/cjs/nv-sidebarnavitem.cjs.entry.js +2 -2
  49. package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js +1 -1
  50. package/dist/cjs/nv-split.cjs.entry.js +1 -1
  51. package/dist/cjs/nv-stack.cjs.entry.js +1 -1
  52. package/dist/cjs/nv-table.cjs.entry.js +3 -1
  53. package/dist/cjs/nv-tableheader.cjs.entry.js +1 -1
  54. package/dist/cjs/nv-toggle.cjs.entry.js +3 -3
  55. package/dist/cjs/nv-togglebutton.cjs.entry.js +1 -1
  56. package/dist/cjs/nv-togglebuttongroup.cjs.entry.js +1 -1
  57. package/dist/cjs/nv-tooltip.cjs.entry.js +2 -2
  58. package/dist/cjs/{i18n.utils-ku0bScip.js → worker-client-ByL3TenE.js} +35 -75
  59. package/dist/collection/components/nv-badge/nv-badge.css +4 -1
  60. package/dist/collection/components/nv-badge/nv-badge.js +3 -1
  61. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.js +1 -1
  62. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.js +1 -1
  63. package/dist/collection/components/nv-button/nv-button.js +1 -1
  64. package/dist/collection/components/nv-buttongroup/nv-buttongroup.js +1 -1
  65. package/dist/collection/components/nv-buttongroup/styles/nv-buttongroup.css +4 -4
  66. package/dist/collection/components/nv-calendar/nv-calendar.js +2 -11
  67. package/dist/collection/components/nv-calendar/test/nv-calendar.utils.test.js +0 -1
  68. package/dist/collection/components/nv-col/nv-col.js +1 -1
  69. package/dist/collection/components/nv-datagrid/nv-datagrid.js +2 -2
  70. package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +1 -1
  71. package/dist/collection/components/nv-dialog/nv-dialog.js +1 -1
  72. package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +1 -1
  73. package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
  74. package/dist/collection/components/nv-drawer/nv-drawer.js +1 -1
  75. package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.js +1 -1
  76. package/dist/collection/components/nv-drawerheader/nv-drawerheader.js +1 -1
  77. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.css +9 -0
  78. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
  79. package/dist/collection/components/nv-fielddate/nv-fielddate.js +6 -6
  80. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +6 -7
  81. package/dist/collection/components/nv-fielddaterange/test/nv-fielddaterange.logic.test.js +0 -1
  82. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +4 -4
  83. package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
  84. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
  85. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +4 -4
  86. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +4 -4
  87. package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
  88. package/dist/collection/components/nv-fieldradio/styles/nv-fieldradio.css +20 -0
  89. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
  90. package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
  91. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +4 -4
  92. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js +14 -0
  93. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +50 -29
  94. package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +3 -4
  95. package/dist/collection/components/nv-icon/nv-icon.js +1 -1
  96. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
  97. package/dist/collection/components/nv-loader/nv-loader.js +1 -1
  98. package/dist/collection/components/nv-menu/nv-menu.js +1 -1
  99. package/dist/collection/components/nv-menuitem/nv-menuitem.js +1 -1
  100. package/dist/collection/components/nv-notification/nv-notification.js +1 -1
  101. package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.js +1 -1
  102. package/dist/collection/components/nv-paginationtable/nv-paginationtable.js +1 -1
  103. package/dist/collection/components/nv-paginationtable/test/nv-paginationtable.utils.test.js +0 -1
  104. package/dist/collection/components/nv-popover/nv-popover.js +1 -1
  105. package/dist/collection/components/nv-row/nv-row.js +1 -1
  106. package/dist/collection/components/nv-sidebar/nv-sidebar.js +1 -1
  107. package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.js +1 -1
  108. package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.js +1 -1
  109. package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.js +1 -1
  110. package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.js +1 -1
  111. package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.js +1 -1
  112. package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.js +1 -1
  113. package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js +2 -2
  114. package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js +1 -1
  115. package/dist/collection/components/nv-split/nv-split.js +1 -1
  116. package/dist/collection/components/nv-stack/nv-stack.js +1 -1
  117. package/dist/collection/components/nv-table/nv-table.js +1 -2
  118. package/dist/collection/components/nv-table/nv-table.utils.js +2 -0
  119. package/dist/collection/components/nv-table/test/nv-table.utils.test.js +0 -1
  120. package/dist/collection/components/nv-tableheader/nv-tableheader.js +1 -1
  121. package/dist/collection/components/nv-toggle/nv-toggle.css +26 -0
  122. package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
  123. package/dist/collection/components/nv-togglebutton/nv-togglebutton.js +1 -1
  124. package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.js +1 -1
  125. package/dist/collection/components/nv-tooltip/nv-tooltip.css +7 -0
  126. package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
  127. package/dist/collection/index.js +2 -0
  128. package/dist/collection/utils/test/class.utils.test.js +0 -1
  129. package/dist/collection/utils/test/dom.utils.test.js +0 -1
  130. package/dist/components/_.entry.js +1 -0
  131. package/dist/components/index.js +1 -1
  132. package/dist/components/nv-accordion-item.js +1 -1
  133. package/dist/components/nv-accordion.js +1 -1
  134. package/dist/components/nv-alert.js +1 -1
  135. package/dist/components/nv-avatar.js +1 -1
  136. package/dist/components/nv-badge.js +1 -1
  137. package/dist/components/nv-breadcrumb.js +1 -1
  138. package/dist/components/nv-breadcrumbs.js +1 -1
  139. package/dist/components/nv-button.js +1 -1
  140. package/dist/components/nv-buttongroup.js +1 -1
  141. package/dist/components/nv-calendar.js +1 -1
  142. package/dist/components/nv-col.js +1 -1
  143. package/dist/components/nv-datagrid.js +1 -1
  144. package/dist/components/nv-datagridcolumn.js +1 -1
  145. package/dist/components/nv-dialog.js +1 -1
  146. package/dist/components/nv-dialogfooter.js +1 -1
  147. package/dist/components/nv-dialogheader.js +1 -1
  148. package/dist/components/nv-drawer.js +1 -1
  149. package/dist/components/nv-drawerfooter.js +1 -1
  150. package/dist/components/nv-drawerheader.js +1 -1
  151. package/dist/components/nv-fieldcheckbox.js +1 -1
  152. package/dist/components/nv-fielddate.js +1 -1
  153. package/dist/components/nv-fielddaterange.js +1 -1
  154. package/dist/components/nv-fielddropdown.js +1 -1
  155. package/dist/components/nv-fielddropdownitem.js +1 -1
  156. package/dist/components/nv-fielddropdownitemcheck.js +1 -1
  157. package/dist/components/nv-fieldmultiselect.js +1 -1
  158. package/dist/components/nv-fieldnumber.js +1 -1
  159. package/dist/components/nv-fieldpassword.js +1 -1
  160. package/dist/components/nv-fieldradio.js +1 -1
  161. package/dist/components/nv-fieldselect.js +1 -1
  162. package/dist/components/nv-fieldslider.js +1 -1
  163. package/dist/components/nv-fieldtext.js +1 -1
  164. package/dist/components/nv-fieldtextarea.js +1 -1
  165. package/dist/components/nv-fieldtime.js +1 -1
  166. package/dist/components/nv-icon.js +1 -1
  167. package/dist/components/nv-iconbutton.js +1 -1
  168. package/dist/components/nv-loader.js +1 -1
  169. package/dist/components/nv-menu.js +1 -1
  170. package/dist/components/nv-menuitem.js +1 -1
  171. package/dist/components/nv-notification.js +1 -1
  172. package/dist/components/nv-notificationcontainer.js +1 -1
  173. package/dist/components/nv-paginationtable.js +1 -1
  174. package/dist/components/nv-popover.js +1 -1
  175. package/dist/components/nv-row.js +1 -1
  176. package/dist/components/nv-sidebar.js +1 -1
  177. package/dist/components/nv-sidebarcontent.js +1 -1
  178. package/dist/components/nv-sidebardivider.js +1 -1
  179. package/dist/components/nv-sidebarfooter.js +1 -1
  180. package/dist/components/nv-sidebargroup.js +1 -1
  181. package/dist/components/nv-sidebarheader.js +1 -1
  182. package/dist/components/nv-sidebarlogo.js +1 -1
  183. package/dist/components/nv-sidebarnavitem.js +1 -1
  184. package/dist/components/nv-sidebarnavsubitem.js +1 -1
  185. package/dist/components/nv-split.js +1 -1
  186. package/dist/components/nv-stack.js +1 -1
  187. package/dist/components/nv-table.js +1 -1
  188. package/dist/components/nv-tableheader.js +1 -1
  189. package/dist/components/nv-toggle.js +1 -1
  190. package/dist/components/nv-togglebutton.js +1 -1
  191. package/dist/components/nv-togglebuttongroup.js +1 -1
  192. package/dist/components/nv-tooltip.js +1 -1
  193. package/dist/components/{p-DkC2jlrw.js → p-B5KLppep.js} +1 -1
  194. package/dist/components/{p-Cfr9uriB.js → p-BAlaMmS4.js} +1 -1
  195. package/dist/components/p-BPufjY85.js +1 -0
  196. package/dist/components/p-BaF3Tuua.js +1 -0
  197. package/dist/components/{p-Cw5yG8cD.js → p-BfaMgLx7.js} +1 -1
  198. package/dist/components/{p-D7xBylwr.js → p-Bh6WGsHA.js} +1 -1
  199. package/dist/components/{p-D_JRZMC-.js → p-C2J7j_fw.js} +1 -1
  200. package/dist/components/{p-C-MlXMFg.js → p-C9p4yTS2.js} +1 -1
  201. package/dist/components/{p-tJDdN0lo.js → p-CAKTe96z.js} +1 -1
  202. package/dist/components/{p-C_a7VT_H.js → p-CEI7jWvn.js} +1 -1
  203. package/dist/components/p-CR9MpYzU.js +1 -0
  204. package/dist/components/{p-CskCUxuV.js → p-CZcMM7Lh.js} +1 -1
  205. package/dist/components/p-Ce1IBFTa.js +1 -0
  206. package/dist/components/{p-BJSrJH9I.js → p-D15RdWEG.js} +1 -1
  207. package/dist/components/{p-C6LzzMQm.js → p-DDqZBSGn.js} +1 -1
  208. package/dist/components/{p-BkqfOhkU.js → p-DHNSuxz-.js} +1 -1
  209. package/dist/components/{p-CPjfMClF.js → p-DhDxhFz-.js} +1 -1
  210. package/dist/components/{p-Cq5FI49y.js → p-DqU-wS_x.js} +1 -1
  211. package/dist/components/p-FSPz8FER.js +1 -0
  212. package/dist/components/{p-Nf-dwTsx.js → p-RUeDcouW.js} +1 -1
  213. package/dist/components/{p-Bg-b6OWh.js → p-jZF_Ggmx.js} +1 -1
  214. package/dist/components/p-laRga5dw.js +1 -0
  215. package/dist/components/{p-mWVXEsBF.js → p-nmQOuX7R.js} +1 -1
  216. package/dist/esm/i18n.utils-CR9MpYzU.js +74 -0
  217. package/dist/esm/index.js +53 -2
  218. package/dist/esm/loader.js +1 -1
  219. package/dist/esm/native.js +1 -1
  220. package/dist/esm/nv-badge_2.entry.js +5 -3
  221. package/dist/esm/nv-breadcrumb.entry.js +1 -1
  222. package/dist/esm/nv-breadcrumbs.entry.js +1 -1
  223. package/dist/esm/nv-button.entry.js +1 -1
  224. package/dist/esm/nv-buttongroup.entry.js +2 -2
  225. package/dist/esm/nv-calendar.entry.js +2 -11
  226. package/dist/esm/nv-col.entry.js +1 -1
  227. package/dist/esm/nv-datagrid.entry.js +2 -2
  228. package/dist/esm/nv-datagridcolumn.entry.js +1 -1
  229. package/dist/esm/nv-dialog.entry.js +1 -1
  230. package/dist/esm/nv-dialogfooter_2.entry.js +2 -2
  231. package/dist/esm/nv-drawer.entry.js +1 -1
  232. package/dist/esm/nv-drawerfooter_2.entry.js +2 -2
  233. package/dist/esm/nv-fieldcheckbox.entry.js +5 -5
  234. package/dist/esm/nv-fielddate.entry.js +6 -6
  235. package/dist/esm/nv-fielddaterange.entry.js +6 -7
  236. package/dist/esm/nv-fielddropdown.entry.js +6 -5
  237. package/dist/esm/nv-fielddropdownitem.entry.js +1 -1
  238. package/dist/esm/nv-fieldmultiselect.entry.js +2 -1
  239. package/dist/esm/nv-fieldnumber.entry.js +4 -4
  240. package/dist/esm/nv-fieldpassword.entry.js +4 -4
  241. package/dist/esm/nv-fieldradio.entry.js +4 -4
  242. package/dist/esm/nv-fieldselect.entry.js +5 -5
  243. package/dist/esm/nv-fieldslider.entry.js +3 -3
  244. package/dist/esm/nv-fieldtext.entry.js +4 -4
  245. package/dist/esm/nv-fieldtextarea.entry.js +30 -28
  246. package/dist/esm/nv-fieldtime.entry.js +3 -3
  247. package/dist/esm/nv-icon.entry.js +1 -1
  248. package/dist/esm/nv-iconbutton_2.entry.js +2 -2
  249. package/dist/esm/nv-menu.entry.js +1 -1
  250. package/dist/esm/nv-menuitem.entry.js +1 -1
  251. package/dist/esm/nv-notification.entry.js +1 -1
  252. package/dist/esm/nv-notificationcontainer.entry.js +1 -1
  253. package/dist/esm/nv-paginationtable.entry.js +1 -1
  254. package/dist/esm/nv-popover.entry.js +1 -1
  255. package/dist/esm/nv-row.entry.js +1 -1
  256. package/dist/esm/nv-sidebar.entry.js +1 -1
  257. package/dist/esm/nv-sidebarcontent.entry.js +1 -1
  258. package/dist/esm/nv-sidebardivider.entry.js +1 -1
  259. package/dist/esm/nv-sidebarfooter.entry.js +1 -1
  260. package/dist/esm/nv-sidebargroup.entry.js +1 -1
  261. package/dist/esm/nv-sidebarheader.entry.js +1 -1
  262. package/dist/esm/nv-sidebarlogo.entry.js +1 -1
  263. package/dist/esm/nv-sidebarnavitem.entry.js +2 -2
  264. package/dist/esm/nv-sidebarnavsubitem.entry.js +1 -1
  265. package/dist/esm/nv-split.entry.js +1 -1
  266. package/dist/esm/nv-stack.entry.js +1 -1
  267. package/dist/esm/nv-table.entry.js +3 -1
  268. package/dist/esm/nv-tableheader.entry.js +1 -1
  269. package/dist/esm/nv-toggle.entry.js +3 -3
  270. package/dist/esm/nv-togglebutton.entry.js +1 -1
  271. package/dist/esm/nv-togglebuttongroup.entry.js +1 -1
  272. package/dist/esm/nv-tooltip.entry.js +2 -2
  273. package/dist/esm/{i18n.utils-IlwlcG9l.js → worker-client-BaF3Tuua.js} +20 -74
  274. package/dist/lib/scripts/nextjs-entry-shim.js +25 -0
  275. package/dist/native/index.esm.js +1 -1
  276. package/dist/native/native.esm.js +1 -1
  277. package/dist/native/{p-00b80d2b.entry.js → p-043d500e.entry.js} +1 -1
  278. package/dist/native/{p-3ac56d5f.entry.js → p-04956305.entry.js} +1 -1
  279. package/dist/native/{p-df59dee0.entry.js → p-06a17aba.entry.js} +1 -1
  280. package/dist/native/{p-4725d9aa.entry.js → p-0819a7b1.entry.js} +1 -1
  281. package/dist/native/p-0bfd188c.entry.js +1 -0
  282. package/dist/native/{p-70fa3c6b.entry.js → p-0e8b544b.entry.js} +1 -1
  283. package/dist/native/{p-6ccea920.entry.js → p-0ec34d19.entry.js} +1 -1
  284. package/dist/native/{p-84202d8a.entry.js → p-11eb959b.entry.js} +1 -1
  285. package/dist/native/{p-e371a958.entry.js → p-17f2525a.entry.js} +1 -1
  286. package/dist/native/p-1a5db5e9.entry.js +1 -0
  287. package/dist/native/p-1dd3da3b.entry.js +1 -0
  288. package/dist/native/p-31301f1e.entry.js +1 -0
  289. package/dist/native/{p-5fb6d986.entry.js → p-3a04a563.entry.js} +1 -1
  290. package/dist/native/{p-ad05cef2.entry.js → p-3fb1a188.entry.js} +1 -1
  291. package/dist/native/{p-b65f3418.entry.js → p-48e7b457.entry.js} +1 -1
  292. package/dist/native/{p-7f3c3c29.entry.js → p-64104dbd.entry.js} +1 -1
  293. package/dist/native/p-6a9363a6.entry.js +1 -0
  294. package/dist/native/{p-3bd49efe.entry.js → p-6b655545.entry.js} +1 -1
  295. package/dist/native/{p-184b4f0d.entry.js → p-702a6646.entry.js} +1 -1
  296. package/dist/native/{p-2623b212.entry.js → p-70abbe4f.entry.js} +1 -1
  297. package/dist/native/p-79d8c26b.entry.js +1 -0
  298. package/dist/native/{p-a813f497.entry.js → p-7a8e2ef3.entry.js} +1 -1
  299. package/dist/native/{p-4016851b.entry.js → p-7c413f8b.entry.js} +1 -1
  300. package/dist/native/{p-87f35ce1.entry.js → p-85c8be32.entry.js} +1 -1
  301. package/dist/native/{p-f1b6d43b.entry.js → p-87a1b06c.entry.js} +1 -1
  302. package/dist/native/p-89f7d483.entry.js +1 -0
  303. package/dist/native/{p-a6287e55.entry.js → p-8ce17efd.entry.js} +1 -1
  304. package/dist/native/p-8dadc0c9.entry.js +1 -0
  305. package/dist/native/{p-ff7eae44.entry.js → p-945ca1db.entry.js} +1 -1
  306. package/dist/native/p-97a5f8d5.entry.js +1 -0
  307. package/dist/native/p-BaF3Tuua.js +1 -0
  308. package/dist/native/p-CR9MpYzU.js +1 -0
  309. package/dist/native/p-a8bc3b92.entry.js +1 -0
  310. package/dist/native/p-a92e2ad8.entry.js +1 -0
  311. package/dist/native/{p-98de77f8.entry.js → p-a9a07a8d.entry.js} +1 -1
  312. package/dist/native/{p-3c09e565.entry.js → p-a9a20f37.entry.js} +1 -1
  313. package/dist/native/{p-91f71346.entry.js → p-aa232a20.entry.js} +1 -1
  314. package/dist/native/p-ae4fc02a.entry.js +1 -0
  315. package/dist/native/{p-6f368c8d.entry.js → p-b0d97496.entry.js} +1 -1
  316. package/dist/native/{p-6ba310e8.entry.js → p-bd143e7b.entry.js} +1 -1
  317. package/dist/native/{p-29f0730f.entry.js → p-bdaab534.entry.js} +1 -1
  318. package/dist/native/{p-0242699e.entry.js → p-bdbc92d9.entry.js} +1 -1
  319. package/dist/native/{p-1b37bf6c.entry.js → p-bef3d325.entry.js} +1 -1
  320. package/dist/native/{p-997a2268.entry.js → p-c3ea1eca.entry.js} +1 -1
  321. package/dist/native/p-c825c542.entry.js +1 -0
  322. package/dist/native/p-ce2c17dc.entry.js +1 -0
  323. package/dist/native/p-d46ea49a.entry.js +1 -0
  324. package/dist/native/{p-32cbc18b.entry.js → p-dc0d1690.entry.js} +1 -1
  325. package/dist/native/{p-34cce087.entry.js → p-e05b6008.entry.js} +1 -1
  326. package/dist/native/{p-1c86c5b8.entry.js → p-e937d495.entry.js} +1 -1
  327. package/dist/native/{p-99051651.entry.js → p-f22d2ad9.entry.js} +1 -1
  328. package/dist/native/p-f2a32774.entry.js +1 -0
  329. package/dist/native/p-f5eff2b2.entry.js +1 -0
  330. package/dist/native/p-f64f1bea.entry.js +1 -0
  331. package/dist/native/{p-4c29c4c7.entry.js → p-fba55e2f.entry.js} +1 -1
  332. package/dist/types/components/nv-fieldtextarea/nv-fieldtextarea.d.ts +9 -1
  333. package/dist/types/components.d.ts +10 -2
  334. package/dist/types/index.d.ts +1 -0
  335. package/dist/types/nova-docs.d.ts +0 -1
  336. package/dist/vscode-data.json +5 -1
  337. package/hydrate/index.js +136 -139
  338. package/hydrate/index.mjs +136 -139
  339. package/package.json +2 -2
  340. package/dist/components/p-BqRuoNHJ.js +0 -1
  341. package/dist/components/p-CGXDiomF.js +0 -1
  342. package/dist/components/p-ChRIFm7p.js +0 -1
  343. package/dist/components/p-IlwlcG9l.js +0 -1
  344. package/dist/components/p-r3_atQ9r.js +0 -1
  345. package/dist/native/p-01d09dfa.entry.js +0 -1
  346. package/dist/native/p-09b88c8d.entry.js +0 -1
  347. package/dist/native/p-1a1a6bbf.entry.js +0 -1
  348. package/dist/native/p-223814fe.entry.js +0 -1
  349. package/dist/native/p-2b7e621a.entry.js +0 -1
  350. package/dist/native/p-38e981f2.entry.js +0 -1
  351. package/dist/native/p-3e949805.entry.js +0 -1
  352. package/dist/native/p-4bda5842.entry.js +0 -1
  353. package/dist/native/p-6a548776.entry.js +0 -1
  354. package/dist/native/p-6e9b95fa.entry.js +0 -1
  355. package/dist/native/p-IlwlcG9l.js +0 -1
  356. package/dist/native/p-a60660f6.entry.js +0 -1
  357. package/dist/native/p-bf8b0be2.entry.js +0 -1
  358. package/dist/native/p-ca3b996b.entry.js +0 -1
  359. package/dist/native/p-d9c1287c.entry.js +0 -1
  360. package/dist/native/p-d9cebb66.entry.js +0 -1
  361. package/dist/native/p-da417f83.entry.js +0 -1
  362. package/dist/native/p-e5dbacf6.entry.js +0 -1
  363. package/dist/native/p-ed19f3dc.entry.js +0 -1
@@ -71,7 +71,7 @@ export class NvFieldtextarea {
71
71
  /**
72
72
  * Enable this to make the textarea automatically resize as the user types,
73
73
  * adjusting the height to fit the content. For the best experience, avoid
74
- * vertical resizing, as its controlled by this feature. Horizontal resizing
74
+ * vertical resizing, as it's controlled by this feature. Horizontal resizing
75
75
  * can still be allowed if desired.
76
76
  */
77
77
  this.autosize = false;
@@ -133,35 +133,37 @@ export class NvFieldtextarea {
133
133
  adjustTextareaHeight() {
134
134
  if (this.textareaElement && this.autosize) {
135
135
  /**
136
- * The first requestAnimationFrame ensures that the DOM has applied any
136
+ * A single requestAnimationFrame ensures that the DOM has applied any
137
137
  * pending changes (e.g., value updates or attribute changes) before
138
- * proceeding to the next frame.
138
+ * measuring. All style reads and writes happen synchronously within
139
+ * this callback so the browser never paints the intermediate
140
+ * "height: auto" state, avoiding a visible flash.
139
141
  */
140
142
  requestAnimationFrame(() => {
141
- /**
142
- * The second requestAnimationFrame ensures that the browser has fully
143
- * recalculated layout and styles based on the updated DOM, such as
144
- * recalculating scrollHeight for the textarea after the new value is
145
- * rendered.
146
- */
147
- requestAnimationFrame(() => {
148
- this.textareaElement.style.height = 'auto';
149
- const computedStyle = window.getComputedStyle(this.textareaElement);
150
- const lineHeight = parseFloat(computedStyle.lineHeight);
151
- const paddingTop = parseFloat(computedStyle.paddingTop);
152
- const paddingBottom = parseFloat(computedStyle.paddingBottom);
153
- const borderTopWidth = parseFloat(computedStyle.borderTopWidth);
154
- const borderBottomWidth = parseFloat(computedStyle.borderBottomWidth);
155
- // Calculate min-height based on rows
156
- const minHeight = lineHeight * this.rows +
157
- paddingTop +
158
- paddingBottom +
159
- borderTopWidth +
160
- borderBottomWidth;
161
- this.textareaElement.style.minHeight = `${minHeight}px`;
143
+ this.textareaElement.style.height = 'auto';
144
+ const computedStyle = window.getComputedStyle(this.textareaElement);
145
+ const lineHeight = parseFloat(computedStyle.lineHeight);
146
+ const paddingTop = parseFloat(computedStyle.paddingTop);
147
+ const paddingBottom = parseFloat(computedStyle.paddingBottom);
148
+ const borderTopWidth = parseFloat(computedStyle.borderTopWidth);
149
+ const borderBottomWidth = parseFloat(computedStyle.borderBottomWidth);
150
+ // Calculate min-height based on rows
151
+ const minHeight = lineHeight * this.rows +
152
+ paddingTop +
153
+ paddingBottom +
154
+ borderTopWidth +
155
+ borderBottomWidth;
156
+ this.textareaElement.style.minHeight = `${minHeight}px`;
157
+ if (this.maxAutoHeight &&
158
+ this.textareaElement.scrollHeight > this.maxAutoHeight) {
159
+ this.textareaElement.style.height = `${this.maxAutoHeight}px`;
160
+ this.textareaElement.style.overflowY = 'auto';
161
+ }
162
+ else {
162
163
  this.textareaElement.style.height =
163
164
  this.textareaElement.scrollHeight + 'px';
164
- });
165
+ this.textareaElement.style.overflowY = 'hidden';
166
+ }
165
167
  });
166
168
  }
167
169
  }
@@ -213,11 +215,11 @@ export class NvFieldtextarea {
213
215
  ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
214
216
  : undefined;
215
217
  const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
216
- return (h(Host, { key: '318e509b03c06725526be8f6ec4ed07ad6f2180a' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '705f55c450ebdb9b3ccf61583436c5b9d1aa0ca6', htmlFor: this.inputId }, h("slot", { key: 'e4c2c58b5a8592dfe235d9544193c877c896d2b4', name: "label" }, this.label))), h("div", { key: '4c91b621928b8a38139c0a8f3a775abf0b76f178', class: "textarea-wrapper" }, h("div", { key: '2b15d531bb208a225f2bbf469f5ac7002805e9b5', class: "textarea-container", onClick: this.handleTextareaContainerClick }, h("textarea", { key: '15be5b082d20a8ee0cafb1ae78008b3b76b175c8', id: this.inputId, ref: e => (this.textareaElement = e), placeholder: this.placeholder, autofocus: this.autofocus, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
218
+ return (h(Host, { key: '9d7aed8625b1cfa103e275495d40116b8f1314c3' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '6609cc39f3809b833a4c9755c487ba3eef05a5c4', htmlFor: this.inputId }, h("slot", { key: '277484af20e4054be5491576ffdfb95ca0f23a79', name: "label" }, this.label))), h("div", { key: '6224c47beaee1e15ea9277a1f69f4ac5ea496cb6', class: "textarea-wrapper" }, h("div", { key: '6dd7868aa65091dd79c34497dec020945d56f925', class: "textarea-container", onClick: this.handleTextareaContainerClick }, h("textarea", { key: '2548dab5d8b387d37036a07c4a76b567c84a8b59', id: this.inputId, ref: e => (this.textareaElement = e), placeholder: this.placeholder, autofocus: this.autofocus, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
217
219
  'aria-required': String(ariaRequiredValue),
218
220
  }), maxlength: this.maxlength, minlength: this.minlength, autocomplete: "off", value: this.value, onInput: this.handleTextarea, rows: this.rows, class: clsx(this.resize === 'none' && 'resize-none', this.resize === 'vertical' && 'resize-y', this.resize === 'horizontal' && 'resize-x', this.resize === 'both' && 'resize') }))), (this.description ||
219
- this.el.querySelector('[slot="description"]')) && (h("div", { key: 'e3f3ab334446af3f6d16b916001bd3297341362b', class: "description" }, h("slot", { key: '1ba84f8c4de83e5bfdbdb307cd8493dd86be36ca', name: "description" }, this.description))), (this.errorDescription ||
220
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '0dfef83d86ca29fad329d4c656173f052a51c4fa', hidden: !this.error, class: "error-description" }, h("slot", { key: '0361fa48742aba68bfb2b205c741bf0aff896134', name: "error-description" }, this.errorDescription)))));
221
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: '10ba44a9c4b83db00d00c2a4e791c68836413aac', class: "description" }, h("slot", { key: '5015686b48e185707376008306c204432199cde1', name: "description" }, this.description))), (this.errorDescription ||
222
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '312502a84e08fdacbe77cc55f4e91e0b4122c82b', hidden: !this.error, class: "error-description" }, h("slot", { key: 'b837f0784d75b8d0df04e025ee8f9a309c6f46d3', name: "error-description" }, this.errorDescription)))));
221
223
  }
222
224
  static get is() { return "nv-fieldtextarea"; }
223
225
  static get formAssociated() { return true; }
@@ -636,7 +638,7 @@ export class NvFieldtextarea {
636
638
  "optional": false,
637
639
  "docs": {
638
640
  "tags": [],
639
- "text": "Enable this to make the textarea automatically resize as the user types,\nadjusting the height to fit the content. For the best experience, avoid\nvertical resizing, as it\u2019s controlled by this feature. Horizontal resizing\ncan still be allowed if desired."
641
+ "text": "Enable this to make the textarea automatically resize as the user types,\nadjusting the height to fit the content. For the best experience, avoid\nvertical resizing, as it's controlled by this feature. Horizontal resizing\ncan still be allowed if desired."
640
642
  },
641
643
  "getter": false,
642
644
  "setter": false,
@@ -644,6 +646,25 @@ export class NvFieldtextarea {
644
646
  "attribute": "autosize",
645
647
  "defaultValue": "false"
646
648
  },
649
+ "maxAutoHeight": {
650
+ "type": "number",
651
+ "mutable": false,
652
+ "complexType": {
653
+ "original": "number",
654
+ "resolved": "number",
655
+ "references": {}
656
+ },
657
+ "required": false,
658
+ "optional": false,
659
+ "docs": {
660
+ "tags": [],
661
+ "text": "Sets a maximum height (in pixels) for the textarea when autosize is\nenabled. Once the content exceeds this height the textarea will stop\ngrowing and the content will overflow with a scrollbar. This is useful\nfor chat-style inputs where unlimited growth is undesirable. Only\napplies when `autosize` is `true`."
662
+ },
663
+ "getter": false,
664
+ "setter": false,
665
+ "reflect": true,
666
+ "attribute": "max-auto-height"
667
+ },
647
668
  "autofocus": {
648
669
  "type": "boolean",
649
670
  "mutable": false,
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/jsx-no-bind */
2
1
  import { Host, h, forceUpdate, } from "@stencil/core";
3
2
  import { v4 as uuidv4 } from "uuid";
4
3
  import { TimeType } from "../../utils/constants";
@@ -872,9 +871,9 @@ export class NvFieldtime {
872
871
  }, key: `${option}-${index}`, onClick: e => this.handleTimeOptionClick(e, type) }, option)))));
873
872
  }
874
873
  render() {
875
- return (h(Host, { key: '021f0592f7a4eae1b249f12c668b3ce805546593', onclick: (e) => this.handleHostClick(e), "aria-expanded": this.open ? 'true' : 'false' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '6c105236217cb0c6b326e3ecea4bc38bfa4353f2', htmlFor: this.inputId }, h("slot", { key: 'f4c2dbce6a50d648970acc57d8367194635b7e82', name: "label" }, this.label))), h("nv-popover", { key: 'b852ec86ace95303e1e7445765a334819135766f', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open, onOpenChanged: this.handleOpenChanged }, h("div", { key: '2ddd521de9665e64095090a187b52d9fdb207dfb', class: "input-wrapper", slot: "trigger" }, h("slot", { key: 'e8ea5e1abc5b9b502e942e2a118184233677384f', name: "before-input" }), h("div", { key: '3d3a8e00ace3bab58b57305a68aac46863a61f36', class: "input-container" }, h("slot", { key: '2a1f88fc38b5d956f9d71d181f787ace20199588', name: "leading-input" }), this.renderTimeInputFields(), h("nv-iconbutton", { key: '497d5b2cdea39e83b0cb83eb6a9adbb18e57b952', name: 'clock', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide time picker' : 'Show time picker', onClick: () => this.HandleDropdownIconClick() }), this.error && (h("nv-icon", { key: 'e223b6faa4a476fe68aa9ae3c54e27dd0ff2017b', name: "alert-circle", class: "validation", size: "sm" })), this.success && (h("nv-icon", { key: 'ec7a22c2005d297c25959d16c8326ebe7bc80dde', name: "circle-check", class: "validation", size: "sm" }))), h("slot", { key: 'b12336e4d2708b3d5c25db1a4c5b761bf954e27b', name: "after-input" })), h("div", { key: '3a341dc72b2ece47841521817f5e44ca4b2286d1', class: "time-dropdown", slot: "content" }, h("div", { key: 'b67f1f796f0a2155210d6f6937264170f1fff7c3', class: "time-columns" }, this.renderTimeDropdownColumns()))), (this.description ||
876
- this.el.querySelector('[slot="description"]')) && (h("div", { key: 'b31b8401c4eb3a12ff466f389345ab8179f9ca5b', class: "description" }, h("slot", { key: '8a81cc74fb35d10f34f9abd372a58758227a4937', name: "description" }, this.description))), (this.errorDescription ||
877
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '87e16ffc6ed5983850271c18ea762671ef1f99ad', hidden: !this.error, class: "error-description" }, h("slot", { key: '154a889711ce35c28bab77c64418c0bdcc912fc0', name: "error-description" }, this.errorDescription)))));
874
+ return (h(Host, { key: 'a02fbea3aa9b46d22978cececd750548c16c79cf', onclick: (e) => this.handleHostClick(e), "aria-expanded": this.open ? 'true' : 'false' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '0ec36fbb4e2e810455e35537277496b600b8bd72', htmlFor: this.inputId }, h("slot", { key: '5ab4bca171c9d68fbb592c378b0db30139e23642', name: "label" }, this.label))), h("nv-popover", { key: '962705b7347af233d00ad7c33ea8777403e32534', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open, onOpenChanged: this.handleOpenChanged }, h("div", { key: '16e06fbf7003cfdf29e019cd4dfcd33c3b4a12e4', class: "input-wrapper", slot: "trigger" }, h("slot", { key: '64c31ef85a92430ac348e9ff06405f682ceb7a98', name: "before-input" }), h("div", { key: '291130925798643a0c034719fc46a5ee391ec487', class: "input-container" }, h("slot", { key: '823f17b06aeb798216a46631655513bef79f7508', name: "leading-input" }), this.renderTimeInputFields(), h("nv-iconbutton", { key: '4e87bc2c19494f43cb4ac7dfb3b370eac6edab0b', name: 'clock', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide time picker' : 'Show time picker', onClick: () => this.HandleDropdownIconClick() }), this.error && (h("nv-icon", { key: 'a5c97446025ee0b571f3fe2223dfd759ed69f9ca', name: "alert-circle", class: "validation", size: "sm" })), this.success && (h("nv-icon", { key: '475f240e74459e16e5a9dd3bea0df21f32949e18', name: "circle-check", class: "validation", size: "sm" }))), h("slot", { key: '696be862dee53acc18c311fe2ea26f4ec099c62e', name: "after-input" })), h("div", { key: '75e7e8ad1c1bc7be602d633946b3845007a3b1c5', class: "time-dropdown", slot: "content" }, h("div", { key: '89898000bb7005ef687372d1016b5b93f02a43bc', class: "time-columns" }, this.renderTimeDropdownColumns()))), (this.description ||
875
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: 'a0bddd8851b21c57637fbe8f9d8a83d62ff43bdf', class: "description" }, h("slot", { key: '133c39ce0065b8f95a932d12c5150af595eab460', name: "description" }, this.description))), (this.errorDescription ||
876
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'de3a537dd418c1c218eceb8062fd925c0ea06bba', hidden: !this.error, class: "error-description" }, h("slot", { key: '97e2865ce647f2e4e32697acf5154fc94be9eab7', name: "error-description" }, this.errorDescription)))));
878
877
  }
879
878
  static get is() { return "nv-fieldtime"; }
880
879
  static get formAssociated() { return true; }
@@ -48,7 +48,7 @@ export class NvIcon {
48
48
  /****************************************************************************/
49
49
  //#region RENDER
50
50
  render() {
51
- return (h(Host, { key: '9cdc768f9a44f61de25e708c9d563faa7804782f', class: clsx(this.color && `${this.color}`), role: "img", "aria-label": `${this.name}-icon` }, h("svg", { key: '24c1ecfb3cbe406e60127d6d822523d35a6aa2c1', stroke: "currentColor", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: `nv-icon-${this.size}` }, h("use", { key: 'e85e828f692e966c4679aa653b5dd4593edf58c3', href: `#nvicon_${this.name}` }))));
51
+ return (h(Host, { key: 'd96ca7fdb241a00f00ccdbce5f0437efade91e5e', class: clsx(this.color && `${this.color}`), role: "img", "aria-label": `${this.name}-icon` }, h("svg", { key: '9de91a2e3ed62fc6128249a3ebf791bf42053475', stroke: "currentColor", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: `nv-icon-${this.size}` }, h("use", { key: '4e9891a48aa09ec65096298ced483092d0a54d23', href: `#nvicon_${this.name}` }))));
52
52
  }
53
53
  static get is() { return "nv-icon"; }
54
54
  static get originalStyleUrls() {
@@ -115,7 +115,7 @@ export class NvIconbutton {
115
115
  /****************************************************************************/
116
116
  //#region RENDER
117
117
  render() {
118
- return (h(Host, { key: '06b48253c77b09ae1259f72ad7698c9f9ddcd750', role: "button", type: this.type, tabindex: this.disableTabindex ? -1 : 0, disabled: this.disabled ? true : undefined, class: clsx('root', `size-${this.size}`, `emphasis-${this.emphasis}`, this.loading && 'loading', `shape-${this.shape}`), onClick: this.handleClick }, this.loading && h("nv-loader", { key: '5b4117978546581bfb217a0595dec6c736369955', size: this.size }), !this.loading && h("nv-icon", { key: 'f2f0da0fae0d0fde955cc2f766cb98a3058ffb7e', name: this.name, size: this.size }), h("slot", { key: '8d59cdf4be11216ff4a0a607bea4970128faa214' })));
118
+ return (h(Host, { key: 'e63c932f14d3b673d43ed48f61bb37a48605338d', role: "button", type: this.type, tabindex: this.disableTabindex ? -1 : 0, disabled: this.disabled ? true : undefined, class: clsx('root', `size-${this.size}`, `emphasis-${this.emphasis}`, this.loading && 'loading', `shape-${this.shape}`), onClick: this.handleClick }, this.loading && h("nv-loader", { key: '22ea154dce89eae701d873674a8bc6b2cecbcab9', size: this.size }), !this.loading && h("nv-icon", { key: 'f05c05c455e62d27aed57de09efd32230f68c450', name: this.name, size: this.size }), h("slot", { key: 'a1a163e56c8c027d0df2a019f77c187c6abbd91a' })));
119
119
  }
120
120
  static get is() { return "nv-iconbutton"; }
121
121
  static get formAssociated() { return true; }
@@ -16,7 +16,7 @@ export class NvLoader {
16
16
  //#region RENDER
17
17
  /* <slot> empty to force rendering change */
18
18
  render() {
19
- return (h(Host, { key: '0e617a9043f912160b40255feba5c5a9140f1703', class: clsx(this.size && `size-${this.size}`, this.color && `color-${this.color}`) }));
19
+ return (h(Host, { key: '5449f31fff78e9aabb1a6af11b99247cdf9fd4f3', class: clsx(this.size && `size-${this.size}`, this.color && `color-${this.color}`) }));
20
20
  }
21
21
  static get is() { return "nv-loader"; }
22
22
  static get originalStyleUrls() {
@@ -192,7 +192,7 @@ export class NvMenu {
192
192
  this.triggerElement = this.el.querySelector('[slot="trigger"]');
193
193
  }
194
194
  render() {
195
- return (h(Host, { key: 'de2604e6681418f23352dc436ac6dfb64d3d3a8d' }, h("slot", { key: '26afcd55842377b82a3f6d1f63d2f87eff4f6001', name: "trigger" }), h("nv-popover", { key: '03466649d538b909070feb3c50e18a35ee7dda19', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open, onOpenChanged: this.handleOpenChanged.bind(this) }, this.items ? (h("ul", { slot: "content" }, this.renderMenuItems())) : (h("slot", { name: "content" })))));
195
+ return (h(Host, { key: '470d14ed698cc0064a24bf02e5fac3b32d64601a' }, h("slot", { key: '2dd81fbe5a23b5225fc464fe528ff08983959b7f', name: "trigger" }), h("nv-popover", { key: '68634d33954033dbd997c8a7f7ed711c6a17470b', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open, onOpenChanged: this.handleOpenChanged.bind(this) }, this.items ? (h("ul", { slot: "content" }, this.renderMenuItems())) : (h("slot", { name: "content" })))));
196
196
  }
197
197
  static get is() { return "nv-menu"; }
198
198
  static get originalStyleUrls() {
@@ -43,7 +43,7 @@ export class NvMenuitem {
43
43
  /****************************************************************************/
44
44
  //#region RENDER
45
45
  render() {
46
- return (h(Host, { key: '3c05131caa0ee794ee2bbbd9c3a9d589d1fde266', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && h("nv-icon", { key: '5d9e236545a19a4291885d26bbc13fed02d3e4bd', name: this.icon }), h("slot", { key: 'b020591899e341c5775f662dcdcd1a9894ab85a1' }), this.label && h("span", { key: '4984519ed9fefbb1647739ae0eeb4087ff320a01', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && h("kbd", { key: 'bd3e3e3544e7efafa4eaedc212e88e55ad7ea4d0' }, this.shortcut), this.hasSubmenu && h("nv-icon", { key: '7b928e7c9ea2892061915ace6c08d3cccbf1655e', name: "chevron-right" })));
46
+ return (h(Host, { key: 'aac708fbf246c1083c3c4666e97b421485dd44a6', role: "menuitem", tabindex: this.disabled ? '-1' : '0' }, this.icon && h("nv-icon", { key: '3b37a8661321152859dbc4247b299e60e909fe34', name: this.icon }), h("slot", { key: 'e690d7574f8960c44bee2e3f20b1150b578a49da' }), this.label && h("span", { key: '32d487f8ec9c1d6a910734c825382899982a23a5', "data-scope": "text" }, this.label), this.shortcut && !this.hasSubmenu && h("kbd", { key: 'cefcda06f7cb217348e5027ee6a38f8731421d6e' }, this.shortcut), this.hasSubmenu && h("nv-icon", { key: '1085e47ae40ac38f87fca10dfbecbf32db95bace', name: "chevron-right" })));
47
47
  }
48
48
  static get is() { return "nv-menuitem"; }
49
49
  static get originalStyleUrls() {
@@ -158,7 +158,7 @@ export class NvNotification {
158
158
  /****************************************************************************/
159
159
  //#region RENDER
160
160
  render() {
161
- return (h(Host, { key: 'f8d336b349e7a71862bfa058022deee6fcf0a956', role: this.getAriaRole(), "aria-live": this.getAriaLive(), "aria-atomic": true, "aria-labelledby": this.getHeadingId() ?? null, "aria-describedby": this.getMessageId() ?? null, tabindex: "-1" }, h("div", { key: 'e75e6bd61a041bac249d77459ebcb3ac98dc54b7', "data-scope": "container", ref: el => (this.container = el) }, this.dismissible && (h("button", { key: 'b87bf092486682914d8c22612cb93c1f12027753', "data-scope": "dismiss", type: "button", onClick: this.dismiss.bind(this) }, h("nv-icon", { key: '95436607fe33bb5fc899af9dd430413b99c4615f', name: "x", size: "sm" }))), h("nv-icon", { key: '9962cdd859425b7c542fee370b637288aeb9a63f', name: this.icon ?? this.getDefaultIcon(), size: "md", "data-scope": "icon" }), h("div", { key: '8056d8d40228eea6de9dd8cc243f1a99b5fb23c1', "data-scope": "content" }, (this.heading || this.headingSlot) && (h("p", { key: '4d13e9d221f3ca0f7dbba81afdb77a6e57c55983', id: this.getHeadingId(), "data-scope": "heading" }, h("slot", { key: '6ab11ef7c73caa7864c44c58870c3ee7519e48a4', name: "heading" }, this.heading))), (this.message || this.messageSlot) && (h("p", { key: '8002e001201393026b28a55c17d51568e4d60aa3', id: this.getMessageId(), "data-scope": "message" }, h("slot", { key: 'ae7bac61287736609a9101c185d7ef3a6f0aee5d', name: "content" }, this.message))), this.actionsSlot && (h("div", { key: '7116aaf907928256e971c737730d1908bdb72b6a', "data-scope": "actions" }, h("slot", { key: 'ffe5530dccfbdea2b26646b376c22c008c67f77c', name: "actions" })))))));
161
+ return (h(Host, { key: '3c5025f664fcfc1e68856c003cd31ff10b8efdd9', role: this.getAriaRole(), "aria-live": this.getAriaLive(), "aria-atomic": true, "aria-labelledby": this.getHeadingId() ?? null, "aria-describedby": this.getMessageId() ?? null, tabindex: "-1" }, h("div", { key: 'a26032a0b0ac9818b5da1f6e815a8c96f096ed46', "data-scope": "container", ref: el => (this.container = el) }, this.dismissible && (h("button", { key: 'f660bc8b5e5d8df073b69fb60d1ed0b11ec75c6f', "data-scope": "dismiss", type: "button", onClick: this.dismiss.bind(this) }, h("nv-icon", { key: 'dbeea84ab7f1c965eae3a8ae74b7afca98453705', name: "x", size: "sm" }))), h("nv-icon", { key: '0cbcee4f8667579b38ea205bdd747aabf6bdca8c', name: this.icon ?? this.getDefaultIcon(), size: "md", "data-scope": "icon" }), h("div", { key: 'aed13fae98256180ff8d453c9f9d108eab429952', "data-scope": "content" }, (this.heading || this.headingSlot) && (h("p", { key: 'a2964d1c4dc744765ed916fe74d6cc167164eaf4', id: this.getHeadingId(), "data-scope": "heading" }, h("slot", { key: '2eee0bd4a73fd92ea283ae6cd50af2d1edc01f0c', name: "heading" }, this.heading))), (this.message || this.messageSlot) && (h("p", { key: '2f7e9b5429b9fa27bc4088b5d26955b8360695c1', id: this.getMessageId(), "data-scope": "message" }, h("slot", { key: 'f1b3dbe8722c8750231b4fb18fdc120ecfd04c54', name: "content" }, this.message))), this.actionsSlot && (h("div", { key: '56a881b3a53bb68a214f8db560805c726930b8d4', "data-scope": "actions" }, h("slot", { key: 'ece50671721f12e58dfd03df09545cb456d00a9c', name: "actions" })))))));
162
162
  }
163
163
  static get is() { return "nv-notification"; }
164
164
  static get originalStyleUrls() {
@@ -29,7 +29,7 @@ export class NvNotificationContainer {
29
29
  /****************************************************************************/
30
30
  //#region RENDER
31
31
  render() {
32
- return (h(Host, { key: 'a3fd9f89cf68fbd203b2bc669a85c3e33a9b9cb7', class: `position-${this.position}` }, h("slot", { key: '972e9722ec2ac5d909066d46ab9a9d3de4626ee6' })));
32
+ return (h(Host, { key: '97882d6391db2e1c9db884a84469db78136765e4', class: `position-${this.position}` }, h("slot", { key: '0a0c52f26006ebd186862634b7b5470c7410c976' })));
33
33
  }
34
34
  static get is() { return "nv-notificationcontainer"; }
35
35
  static get originalStyleUrls() {
@@ -143,7 +143,7 @@ export class NvPaginationtable {
143
143
  const pageLabel = interpolate(this.labelPage, { pageIndex: this.pageIndex + 1, pageCount: this.pageCount }, 'Page {pageIndex} of {pageCount}');
144
144
  const totalLabel = interpolate(this.labelTotal, { rowCount: this.rowCount }, 'Total: {rowCount} rows');
145
145
  const pageSizeOptions = generatePageSizeOptions(this.labelPageSizeOption ?? '{pageSize} per page');
146
- return (h(Host, { key: '1c032ac283f0b259804d05df2d82c496a4ba2590' }, !this.hideControls && (h("div", { key: '3d1bdf1d99583a1dfeef2c9b2f8d120862e5f771', "data-scope": "controls" }, !this.hideFirstLast && (h("nv-iconbutton", { key: '353464b98b5af27b9932f7ada5358a5fe3886ca5', name: "chevrons-left", emphasis: "lower", size: "sm", disabled: atFirstPage, onClick: () => this.firstPage() })), !this.hidePrevNext && (h("nv-iconbutton", { key: '3196094e7ccff072e292c4e7ba7fe1d23d9a74f9', name: "chevron-left", emphasis: "lower", size: "sm", disabled: atFirstPage, onClick: () => this.previousPage() })), !this.hidePrevNext && (h("nv-iconbutton", { key: 'c9a82233745d41c812ba9d18ac133e54dd183435', name: "chevron-right", emphasis: "lower", size: "sm", disabled: atLastPage, onClick: () => this.nextPage() })), !this.hideFirstLast && (h("nv-iconbutton", { key: '649b89169098230931ec30f205548104342e4d8c', name: "chevrons-right", emphasis: "lower", size: "sm", disabled: atLastPage, onClick: () => this.lastPage() })))), h("span", { key: '3e1311af13227e797ad6914ab70274e554a2f8b2', "data-scope": "page-label" }, pageLabel), h("span", { key: '63d020bd24a353d47dc3097146b2afd9b31de612', "data-scope": "total" }, totalLabel), h("div", { key: '046597be91d6d83551557592aedb799e3d86da4c', "data-scope": "per-page" }, h("nv-fieldselect", { key: '8d661cb40826a34d323d07bb994b5019eb0127fc', value: String(this.pageSize), onValueChanged: this.handlePageSizeChange, options: pageSizeOptions })), h("slot", { key: '385e77f742cb4501d26706b08986825d817fd725' })));
146
+ return (h(Host, { key: '1ca51049fc16cc949fe38c80ceabc7a72f189279' }, !this.hideControls && (h("div", { key: '6962c8ee324aa42f5eb5defceb48cbb6b5a6ed0a', "data-scope": "controls" }, !this.hideFirstLast && (h("nv-iconbutton", { key: 'faa193b020c69f274fd7024a9fbc736661500152', name: "chevrons-left", emphasis: "lower", size: "sm", disabled: atFirstPage, onClick: () => this.firstPage() })), !this.hidePrevNext && (h("nv-iconbutton", { key: 'dfa8731f6389768a659207bac3752b9ac674c9e8', name: "chevron-left", emphasis: "lower", size: "sm", disabled: atFirstPage, onClick: () => this.previousPage() })), !this.hidePrevNext && (h("nv-iconbutton", { key: 'a546e95f9921f4b6b0848ce1eaee929ac223949a', name: "chevron-right", emphasis: "lower", size: "sm", disabled: atLastPage, onClick: () => this.nextPage() })), !this.hideFirstLast && (h("nv-iconbutton", { key: 'f59fac8c7ee04c37779089aa8de8980d5ca51d04', name: "chevrons-right", emphasis: "lower", size: "sm", disabled: atLastPage, onClick: () => this.lastPage() })))), h("span", { key: '32079d8ea98a2918eee76c0176515eba13ac24a0', "data-scope": "page-label" }, pageLabel), h("span", { key: '21c38d9e335ce7c9d952f5ef8201d51f1d486b76', "data-scope": "total" }, totalLabel), h("div", { key: 'e981f5e869c08bdd52639b35ac6bec3deec8577c', "data-scope": "per-page" }, h("nv-fieldselect", { key: 'ac22a50b68b7a75f0560d19641c159a5d771bceb', value: String(this.pageSize), onValueChanged: this.handlePageSizeChange, options: pageSizeOptions })), h("slot", { key: '784a6edbfbf83b76ef7e49e881591ba16e9da064' })));
147
147
  }
148
148
  static get is() { return "nv-paginationtable"; }
149
149
  static get originalStyleUrls() {
@@ -1,4 +1,3 @@
1
- /* eslint-disable jsdoc/require-jsdoc */
2
1
  import { describe, it, expect } from "vitest";
3
2
  import { interpolate, isFirstPage, isLastPage, DEFAULT_PAGE_SIZES, generatePageSizeOptions, } from "../nv-paginationtable.utils";
4
3
  /**
@@ -311,7 +311,7 @@ export class NvPopover {
311
311
  /****************************************************************************/
312
312
  //#region RENDER
313
313
  render() {
314
- return (h(Host, { key: 'd6fef7eff8bcf37038c615eb3a382c2213b8df57' }, h("slot", { key: '849d6563e00d899fe0d1740139e510f5a53a6160', name: "trigger" }), h("div", { key: '3d187af80792aa571039fa5966cc5a38ad65c447', "data-scope": "popover", "data-strategy": this.strategy, hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (h("div", { key: 'cc06755e1ffe17280d847ec78f760fb87e491bea', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), h("slot", { key: '015e92df5937b852b5e9fe4ef5bbf56a4a21e802', name: "content" }))));
314
+ return (h(Host, { key: '8d6cfba040e2e29705a6e9fd3c1044c9e0b668b1' }, h("slot", { key: '1ea59e4037bf56ced06ad652c9c55bbc56556fd5', name: "trigger" }), h("div", { key: '7023f506e410e44a85c4683ebccfe10fdaf45c10', "data-scope": "popover", "data-strategy": this.strategy, hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (h("div", { key: 'b336819de26b0ae8899dbd378272a6a5a30517d6', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), h("slot", { key: 'fd9aad00f57cb5bab850983f2b28ea80b4cdd7fb', name: "content" }))));
315
315
  }
316
316
  static get is() { return "nv-popover"; }
317
317
  static get originalStyleUrls() {
@@ -6,7 +6,7 @@ export class NvRow {
6
6
  /****************************************************************************/
7
7
  //#region RENDER
8
8
  render() {
9
- return (h(Host, { key: 'a0f1533d6bec697a7a1abed6444b7be7d4141000' }, h("slot", { key: '76b28afb465d755f85e7b297b13aaed00cd65a9e' })));
9
+ return (h(Host, { key: '507041a8331236632f2dc12e94ca7c87465e8312' }, h("slot", { key: '3bef8f23cdc72e42467dc0407b9d2693f15638d7' })));
10
10
  }
11
11
  static get is() { return "nv-row"; }
12
12
  static get originalStyleUrls() {
@@ -156,7 +156,7 @@ export class NvSidebar {
156
156
  //#region RENDER
157
157
  render() {
158
158
  const isCollapsed = this.type === 'collapsible' && !this.open;
159
- return (h(Host, { key: 'b186709db49756c2cbc7266ef9dfb1cdaf63c9bd', role: "navigation", collapsed: isCollapsed ? true : undefined, "notification-intention": this.notificationIntention, "notification-emphasis": this.notificationEmphasis, "aria-expanded": this.type === 'collapsible' ? String(this.open) : undefined }, h("div", { key: '9b415f173b9097aceda8619b061d9e7533030e57', class: "nv-sidebar-container" }, h("slot", { key: 'e60dbe6ea59f72caab1d519bf0a84afe9a9f0829' })), this.type === 'collapsible' && (h("button", { key: 'cc63ad46951876de82efccef404366a04393bb4b', class: "nv-sidebar-toggle", onClick: this.handleToggle, "aria-label": this.open ? 'Collapse sidebar' : 'Expand sidebar' }, h("nv-icon", { key: '7f44dbfe4e1b351c789ea558e735b9da00b03e19', name: this.open
159
+ return (h(Host, { key: 'a22074a54f9d51c5a60dd698573a95862e9df0a8', role: "navigation", collapsed: isCollapsed ? true : undefined, "notification-intention": this.notificationIntention, "notification-emphasis": this.notificationEmphasis, "aria-expanded": this.type === 'collapsible' ? String(this.open) : undefined }, h("div", { key: 'f19453d0dbbad812f27f188ef198b895d37e8ad2', class: "nv-sidebar-container" }, h("slot", { key: '7194ae2a2a655716f3f1db89d9c38dc4b0ab9df0' })), this.type === 'collapsible' && (h("button", { key: '4f7a1805932f6e1783fbcf63dc54d3260464eab0', class: "nv-sidebar-toggle", onClick: this.handleToggle, "aria-label": this.open ? 'Collapse sidebar' : 'Expand sidebar' }, h("nv-icon", { key: '76d84d1c07d3f841808950c6805aa7bcaa63cf85', name: this.open
160
160
  ? 'layout-sidebar-left-collapse'
161
161
  : 'layout-sidebar-right-collapse', size: "sm" })))));
162
162
  }
@@ -7,7 +7,7 @@ export class NvSidebarcontent {
7
7
  /****************************************************************************/
8
8
  //#region RENDER
9
9
  render() {
10
- return (h(Host, { key: '58412906cd2e7719c5bdd60f24a5d14c270068de', role: "list" }, h("slot", { key: 'cb10719b5baf8dfcacc970a2cc5b199883d91853' })));
10
+ return (h(Host, { key: 'e88e1557fbfa8ec74391dc11b6073eecb4d97685', role: "list" }, h("slot", { key: 'ccaf985cc498a5729600316135d750190a514582' })));
11
11
  }
12
12
  static get is() { return "nv-sidebarcontent"; }
13
13
  static get originalStyleUrls() {
@@ -6,7 +6,7 @@ export class NvSidebardivider {
6
6
  /****************************************************************************/
7
7
  //#region RENDER
8
8
  render() {
9
- return h(Host, { key: '8784711ab19a337f7a0e14450765b816ea2bf400', role: "separator", "aria-orientation": "horizontal" });
9
+ return h(Host, { key: 'e2288aab359dff9087f7758e53a476e4715b0742', role: "separator", "aria-orientation": "horizontal" });
10
10
  }
11
11
  static get is() { return "nv-sidebardivider"; }
12
12
  static get originalStyleUrls() {
@@ -8,7 +8,7 @@ export class NvSidebarfooter {
8
8
  /****************************************************************************/
9
9
  //#region RENDER
10
10
  render() {
11
- return (h(Host, { key: '0e41cf447ba7f4421dae314ffb6fa4da3a2c1c21' }, h("slot", { key: '7d05fa96a4354c8f2125d930dd64fc917de6a2dc' })));
11
+ return (h(Host, { key: 'ac36a47c2f96070779b7b05134303604e3ef7676' }, h("slot", { key: '295d26a47fa386deade3799a02686afe6ef42ce0' })));
12
12
  }
13
13
  static get is() { return "nv-sidebarfooter"; }
14
14
  static get originalStyleUrls() {
@@ -8,7 +8,7 @@ export class NvSidebargroup {
8
8
  /****************************************************************************/
9
9
  //#region RENDER
10
10
  render() {
11
- return (h(Host, { key: '44083339d01b3aedaa26340b6e13f8187e731359', role: "group", "aria-label": this.label }, this.label && h("div", { key: '847d06e57d9478e52c0041786ace2ed5891caf0a', class: "nv-sidebargroup-label" }, this.label), h("slot", { key: '7511c5bb39cbb64e7615ed32e33de40cf3157183' })));
11
+ return (h(Host, { key: 'efeaa9f861a41ad96b5f1878510bb1bbbd4a5404', role: "group", "aria-label": this.label }, this.label && h("div", { key: '75816b463eeb0cf7687f2b0bca271db560cfafa6', class: "nv-sidebargroup-label" }, this.label), h("slot", { key: '614116b7997561766949124e56f3cb66addd419b' })));
12
12
  }
13
13
  static get is() { return "nv-sidebargroup"; }
14
14
  static get originalStyleUrls() {
@@ -8,7 +8,7 @@ export class NvSidebarheader {
8
8
  /****************************************************************************/
9
9
  //#region RENDER
10
10
  render() {
11
- return (h(Host, { key: 'ea659d39850f5024e27a5678bf465ff1e1fce5d5' }, h("slot", { key: 'd04813b173ecb718794b969c0b28c4e059ff7675' })));
11
+ return (h(Host, { key: '8dd986cfb2cd89557955c6eb61ebfbad0eb1dbcc' }, h("slot", { key: 'ee7808c81f750f5c46da9ed0bfd3b9fcb18d393d' })));
12
12
  }
13
13
  static get is() { return "nv-sidebarheader"; }
14
14
  static get originalStyleUrls() {
@@ -19,7 +19,7 @@ export class NvSidebarlogo {
19
19
  render() {
20
20
  const logoSrc = this.logo || this.defaultLogo;
21
21
  const collapsedLogoSrc = this.collapsedLogo || this.defaultCollapsedLogo;
22
- return (h(Host, { key: 'bc083fb598f98c96f382a8bac65e89344dafba94' }, h("div", { key: '6c53e699495efd6dfa71512e21d645844fef178f', class: "nv-sidebarlogo-container" }, h("img", { key: 'e0baaddb610374eacd9b0bb63b4d07b63a2fc41a', src: logoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-full" }), h("img", { key: '508fa312a65f11bed1fe955db9553aa26f600e75', src: collapsedLogoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-collapsed" }), this.label && h("span", { key: '78e16fb552eea8a477d785e184e0c4bdbc43c4c6', class: "nv-sidebarlogo-title" }, this.label))));
22
+ return (h(Host, { key: '6a1df67b6c23e0c2b4cd4da481dcd7a708062963' }, h("div", { key: 'e974e75054b93aac6d417a5fa1c527ca75b0f417', class: "nv-sidebarlogo-container" }, h("img", { key: '51bb65b380cc18252a3ea6c16741485a61f0cf12', src: logoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-full" }), h("img", { key: '0cee540a20ffb605ea2efa38c5b5942505ada7db', src: collapsedLogoSrc, alt: this.label || 'Logo', class: "nv-sidebarlogo-collapsed" }), this.label && h("span", { key: '10ffc4e62a39c5ecfffd9f115c5929057901222a', class: "nv-sidebarlogo-title" }, this.label))));
23
23
  }
24
24
  static get is() { return "nv-sidebarlogo"; }
25
25
  static get originalStyleUrls() {
@@ -268,7 +268,7 @@ export class NvSidebarnavitem {
268
268
  render() {
269
269
  const showNotificationBullet = this.notificationCount !== undefined && this.notificationCount > 0;
270
270
  const notificationSize = this.isSidebarCollapsed ? 'reduced' : 'default';
271
- return (h(Host, { key: '89dfabe76e3b309d8be7f32224ba9bf960afaa57', role: "listitem" }, h("div", { key: 'f953530dec5af473a9845eeefca3619d4cb58306', class: "nv-sidebarnavitem-trigger", onClick: this.handleToggle, "aria-expanded": this.collapsible ? String(this.open) : undefined, "aria-current": this.active && !this.collapsible ? 'page' : undefined }, this.icon && (h("div", { key: '10853dd4ec6fff353bf893a206244baf6a6c47af', class: "nv-sidebarnavitem-icon" }, h("nv-icon", { key: '12362c99a8a799b564d30775073f549904399286', name: this.icon, size: "md" }), showNotificationBullet && this.isSidebarCollapsed && (h("nv-notification-bullet", { key: '04c48fbaba743faed9cc59f3b214bec61d1c196c', count: this.notificationCount, size: notificationSize, contrastingBorder: true })))), h("div", { key: 'eb7a19ff2e6bdfcf8b4c13a2bc1f381b3c148e2f', class: "nv-sidebarnavitem-content" }, h("slot", { key: '081686d517d863eef0ce243f208df58dd5f4fc54' })), h("div", { key: 'ae745270bdb4282aacb48b819589ef9c8d4e6819', class: "nv-sidebarnavitem-trailing" }, h("slot", { key: '38c312ea17afec572d310c976670ff8290a0b4fb', name: "trailing" }), showNotificationBullet && !this.isSidebarCollapsed && (h("nv-notification-bullet", { key: '887bfe50c260545cfbebca24160d5556cbe73ce2', count: this.notificationCount, size: notificationSize })), this.collapsible && (h("nv-icon", { key: '0078974c65b7a8fb11d796c29d291b7011c01e57', name: "chevron-down", size: "sm", class: "nv-sidebarnavitem-chevron" })))), this.collapsible && this.hasSubitems && (h("div", { key: 'bc9369aad6f4ac18e12abf3a1c5a283f18f3a258', class: "nv-sidebarnavitem-subitems", ref: el => {
271
+ return (h(Host, { key: '0809fb5e4f1663571199bd75e3f2d69d09eabc2f', role: "listitem" }, h("div", { key: '6885fbc8e01fd60f32d56a8b750398a772ee1169', class: "nv-sidebarnavitem-trigger", onClick: this.handleToggle, "aria-expanded": this.collapsible ? String(this.open) : undefined, "aria-current": this.active && !this.collapsible ? 'page' : undefined }, this.icon && (h("div", { key: '515ea7bb25f83fb3a645531ade9370357b1a3cc3', class: "nv-sidebarnavitem-icon" }, h("nv-icon", { key: '718f35787fcd979dd305bcf985a51a9bf7f21a8b', name: this.icon, size: "md" }), showNotificationBullet && this.isSidebarCollapsed && (h("nv-notification-bullet", { key: 'c99767c829bf878d30345933d1bdf9f7c79fc778', count: this.notificationCount, size: notificationSize, contrastingBorder: true })))), h("div", { key: 'd2cfe856fb91a7d15232ff30c73a6709b6adffbf', class: "nv-sidebarnavitem-content" }, h("slot", { key: 'dbcc77aaf798efdca11714c0a6c9109c112ea314' })), h("div", { key: 'bf0136c15af7ac1c4bb98c9415ef0a37760cf4e1', class: "nv-sidebarnavitem-trailing" }, h("slot", { key: 'b84329d00c08ba2e7dc1a783b65d309fbf45a4da', name: "trailing" }), showNotificationBullet && !this.isSidebarCollapsed && (h("nv-notification-bullet", { key: '8a5b9447b80a59c38f006d86fe0d6bd655e02735', count: this.notificationCount, size: notificationSize })), this.collapsible && (h("nv-icon", { key: '47348e1ad810f7abd022dc510bfd11caeb8d8c71', name: "chevron-down", size: "sm", class: "nv-sidebarnavitem-chevron" })))), this.collapsible && this.hasSubitems && (h("div", { key: 'ba5160e5ea9cac822afdf9ed75f3e00807615304', class: "nv-sidebarnavitem-subitems", ref: el => {
272
272
  // Only update ref and initialize if element changed or not yet initialized
273
273
  if (el !== this.subitemsRef) {
274
274
  this.subitemsRef = el;
@@ -283,7 +283,7 @@ export class NvSidebarnavitem {
283
283
  });
284
284
  }
285
285
  }
286
- } }, h("slot", { key: '6dd9e45df235d3dc45f7174c4da6cc4fd46833ca', name: "subitems" })))));
286
+ } }, h("slot", { key: '4cd023b2af51cf8941d29cb2728cdd1c6b2ea8ed', name: "subitems" })))));
287
287
  }
288
288
  static get is() { return "nv-sidebarnavitem"; }
289
289
  static get originalStyleUrls() {
@@ -23,7 +23,7 @@ export class NvSidebarnavsubitem {
23
23
  /****************************************************************************/
24
24
  //#region RENDER
25
25
  render() {
26
- return (h(Host, { key: '633d2842e116a9de48d5638c3f85a390543f0d0b', role: "listitem", "aria-current": this.active ? 'page' : undefined }, h("div", { key: 'fb16e478af164c6bde7b6d79394e87c167b1490a', class: "nv-sidebarnavsubitem-indicator" }), h("div", { key: 'f4959009a6e027abe887b6236b4cd6d66dfe75e0', class: "nv-sidebarnavsubitem-content" }, h("slot", { key: '5f8d806af8307c81960c1adb6297630e8692fa83' })), h("div", { key: 'ab2c3cbcdeec6178e1a328b35a614501f62e5ca1', class: "nv-sidebarnavsubitem-trailing" }, h("slot", { key: '21669437e202532277def87f84e67876cadd1877', name: "trailing" }))));
26
+ return (h(Host, { key: 'e5b353c32937bbf45c455593693b58d7177879f9', role: "listitem", "aria-current": this.active ? 'page' : undefined }, h("div", { key: 'ebe7894659ae59538adc96043621b37a3145ef1a', class: "nv-sidebarnavsubitem-indicator" }), h("div", { key: '2054d9f16623e2611652274f4872b6bcdc78c44c', class: "nv-sidebarnavsubitem-content" }, h("slot", { key: 'fa1db84fbb2fcbc3cd6729146b6962445bbba2be' })), h("div", { key: 'd3399e26472f48809c2b4fd824402827330b9b11', class: "nv-sidebarnavsubitem-trailing" }, h("slot", { key: '5ee8b8b8198854ed658272032855e3cf18f21a25', name: "trailing" }))));
27
27
  }
28
28
  static get is() { return "nv-sidebarnavsubitem"; }
29
29
  static get originalStyleUrls() {
@@ -321,7 +321,7 @@ export class NvSplit {
321
321
  /****************************************************************************/
322
322
  //#region RENDER
323
323
  render() {
324
- return (h(Host, { key: '5419c070ac8e17c640987c5016c6cbd18cb12266', "data-dragging": this.isDragging.toString() }, h("slot", { key: '4e9c7080adbd6e9efbf5807a517ff7002d540567', name: "pane" }), h("slot", { key: '910e3ffca9f3f12849f6d18ba8407c45153b7769', name: "gutter" })));
324
+ return (h(Host, { key: 'ab2b75b963d3cee109e90fe22e0dfe356a384706', "data-dragging": this.isDragging.toString() }, h("slot", { key: 'a7a8258a976029f91ffbce3fa1f90f7ed35409ef', name: "pane" }), h("slot", { key: '9af34cb299ff061bec6ba7dfe6e969e093aeb3bc', name: "gutter" })));
325
325
  }
326
326
  static get is() { return "nv-split"; }
327
327
  static get originalStyleUrls() {
@@ -18,7 +18,7 @@ export class NvStack {
18
18
  /****************************************************************************/
19
19
  //#region RENDER
20
20
  render() {
21
- return (h(Host, { key: '4aefa1b0d60c640edb266797c59e4311af87bd09', class: clsx(this.fill && 'nv-stack-fill', this.flex && 'nv-stack-flex', this.full && 'w-full', this.gutter && !this.vertical && `gap-x-${this.gutter}`, this.gutter && this.vertical && `gap-y-${this.gutter}`, this.vertical && 'nv-stack-vertical') }, h("slot", { key: '0521c6172ffb133a6e9f5ca216e13970b83e7de5' })));
21
+ return (h(Host, { key: '1fe102ad734149231a7058af441e5ee77ef97ca3', class: clsx(this.fill && 'nv-stack-fill', this.flex && 'nv-stack-flex', this.full && 'w-full', this.gutter && !this.vertical && `gap-x-${this.gutter}`, this.gutter && this.vertical && `gap-y-${this.gutter}`, this.vertical && 'nv-stack-vertical') }, h("slot", { key: 'f7ed597dabd90182887096441ff1258812dfe9fc' })));
22
22
  }
23
23
  static get is() { return "nv-stack"; }
24
24
  static get originalStyleUrls() {
@@ -1,4 +1,3 @@
1
- /* eslint-disable @stencil-community/prefer-vdom-listener */
2
1
  // Useful link for styling help ->
3
2
  // https://css-tricks.com/complete-guide-table-element/
4
3
  import { Host, h } from "@stencil/core";
@@ -59,7 +58,7 @@ export class NvTable {
59
58
  /****************************************************************************/
60
59
  //#region RENDER
61
60
  render() {
62
- return (h(Host, { key: 'c6bb094eb2c2300af460f9acd91a8a5121958ded' }, h("slot", { key: 'de523656c119a6338558c48cf46ea25df9c446fd' })));
61
+ return (h(Host, { key: '0d5518a54b41c67bdd7c73d5147fd954fb53d388' }, h("slot", { key: '8ab65d5dd1ce751fd357b275b84db042b1d9ce2e' })));
63
62
  }
64
63
  static get is() { return "nv-table"; }
65
64
  static get originalStyleUrls() {
@@ -109,6 +109,8 @@ export function releasePointerCapture(cell, pointerId) {
109
109
  * @param {boolean} prevent - Whether to prevent selection
110
110
  */
111
111
  export function setUserSelectPrevention(prevent) {
112
+ if (!document)
113
+ return; // SSR & node env fallback safety
112
114
  document.body.style.userSelect = prevent ? 'none' : '';
113
115
  }
114
116
  /**
@@ -1,4 +1,3 @@
1
- /* eslint-disable jsdoc/require-jsdoc */
2
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
3
2
  import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
4
3
  import { TABLE_CONSTANTS, getHandleWidthForCurrentPointer, getPointerOffsetInCell, isInResizeHandle, calculateNewWidth, isValidTableCell, getClosestTableCell, setPointerCapture, releasePointerCapture, setUserSelectPrevention, getCellWidth, setCellWidth, calculatePointerDelta, createResizeState, isValidResizeState, updateCellWidthFromResize, } from "../nv-table.utils";
@@ -55,7 +55,7 @@ export class NvTableheader {
55
55
  /****************************************************************************/
56
56
  //#region RENDER
57
57
  render() {
58
- return (h(Host, { key: 'f704401884c7620a37c932f1aba53c5587e3c0c3', role: "columnheader", "aria-sort": this.ariaSort, tabindex: this.sortable ? 0 : undefined, onKeyDown: this.handleKeyDown.bind(this), onClick: this.cycleSortDirection.bind(this) }, h("slot", { key: 'e4fce0b4226dde922d621abf7fbf76efa6b0ceeb' }), this.sortable && (h("span", { key: '25cf7526f27eb5e4621434bdadcf169ef60811ab', class: "sort-icon-wrap", "aria-hidden": "true" }, h("nv-iconbutton", { key: '39745ade1343e6d1e339b4d451abc3a69d644913', disableTabindex: true, name: "arrow-up", size: "xs", emphasis: this.sortDirection === 'none' ? 'lower' : 'low',
58
+ return (h(Host, { key: '95447cd8ccde74d09226bcdbf645eed309be0fa8', role: "columnheader", "aria-sort": this.ariaSort, tabindex: this.sortable ? 0 : undefined, onKeyDown: this.handleKeyDown.bind(this), onClick: this.cycleSortDirection.bind(this) }, h("slot", { key: '4e26aa21f080cf23ce42fb72d6777463bd079991' }), this.sortable && (h("span", { key: '666254c197e97226d2f1c6830d1216b9457c4acc', class: "sort-icon-wrap", "aria-hidden": "true" }, h("nv-iconbutton", { key: '11b2de5c4c270740857094ec8a39f1d392d7246a', disableTabindex: true, name: "arrow-up", size: "xs", emphasis: this.sortDirection === 'none' ? 'lower' : 'low',
59
59
  // prevent mousedown from selecting text
60
60
  onMouseDown: (e) => e.preventDefault(), class: {
61
61
  'is-none': this.sortDirection === 'none',
@@ -1,3 +1,4 @@
1
+ @charset "UTF-8";
1
2
  nv-toggle {
2
3
  display: inline-flex;
3
4
  align-items: flex-start;
@@ -118,6 +119,31 @@ nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]):checked
118
119
  nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]):checked::after {
119
120
  background-color: var(--components-toggle-shape-disabled-checked);
120
121
  }
122
+ @media print {
123
+ nv-toggle .input-container input[type=checkbox]::after {
124
+ content: "●";
125
+ top: calc(50% - 3.5px);
126
+ width: auto;
127
+ height: auto;
128
+ background: none;
129
+ color: var(--components-toggle-border-default);
130
+ font-size: calc(var(--form-toggle-switch-dot-default) * 3);
131
+ line-height: 1;
132
+ }
133
+ nv-toggle .input-container input[type=checkbox]:checked {
134
+ background: transparent;
135
+ border-color: var(--components-toggle-border-default-checked);
136
+ }
137
+ nv-toggle .input-container input[type=checkbox]:checked::after {
138
+ content: "●";
139
+ top: calc(50% - 3.5px);
140
+ width: auto;
141
+ height: auto;
142
+ left: 75%;
143
+ background: none;
144
+ color: var(--components-toggle-border-default-checked);
145
+ }
146
+ }
121
147
  nv-toggle .description {
122
148
  align-self: stretch;
123
149
  color: var(--components-form-text-description-default);
@@ -60,8 +60,8 @@ export class NvToggle {
60
60
  /****************************************************************************/
61
61
  //#region RENDER
62
62
  render() {
63
- return (h(Host, { key: '1cc28405c1775d19366fd3a684a834e0ca82cf39', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, h("div", { key: 'cc19babb308cb64a8ff359c68eff673d8486b694', class: "input-container" }, h("input", { key: '8222a1abe2196b4e943a7adf338df430df2728fe', type: "checkbox", id: this.inputId, name: this.name, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly })), h("div", { key: '46eddca130efc9e6abcef1d6b376281cc1e0544e', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'c9ccfd1fd1e3d896874984943158f9332a7c26b6', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h("slot", { key: 'cd657a7eff81775da798b211f1c0983f18ace953', name: "label" }, this.label))), (this.description ||
64
- this.el.querySelector('[slot="description"]')) && (h("div", { key: 'dee3823d764ff864b4f008a43bd0aa8c44b6db13', class: "description" }, h("slot", { key: '6dd3815bf94e766b3c3c43be72b6a86ed354987b', name: "description" }, this.description))))));
63
+ return (h(Host, { key: '38dd2a460c82599e2c2bfd6b039eafff0dc6fc67', class: clsx(this.labelPlacement === 'before' && 'label-placement-before') }, h("div", { key: '4d6bf742f548cc5f92ae84497f12569d9680dcef', class: "input-container" }, h("input", { key: '97f54363c17cde48ec226680ee58da012e590b69', type: "checkbox", id: this.inputId, name: this.name, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly })), h("div", { key: 'e4576a0884f02731a3e6d2d20537cfabf411a8fe', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '4744036b0d1e73f350bbc4b6f6e7664bb9361d1e', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h("slot", { key: '44a2aeb86c840246473bc47e0ba01269af77ef06', name: "label" }, this.label))), (this.description ||
64
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: '6e5c3d1721c9db3cffd019c9274294c40793daf0', class: "description" }, h("slot", { key: '87c3d35c78ded085cd1ddb5b2874dfae7bd99842', name: "description" }, this.description))))));
65
65
  }
66
66
  static get is() { return "nv-toggle"; }
67
67
  static get formAssociated() { return true; }
@@ -50,7 +50,7 @@ export class NvTogglebutton {
50
50
  /****************************************************************************/
51
51
  //#region RENDER
52
52
  render() {
53
- return (h(Host, { key: '91a6205cf5e2dae56a7826c9882bf2899d31321c', role: "button", tabindex: "0", "aria-pressed": String(this.active), onClick: this.handleClick }, h("slot", { key: 'deea1593ddc2083786e7ff05ce6eafa8daebbee3' })));
53
+ return (h(Host, { key: '4af1293d9eb69a3a20d8f30c6b2876c6c29ddc03', role: "button", tabindex: "0", "aria-pressed": String(this.active), onClick: this.handleClick }, h("slot", { key: '783fad27c525553cd404c1ffed0ae1305d330de8' })));
54
54
  }
55
55
  static get is() { return "nv-togglebutton"; }
56
56
  static get originalStyleUrls() {
@@ -149,7 +149,7 @@ export class NvTogglebuttongroup {
149
149
  /****************************************************************************/
150
150
  //#region RENDER
151
151
  render() {
152
- return (h(Host, { key: '98d0fd8820da9b6a5911330a0396b66a911352f2' }, h("slot", { key: 'aa202371d4d63d127d69a6a199451f3c97a65c86' })));
152
+ return (h(Host, { key: '1116872815229d09e1e286dd1f12a9787218e207' }, h("slot", { key: 'fa5363ec707f38830065718b2423dd8493acdd4e' })));
153
153
  }
154
154
  static get is() { return "nv-togglebuttongroup"; }
155
155
  static get originalStyleUrls() {
@@ -1,11 +1,18 @@
1
1
  nv-tooltip {
2
2
  display: inline-block;
3
+ vertical-align: top;
3
4
  position: relative;
4
5
  user-select: none;
5
6
  }
6
7
  nv-tooltip:has([fluid]:not([fluid=false])) {
7
8
  display: block;
8
9
  }
10
+ nv-tooltip nv-popover {
11
+ display: block;
12
+ height: 0;
13
+ min-height: 0;
14
+ overflow: visible;
15
+ }
9
16
  nv-tooltip nv-popover > [data-scope=popover] {
10
17
  background: var(--components-tooltip-background);
11
18
  color: var(--components-tooltip-text);
@@ -41,7 +41,7 @@ export class NvTooltip {
41
41
  /****************************************************************************/
42
42
  //#region RENDER
43
43
  render() {
44
- return (h(Host, { key: '1c21198627166da4ff8ad5c0b9cd600587a46d70' }, h("nv-popover", { key: '3dfa32fa4789acba5184fefe39d3b82761ede7cb', ref: el => (this.popoverElement = el), triggerMode: "hover", hasArrow: true, placement: this.placement, strategy: this.strategy, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay, onOpenChanged: e => this.openChanged.emit(e.detail) }, h("p", { key: '6e2c16e5e691c27a59938ffc6c5cb075251505f8', slot: "content" }, this.message), h("slot", { key: 'aba5c81f04ebf9a94538d384d39da76d9cb74cc2', name: "content" })), h("slot", { key: '03697bd2cba4d042c09ed628ee2276ee243004de', ref: el => (this.defaultSlot = el) })));
44
+ return (h(Host, { key: 'bda9ba58186add585457f8fdf4a8e1d6389da01a' }, h("nv-popover", { key: 'ac67ea44cebbc8abb9ff4e190668093bb7179222', ref: el => (this.popoverElement = el), triggerMode: "hover", hasArrow: true, placement: this.placement, strategy: this.strategy, triggerElement: this.triggerElement, groupName: 'tooltip', enterDelay: this.enterDelay, onOpenChanged: e => this.openChanged.emit(e.detail) }, h("p", { key: 'b677689d4a73462b7d16ff7d9f31bfd61e7f47eb', slot: "content" }, this.message), h("slot", { key: 'bd1540db065fdeceb89d09d69e1dbf7ad4de728d', name: "content" })), h("slot", { key: '648d3c3125b0528cd8e88675122d775ad7cc40d9', ref: el => (this.defaultSlot = el) })));
45
45
  }
46
46
  static get is() { return "nv-tooltip"; }
47
47
  static get originalStyleUrls() {
@@ -18,4 +18,6 @@ import * as uriUtils_1 from "./utils/uri.utils";
18
18
  export { uriUtils_1 as uriUtils };
19
19
  import * as animations_1 from "./animations";
20
20
  export { animations_1 as animations };
21
+ import * as searchEngine_1 from "./utils/search-engine";
22
+ export { searchEngine_1 as searchEngine };
21
23
  export { iconNames } from './components/nv-icon/nv-icons';