@nova-design-system/nova-webcomponents 3.0.0-beta.31 → 3.0.0-beta.34

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 (452) hide show
  1. package/dist/blazor-docs.json +370 -128
  2. package/dist/cjs/{app-globals-69764290.js → app-globals-6b0931bc.js} +2 -2
  3. package/dist/cjs/app-globals-6b0931bc.js.map +1 -0
  4. package/dist/cjs/{constants-33057c89.js → constants-9525a915.js} +7 -1
  5. package/dist/cjs/constants-9525a915.js.map +1 -0
  6. package/dist/cjs/{index-72b8a9ad.js → index-ddc37f87.js} +22 -10
  7. package/dist/cjs/index-ddc37f87.js.map +1 -0
  8. package/dist/cjs/index.cjs.js +1 -1
  9. package/dist/cjs/loader.cjs.js +3 -3
  10. package/dist/cjs/native.cjs.js +3 -3
  11. package/dist/cjs/nv-alert.cjs.entry.js +3 -3
  12. package/dist/cjs/nv-avatar.cjs.entry.js +4 -4
  13. package/dist/cjs/nv-avatar.cjs.entry.js.map +1 -1
  14. package/dist/cjs/nv-badge.cjs.entry.js +4 -4
  15. package/dist/cjs/nv-badge.cjs.entry.js.map +1 -1
  16. package/dist/cjs/nv-base.cjs.entry.js +2 -3
  17. package/dist/cjs/nv-base.cjs.entry.js.map +1 -1
  18. package/dist/cjs/nv-breadcrumb.cjs.entry.js +47 -0
  19. package/dist/cjs/nv-breadcrumb.cjs.entry.js.map +1 -0
  20. package/dist/cjs/nv-breadcrumbs.cjs.entry.js +23 -0
  21. package/dist/cjs/nv-breadcrumbs.cjs.entry.js.map +1 -0
  22. package/dist/cjs/nv-button.cjs.entry.js +4 -4
  23. package/dist/cjs/nv-button.cjs.entry.js.map +1 -1
  24. package/dist/cjs/nv-col.cjs.entry.js +2 -2
  25. package/dist/cjs/nv-datagrid.cjs.entry.js +4 -4
  26. package/dist/cjs/nv-datagrid.cjs.entry.js.map +1 -1
  27. package/dist/cjs/nv-datagridbody.cjs.entry.js +2 -2
  28. package/dist/cjs/nv-datagridcolumn.cjs.entry.js +2 -2
  29. package/dist/cjs/nv-datagriddatacell.cjs.entry.js +2 -2
  30. package/dist/cjs/nv-datagridhead.cjs.entry.js +2 -2
  31. package/dist/cjs/nv-datagridrow.cjs.entry.js +2 -2
  32. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +5 -5
  33. package/dist/cjs/nv-fielddropdown.cjs.entry.js +64 -25
  34. package/dist/cjs/nv-fielddropdown.cjs.entry.js.map +1 -1
  35. package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +2 -2
  36. package/dist/cjs/nv-fieldnumber.cjs.entry.js +4 -4
  37. package/dist/cjs/nv-fieldpassword.cjs.entry.js +4 -4
  38. package/dist/cjs/nv-fieldpassword.cjs.entry.js.map +1 -1
  39. package/dist/cjs/nv-fieldradio.cjs.entry.js +4 -4
  40. package/dist/cjs/nv-fieldselect.cjs.entry.js +9 -9
  41. package/dist/cjs/nv-fieldselect.cjs.entry.js.map +1 -1
  42. package/dist/cjs/nv-fieldtext.cjs.entry.js +4 -4
  43. package/dist/cjs/nv-fieldtext.cjs.entry.js.map +1 -1
  44. package/dist/cjs/nv-fieldtextarea.cjs.entry.js +46 -44
  45. package/dist/cjs/nv-fieldtextarea.cjs.entry.js.map +1 -1
  46. package/dist/cjs/nv-fieldtoggle.cjs.entry.js +3 -3
  47. package/dist/cjs/nv-icon.cjs.entry.js +3 -3
  48. package/dist/cjs/nv-icon.cjs.entry.js.map +1 -1
  49. package/dist/cjs/nv-iconbutton.cjs.entry.js +3 -3
  50. package/dist/cjs/nv-iconbutton.cjs.entry.js.map +1 -1
  51. package/dist/cjs/nv-loader.cjs.entry.js +2 -2
  52. package/dist/cjs/nv-menu.cjs.entry.js +7 -44
  53. package/dist/cjs/nv-menu.cjs.entry.js.map +1 -1
  54. package/dist/cjs/nv-menuitem.cjs.entry.js +30 -3
  55. package/dist/cjs/nv-menuitem.cjs.entry.js.map +1 -1
  56. package/dist/cjs/nv-popover.cjs.entry.js +21 -7
  57. package/dist/cjs/nv-popover.cjs.entry.js.map +1 -1
  58. package/dist/cjs/nv-row.cjs.entry.js +2 -2
  59. package/dist/cjs/nv-stack.cjs.entry.js +2 -2
  60. package/dist/cjs/nv-table.cjs.entry.js +3 -3
  61. package/dist/cjs/nv-tablebody.cjs.entry.js +2 -2
  62. package/dist/cjs/nv-tablecolumn.cjs.entry.js +2 -2
  63. package/dist/cjs/nv-tabledatacell.cjs.entry.js +2 -2
  64. package/dist/cjs/nv-tablehead.cjs.entry.js +2 -2
  65. package/dist/cjs/nv-tablerow.cjs.entry.js +2 -2
  66. package/dist/cjs/nv-tooltip.cjs.entry.js +6 -5
  67. package/dist/cjs/nv-tooltip.cjs.entry.js.map +1 -1
  68. package/dist/collection/collection-manifest.json +3 -1
  69. package/dist/collection/components/nv-alert/nv-alert.js +1 -1
  70. package/dist/collection/components/nv-avatar/nv-avatar.css +0 -33
  71. package/dist/collection/components/nv-avatar/nv-avatar.js +1 -1
  72. package/dist/collection/components/nv-badge/nv-badge.css +0 -33
  73. package/dist/collection/components/nv-badge/nv-badge.js +2 -2
  74. package/dist/collection/components/nv-base/nv-base.js +1 -2
  75. package/dist/collection/components/nv-base/nv-base.js.map +1 -1
  76. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.css +14 -0
  77. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.docs.js +6 -0
  78. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.docs.js.map +1 -0
  79. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.js +111 -0
  80. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.js.map +1 -0
  81. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.css +12 -0
  82. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.docs.js +34 -0
  83. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.docs.js.map +1 -0
  84. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.js +22 -0
  85. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.js.map +1 -0
  86. package/dist/collection/components/nv-button/nv-button.docs.js +5 -0
  87. package/dist/collection/components/nv-button/nv-button.docs.js.map +1 -1
  88. package/dist/collection/components/nv-button/nv-button.js +3 -3
  89. package/dist/collection/components/nv-button/nv-button.js.map +1 -1
  90. package/dist/collection/components/nv-button/{nv-button.css → styles/nv-button.css} +25 -60
  91. package/dist/collection/components/nv-col/nv-col.js +1 -1
  92. package/dist/collection/components/nv-datagrid/nv-datagrid.js +3 -3
  93. package/dist/collection/components/nv-datagrid/nv-datagrid.js.map +1 -1
  94. package/dist/collection/components/nv-datagridbody/nv-datagridbody.js +1 -1
  95. package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +1 -1
  96. package/dist/collection/components/nv-datagriddatacell/nv-datagriddatacell.js +1 -1
  97. package/dist/collection/components/nv-datagridhead/nv-datagridhead.js +1 -1
  98. package/dist/collection/components/nv-datagridrow/nv-datagridrow.js +1 -1
  99. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
  100. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.css +13 -9
  101. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js +8 -19
  102. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js.map +1 -1
  103. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +63 -24
  104. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js.map +1 -1
  105. package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
  106. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +3 -3
  107. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +5 -5
  108. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js.map +1 -1
  109. package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
  110. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +10 -10
  111. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js.map +1 -1
  112. package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js +1 -1
  113. package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js.map +1 -1
  114. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +5 -5
  115. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js.map +1 -1
  116. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +46 -42
  117. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js.map +1 -1
  118. package/dist/collection/components/nv-fieldtoggle/nv-fieldtoggle.js +2 -2
  119. package/dist/collection/components/nv-icon/nv-icon.js +3 -3
  120. package/dist/collection/components/nv-icon/nv-icon.js.map +1 -1
  121. package/dist/collection/components/nv-icon/{nv-icon.css → styles/nv-icon.css} +0 -1
  122. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +10 -4
  123. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js.map +1 -1
  124. package/dist/collection/components/nv-loader/nv-loader.js +1 -1
  125. package/dist/collection/components/nv-menu/nv-menu.js +11 -48
  126. package/dist/collection/components/nv-menu/nv-menu.js.map +1 -1
  127. package/dist/collection/components/nv-menuitem/nv-menuitem.js +88 -4
  128. package/dist/collection/components/nv-menuitem/nv-menuitem.js.map +1 -1
  129. package/dist/collection/components/nv-popover/nv-popover.js +20 -6
  130. package/dist/collection/components/nv-popover/nv-popover.js.map +1 -1
  131. package/dist/collection/components/nv-row/nv-row.js +1 -1
  132. package/dist/collection/components/nv-stack/nv-stack.js +1 -1
  133. package/dist/collection/components/nv-table/nv-table.js +2 -2
  134. package/dist/collection/components/nv-tablebody/nv-tablebody.js +1 -1
  135. package/dist/collection/components/nv-tablecolumn/nv-tablecolumn.js +1 -1
  136. package/dist/collection/components/nv-tabledatacell/nv-tabledatacell.js +1 -1
  137. package/dist/collection/components/nv-tablehead/nv-tablehead.js +1 -1
  138. package/dist/collection/components/nv-tablerow/nv-tablerow.js +1 -1
  139. package/dist/collection/components/nv-tooltip/nv-tooltip.js +31 -4
  140. package/dist/collection/components/nv-tooltip/nv-tooltip.js.map +1 -1
  141. package/dist/collection/dev/dev-components.js +1 -1
  142. package/dist/collection/dev/dev-components.js.map +1 -1
  143. package/dist/collection/templates/navigation.docs.js +13 -0
  144. package/dist/collection/templates/navigation.docs.js.map +1 -0
  145. package/dist/collection/utils/constants.js +5 -0
  146. package/dist/collection/utils/constants.js.map +1 -1
  147. package/dist/components/index.js +4 -4
  148. package/dist/components/nv-alert.js +4 -4
  149. package/dist/components/nv-avatar.js +5 -5
  150. package/dist/components/nv-avatar.js.map +1 -1
  151. package/dist/components/nv-badge.js +5 -5
  152. package/dist/components/nv-badge.js.map +1 -1
  153. package/dist/components/nv-base.js +2 -3
  154. package/dist/components/nv-base.js.map +1 -1
  155. package/dist/components/nv-breadcrumb.d.ts +11 -0
  156. package/dist/components/nv-breadcrumb.js +83 -0
  157. package/dist/components/nv-breadcrumb.js.map +1 -0
  158. package/dist/components/nv-breadcrumbs.d.ts +11 -0
  159. package/dist/components/nv-breadcrumbs.js +37 -0
  160. package/dist/components/nv-breadcrumbs.js.map +1 -0
  161. package/dist/components/nv-button.js +5 -5
  162. package/dist/components/nv-button.js.map +1 -1
  163. package/dist/components/nv-col.js +2 -2
  164. package/dist/components/nv-datagrid.js +4 -4
  165. package/dist/components/nv-datagrid.js.map +1 -1
  166. package/dist/components/nv-datagridbody.js +2 -2
  167. package/dist/components/nv-datagridcolumn.js +2 -2
  168. package/dist/components/nv-datagriddatacell.js +2 -2
  169. package/dist/components/nv-datagridhead.js +2 -2
  170. package/dist/components/nv-datagridrow.js +2 -2
  171. package/dist/components/nv-fieldcheckbox.js +5 -5
  172. package/dist/components/nv-fielddropdown.js +69 -30
  173. package/dist/components/nv-fielddropdown.js.map +1 -1
  174. package/dist/components/nv-fielddropdownitem.js +1 -1
  175. package/dist/components/nv-fieldnumber.js +5 -5
  176. package/dist/components/nv-fieldpassword.js +7 -7
  177. package/dist/components/nv-fieldpassword.js.map +1 -1
  178. package/dist/components/nv-fieldradio.js +4 -4
  179. package/dist/components/nv-fieldselect.js +11 -11
  180. package/dist/components/nv-fieldselect.js.map +1 -1
  181. package/dist/components/nv-fieldtext.js +5 -5
  182. package/dist/components/nv-fieldtext.js.map +1 -1
  183. package/dist/components/nv-fieldtextarea.js +48 -45
  184. package/dist/components/nv-fieldtextarea.js.map +1 -1
  185. package/dist/components/nv-fieldtoggle.js +3 -3
  186. package/dist/components/nv-icon.js +1 -1
  187. package/dist/components/nv-iconbutton.js +1 -1
  188. package/dist/components/nv-loader.js +1 -1
  189. package/dist/components/nv-menu.js +9 -46
  190. package/dist/components/nv-menu.js.map +1 -1
  191. package/dist/components/nv-menuitem.js +34 -6
  192. package/dist/components/nv-menuitem.js.map +1 -1
  193. package/dist/components/nv-popover.js +1 -1
  194. package/dist/components/nv-row.js +2 -2
  195. package/dist/components/nv-stack.js +2 -2
  196. package/dist/components/nv-table.js +3 -3
  197. package/dist/components/nv-tablebody.js +2 -2
  198. package/dist/components/nv-tablecolumn.js +2 -2
  199. package/dist/components/nv-tabledatacell.js +2 -2
  200. package/dist/components/nv-tablehead.js +2 -2
  201. package/dist/components/nv-tablerow.js +2 -2
  202. package/dist/components/nv-tooltip.js +1 -63
  203. package/dist/components/nv-tooltip.js.map +1 -1
  204. package/dist/components/{p-ca5c171f.js → p-09a2a880.js} +4 -4
  205. package/dist/components/{p-ca5c171f.js.map → p-09a2a880.js.map} +1 -1
  206. package/dist/components/{p-f0d5586a.js → p-0cdf2cc7.js} +6 -6
  207. package/dist/components/p-0cdf2cc7.js.map +1 -0
  208. package/dist/components/{p-c08a278d.js → p-3a65a05e.js} +6 -2
  209. package/dist/components/p-3a65a05e.js.map +1 -0
  210. package/dist/components/{p-0caa4741.js → p-3b209e94.js} +17 -3
  211. package/dist/components/{p-c08a278d.js.map → p-3b209e94.js.map} +1 -1
  212. package/dist/{esm/constants-e9bee611.js → components/p-74407727.js} +7 -1
  213. package/dist/components/p-74407727.js.map +1 -0
  214. package/dist/components/{p-39e93e5b.js → p-a61d9ce8.js} +4 -4
  215. package/dist/{native/p-d4277c50.entry.js.map → components/p-a61d9ce8.js.map} +1 -1
  216. package/dist/components/{p-3ef4ded9.js → p-b7462fc2.js} +3 -3
  217. package/dist/components/{p-3ef4ded9.js.map → p-b7462fc2.js.map} +1 -1
  218. package/dist/components/{p-1fa35ae5.js → p-ce67d70c.js} +23 -9
  219. package/dist/components/p-ce67d70c.js.map +1 -0
  220. package/dist/components/p-e7131c30.js +69 -0
  221. package/dist/components/p-e7131c30.js.map +1 -0
  222. package/dist/docs.json +377 -143
  223. package/dist/esm/{app-globals-c5484a00.js → app-globals-246d6b7c.js} +2 -2
  224. package/dist/esm/app-globals-246d6b7c.js.map +1 -0
  225. package/dist/{components/p-a15ddd42.js → esm/constants-7b642e1d.js} +7 -1
  226. package/dist/esm/constants-7b642e1d.js.map +1 -0
  227. package/dist/esm/{index-b6f70e4a.js → index-cd557d0a.js} +22 -10
  228. package/dist/esm/index-cd557d0a.js.map +1 -0
  229. package/dist/esm/index.js +1 -1
  230. package/dist/esm/loader.js +4 -4
  231. package/dist/esm/native.js +4 -4
  232. package/dist/esm/nv-alert.entry.js +3 -3
  233. package/dist/esm/nv-avatar.entry.js +4 -4
  234. package/dist/esm/nv-avatar.entry.js.map +1 -1
  235. package/dist/esm/nv-badge.entry.js +4 -4
  236. package/dist/esm/nv-badge.entry.js.map +1 -1
  237. package/dist/esm/nv-base.entry.js +2 -3
  238. package/dist/esm/nv-base.entry.js.map +1 -1
  239. package/dist/esm/nv-breadcrumb.entry.js +43 -0
  240. package/dist/esm/nv-breadcrumb.entry.js.map +1 -0
  241. package/dist/esm/nv-breadcrumbs.entry.js +19 -0
  242. package/dist/esm/nv-breadcrumbs.entry.js.map +1 -0
  243. package/dist/esm/nv-button.entry.js +4 -4
  244. package/dist/esm/nv-button.entry.js.map +1 -1
  245. package/dist/esm/nv-col.entry.js +2 -2
  246. package/dist/esm/nv-datagrid.entry.js +4 -4
  247. package/dist/esm/nv-datagrid.entry.js.map +1 -1
  248. package/dist/esm/nv-datagridbody.entry.js +2 -2
  249. package/dist/esm/nv-datagridcolumn.entry.js +2 -2
  250. package/dist/esm/nv-datagriddatacell.entry.js +2 -2
  251. package/dist/esm/nv-datagridhead.entry.js +2 -2
  252. package/dist/esm/nv-datagridrow.entry.js +2 -2
  253. package/dist/esm/nv-fieldcheckbox.entry.js +5 -5
  254. package/dist/esm/nv-fielddropdown.entry.js +64 -25
  255. package/dist/esm/nv-fielddropdown.entry.js.map +1 -1
  256. package/dist/esm/nv-fielddropdownitem.entry.js +2 -2
  257. package/dist/esm/nv-fieldnumber.entry.js +4 -4
  258. package/dist/esm/nv-fieldpassword.entry.js +4 -4
  259. package/dist/esm/nv-fieldpassword.entry.js.map +1 -1
  260. package/dist/esm/nv-fieldradio.entry.js +4 -4
  261. package/dist/esm/nv-fieldselect.entry.js +9 -9
  262. package/dist/esm/nv-fieldselect.entry.js.map +1 -1
  263. package/dist/esm/nv-fieldtext.entry.js +4 -4
  264. package/dist/esm/nv-fieldtext.entry.js.map +1 -1
  265. package/dist/esm/nv-fieldtextarea.entry.js +46 -44
  266. package/dist/esm/nv-fieldtextarea.entry.js.map +1 -1
  267. package/dist/esm/nv-fieldtoggle.entry.js +3 -3
  268. package/dist/esm/nv-icon.entry.js +3 -3
  269. package/dist/esm/nv-icon.entry.js.map +1 -1
  270. package/dist/esm/nv-iconbutton.entry.js +3 -3
  271. package/dist/esm/nv-iconbutton.entry.js.map +1 -1
  272. package/dist/esm/nv-loader.entry.js +2 -2
  273. package/dist/esm/nv-menu.entry.js +7 -44
  274. package/dist/esm/nv-menu.entry.js.map +1 -1
  275. package/dist/esm/nv-menuitem.entry.js +30 -3
  276. package/dist/esm/nv-menuitem.entry.js.map +1 -1
  277. package/dist/esm/nv-popover.entry.js +22 -8
  278. package/dist/esm/nv-popover.entry.js.map +1 -1
  279. package/dist/esm/nv-row.entry.js +2 -2
  280. package/dist/esm/nv-stack.entry.js +2 -2
  281. package/dist/esm/nv-table.entry.js +3 -3
  282. package/dist/esm/nv-tablebody.entry.js +2 -2
  283. package/dist/esm/nv-tablecolumn.entry.js +2 -2
  284. package/dist/esm/nv-tabledatacell.entry.js +2 -2
  285. package/dist/esm/nv-tablehead.entry.js +2 -2
  286. package/dist/esm/nv-tablerow.entry.js +2 -2
  287. package/dist/esm/nv-tooltip.entry.js +6 -5
  288. package/dist/esm/nv-tooltip.entry.js.map +1 -1
  289. package/dist/native/index.esm.js +1 -1
  290. package/dist/native/native.css +1 -1
  291. package/dist/native/native.esm.js +1 -1
  292. package/dist/native/native.esm.js.map +1 -1
  293. package/dist/native/p-0710efd7.entry.js +2 -0
  294. package/dist/native/p-0710efd7.entry.js.map +1 -0
  295. package/dist/native/p-0f9262ed.entry.js +2 -0
  296. package/dist/native/{p-dacd68ab.entry.js → p-10a06059.entry.js} +2 -2
  297. package/dist/native/p-10a06059.entry.js.map +1 -0
  298. package/dist/native/p-132b8588.entry.js +2 -0
  299. package/dist/native/{p-c5e3e234.entry.js.map → p-132b8588.entry.js.map} +1 -1
  300. package/dist/native/p-2063c768.entry.js +2 -0
  301. package/dist/native/p-2063c768.entry.js.map +1 -0
  302. package/dist/native/p-2ac838b8.entry.js +2 -0
  303. package/dist/native/p-2ac838b8.entry.js.map +1 -0
  304. package/dist/native/p-38d3eee3.js +2 -0
  305. package/dist/native/p-38d3eee3.js.map +1 -0
  306. package/dist/native/{p-d4277c50.entry.js → p-3e9521a0.entry.js} +2 -2
  307. package/dist/native/p-3e9521a0.entry.js.map +1 -0
  308. package/dist/native/{p-11faaf31.entry.js → p-40f4828a.entry.js} +2 -2
  309. package/dist/native/p-44cc8b59.entry.js +2 -0
  310. package/dist/native/p-44cc8b59.entry.js.map +1 -0
  311. package/dist/native/p-45aa0c68.entry.js +2 -0
  312. package/dist/native/p-45aa0c68.entry.js.map +1 -0
  313. package/dist/native/p-4f30312d.entry.js +2 -0
  314. package/dist/native/p-4f30312d.entry.js.map +1 -0
  315. package/dist/native/p-52a7f936.entry.js +2 -0
  316. package/dist/native/{p-50c31094.entry.js → p-5d0dc7c8.entry.js} +2 -2
  317. package/dist/native/p-5d67a825.entry.js +2 -0
  318. package/dist/native/{p-47c78fe4.entry.js.map → p-5d67a825.entry.js.map} +1 -1
  319. package/dist/native/p-5e467b49.entry.js +2 -0
  320. package/dist/native/p-6c1b9c89.entry.js +2 -0
  321. package/dist/native/{p-b3ec71c9.entry.js.map → p-6c1b9c89.entry.js.map} +1 -1
  322. package/dist/native/p-74407727.js +2 -0
  323. package/dist/native/p-74407727.js.map +1 -0
  324. package/dist/native/{p-df6c9137.entry.js → p-74778f5f.entry.js} +2 -2
  325. package/dist/native/p-87b93cc2.entry.js +2 -0
  326. package/dist/native/p-8f0984b0.entry.js +2 -0
  327. package/dist/native/p-8f0984b0.entry.js.map +1 -0
  328. package/dist/native/p-907c3eda.entry.js +2 -0
  329. package/dist/native/p-91d4b4d7.entry.js +2 -0
  330. package/dist/native/{p-9f89229b.entry.js → p-9341cf9d.entry.js} +2 -2
  331. package/dist/native/{p-6ef216c4.js → p-9b093b92.js} +3 -3
  332. package/dist/native/p-9b093b92.js.map +1 -0
  333. package/dist/native/{p-31367928.entry.js → p-9cef006d.entry.js} +2 -2
  334. package/dist/native/{p-01262eaf.entry.js → p-a9b6461b.entry.js} +2 -2
  335. package/dist/native/p-a9b6461b.entry.js.map +1 -0
  336. package/dist/native/{p-a89f5542.entry.js → p-b902c7c0.entry.js} +2 -2
  337. package/dist/native/p-bbc45099.entry.js +2 -0
  338. package/dist/native/{p-919cf3ec.entry.js → p-c59e3500.entry.js} +2 -2
  339. package/dist/native/{p-4a64f5b0.entry.js → p-d0f83d1f.entry.js} +2 -2
  340. package/dist/native/{p-4a64f5b0.entry.js.map → p-d0f83d1f.entry.js.map} +1 -1
  341. package/dist/native/p-e390557d.entry.js +2 -0
  342. package/dist/native/p-e390557d.entry.js.map +1 -0
  343. package/dist/native/p-e56d3715.entry.js +2 -0
  344. package/dist/native/p-e56d3715.entry.js.map +1 -0
  345. package/dist/native/{p-e05b0c4a.entry.js → p-e5fbe545.entry.js} +2 -2
  346. package/dist/native/p-eade52d4.entry.js +2 -0
  347. package/dist/native/p-eade52d4.entry.js.map +1 -0
  348. package/dist/native/p-eda8cd9d.entry.js +2 -0
  349. package/dist/native/p-ee78addb.entry.js +2 -0
  350. package/dist/native/p-ee78addb.entry.js.map +1 -0
  351. package/dist/native/p-f1545844.entry.js +2 -0
  352. package/dist/native/p-f1545844.entry.js.map +1 -0
  353. package/dist/native/{p-6eb50254.entry.js → p-f2ea8aa9.entry.js} +2 -2
  354. package/dist/native/{p-6eb50254.entry.js.map → p-f2ea8aa9.entry.js.map} +1 -1
  355. package/dist/native/p-f42e87b5.entry.js +2 -0
  356. package/dist/native/{p-0bf2007c.entry.js → p-f4ecacf6.entry.js} +2 -2
  357. package/dist/native/{p-c85d031d.entry.js → p-f7db0785.entry.js} +3 -3
  358. package/dist/native/{p-c85d031d.entry.js.map → p-f7db0785.entry.js.map} +1 -1
  359. package/dist/types/components/nv-base/nv-base.docs.d.ts +1 -1
  360. package/dist/types/components/nv-breadcrumb/nv-breadcrumb.d.ts +30 -0
  361. package/dist/types/components/nv-breadcrumb/nv-breadcrumb.docs.d.ts +4 -0
  362. package/dist/types/components/nv-breadcrumbs/nv-breadcrumbs.d.ts +6 -0
  363. package/dist/types/components/nv-breadcrumbs/nv-breadcrumbs.docs.d.ts +4 -0
  364. package/dist/types/components/nv-fielddropdown/nv-fielddropdown.d.ts +4 -1
  365. package/dist/types/components/nv-fieldpassword/nv-fieldpassword.d.ts +1 -1
  366. package/dist/types/components/nv-fieldselect/nv-fieldselect.d.ts +1 -1
  367. package/dist/types/components/nv-fieldtext/nv-fieldtext.d.ts +1 -1
  368. package/dist/types/components/nv-fieldtextarea/nv-fieldtextarea.d.ts +5 -9
  369. package/dist/types/components/nv-iconbutton/nv-iconbutton.d.ts +2 -2
  370. package/dist/types/components/nv-menu/nv-menu.d.ts +4 -5
  371. package/dist/types/components/nv-menuitem/nv-menuitem.d.ts +25 -1
  372. package/dist/types/components/nv-popover/nv-popover.d.ts +7 -0
  373. package/dist/types/components/nv-tooltip/nv-tooltip.d.ts +6 -1
  374. package/dist/types/components.d.ts +97 -17
  375. package/dist/types/nova-docs.d.ts +46 -24
  376. package/dist/types/templates/navigation.docs.d.ts +3 -0
  377. package/dist/types/utils/constants.d.ts +4 -0
  378. package/dist/vscode-data.json +113 -72
  379. package/hydrate/index.js +322 -188
  380. package/hydrate/index.mjs +322 -188
  381. package/package.json +17 -15
  382. package/dist/cjs/app-globals-69764290.js.map +0 -1
  383. package/dist/cjs/constants-33057c89.js.map +0 -1
  384. package/dist/cjs/index-72b8a9ad.js.map +0 -1
  385. package/dist/collection/components/nv-icon/test/nv-icon.test.js +0 -25
  386. package/dist/collection/components/nv-icon/test/nv-icon.test.js.map +0 -1
  387. package/dist/components/p-0caa4741.js.map +0 -1
  388. package/dist/components/p-1fa35ae5.js.map +0 -1
  389. package/dist/components/p-39e93e5b.js.map +0 -1
  390. package/dist/components/p-a15ddd42.js.map +0 -1
  391. package/dist/components/p-f0d5586a.js.map +0 -1
  392. package/dist/esm/app-globals-c5484a00.js.map +0 -1
  393. package/dist/esm/constants-e9bee611.js.map +0 -1
  394. package/dist/esm/index-b6f70e4a.js.map +0 -1
  395. package/dist/native/p-01262eaf.entry.js.map +0 -1
  396. package/dist/native/p-17dba26d.entry.js +0 -2
  397. package/dist/native/p-2a6ca749.entry.js +0 -2
  398. package/dist/native/p-2a6ca749.entry.js.map +0 -1
  399. package/dist/native/p-327fa1a0.entry.js +0 -2
  400. package/dist/native/p-380bcc2b.entry.js +0 -2
  401. package/dist/native/p-380bcc2b.entry.js.map +0 -1
  402. package/dist/native/p-47c78fe4.entry.js +0 -2
  403. package/dist/native/p-605f8b3d.entry.js +0 -2
  404. package/dist/native/p-605f8b3d.entry.js.map +0 -1
  405. package/dist/native/p-64ae9a21.entry.js +0 -2
  406. package/dist/native/p-64ae9a21.entry.js.map +0 -1
  407. package/dist/native/p-6e8bcd5b.entry.js +0 -2
  408. package/dist/native/p-6e8bcd5b.entry.js.map +0 -1
  409. package/dist/native/p-6ef216c4.js.map +0 -1
  410. package/dist/native/p-7701e4cc.entry.js +0 -2
  411. package/dist/native/p-7701e4cc.entry.js.map +0 -1
  412. package/dist/native/p-86947929.entry.js +0 -2
  413. package/dist/native/p-8f95f4fa.entry.js +0 -2
  414. package/dist/native/p-93eea6e1.entry.js +0 -2
  415. package/dist/native/p-95714583.js +0 -2
  416. package/dist/native/p-95714583.js.map +0 -1
  417. package/dist/native/p-9fe47948.entry.js +0 -2
  418. package/dist/native/p-9fe47948.entry.js.map +0 -1
  419. package/dist/native/p-a15ddd42.js +0 -2
  420. package/dist/native/p-a15ddd42.js.map +0 -1
  421. package/dist/native/p-afbc5259.entry.js +0 -2
  422. package/dist/native/p-afbc5259.entry.js.map +0 -1
  423. package/dist/native/p-b3ec71c9.entry.js +0 -2
  424. package/dist/native/p-bbe9a373.entry.js +0 -2
  425. package/dist/native/p-c2dfee1a.entry.js +0 -2
  426. package/dist/native/p-c5e3e234.entry.js +0 -2
  427. package/dist/native/p-dacd68ab.entry.js.map +0 -1
  428. package/dist/native/p-de9d0b05.entry.js +0 -2
  429. package/dist/native/p-de9d0b05.entry.js.map +0 -1
  430. package/dist/native/p-e71fc762.entry.js +0 -2
  431. package/dist/native/p-e71fc762.entry.js.map +0 -1
  432. package/dist/native/p-ef7f605a.entry.js +0 -2
  433. package/dist/native/p-f2e31579.entry.js +0 -2
  434. package/dist/types/components/nv-icon/test/nv-icon.test.d.ts +0 -1
  435. /package/dist/native/{p-bbe9a373.entry.js.map → p-0f9262ed.entry.js.map} +0 -0
  436. /package/dist/native/{p-11faaf31.entry.js.map → p-40f4828a.entry.js.map} +0 -0
  437. /package/dist/native/{p-f2e31579.entry.js.map → p-52a7f936.entry.js.map} +0 -0
  438. /package/dist/native/{p-50c31094.entry.js.map → p-5d0dc7c8.entry.js.map} +0 -0
  439. /package/dist/native/{p-86947929.entry.js.map → p-5e467b49.entry.js.map} +0 -0
  440. /package/dist/native/{p-df6c9137.entry.js.map → p-74778f5f.entry.js.map} +0 -0
  441. /package/dist/native/{p-ef7f605a.entry.js.map → p-87b93cc2.entry.js.map} +0 -0
  442. /package/dist/native/{p-17dba26d.entry.js.map → p-907c3eda.entry.js.map} +0 -0
  443. /package/dist/native/{p-8f95f4fa.entry.js.map → p-91d4b4d7.entry.js.map} +0 -0
  444. /package/dist/native/{p-9f89229b.entry.js.map → p-9341cf9d.entry.js.map} +0 -0
  445. /package/dist/native/{p-31367928.entry.js.map → p-9cef006d.entry.js.map} +0 -0
  446. /package/dist/native/{p-a89f5542.entry.js.map → p-b902c7c0.entry.js.map} +0 -0
  447. /package/dist/native/{p-327fa1a0.entry.js.map → p-bbc45099.entry.js.map} +0 -0
  448. /package/dist/native/{p-919cf3ec.entry.js.map → p-c59e3500.entry.js.map} +0 -0
  449. /package/dist/native/{p-e05b0c4a.entry.js.map → p-e5fbe545.entry.js.map} +0 -0
  450. /package/dist/native/{p-93eea6e1.entry.js.map → p-eda8cd9d.entry.js.map} +0 -0
  451. /package/dist/native/{p-c2dfee1a.entry.js.map → p-f42e87b5.entry.js.map} +0 -0
  452. /package/dist/native/{p-0bf2007c.entry.js.map → p-f4ecacf6.entry.js.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- component: "nv-base";
2
+ component: string;
3
3
  skip: true;
4
4
  };
5
5
  export default _default;
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @slot default - Pass an icon, a link, or text to render the breadcrumb content.
3
+ * @slot separator - The separator between breadcrumb items.
4
+ */
5
+ export declare class NvBreadcrumb {
6
+ el: HTMLNvBreadcrumbElement;
7
+ private popoverTrigger;
8
+ /****************************************************************************/
9
+ /**
10
+ * The type of the breadcrumb. Use 'collapsed' to house multiple breadcrumbs
11
+ * in a dropdown. Use default for a single item. When passing multiple items
12
+ * as collapsed, make sure to wrap you links in list tags
13
+ */
14
+ readonly type: 'collapsed' | 'default';
15
+ /**
16
+ * Add an optional tooltip to provide extra information about the breadcrumb.
17
+ */
18
+ readonly tooltip: string;
19
+ /**
20
+ * Use this to highlight the breadcrumb as the current page in your
21
+ * navigation. It also makes the page clearer to screen readers with
22
+ * aria-current="location".
23
+ */
24
+ readonly current: boolean;
25
+ /****************************************************************************/
26
+ componentDidLoad(): void;
27
+ componentWillLoad(): void;
28
+ /****************************************************************************/
29
+ render(): any;
30
+ }
@@ -0,0 +1,4 @@
1
+ import type { NovaDocs } from '../../nova-docs';
2
+ import { Components } from '../../components';
3
+ declare const NvBreadcrumbDocs: NovaDocs<Components.NvBreadcrumb>;
4
+ export default NvBreadcrumbDocs;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @slot default - Child content of the component.
3
+ */
4
+ export declare class NvBreadcrumbs {
5
+ render(): any;
6
+ }
@@ -0,0 +1,4 @@
1
+ import type { NovaDocs } from '../../nova-docs';
2
+ import { Components } from '../../components';
3
+ declare const NvBreadcrumbsDocs: NovaDocs<Components.NvBreadcrumbs>;
4
+ export default NvBreadcrumbsDocs;
@@ -121,8 +121,10 @@ export declare class NVFieldDropDown {
121
121
  valueChanged: EventEmitter<string>;
122
122
  handleOpenChanged(event: CustomEvent<boolean>): void;
123
123
  watchFilterableHandler(newValue: boolean): void;
124
- watchValueHandler(): void;
124
+ watchValueHandler(newValue: string): void;
125
125
  /****************************************************************************/
126
+ componentWillLoad(): void;
127
+ componentDidLoad(): void;
126
128
  /**
127
129
  * Subscribe to click outside event.
128
130
  */
@@ -180,6 +182,7 @@ export declare class NVFieldDropDown {
180
182
  handleKeyDown(event: KeyboardEvent): void;
181
183
  private updateHighlightedItem;
182
184
  private focusFirstItem;
185
+ private updateSelectedItem;
183
186
  /****************************************************************************/
184
187
  render(): any;
185
188
  }
@@ -100,7 +100,7 @@ export declare class NvFieldpassword {
100
100
  * Set rules for how the input should be formatted. For example, you can
101
101
  * require that a phone number includes only digits or that an email address
102
102
  * has the correct format. If users don’t follow these rules, they’ll get a
103
- * prompt to correct their input.
103
+ * prompt to correct their input on form submission.
104
104
  * the rules are applied to the input value via regexes.
105
105
  */
106
106
  readonly pattern: string;
@@ -34,7 +34,7 @@ export declare class NvFieldselect {
34
34
  * to ensure unique identification, facilitating proper label association and
35
35
  * accessibility.
36
36
  */
37
- readonly selectId: string;
37
+ readonly inputId: string;
38
38
  /**
39
39
  * Lets you define the text that explains what users should choose in the
40
40
  * select field. It’s a crucial element for making forms clear and
@@ -124,7 +124,7 @@ export declare class NvFieldtext {
124
124
  * Set rules for how the input should be formatted. For example, you can
125
125
  * require that a phone number includes only digits or that an email address
126
126
  * has the correct format. If users don’t follow these rules, they’ll get a
127
- * prompt to correct their input.
127
+ * prompt to correct their input after the form is submitted.
128
128
  */
129
129
  readonly pattern: string;
130
130
  /**
@@ -141,19 +141,15 @@ export declare class NvFieldtextarea {
141
141
  * min-height, if false, we need to remove the height property.
142
142
  */
143
143
  autosizeChanged(): void;
144
+ /**
145
+ * Make sure to adjust the height of the textarea when the value changes
146
+ * programmatically or by typing when autosize is on.
147
+ */
148
+ handleValueChange(): void;
144
149
  /****************************************************************************/
145
150
  private handleTextarea;
146
151
  private handleTextareaContainerClick;
147
152
  private adjustTextareaHeight;
148
- /**
149
- * Class Properties
150
- * resize-none resize: none;
151
- * resize-y resize: vertical;
152
- * resize-x resize: horizontal;
153
- * resize resize: both;
154
- * @returns {string} The resize class.
155
- */
156
- private getResize;
157
153
  /****************************************************************************/
158
154
  componentDidLoad(): void;
159
155
  /****************************************************************************/
@@ -1,4 +1,4 @@
1
- import { ButtonSize, ButtonEmphasis, ButtonType } from '../../utils/constants';
1
+ import { ButtonSize, ButtonEmphasis, ButtonType, IconButtonShape } from '../../utils/constants';
2
2
  import { IconName } from '../nv-icon/nv-icons';
3
3
  /**
4
4
  * @slot default - Content of the button.
@@ -51,7 +51,7 @@ export declare class NvIconbutton {
51
51
  /**
52
52
  * Sets the shape of the button. Choose between square and rounded.
53
53
  */
54
- readonly shape: 'square' | 'rounded';
54
+ readonly shape: `${IconButtonShape}`;
55
55
  /****************************************************************************/
56
56
  /**
57
57
  * Handles form-related actions when the button is clicked.
@@ -10,7 +10,6 @@ export declare class NvMenu {
10
10
  private triggerElement;
11
11
  private popoverElement;
12
12
  private isHandlingKeyDown;
13
- private isHandlingClick;
14
13
  /****************************************************************************/
15
14
  /**
16
15
  * Use this to toggle the initial visibility of the menu, by default the menu
@@ -44,12 +43,12 @@ export declare class NvMenu {
44
43
  close(): Promise<void>;
45
44
  /****************************************************************************/
46
45
  /**
47
- * Emitted from nv-menuitem elements with the corresponding id when the menu
48
- * item is selected.
46
+ * Emitted from nv-menuitem elements with the corresponding id and name when
47
+ * selected (via click or keyboard). This event listener can be attached to
48
+ * either the nv-menu or the nv-menuitem element.
49
49
  */
50
50
  menuitemSelected: EventEmitter<MenuitemSelectedEventDetail>;
51
- private handleMenuItemSelect;
52
- handleMenuClick(event: MouseEvent): void;
51
+ handleMenuItemSelect(event: CustomEvent<MenuitemSelectedEventDetail>): void;
53
52
  handleKeydown(event: KeyboardEvent): void;
54
53
  handleOpenChanged(event: CustomEvent<boolean>): void;
55
54
  private focusFirstItem;
@@ -1,9 +1,18 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
1
2
  import { IconName } from '../nv-icon/nv-icons';
2
3
  export type MenuitemSelectedEventDetail = {
3
4
  /**
4
5
  * The id of the menu item that was selected.
5
6
  */
6
- itemId?: HTMLElement['id'];
7
+ id?: HTMLElement['id'];
8
+ /**
9
+ * The name of the menu item that was selected.
10
+ */
11
+ name?: string;
12
+ /**
13
+ * Indicates if the menu item has a nested submenu.
14
+ */
15
+ hasSubmenu?: boolean;
7
16
  };
8
17
  /**
9
18
  * @slot default - The content to render, usually just text
@@ -29,6 +38,21 @@ export declare class NvMenuitem {
29
38
  * If the menu item has a submenu, the a caret icon will be displayed.
30
39
  */
31
40
  readonly hasSubmenu: boolean;
41
+ /**
42
+ * Represents the identifier or name associated with the menu item. This value
43
+ * will be emitted as part of the event data when the menu item is selected,
44
+ * enabling event handlers to identify the chosen item.
45
+ */
46
+ readonly name: string;
47
+ /****************************************************************************/
48
+ /**
49
+ * Fires when the menu item is selected (click or keypress). Will include the
50
+ * id and name of the menu item.
51
+ */
52
+ menuitemSelected: EventEmitter<MenuitemSelectedEventDetail>;
53
+ private handleMenuItemSelect;
54
+ handleClick(event: MouseEvent): void;
55
+ handleKeyDown(event: KeyboardEvent): void;
32
56
  /****************************************************************************/
33
57
  render(): any;
34
58
  }
@@ -8,6 +8,7 @@ export declare class NvPopover {
8
8
  el: HTMLNvPopoverElement;
9
9
  private popoverElement;
10
10
  private arrowElement;
11
+ private eventsAttached;
11
12
  /****************************************************************************/
12
13
  /**
13
14
  * @internal
@@ -82,6 +83,11 @@ export declare class NvPopover {
82
83
  * its current state.
83
84
  */
84
85
  toggle(): Promise<void>;
86
+ /**
87
+ * Attaches event listeners to the trigger element, and makes sure this only
88
+ * happens once.
89
+ */
90
+ private attachEventListeners;
85
91
  /**
86
92
  * Calculates the position of the popover relative to the trigger.
87
93
  * @docs https://floating-ui.com/docs/computePosition
@@ -107,6 +113,7 @@ export declare class NvPopover {
107
113
  handleOpenChange(open: boolean): Promise<void>;
108
114
  /****************************************************************************/
109
115
  componentWillLoad(): void;
116
+ componentWillUpdate(): void;
110
117
  componentDidLoad(): void;
111
118
  disconnectedCallback(): void;
112
119
  /****************************************************************************/
@@ -5,8 +5,13 @@ import type { Placement } from '@floating-ui/dom';
5
5
  */
6
6
  export declare class NvTooltip {
7
7
  el: HTMLNvTooltipElement;
8
- private triggerElement;
9
8
  /****************************************************************************/
9
+ /**
10
+ * @internal
11
+ * Accepts a reference to the DOM element acting as the popover trigger. This
12
+ * should be used when the slot for the trigger is not defined.
13
+ */
14
+ triggerElement: Element;
10
15
  /**
11
16
  * A string representing the text to be displayed inside the tooltip. This
12
17
  * content is shown when the tooltip is activated by the user, such as on
@@ -5,19 +5,21 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { ButtonEmphasis, ButtonSize, ButtonType, DeprecatedSemanticColors, FeedbackColors, FieldLabelPlacement, LoaderColors, SemanticSizes, TextInputAutocomplete } from "./utils/constants";
8
+ import { ButtonEmphasis, ButtonSize, ButtonType, DeprecatedSemanticColors, FeedbackColors, FieldLabelPlacement, IconButtonShape, LoaderColors, SemanticSizes, TextInputAutocomplete } from "./utils/constants";
9
9
  import { Column } from "./interfaces/Column";
10
10
  import { DropdownItemSelectedEventDetail } from "./components/nv-fielddropdownitem/DropdownItemSelectedEventDetail";
11
11
  import { IconName } from "./components/nv-icon/nv-icons";
12
12
  import { Placement } from "@floating-ui/dom";
13
13
  import { MenuitemSelectedEventDetail } from "./components/nv-menuitem/nv-menuitem";
14
+ import { MenuitemSelectedEventDetail as MenuitemSelectedEventDetail1 } from "./components/nv-menuitem/nv-menuitem";
14
15
  import { Element } from "./stencil-public-runtime";
15
- export { ButtonEmphasis, ButtonSize, ButtonType, DeprecatedSemanticColors, FeedbackColors, FieldLabelPlacement, LoaderColors, SemanticSizes, TextInputAutocomplete } from "./utils/constants";
16
+ export { ButtonEmphasis, ButtonSize, ButtonType, DeprecatedSemanticColors, FeedbackColors, FieldLabelPlacement, IconButtonShape, LoaderColors, SemanticSizes, TextInputAutocomplete } from "./utils/constants";
16
17
  export { Column } from "./interfaces/Column";
17
18
  export { DropdownItemSelectedEventDetail } from "./components/nv-fielddropdownitem/DropdownItemSelectedEventDetail";
18
19
  export { IconName } from "./components/nv-icon/nv-icons";
19
20
  export { Placement } from "@floating-ui/dom";
20
21
  export { MenuitemSelectedEventDetail } from "./components/nv-menuitem/nv-menuitem";
22
+ export { MenuitemSelectedEventDetail as MenuitemSelectedEventDetail1 } from "./components/nv-menuitem/nv-menuitem";
21
23
  export { Element } from "./stencil-public-runtime";
22
24
  export namespace Components {
23
25
  interface NvAlert {
@@ -158,6 +160,22 @@ export namespace Components {
158
160
  */
159
161
  interface NvBase {
160
162
  }
163
+ interface NvBreadcrumb {
164
+ /**
165
+ * Use this to highlight the breadcrumb as the current page in your navigation. It also makes the page clearer to screen readers with aria-current="location".
166
+ */
167
+ "current": boolean;
168
+ /**
169
+ * Add an optional tooltip to provide extra information about the breadcrumb.
170
+ */
171
+ "tooltip": string;
172
+ /**
173
+ * The type of the breadcrumb. Use 'collapsed' to house multiple breadcrumbs in a dropdown. Use default for a single item. When passing multiple items as collapsed, make sure to wrap you links in list tags
174
+ */
175
+ "type": 'collapsed' | 'default';
176
+ }
177
+ interface NvBreadcrumbs {
178
+ }
161
179
  interface NvButton {
162
180
  /**
163
181
  * Applies styling that visually indicates the button represents a dangerous action.
@@ -541,7 +559,7 @@ export namespace Components {
541
559
  */
542
560
  "name": string;
543
561
  /**
544
- * Set rules for how the input should be formatted. For example, you can require that a phone number includes only digits or that an email address has the correct format. If users don’t follow these rules, they’ll get a prompt to correct their input. the rules are applied to the input value via regexes.
562
+ * Set rules for how the input should be formatted. For example, you can require that a phone number includes only digits or that an email address has the correct format. If users don’t follow these rules, they’ll get a prompt to correct their input on form submission. the rules are applied to the input value via regexes.
545
563
  */
546
564
  "pattern": string;
547
565
  /**
@@ -646,6 +664,10 @@ export namespace Components {
646
664
  * @validator message
647
665
  */
648
666
  "errorDescription": string;
667
+ /**
668
+ * Sets the ID for the select element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
669
+ */
670
+ "inputId": string;
649
671
  /**
650
672
  * Lets you define the text that explains what users should choose in the select field. It’s a crucial element for making forms clear and user-friendly.
651
673
  */
@@ -671,10 +693,6 @@ export namespace Components {
671
693
  * Marks the select field as required, ensuring that the user must fill it out before submitting the form.
672
694
  */
673
695
  "required": boolean;
674
- /**
675
- * Sets the ID for the select element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
676
- */
677
- "selectId": string;
678
696
  /**
679
697
  * Changes the select field’s appearance to indicate successful input or validation.
680
698
  */
@@ -742,7 +760,7 @@ export namespace Components {
742
760
  */
743
761
  "name": string;
744
762
  /**
745
- * Set rules for how the input should be formatted. For example, you can require that a phone number includes only digits or that an email address has the correct format. If users don’t follow these rules, they’ll get a prompt to correct their input.
763
+ * Set rules for how the input should be formatted. For example, you can require that a phone number includes only digits or that an email address has the correct format. If users don’t follow these rules, they’ll get a prompt to correct their input after the form is submitted.
746
764
  */
747
765
  "pattern": string;
748
766
  /**
@@ -968,7 +986,7 @@ export namespace Components {
968
986
  /**
969
987
  * Sets the shape of the button. Choose between square and rounded.
970
988
  */
971
- "shape": 'square' | 'rounded';
989
+ "shape": `${IconButtonShape}`;
972
990
  /**
973
991
  * Determines how large or small the button appears, allowing for customization of the button's dimensions to fit different design specifications and user needs.
974
992
  */
@@ -1027,6 +1045,10 @@ export namespace Components {
1027
1045
  * Choose the icon you want to display. This also sets the aria-label for improved accessibility, helping users who rely on screen readers. The icon is not displayed when the button is loading.
1028
1046
  */
1029
1047
  "icon": `${IconName}`;
1048
+ /**
1049
+ * Represents the identifier or name associated with the menu item. This value will be emitted as part of the event data when the menu item is selected, enabling event handlers to identify the chosen item.
1050
+ */
1051
+ "name": string;
1030
1052
  /**
1031
1053
  * Show a shortcut key for the action represented in the menu item.
1032
1054
  */
@@ -1209,6 +1231,7 @@ export namespace Components {
1209
1231
  * Decides where the tooltip shows up next to the element it’s linked to (above, below, to the sides). If there isn’t enough room, it will adjust it's position on the axis to fit on the screen, so users can always see it.
1210
1232
  */
1211
1233
  "placement": Placement;
1234
+ "triggerElement": Element;
1212
1235
  }
1213
1236
  }
1214
1237
  export interface NvAlertCustomEvent<T> extends CustomEvent<T> {
@@ -1263,6 +1286,10 @@ export interface NvMenuCustomEvent<T> extends CustomEvent<T> {
1263
1286
  detail: T;
1264
1287
  target: HTMLNvMenuElement;
1265
1288
  }
1289
+ export interface NvMenuitemCustomEvent<T> extends CustomEvent<T> {
1290
+ detail: T;
1291
+ target: HTMLNvMenuitemElement;
1292
+ }
1266
1293
  export interface NvPopoverCustomEvent<T> extends CustomEvent<T> {
1267
1294
  detail: T;
1268
1295
  target: HTMLNvPopoverElement;
@@ -1321,6 +1348,18 @@ declare global {
1321
1348
  prototype: HTMLNvBaseElement;
1322
1349
  new (): HTMLNvBaseElement;
1323
1350
  };
1351
+ interface HTMLNvBreadcrumbElement extends Components.NvBreadcrumb, HTMLStencilElement {
1352
+ }
1353
+ var HTMLNvBreadcrumbElement: {
1354
+ prototype: HTMLNvBreadcrumbElement;
1355
+ new (): HTMLNvBreadcrumbElement;
1356
+ };
1357
+ interface HTMLNvBreadcrumbsElement extends Components.NvBreadcrumbs, HTMLStencilElement {
1358
+ }
1359
+ var HTMLNvBreadcrumbsElement: {
1360
+ prototype: HTMLNvBreadcrumbsElement;
1361
+ new (): HTMLNvBreadcrumbsElement;
1362
+ };
1324
1363
  interface HTMLNvButtonElement extends Components.NvButton, HTMLStencilElement {
1325
1364
  }
1326
1365
  var HTMLNvButtonElement: {
@@ -1578,7 +1617,18 @@ declare global {
1578
1617
  prototype: HTMLNvMenuElement;
1579
1618
  new (): HTMLNvMenuElement;
1580
1619
  };
1620
+ interface HTMLNvMenuitemElementEventMap {
1621
+ "menuitemSelected": MenuitemSelectedEventDetail1;
1622
+ }
1581
1623
  interface HTMLNvMenuitemElement extends Components.NvMenuitem, HTMLStencilElement {
1624
+ addEventListener<K extends keyof HTMLNvMenuitemElementEventMap>(type: K, listener: (this: HTMLNvMenuitemElement, ev: NvMenuitemCustomEvent<HTMLNvMenuitemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1625
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1626
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1627
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1628
+ removeEventListener<K extends keyof HTMLNvMenuitemElementEventMap>(type: K, listener: (this: HTMLNvMenuitemElement, ev: NvMenuitemCustomEvent<HTMLNvMenuitemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1629
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1630
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1631
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1582
1632
  }
1583
1633
  var HTMLNvMenuitemElement: {
1584
1634
  prototype: HTMLNvMenuitemElement;
@@ -1663,6 +1713,8 @@ declare global {
1663
1713
  "nv-avatar": HTMLNvAvatarElement;
1664
1714
  "nv-badge": HTMLNvBadgeElement;
1665
1715
  "nv-base": HTMLNvBaseElement;
1716
+ "nv-breadcrumb": HTMLNvBreadcrumbElement;
1717
+ "nv-breadcrumbs": HTMLNvBreadcrumbsElement;
1666
1718
  "nv-button": HTMLNvButtonElement;
1667
1719
  "nv-col": HTMLNvColElement;
1668
1720
  "nv-datagrid": HTMLNvDatagridElement;
@@ -1862,6 +1914,22 @@ declare namespace LocalJSX {
1862
1914
  */
1863
1915
  interface NvBase {
1864
1916
  }
1917
+ interface NvBreadcrumb {
1918
+ /**
1919
+ * Use this to highlight the breadcrumb as the current page in your navigation. It also makes the page clearer to screen readers with aria-current="location".
1920
+ */
1921
+ "current"?: boolean;
1922
+ /**
1923
+ * Add an optional tooltip to provide extra information about the breadcrumb.
1924
+ */
1925
+ "tooltip"?: string;
1926
+ /**
1927
+ * The type of the breadcrumb. Use 'collapsed' to house multiple breadcrumbs in a dropdown. Use default for a single item. When passing multiple items as collapsed, make sure to wrap you links in list tags
1928
+ */
1929
+ "type"?: 'collapsed' | 'default';
1930
+ }
1931
+ interface NvBreadcrumbs {
1932
+ }
1865
1933
  interface NvButton {
1866
1934
  /**
1867
1935
  * Applies styling that visually indicates the button represents a dangerous action.
@@ -2268,7 +2336,7 @@ declare namespace LocalJSX {
2268
2336
  */
2269
2337
  "onValueChanged"?: (event: NvFieldpasswordCustomEvent<string>) => void;
2270
2338
  /**
2271
- * Set rules for how the input should be formatted. For example, you can require that a phone number includes only digits or that an email address has the correct format. If users don’t follow these rules, they’ll get a prompt to correct their input. the rules are applied to the input value via regexes.
2339
+ * Set rules for how the input should be formatted. For example, you can require that a phone number includes only digits or that an email address has the correct format. If users don’t follow these rules, they’ll get a prompt to correct their input on form submission. the rules are applied to the input value via regexes.
2272
2340
  */
2273
2341
  "pattern"?: string;
2274
2342
  /**
@@ -2378,6 +2446,10 @@ declare namespace LocalJSX {
2378
2446
  * @validator message
2379
2447
  */
2380
2448
  "errorDescription"?: string;
2449
+ /**
2450
+ * Sets the ID for the select element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
2451
+ */
2452
+ "inputId"?: string;
2381
2453
  /**
2382
2454
  * Lets you define the text that explains what users should choose in the select field. It’s a crucial element for making forms clear and user-friendly.
2383
2455
  */
@@ -2408,10 +2480,6 @@ declare namespace LocalJSX {
2408
2480
  * Marks the select field as required, ensuring that the user must fill it out before submitting the form.
2409
2481
  */
2410
2482
  "required"?: boolean;
2411
- /**
2412
- * Sets the ID for the select element and the for attribute of the associated label. If no ID is provided, a random one will be automatically generated to ensure unique identification, facilitating proper label association and accessibility.
2413
- */
2414
- "selectId"?: string;
2415
2483
  /**
2416
2484
  * Changes the select field’s appearance to indicate successful input or validation.
2417
2485
  */
@@ -2484,7 +2552,7 @@ declare namespace LocalJSX {
2484
2552
  */
2485
2553
  "onValueChanged"?: (event: NvFieldtextCustomEvent<string>) => void;
2486
2554
  /**
2487
- * Set rules for how the input should be formatted. For example, you can require that a phone number includes only digits or that an email address has the correct format. If users don’t follow these rules, they’ll get a prompt to correct their input.
2555
+ * Set rules for how the input should be formatted. For example, you can require that a phone number includes only digits or that an email address has the correct format. If users don’t follow these rules, they’ll get a prompt to correct their input after the form is submitted.
2488
2556
  */
2489
2557
  "pattern"?: string;
2490
2558
  /**
@@ -2720,7 +2788,7 @@ declare namespace LocalJSX {
2720
2788
  /**
2721
2789
  * Sets the shape of the button. Choose between square and rounded.
2722
2790
  */
2723
- "shape"?: 'square' | 'rounded';
2791
+ "shape"?: `${IconButtonShape}`;
2724
2792
  /**
2725
2793
  * Determines how large or small the button appears, allowing for customization of the button's dimensions to fit different design specifications and user needs.
2726
2794
  */
@@ -2750,7 +2818,7 @@ declare namespace LocalJSX {
2750
2818
  */
2751
2819
  "nested"?: boolean;
2752
2820
  /**
2753
- * Emitted from nv-menuitem elements with the corresponding id when the menu item is selected.
2821
+ * Emitted from nv-menuitem elements with the corresponding id and name when selected (via click or keyboard). This event listener can be attached to either the nv-menu or the nv-menuitem element.
2754
2822
  */
2755
2823
  "onMenuitemSelected"?: (event: NvMenuCustomEvent<MenuitemSelectedEventDetail>) => void;
2756
2824
  /**
@@ -2775,6 +2843,14 @@ declare namespace LocalJSX {
2775
2843
  * Choose the icon you want to display. This also sets the aria-label for improved accessibility, helping users who rely on screen readers. The icon is not displayed when the button is loading.
2776
2844
  */
2777
2845
  "icon"?: `${IconName}`;
2846
+ /**
2847
+ * Represents the identifier or name associated with the menu item. This value will be emitted as part of the event data when the menu item is selected, enabling event handlers to identify the chosen item.
2848
+ */
2849
+ "name"?: string;
2850
+ /**
2851
+ * Fires when the menu item is selected (click or keypress). Will include the id and name of the menu item.
2852
+ */
2853
+ "onMenuitemSelected"?: (event: NvMenuitemCustomEvent<MenuitemSelectedEventDetail1>) => void;
2778
2854
  /**
2779
2855
  * Show a shortcut key for the action represented in the menu item.
2780
2856
  */
@@ -2955,6 +3031,8 @@ declare namespace LocalJSX {
2955
3031
  "nv-avatar": NvAvatar;
2956
3032
  "nv-badge": NvBadge;
2957
3033
  "nv-base": NvBase;
3034
+ "nv-breadcrumb": NvBreadcrumb;
3035
+ "nv-breadcrumbs": NvBreadcrumbs;
2958
3036
  "nv-button": NvButton;
2959
3037
  "nv-col": NvCol;
2960
3038
  "nv-datagrid": NvDatagrid;
@@ -3001,6 +3079,8 @@ declare module "@stencil/core" {
3001
3079
  * @deprecated This is only to help with the migration from v2 to v3. It will be removed in the next major release.
3002
3080
  */
3003
3081
  "nv-base": LocalJSX.NvBase & JSXBase.HTMLAttributes<HTMLNvBaseElement>;
3082
+ "nv-breadcrumb": LocalJSX.NvBreadcrumb & JSXBase.HTMLAttributes<HTMLNvBreadcrumbElement>;
3083
+ "nv-breadcrumbs": LocalJSX.NvBreadcrumbs & JSXBase.HTMLAttributes<HTMLNvBreadcrumbsElement>;
3004
3084
  "nv-button": LocalJSX.NvButton & JSXBase.HTMLAttributes<HTMLNvButtonElement>;
3005
3085
  "nv-col": LocalJSX.NvCol & JSXBase.HTMLAttributes<HTMLNvColElement>;
3006
3086
  /**
@@ -1,10 +1,19 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
2
  import type { JSX } from './components';
3
3
 
4
+ type Optional<T, K extends keyof T> = Partial<Pick<T, K>> & Omit<T, K>;
5
+
6
+ export type NovaTemplate = string;
7
+ export type NovaComponent = keyof JSX.IntrinsicElements;
8
+
9
+ export type NovaDocs<T> = T extends NovaTemplate
10
+ ? Omit<NovaDocsGeneric<T>, 'component'>
11
+ : NovaDocsGeneric<T>;
12
+
4
13
  /**
5
- * Interface for the NovaDocs object
14
+ * Generic Interface for the NovaDocs object
6
15
  */
7
- export interface NovaDocs<T> {
16
+ export interface NovaDocsGeneric<T> {
8
17
  /**
9
18
  * Will not render the component in storybook, useful for composed components
10
19
  */
@@ -12,39 +21,52 @@ export interface NovaDocs<T> {
12
21
  /**
13
22
  * Tag name of the component
14
23
  */
15
- component: keyof JSX.IntrinsicElements;
24
+ component: T extends NovaTemplate ? undefined : NovaComponent;
16
25
  /**
17
26
  * List of components that will be rendered inside the component's docs,
18
27
  * required for correct imports
19
28
  */
20
- subcomponents?: Array<keyof JSX.IntrinsicElements>;
29
+ subcomponents?: Array<NovaComponent>;
21
30
  /**
22
31
  * List of components that will be used for composition. Will render
23
32
  * additional docs tabs with props etc. for them.
24
33
  */
25
- composedComponents?: Array<keyof JSX.IntrinsicElements>;
34
+ composedComponents?: Array<NovaComponent>;
26
35
  /**
27
36
  * Each item will be rendered as a story in each storybook.
28
37
  */
29
- stories?: Array<{
30
- /**
31
- * Name of the story
32
- */
33
- name: string;
38
+ stories?: Array<
39
+ {
40
+ /**
41
+ * Name of the story
42
+ */
43
+ name: string;
34
44
 
35
- /**
36
- * Description of the story
37
- */
38
- description?: string;
45
+ /**
46
+ * Props to pass to the component
47
+ */
48
+ args?: T extends NovaTemplate ? undefined : Partial<T>;
39
49
 
40
- /**
41
- * Props to pass to the component
42
- */
43
- args?: Partial<T>;
44
-
45
- /**
46
- * Template to render the component with the args passed in the story args object above (optional)
47
- */
48
- template: any;
49
- }>;
50
+ /**
51
+ * Template to render the component with the args passed in the story args
52
+ * object above (optional)
53
+ */
54
+ template: JSX.Element;
55
+ } & StoryDescription<T>
56
+ >;
50
57
  }
58
+
59
+ type StoryDescription<T> = T extends NovaTemplate
60
+ ? {
61
+ /**
62
+ * Description of the story, required for template stories
63
+ */
64
+ description: string;
65
+ }
66
+ : {
67
+ /**
68
+ * Description of the story, leave blank to automatically infer from prop
69
+ * descriptions
70
+ */
71
+ description?: string;
72
+ };
@@ -0,0 +1,3 @@
1
+ import type { NovaDocs, NovaTemplate } from '../nova-docs';
2
+ declare const NavigationDocs: NovaDocs<NovaTemplate>;
3
+ export default NavigationDocs;