@nova-design-system/nova-webcomponents 3.21.0 → 3.21.1-beta.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 (487) hide show
  1. package/dist/cjs/{grow.animation-f1cef0ad.js → grow.animation-69832995.js} +29 -1
  2. package/dist/cjs/grow.animation-69832995.js.map +1 -0
  3. package/dist/cjs/index-93d3b2f8.js +40 -0
  4. package/dist/cjs/index.cjs.js +2 -3
  5. package/dist/cjs/index.cjs.js.map +1 -1
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/native.cjs.js +1 -1
  8. package/dist/cjs/nv-badge_2.cjs.entry.js +1 -1
  9. package/dist/cjs/nv-dialog.cjs.entry.js +53 -19
  10. package/dist/cjs/nv-dialog.cjs.entry.js.map +1 -1
  11. package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +2 -2
  12. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +4 -4
  13. package/dist/cjs/nv-fielddate.cjs.entry.js +14 -17
  14. package/dist/cjs/nv-fielddate.cjs.entry.js.map +1 -1
  15. package/dist/cjs/nv-fielddaterange.cjs.entry.js +7 -9
  16. package/dist/cjs/nv-fielddaterange.cjs.entry.js.map +1 -1
  17. package/dist/cjs/nv-fielddropdown.cjs.entry.js +14 -5
  18. package/dist/cjs/nv-fielddropdown.cjs.entry.js.map +1 -1
  19. package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +2 -2
  20. package/dist/cjs/nv-fielddropdownitem.cjs.entry.js.map +1 -1
  21. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +1 -1
  22. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js.map +1 -1
  23. package/dist/cjs/nv-fieldnumber.cjs.entry.js +3 -3
  24. package/dist/cjs/nv-fieldpassword.cjs.entry.js +3 -3
  25. package/dist/cjs/nv-fieldradio.cjs.entry.js +3 -3
  26. package/dist/cjs/nv-fieldselect.cjs.entry.js +5 -5
  27. package/dist/cjs/nv-fieldslider.cjs.entry.js +3 -3
  28. package/dist/cjs/nv-fieldtext.cjs.entry.js +3 -3
  29. package/dist/cjs/nv-fieldtextarea.cjs.entry.js +3 -3
  30. package/dist/cjs/nv-fieldtime.cjs.entry.js +3 -3
  31. package/dist/cjs/nv-icon.cjs.entry.js +1 -1
  32. package/dist/cjs/nv-iconbutton_2.cjs.entry.js +2 -2
  33. package/dist/cjs/nv-menu.cjs.entry.js +1 -1
  34. package/dist/cjs/nv-menuitem.cjs.entry.js +1 -1
  35. package/dist/cjs/nv-notification-bullet.cjs.entry.js +79 -0
  36. package/dist/cjs/nv-notification-bullet.cjs.entry.js.map +1 -0
  37. package/dist/cjs/nv-notification.cjs.entry.js +1 -1
  38. package/dist/cjs/nv-notificationcontainer.cjs.entry.js +1 -1
  39. package/dist/cjs/nv-popover.cjs.entry.js +10 -11
  40. package/dist/cjs/nv-popover.cjs.entry.js.map +1 -1
  41. package/dist/cjs/nv-row.cjs.entry.js +1 -1
  42. package/dist/cjs/nv-sidebar.cjs.entry.js +179 -0
  43. package/dist/cjs/nv-sidebar.cjs.entry.js.map +1 -0
  44. package/dist/cjs/nv-sidebarcontent.cjs.entry.js +24 -0
  45. package/dist/cjs/nv-sidebarcontent.cjs.entry.js.map +1 -0
  46. package/dist/cjs/nv-sidebardivider.cjs.entry.js +24 -0
  47. package/dist/cjs/nv-sidebardivider.cjs.entry.js.map +1 -0
  48. package/dist/cjs/nv-sidebarfooter.cjs.entry.js +24 -0
  49. package/dist/cjs/nv-sidebarfooter.cjs.entry.js.map +1 -0
  50. package/dist/cjs/nv-sidebargroup.cjs.entry.js +25 -0
  51. package/dist/cjs/nv-sidebargroup.cjs.entry.js.map +1 -0
  52. package/dist/cjs/nv-sidebarheader.cjs.entry.js +24 -0
  53. package/dist/cjs/nv-sidebarheader.cjs.entry.js.map +1 -0
  54. package/dist/cjs/nv-sidebarlogo.cjs.entry.js +34 -0
  55. package/dist/cjs/nv-sidebarlogo.cjs.entry.js.map +1 -0
  56. package/dist/cjs/nv-sidebarnavitem.cjs.entry.js +299 -0
  57. package/dist/cjs/nv-sidebarnavitem.cjs.entry.js.map +1 -0
  58. package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js +37 -0
  59. package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js.map +1 -0
  60. package/dist/cjs/nv-split.cjs.entry.js +1 -1
  61. package/dist/cjs/nv-stack.cjs.entry.js +1 -1
  62. package/dist/cjs/nv-table.cjs.entry.js +1 -1
  63. package/dist/cjs/nv-tableheader.cjs.entry.js +1 -1
  64. package/dist/cjs/nv-toggle.cjs.entry.js +2 -2
  65. package/dist/cjs/nv-togglebutton.cjs.entry.js +1 -1
  66. package/dist/cjs/nv-togglebuttongroup.cjs.entry.js +1 -1
  67. package/dist/cjs/nv-tooltip.cjs.entry.js +1 -1
  68. package/dist/collection/collection-manifest.json +10 -0
  69. package/dist/collection/components/nv-dialog/nv-dialog.css +29 -22
  70. package/dist/collection/components/nv-dialog/nv-dialog.docs.js +14 -1
  71. package/dist/collection/components/nv-dialog/nv-dialog.docs.js.map +1 -1
  72. package/dist/collection/components/nv-dialog/nv-dialog.js +47 -21
  73. package/dist/collection/components/nv-dialog/nv-dialog.js.map +1 -1
  74. package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +1 -1
  75. package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
  76. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
  77. package/dist/collection/components/nv-fielddate/nv-fielddate.js +20 -17
  78. package/dist/collection/components/nv-fielddate/nv-fielddate.js.map +1 -1
  79. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +7 -9
  80. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js.map +1 -1
  81. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +13 -4
  82. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js.map +1 -1
  83. package/dist/collection/components/nv-fielddropdown/styles/nv-fielddropdown.css +24 -18
  84. package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
  85. package/dist/collection/components/nv-fielddropdownitem/styles/nv-fielddropdownitem.css +5 -3
  86. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
  87. package/dist/collection/components/nv-fieldmultiselect/styles/nv-fieldmultiselect.css +3 -1
  88. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +3 -3
  89. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +3 -3
  90. package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
  91. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
  92. package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
  93. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +3 -3
  94. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
  95. package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +3 -3
  96. package/dist/collection/components/nv-icon/nv-icon.js +1 -1
  97. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
  98. package/dist/collection/components/nv-loader/nv-loader.js +1 -1
  99. package/dist/collection/components/nv-menu/nv-menu.js +1 -1
  100. package/dist/collection/components/nv-menuitem/nv-menuitem.js +1 -1
  101. package/dist/collection/components/nv-notification/nv-notification.js +1 -1
  102. package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.docs.js +68 -0
  103. package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.docs.js.map +1 -0
  104. package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.js +189 -0
  105. package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.js.map +1 -0
  106. package/dist/collection/components/nv-notification-bullet/styles/nv-notification-bullet.css +80 -0
  107. package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.js +1 -1
  108. package/dist/collection/components/nv-popover/nv-popover.js +1 -1
  109. package/dist/collection/components/nv-row/nv-row.js +1 -1
  110. package/dist/collection/components/nv-sidebar/nv-sidebar.docs.js +37 -0
  111. package/dist/collection/components/nv-sidebar/nv-sidebar.docs.js.map +1 -0
  112. package/dist/collection/components/nv-sidebar/nv-sidebar.js +309 -0
  113. package/dist/collection/components/nv-sidebar/nv-sidebar.js.map +1 -0
  114. package/dist/collection/components/nv-sidebar/styles/nv-sidebar.css +73 -0
  115. package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.css +7 -0
  116. package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.docs.js +6 -0
  117. package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.docs.js.map +1 -0
  118. package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.js +24 -0
  119. package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.js.map +1 -0
  120. package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.css +6 -0
  121. package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.docs.js +6 -0
  122. package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.docs.js.map +1 -0
  123. package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.js +23 -0
  124. package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.js.map +1 -0
  125. package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.css +4 -0
  126. package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.docs.js +6 -0
  127. package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.docs.js.map +1 -0
  128. package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.js +25 -0
  129. package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.js.map +1 -0
  130. package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.css +17 -0
  131. package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.docs.js +6 -0
  132. package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.docs.js.map +1 -0
  133. package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.js +48 -0
  134. package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.js.map +1 -0
  135. package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.css +3 -0
  136. package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.docs.js +6 -0
  137. package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.docs.js.map +1 -0
  138. package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.js +25 -0
  139. package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.js.map +1 -0
  140. package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.docs.js +6 -0
  141. package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.docs.js.map +1 -0
  142. package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.js +97 -0
  143. package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.js.map +1 -0
  144. package/dist/collection/components/nv-sidebarlogo/styles/nv-sidebarlogo.css +47 -0
  145. package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.docs.js +6 -0
  146. package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.docs.js.map +1 -0
  147. package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js +422 -0
  148. package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js.map +1 -0
  149. package/dist/collection/components/nv-sidebarnavitem/styles/nv-sidebarnavitem.css +114 -0
  150. package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.docs.js +6 -0
  151. package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.docs.js.map +1 -0
  152. package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js +64 -0
  153. package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js.map +1 -0
  154. package/dist/collection/components/nv-sidebarnavsubitem/styles/nv-sidebarnavsubitem.css +73 -0
  155. package/dist/collection/components/nv-split/nv-split.js +1 -1
  156. package/dist/collection/components/nv-stack/nv-stack.js +1 -1
  157. package/dist/collection/components/nv-table/nv-table.js +1 -1
  158. package/dist/collection/components/nv-tableheader/nv-tableheader.js +1 -1
  159. package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
  160. package/dist/collection/components/nv-togglebutton/nv-togglebutton.js +1 -1
  161. package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.js +1 -1
  162. package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
  163. package/dist/components/index.js +2 -2
  164. package/dist/components/nv-accordion-item.js +1 -1
  165. package/dist/components/nv-accordion.js +4 -4
  166. package/dist/components/nv-alert.js +1 -1
  167. package/dist/components/nv-avatar.js +1 -1
  168. package/dist/components/nv-badge.js +1 -1
  169. package/dist/components/nv-breadcrumb.js +2 -2
  170. package/dist/components/nv-button.js +1 -1
  171. package/dist/components/nv-datagrid.js +2 -2
  172. package/dist/components/nv-dialog.js +57 -23
  173. package/dist/components/nv-dialog.js.map +1 -1
  174. package/dist/components/nv-dialogfooter.js +1 -1
  175. package/dist/components/nv-dialogheader.js +1 -1
  176. package/dist/components/nv-fieldcheckbox.js +1 -1
  177. package/dist/components/nv-fielddate.js +19 -22
  178. package/dist/components/nv-fielddate.js.map +1 -1
  179. package/dist/components/nv-fielddaterange.js +11 -13
  180. package/dist/components/nv-fielddaterange.js.map +1 -1
  181. package/dist/components/nv-fielddropdown.js +19 -10
  182. package/dist/components/nv-fielddropdown.js.map +1 -1
  183. package/dist/components/nv-fielddropdownitem.js +1 -1
  184. package/dist/components/nv-fielddropdownitemcheck.js +1 -1
  185. package/dist/components/nv-fieldmultiselect.js +8 -8
  186. package/dist/components/nv-fieldmultiselect.js.map +1 -1
  187. package/dist/components/nv-fieldnumber.js +1 -1
  188. package/dist/components/nv-fieldpassword.js +6 -6
  189. package/dist/components/nv-fieldradio.js +3 -3
  190. package/dist/components/nv-fieldselect.js +8 -8
  191. package/dist/components/nv-fieldslider.js +7 -7
  192. package/dist/components/nv-fieldtext.js +1 -1
  193. package/dist/components/nv-fieldtextarea.js +3 -3
  194. package/dist/components/nv-fieldtime.js +7 -7
  195. package/dist/components/nv-icon.js +1 -1
  196. package/dist/components/nv-iconbutton.js +1 -1
  197. package/dist/components/nv-loader.js +1 -1
  198. package/dist/components/nv-menu.js +4 -4
  199. package/dist/components/nv-menuitem.js +1 -1
  200. package/dist/components/nv-notification-bullet.d.ts +11 -0
  201. package/dist/components/nv-notification-bullet.js +8 -0
  202. package/dist/components/nv-notification-bullet.js.map +1 -0
  203. package/dist/components/nv-notification.js +2 -2
  204. package/dist/components/nv-notificationcontainer.js +1 -1
  205. package/dist/components/nv-popover.js +1 -1
  206. package/dist/components/nv-row.js +1 -1
  207. package/dist/components/nv-sidebar.d.ts +11 -0
  208. package/dist/components/nv-sidebar.js +208 -0
  209. package/dist/components/nv-sidebar.js.map +1 -0
  210. package/dist/components/nv-sidebarcontent.d.ts +11 -0
  211. package/dist/components/nv-sidebarcontent.js +38 -0
  212. package/dist/components/nv-sidebarcontent.js.map +1 -0
  213. package/dist/components/nv-sidebardivider.d.ts +11 -0
  214. package/dist/components/nv-sidebardivider.js +38 -0
  215. package/dist/components/nv-sidebardivider.js.map +1 -0
  216. package/dist/components/nv-sidebarfooter.d.ts +11 -0
  217. package/dist/components/nv-sidebarfooter.js +38 -0
  218. package/dist/components/nv-sidebarfooter.js.map +1 -0
  219. package/dist/components/nv-sidebargroup.d.ts +11 -0
  220. package/dist/components/nv-sidebargroup.js +41 -0
  221. package/dist/components/nv-sidebargroup.js.map +1 -0
  222. package/dist/components/nv-sidebarheader.d.ts +11 -0
  223. package/dist/components/nv-sidebarheader.js +38 -0
  224. package/dist/components/nv-sidebarheader.js.map +1 -0
  225. package/dist/components/nv-sidebarlogo.d.ts +11 -0
  226. package/dist/components/nv-sidebarlogo.js +52 -0
  227. package/dist/components/nv-sidebarlogo.js.map +1 -0
  228. package/dist/components/nv-sidebarnavitem.d.ts +11 -0
  229. package/dist/components/nv-sidebarnavitem.js +335 -0
  230. package/dist/components/nv-sidebarnavitem.js.map +1 -0
  231. package/dist/components/nv-sidebarnavsubitem.d.ts +11 -0
  232. package/dist/components/nv-sidebarnavsubitem.js +53 -0
  233. package/dist/components/nv-sidebarnavsubitem.js.map +1 -0
  234. package/dist/components/nv-split.js +1 -1
  235. package/dist/components/nv-stack.js +1 -1
  236. package/dist/components/nv-table.js +1 -1
  237. package/dist/components/nv-tableheader.js +4 -4
  238. package/dist/components/nv-toggle.js +2 -2
  239. package/dist/components/nv-togglebutton.js +1 -1
  240. package/dist/components/nv-togglebuttongroup.js +1 -1
  241. package/dist/components/nv-tooltip.js +1 -1
  242. package/dist/components/{p-61382072.js → p-20a1c769.js} +2 -2
  243. package/dist/components/{p-61382072.js.map → p-20a1c769.js.map} +1 -1
  244. package/dist/components/{p-a6c29711.js → p-2d7d3aa2.js} +3 -3
  245. package/dist/components/{p-a6c29711.js.map → p-2d7d3aa2.js.map} +1 -1
  246. package/dist/components/{p-643d7802.js → p-439c38c3.js} +3 -3
  247. package/dist/components/{p-643d7802.js.map → p-439c38c3.js.map} +1 -1
  248. package/dist/components/{p-429e01f3.js → p-583b3d89.js} +2 -2
  249. package/dist/components/{p-429e01f3.js.map → p-583b3d89.js.map} +1 -1
  250. package/dist/components/{p-c4d20cc9.js → p-5f78a78f.js} +3 -3
  251. package/dist/components/{p-c4d20cc9.js.map → p-5f78a78f.js.map} +1 -1
  252. package/dist/components/{p-4799b6c3.js → p-62f91b46.js} +3 -4
  253. package/dist/components/p-62f91b46.js.map +1 -0
  254. package/dist/components/{p-5c6b5444.js → p-7214f13f.js} +4 -4
  255. package/dist/components/{p-5c6b5444.js.map → p-7214f13f.js.map} +1 -1
  256. package/dist/components/{p-0bfe8a47.js → p-743b3452.js} +2 -2
  257. package/dist/components/{p-0bfe8a47.js.map → p-743b3452.js.map} +1 -1
  258. package/dist/components/p-82c9b7cc.js +96 -0
  259. package/dist/components/p-82c9b7cc.js.map +1 -0
  260. package/dist/components/{p-00347aae.js → p-94ad267c.js} +5 -5
  261. package/dist/components/{p-00347aae.js.map → p-94ad267c.js.map} +1 -1
  262. package/dist/components/{p-222136c2.js → p-996438a2.js} +2 -2
  263. package/dist/components/{p-222136c2.js.map → p-996438a2.js.map} +1 -1
  264. package/dist/components/{p-4697bd56.js → p-996ed843.js} +27 -2
  265. package/dist/components/p-996ed843.js.map +1 -0
  266. package/dist/components/{p-2062ba39.js → p-af663ff5.js} +2 -2
  267. package/dist/components/{p-2062ba39.js.map → p-af663ff5.js.map} +1 -1
  268. package/dist/components/{p-c69f5a37.js → p-bcf9d309.js} +5 -5
  269. package/dist/components/{p-c69f5a37.js.map → p-bcf9d309.js.map} +1 -1
  270. package/dist/components/{p-d1d4cc45.js → p-cc77f8fe.js} +7 -7
  271. package/dist/components/{p-d1d4cc45.js.map → p-cc77f8fe.js.map} +1 -1
  272. package/dist/components/{p-8ce28cff.js → p-d9c1cd97.js} +4 -4
  273. package/dist/components/{p-8ce28cff.js.map → p-d9c1cd97.js.map} +1 -1
  274. package/dist/components/{p-0d5ed1d7.js → p-e1f82896.js} +5 -5
  275. package/dist/components/{p-0d5ed1d7.js.map → p-e1f82896.js.map} +1 -1
  276. package/dist/components/{p-86588fba.js → p-f6ffffd9.js} +4 -4
  277. package/dist/components/{p-86588fba.js.map → p-f6ffffd9.js.map} +1 -1
  278. package/dist/esm/{grow.animation-03fa5c19.js → grow.animation-24ad5cf8.js} +27 -2
  279. package/dist/esm/grow.animation-24ad5cf8.js.map +1 -0
  280. package/dist/esm/index-dc2723f3.js +40 -0
  281. package/dist/esm/index.js +2 -2
  282. package/dist/esm/loader.js +1 -1
  283. package/dist/esm/native.js +1 -1
  284. package/dist/esm/nv-badge_2.entry.js +1 -1
  285. package/dist/esm/nv-dialog.entry.js +51 -17
  286. package/dist/esm/nv-dialog.entry.js.map +1 -1
  287. package/dist/esm/nv-dialogfooter_2.entry.js +2 -2
  288. package/dist/esm/nv-fieldcheckbox.entry.js +4 -4
  289. package/dist/esm/nv-fielddate.entry.js +14 -17
  290. package/dist/esm/nv-fielddate.entry.js.map +1 -1
  291. package/dist/esm/nv-fielddaterange.entry.js +7 -9
  292. package/dist/esm/nv-fielddaterange.entry.js.map +1 -1
  293. package/dist/esm/nv-fielddropdown.entry.js +14 -5
  294. package/dist/esm/nv-fielddropdown.entry.js.map +1 -1
  295. package/dist/esm/nv-fielddropdownitem.entry.js +2 -2
  296. package/dist/esm/nv-fielddropdownitem.entry.js.map +1 -1
  297. package/dist/esm/nv-fieldmultiselect.entry.js +1 -1
  298. package/dist/esm/nv-fieldmultiselect.entry.js.map +1 -1
  299. package/dist/esm/nv-fieldnumber.entry.js +3 -3
  300. package/dist/esm/nv-fieldpassword.entry.js +3 -3
  301. package/dist/esm/nv-fieldradio.entry.js +3 -3
  302. package/dist/esm/nv-fieldselect.entry.js +5 -5
  303. package/dist/esm/nv-fieldslider.entry.js +3 -3
  304. package/dist/esm/nv-fieldtext.entry.js +3 -3
  305. package/dist/esm/nv-fieldtextarea.entry.js +3 -3
  306. package/dist/esm/nv-fieldtime.entry.js +3 -3
  307. package/dist/esm/nv-icon.entry.js +1 -1
  308. package/dist/esm/nv-iconbutton_2.entry.js +2 -2
  309. package/dist/esm/nv-menu.entry.js +1 -1
  310. package/dist/esm/nv-menuitem.entry.js +1 -1
  311. package/dist/esm/nv-notification-bullet.entry.js +75 -0
  312. package/dist/esm/nv-notification-bullet.entry.js.map +1 -0
  313. package/dist/esm/nv-notification.entry.js +1 -1
  314. package/dist/esm/nv-notificationcontainer.entry.js +1 -1
  315. package/dist/esm/nv-popover.entry.js +2 -3
  316. package/dist/esm/nv-popover.entry.js.map +1 -1
  317. package/dist/esm/nv-row.entry.js +1 -1
  318. package/dist/esm/nv-sidebar.entry.js +175 -0
  319. package/dist/esm/nv-sidebar.entry.js.map +1 -0
  320. package/dist/esm/nv-sidebarcontent.entry.js +20 -0
  321. package/dist/esm/nv-sidebarcontent.entry.js.map +1 -0
  322. package/dist/esm/nv-sidebardivider.entry.js +20 -0
  323. package/dist/esm/nv-sidebardivider.entry.js.map +1 -0
  324. package/dist/esm/nv-sidebarfooter.entry.js +20 -0
  325. package/dist/esm/nv-sidebarfooter.entry.js.map +1 -0
  326. package/dist/esm/nv-sidebargroup.entry.js +21 -0
  327. package/dist/esm/nv-sidebargroup.entry.js.map +1 -0
  328. package/dist/esm/nv-sidebarheader.entry.js +20 -0
  329. package/dist/esm/nv-sidebarheader.entry.js.map +1 -0
  330. package/dist/esm/nv-sidebarlogo.entry.js +30 -0
  331. package/dist/esm/nv-sidebarlogo.entry.js.map +1 -0
  332. package/dist/esm/nv-sidebarnavitem.entry.js +295 -0
  333. package/dist/esm/nv-sidebarnavitem.entry.js.map +1 -0
  334. package/dist/esm/nv-sidebarnavsubitem.entry.js +33 -0
  335. package/dist/esm/nv-sidebarnavsubitem.entry.js.map +1 -0
  336. package/dist/esm/nv-split.entry.js +1 -1
  337. package/dist/esm/nv-stack.entry.js +1 -1
  338. package/dist/esm/nv-table.entry.js +1 -1
  339. package/dist/esm/nv-tableheader.entry.js +1 -1
  340. package/dist/esm/nv-toggle.entry.js +2 -2
  341. package/dist/esm/nv-togglebutton.entry.js +1 -1
  342. package/dist/esm/nv-togglebuttongroup.entry.js +1 -1
  343. package/dist/esm/nv-tooltip.entry.js +1 -1
  344. package/dist/native/index.esm.js +1 -1
  345. package/dist/native/native.css +1 -1
  346. package/dist/native/native.esm.js +1 -1
  347. package/dist/native/native.esm.js.map +1 -1
  348. package/dist/native/p-02debfd0.entry.js +2 -0
  349. package/dist/native/p-02debfd0.entry.js.map +1 -0
  350. package/dist/native/{p-859bf9ad.entry.js → p-1ee225be.entry.js} +2 -2
  351. package/dist/native/p-1ee225be.entry.js.map +1 -0
  352. package/dist/native/p-21dde805.entry.js +2 -0
  353. package/dist/native/{p-56ed7306.entry.js → p-242cdeac.entry.js} +2 -2
  354. package/dist/native/p-2ba7b6f2.entry.js +2 -0
  355. package/dist/native/p-2ba7b6f2.entry.js.map +1 -0
  356. package/dist/native/{p-b4382c94.entry.js → p-2d363bd9.entry.js} +2 -2
  357. package/dist/native/{p-b02c896a.entry.js → p-31a61359.entry.js} +2 -2
  358. package/dist/native/p-32c16132.entry.js +2 -0
  359. package/dist/native/p-32c16132.entry.js.map +1 -0
  360. package/dist/native/p-35263b61.entry.js +2 -0
  361. package/dist/native/p-35263b61.entry.js.map +1 -0
  362. package/dist/native/{p-9950e075.entry.js → p-3df31ed5.entry.js} +2 -2
  363. package/dist/native/{p-c901693d.entry.js → p-4bf63654.entry.js} +2 -2
  364. package/dist/native/p-6005ff69.entry.js +2 -0
  365. package/dist/native/p-6005ff69.entry.js.map +1 -0
  366. package/dist/native/p-63348887.entry.js +2 -0
  367. package/dist/native/p-63348887.entry.js.map +1 -0
  368. package/dist/native/{p-587d94f3.entry.js → p-6fb6b9e4.entry.js} +2 -2
  369. package/dist/native/{p-a2f58133.entry.js → p-7a2f37e2.entry.js} +2 -2
  370. package/dist/native/{p-973f5db2.entry.js → p-7b7bbac7.entry.js} +2 -2
  371. package/dist/native/{p-4de8697c.entry.js → p-87deff5a.entry.js} +2 -2
  372. package/dist/native/p-8bee34e6.entry.js +2 -0
  373. package/dist/native/p-8bee34e6.entry.js.map +1 -0
  374. package/dist/native/{p-6a418ec4.entry.js → p-93d80b03.entry.js} +2 -2
  375. package/dist/native/{p-ae5be175.entry.js → p-98cab7d2.entry.js} +2 -2
  376. package/dist/native/p-996ed843.js +2 -0
  377. package/dist/native/p-996ed843.js.map +1 -0
  378. package/dist/native/{p-fa3e588e.entry.js → p-9e36eebc.entry.js} +2 -2
  379. package/dist/native/{p-2a7f80f4.entry.js → p-a4a0021c.entry.js} +2 -2
  380. package/dist/native/{p-17666092.entry.js → p-a6d8d9a1.entry.js} +2 -2
  381. package/dist/native/{p-eb74feb7.entry.js → p-a9a7f1b8.entry.js} +2 -2
  382. package/dist/native/p-ad5e12d2.entry.js +2 -0
  383. package/dist/native/{p-e6f24210.entry.js.map → p-ad5e12d2.entry.js.map} +1 -1
  384. package/dist/native/{p-fffbd3c1.entry.js → p-aefd32f0.entry.js} +2 -2
  385. package/dist/native/{p-2b4cf4b8.entry.js → p-b369a073.entry.js} +2 -2
  386. package/dist/native/p-b3d6e9f4.entry.js +2 -0
  387. package/dist/native/{p-c9fea0df.entry.js.map → p-b3d6e9f4.entry.js.map} +1 -1
  388. package/dist/native/{p-c4baad6e.entry.js → p-b4128eb5.entry.js} +2 -2
  389. package/dist/native/p-b5e752f5.entry.js +2 -0
  390. package/dist/native/p-b5e752f5.entry.js.map +1 -0
  391. package/dist/native/p-b860d0d3.entry.js +7 -0
  392. package/dist/native/p-b860d0d3.entry.js.map +1 -0
  393. package/dist/native/{p-9c432751.entry.js → p-b97f392a.entry.js} +2 -2
  394. package/dist/native/{p-d63689da.entry.js → p-bd91e0bb.entry.js} +2 -2
  395. package/dist/native/p-bd91e0bb.entry.js.map +1 -0
  396. package/dist/native/{p-a026654f.entry.js → p-c37ab530.entry.js} +2 -2
  397. package/dist/native/{p-533e2530.entry.js → p-c4cd2860.entry.js} +2 -2
  398. package/dist/native/{p-bd9bf6a1.entry.js → p-d22a503b.entry.js} +2 -2
  399. package/dist/native/{p-f3c73492.entry.js → p-da76357c.entry.js} +2 -2
  400. package/dist/native/{p-d0db5e72.entry.js → p-dac1537a.entry.js} +2 -2
  401. package/dist/native/p-e688c905.entry.js +2 -0
  402. package/dist/native/{p-218135b1.entry.js.map → p-e688c905.entry.js.map} +1 -1
  403. package/dist/native/p-e7fdcb83.entry.js +2 -0
  404. package/dist/native/p-e7fdcb83.entry.js.map +1 -0
  405. package/dist/native/{p-0177409b.entry.js → p-e887bbf5.entry.js} +2 -2
  406. package/dist/native/p-f22ac722.entry.js +2 -0
  407. package/dist/native/p-f22ac722.entry.js.map +1 -0
  408. package/dist/native/p-f8a099a5.entry.js +2 -0
  409. package/dist/native/p-f8a099a5.entry.js.map +1 -0
  410. package/dist/types/components/nv-dialog/nv-dialog.d.ts +4 -2
  411. package/dist/types/components/nv-fielddate/nv-fielddate.d.ts +1 -1
  412. package/dist/types/components/nv-fielddropdown/nv-fielddropdown.d.ts +1 -0
  413. package/dist/types/components/nv-notification-bullet/nv-notification-bullet.d.ts +44 -0
  414. package/dist/types/components/nv-notification-bullet/nv-notification-bullet.docs.d.ts +4 -0
  415. package/dist/types/components/nv-sidebar/nv-sidebar.d.ts +64 -0
  416. package/dist/types/components/nv-sidebar/nv-sidebar.docs.d.ts +4 -0
  417. package/dist/types/components/nv-sidebarcontent/nv-sidebarcontent.d.ts +8 -0
  418. package/dist/types/components/nv-sidebarcontent/nv-sidebarcontent.docs.d.ts +4 -0
  419. package/dist/types/components/nv-sidebardivider/nv-sidebardivider.d.ts +7 -0
  420. package/dist/types/components/nv-sidebardivider/nv-sidebardivider.docs.d.ts +4 -0
  421. package/dist/types/components/nv-sidebarfooter/nv-sidebarfooter.d.ts +9 -0
  422. package/dist/types/components/nv-sidebarfooter/nv-sidebarfooter.docs.d.ts +4 -0
  423. package/dist/types/components/nv-sidebargroup/nv-sidebargroup.d.ts +13 -0
  424. package/dist/types/components/nv-sidebargroup/nv-sidebargroup.docs.d.ts +4 -0
  425. package/dist/types/components/nv-sidebarheader/nv-sidebarheader.d.ts +9 -0
  426. package/dist/types/components/nv-sidebarheader/nv-sidebarheader.docs.d.ts +4 -0
  427. package/dist/types/components/nv-sidebarlogo/nv-sidebarlogo.d.ts +26 -0
  428. package/dist/types/components/nv-sidebarlogo/nv-sidebarlogo.docs.d.ts +4 -0
  429. package/dist/types/components/nv-sidebarnavitem/nv-sidebarnavitem.d.ts +62 -0
  430. package/dist/types/components/nv-sidebarnavitem/nv-sidebarnavitem.docs.d.ts +4 -0
  431. package/dist/types/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.d.ts +15 -0
  432. package/dist/types/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.docs.d.ts +4 -0
  433. package/dist/types/components.d.ts +502 -0
  434. package/dist/vscode-data.json +1758 -0
  435. package/hydrate/index.js +960 -103
  436. package/hydrate/index.mjs +960 -103
  437. package/package.json +41 -5
  438. package/dist/cjs/events.utils-52846a7d.js +0 -32
  439. package/dist/cjs/events.utils-52846a7d.js.map +0 -1
  440. package/dist/cjs/grow.animation-f1cef0ad.js.map +0 -1
  441. package/dist/components/p-4697bd56.js.map +0 -1
  442. package/dist/components/p-4799b6c3.js.map +0 -1
  443. package/dist/components/p-d429a343.js +0 -28
  444. package/dist/components/p-d429a343.js.map +0 -1
  445. package/dist/esm/events.utils-fe1d907f.js +0 -28
  446. package/dist/esm/events.utils-fe1d907f.js.map +0 -1
  447. package/dist/esm/grow.animation-03fa5c19.js.map +0 -1
  448. package/dist/native/p-144d0f8a.entry.js +0 -2
  449. package/dist/native/p-144d0f8a.entry.js.map +0 -1
  450. package/dist/native/p-218135b1.entry.js +0 -2
  451. package/dist/native/p-44ba73dc.entry.js +0 -7
  452. package/dist/native/p-44ba73dc.entry.js.map +0 -1
  453. package/dist/native/p-4697bd56.js +0 -2
  454. package/dist/native/p-4697bd56.js.map +0 -1
  455. package/dist/native/p-57420a2f.entry.js +0 -2
  456. package/dist/native/p-859bf9ad.entry.js.map +0 -1
  457. package/dist/native/p-c9fea0df.entry.js +0 -2
  458. package/dist/native/p-d429a343.js +0 -2
  459. package/dist/native/p-d429a343.js.map +0 -1
  460. package/dist/native/p-d63689da.entry.js.map +0 -1
  461. package/dist/native/p-e6f24210.entry.js +0 -2
  462. /package/dist/native/{p-57420a2f.entry.js.map → p-21dde805.entry.js.map} +0 -0
  463. /package/dist/native/{p-56ed7306.entry.js.map → p-242cdeac.entry.js.map} +0 -0
  464. /package/dist/native/{p-b4382c94.entry.js.map → p-2d363bd9.entry.js.map} +0 -0
  465. /package/dist/native/{p-b02c896a.entry.js.map → p-31a61359.entry.js.map} +0 -0
  466. /package/dist/native/{p-9950e075.entry.js.map → p-3df31ed5.entry.js.map} +0 -0
  467. /package/dist/native/{p-c901693d.entry.js.map → p-4bf63654.entry.js.map} +0 -0
  468. /package/dist/native/{p-587d94f3.entry.js.map → p-6fb6b9e4.entry.js.map} +0 -0
  469. /package/dist/native/{p-a2f58133.entry.js.map → p-7a2f37e2.entry.js.map} +0 -0
  470. /package/dist/native/{p-973f5db2.entry.js.map → p-7b7bbac7.entry.js.map} +0 -0
  471. /package/dist/native/{p-4de8697c.entry.js.map → p-87deff5a.entry.js.map} +0 -0
  472. /package/dist/native/{p-6a418ec4.entry.js.map → p-93d80b03.entry.js.map} +0 -0
  473. /package/dist/native/{p-ae5be175.entry.js.map → p-98cab7d2.entry.js.map} +0 -0
  474. /package/dist/native/{p-fa3e588e.entry.js.map → p-9e36eebc.entry.js.map} +0 -0
  475. /package/dist/native/{p-2a7f80f4.entry.js.map → p-a4a0021c.entry.js.map} +0 -0
  476. /package/dist/native/{p-17666092.entry.js.map → p-a6d8d9a1.entry.js.map} +0 -0
  477. /package/dist/native/{p-eb74feb7.entry.js.map → p-a9a7f1b8.entry.js.map} +0 -0
  478. /package/dist/native/{p-fffbd3c1.entry.js.map → p-aefd32f0.entry.js.map} +0 -0
  479. /package/dist/native/{p-2b4cf4b8.entry.js.map → p-b369a073.entry.js.map} +0 -0
  480. /package/dist/native/{p-c4baad6e.entry.js.map → p-b4128eb5.entry.js.map} +0 -0
  481. /package/dist/native/{p-9c432751.entry.js.map → p-b97f392a.entry.js.map} +0 -0
  482. /package/dist/native/{p-a026654f.entry.js.map → p-c37ab530.entry.js.map} +0 -0
  483. /package/dist/native/{p-533e2530.entry.js.map → p-c4cd2860.entry.js.map} +0 -0
  484. /package/dist/native/{p-bd9bf6a1.entry.js.map → p-d22a503b.entry.js.map} +0 -0
  485. /package/dist/native/{p-f3c73492.entry.js.map → p-da76357c.entry.js.map} +0 -0
  486. /package/dist/native/{p-d0db5e72.entry.js.map → p-dac1537a.entry.js.map} +0 -0
  487. /package/dist/native/{p-0177409b.entry.js.map → p-e887bbf5.entry.js.map} +0 -0
@@ -161,7 +161,7 @@ export class NvNotification {
161
161
  //#region RENDER
162
162
  render() {
163
163
  var _a, _b, _c;
164
- return (h(Host, { key: '46775401cabedd4ddc4b25d92c63411e9acb82dc', role: this.getAriaRole(), "aria-live": this.getAriaLive(), "aria-atomic": true, "aria-labelledby": (_a = this.getHeadingId()) !== null && _a !== void 0 ? _a : null, "aria-describedby": (_b = this.getMessageId()) !== null && _b !== void 0 ? _b : null, tabindex: "-1" }, h("div", { key: 'e9b66d76b129916e980a150c87fa57bb26323c43', "data-scope": "container", ref: el => (this.container = el) }, this.dismissible && (h("button", { key: 'd5a3b8eea45bf183228c4c8297e031252569e029', "data-scope": "dismiss", type: "button", onClick: this.dismiss.bind(this) }, h("nv-icon", { key: 'd5a8c1fe676259e40a2af7d3dab5d3b301b0583f', name: "x", size: "sm" }))), h("nv-icon", { key: '55b19299a45267b98cb8bea6f3a26c34da03a652', name: (_c = this.icon) !== null && _c !== void 0 ? _c : this.getDefaultIcon(), size: "md", "data-scope": "icon" }), h("div", { key: '4ec36ebdc8d45b0b381cae85f0b3768f9cbc5b73', "data-scope": "content" }, (this.heading || this.headingSlot) && (h("p", { key: 'b9dff96f37cddf2c1cd7c5fa78a20ae55e275db9', id: this.getHeadingId(), "data-scope": "heading" }, h("slot", { key: 'efd279084065fd729ab2b2a629b95405f5dedbc1', name: "heading" }, this.heading))), (this.message || this.messageSlot) && (h("p", { key: '0cdd307c0bf278475d817d385e2af1e946170864', id: this.getMessageId(), "data-scope": "message" }, h("slot", { key: 'f1b5ccc34f45cb7a65bc24868134ca21d9cf3df3', name: "content" }, this.message))), this.actionsSlot && (h("div", { key: '9cced40d8f68f6b755c7a3b90e7c1899bcb95c56', "data-scope": "actions" }, h("slot", { key: 'e30bd73510f7e39e41db8bf395e99301ad53ec45', name: "actions" })))))));
164
+ return (h(Host, { key: '10e49ace93a23660383f9bbfb45460e610320db3', role: this.getAriaRole(), "aria-live": this.getAriaLive(), "aria-atomic": true, "aria-labelledby": (_a = this.getHeadingId()) !== null && _a !== void 0 ? _a : null, "aria-describedby": (_b = this.getMessageId()) !== null && _b !== void 0 ? _b : null, tabindex: "-1" }, h("div", { key: '1cce0d5c025e404ad641eed3c0ff07045db12de6', "data-scope": "container", ref: el => (this.container = el) }, this.dismissible && (h("button", { key: '64a9e8f95f51908ed82f5c832d5a9738420b574b', "data-scope": "dismiss", type: "button", onClick: this.dismiss.bind(this) }, h("nv-icon", { key: 'f4f5a742b862a52ebf7e2edc320e4521ad575a29', name: "x", size: "sm" }))), h("nv-icon", { key: 'a85552d6f9d81f67643f4a8c428464ed7af2ff90', name: (_c = this.icon) !== null && _c !== void 0 ? _c : this.getDefaultIcon(), size: "md", "data-scope": "icon" }), h("div", { key: 'bb7fd2fd626191f53b59507c3d5003369aaa2d70', "data-scope": "content" }, (this.heading || this.headingSlot) && (h("p", { key: 'ce333015dc488c8371d2dc90b97461888a28174e', id: this.getHeadingId(), "data-scope": "heading" }, h("slot", { key: '32c9d8c3c5a85a60e3993a5963ed019f5900e6c3', name: "heading" }, this.heading))), (this.message || this.messageSlot) && (h("p", { key: '08d57bf3058e3efcaf6d95de5754c34405ddddfb', id: this.getMessageId(), "data-scope": "message" }, h("slot", { key: 'f930fb38f00addf2911fc5401d906ee7c52b0920', name: "content" }, this.message))), this.actionsSlot && (h("div", { key: '983c60ec7fdf1ed85d2ef9d1a5c327d0aaf78013', "data-scope": "actions" }, h("slot", { key: '521bd4d20db65dc6025a9fb285599dbd7643bed0', name: "actions" })))))));
165
165
  }
166
166
  static get is() { return "nv-notification"; }
167
167
  static get originalStyleUrls() {
@@ -0,0 +1,68 @@
1
+ import { h } from "@stencil/core";
2
+ const NvNotificationBulletDocs = {
3
+ component: 'nv-notification-bullet',
4
+ badge: 'new',
5
+ stories: [
6
+ {
7
+ name: 'DefaultBrandHigh',
8
+ args: {
9
+ count: 7,
10
+ intention: 'brand',
11
+ emphasis: 'high',
12
+ },
13
+ template: (h("nv-notification-bullet", { "data-storybook-args": true })),
14
+ },
15
+ {
16
+ name: 'BrandLow',
17
+ args: {
18
+ count: 7,
19
+ intention: 'brand',
20
+ emphasis: 'low',
21
+ },
22
+ template: (h("nv-notification-bullet", { "data-storybook-args": true })),
23
+ },
24
+ {
25
+ name: 'NeutralHigh',
26
+ args: {
27
+ count: 7,
28
+ intention: 'neutral',
29
+ emphasis: 'high',
30
+ },
31
+ template: (h("nv-notification-bullet", { "data-storybook-args": true })),
32
+ },
33
+ {
34
+ name: 'NeutralLow',
35
+ args: {
36
+ count: 7,
37
+ intention: 'neutral',
38
+ emphasis: 'low',
39
+ },
40
+ template: (h("nv-notification-bullet", { "data-storybook-args": true })),
41
+ },
42
+ {
43
+ name: 'SizeReduced',
44
+ args: {
45
+ count: 7,
46
+ size: 'reduced',
47
+ },
48
+ template: (h("nv-notification-bullet", { "data-storybook-args": true })),
49
+ },
50
+ {
51
+ name: 'WithContrastingBorder',
52
+ args: {
53
+ count: 7,
54
+ contrastingBorder: true,
55
+ },
56
+ template: (h("nv-notification-bullet", { "data-storybook-args": true })),
57
+ },
58
+ {
59
+ name: 'Over99',
60
+ args: {
61
+ count: 150,
62
+ },
63
+ template: (h("nv-notification-bullet", { "data-storybook-args": true })),
64
+ },
65
+ ],
66
+ };
67
+ export default NvNotificationBulletDocs;
68
+ //# sourceMappingURL=nv-notification-bullet.docs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nv-notification-bullet.docs.js","sourceRoot":"","sources":["../../../src/components/nv-notification-bullet/nv-notification-bullet.docs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAIlC,MAAM,wBAAwB,GAA8C;IAC1E,SAAS,EAAE,wBAAwB;IACnC,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE;QACP;YACE,IAAI,EAAE,kBAAkB;YACxB,IAAI,EAAE;gBACJ,KAAK,EAAE,CAAC;gBACR,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,MAAM;aACjB;YACD,QAAQ,EAAE,CACR,4DAAqE,CACtE;SACF;QACD;YACE,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE;gBACJ,KAAK,EAAE,CAAC;gBACR,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,KAAK;aAChB;YACD,QAAQ,EAAE,CACR,4DAAqE,CACtE;SACF;QACD;YACE,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE;gBACJ,KAAK,EAAE,CAAC;gBACR,SAAS,EAAE,SAAS;gBACpB,QAAQ,EAAE,MAAM;aACjB;YACD,QAAQ,EAAE,CACR,4DAAqE,CACtE;SACF;QACD;YACE,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE;gBACJ,KAAK,EAAE,CAAC;gBACR,SAAS,EAAE,SAAS;gBACpB,QAAQ,EAAE,KAAK;aAChB;YACD,QAAQ,EAAE,CACR,4DAAqE,CACtE;SACF;QACD;YACE,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE;gBACJ,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,SAAS;aAChB;YACD,QAAQ,EAAE,CACR,4DAAqE,CACtE;SACF;QACD;YACE,IAAI,EAAE,uBAAuB;YAC7B,IAAI,EAAE;gBACJ,KAAK,EAAE,CAAC;gBACR,iBAAiB,EAAE,IAAI;aACxB;YACD,QAAQ,EAAE,CACR,4DAAqE,CACtE;SACF;QACD;YACE,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE;gBACJ,KAAK,EAAE,GAAG;aACX;YACD,QAAQ,EAAE,CACR,4DAAqE,CACtE;SACF;KACF;CACF,CAAC;AAEF,eAAe,wBAAwB,CAAC","sourcesContent":["import { h } from '@stencil/core';\nimport type { NovaDocs } from '../../nova-docs';\nimport { Components } from '../../components';\n\nconst NvNotificationBulletDocs: NovaDocs<Components.NvNotificationBullet> = {\n component: 'nv-notification-bullet',\n badge: 'new',\n stories: [\n {\n name: 'DefaultBrandHigh',\n args: {\n count: 7,\n intention: 'brand',\n emphasis: 'high',\n },\n template: (\n <nv-notification-bullet data-storybook-args></nv-notification-bullet>\n ),\n },\n {\n name: 'BrandLow',\n args: {\n count: 7,\n intention: 'brand',\n emphasis: 'low',\n },\n template: (\n <nv-notification-bullet data-storybook-args></nv-notification-bullet>\n ),\n },\n {\n name: 'NeutralHigh',\n args: {\n count: 7,\n intention: 'neutral',\n emphasis: 'high',\n },\n template: (\n <nv-notification-bullet data-storybook-args></nv-notification-bullet>\n ),\n },\n {\n name: 'NeutralLow',\n args: {\n count: 7,\n intention: 'neutral',\n emphasis: 'low',\n },\n template: (\n <nv-notification-bullet data-storybook-args></nv-notification-bullet>\n ),\n },\n {\n name: 'SizeReduced',\n args: {\n count: 7,\n size: 'reduced',\n },\n template: (\n <nv-notification-bullet data-storybook-args></nv-notification-bullet>\n ),\n },\n {\n name: 'WithContrastingBorder',\n args: {\n count: 7,\n contrastingBorder: true,\n },\n template: (\n <nv-notification-bullet data-storybook-args></nv-notification-bullet>\n ),\n },\n {\n name: 'Over99',\n args: {\n count: 150,\n },\n template: (\n <nv-notification-bullet data-storybook-args></nv-notification-bullet>\n ),\n },\n ],\n};\n\nexport default NvNotificationBulletDocs;\n"]}
@@ -0,0 +1,189 @@
1
+ import { Host, h } from "@stencil/core";
2
+ /**
3
+ * Notification bullet component for displaying notification counts in the sidebar.
4
+ * Automatically adapts its size when the sidebar is collapsed.
5
+ * Inherits intention and emphasis from parent nv-sidebar if not explicitly set.
6
+ */
7
+ export class NvNotificationBullet {
8
+ constructor() {
9
+ /**
10
+ * Determines the size of the notification bullet.
11
+ * - default: Normal size with text visible
12
+ * - reduced: Smaller size, text hidden (just a dot)
13
+ */
14
+ this.size = 'default';
15
+ /**
16
+ * Allows to add a border to add contrast on background.
17
+ */
18
+ this.contrastingBorder = false;
19
+ }
20
+ //#endregion PROPERTIES
21
+ /****************************************************************************/
22
+ //#region METHODS
23
+ getIntention() {
24
+ if (this.intention) {
25
+ return this.intention;
26
+ }
27
+ // Inherit from parent nv-sidebar
28
+ const sidebar = this.el.closest('nv-sidebar');
29
+ if (sidebar) {
30
+ const sidebarIntention = sidebar.getAttribute('notification-intention');
31
+ if (sidebarIntention === 'neutral' || sidebarIntention === 'brand') {
32
+ return sidebarIntention;
33
+ }
34
+ }
35
+ return 'brand'; // Default fallback
36
+ }
37
+ getEmphasis() {
38
+ if (this.emphasis) {
39
+ return this.emphasis;
40
+ }
41
+ // Inherit from parent nv-sidebar
42
+ const sidebar = this.el.closest('nv-sidebar');
43
+ if (sidebar) {
44
+ const sidebarEmphasis = sidebar.getAttribute('notification-emphasis');
45
+ if (sidebarEmphasis === 'high' || sidebarEmphasis === 'low') {
46
+ return sidebarEmphasis;
47
+ }
48
+ }
49
+ return 'high'; // Default fallback
50
+ }
51
+ //#region RENDER
52
+ render() {
53
+ var _a;
54
+ const displayCount = (_a = this.count) !== null && _a !== void 0 ? _a : 0;
55
+ const displayText = displayCount > 99 ? '99+' : String(displayCount);
56
+ if (displayCount <= 0) {
57
+ return null;
58
+ }
59
+ const sizeClass = this.size === 'reduced' ? 'nv-notification-bullet-reduced' : '';
60
+ const intention = this.getIntention();
61
+ const emphasis = this.getEmphasis();
62
+ const intentionClass = `nv-notification-bullet-${intention}`;
63
+ const emphasisClass = `nv-notification-bullet-${emphasis}`;
64
+ const borderClass = this.contrastingBorder
65
+ ? 'nv-notification-bullet-with-border'
66
+ : '';
67
+ return (h(Host, { class: `${intentionClass} ${borderClass ? 'nv-notification-bullet-with-cross-border' : ''}` }, h("span", { class: `nv-notification-bullet ${emphasisClass} ${sizeClass} ${borderClass}`, "aria-label": `${displayCount} notifications` }, displayText)));
68
+ }
69
+ static get is() { return "nv-notification-bullet"; }
70
+ static get originalStyleUrls() {
71
+ return {
72
+ "$": ["styles/nv-notification-bullet.scss"]
73
+ };
74
+ }
75
+ static get styleUrls() {
76
+ return {
77
+ "$": ["styles/nv-notification-bullet.css"]
78
+ };
79
+ }
80
+ static get properties() {
81
+ return {
82
+ "count": {
83
+ "type": "number",
84
+ "mutable": false,
85
+ "complexType": {
86
+ "original": "number",
87
+ "resolved": "number",
88
+ "references": {}
89
+ },
90
+ "required": false,
91
+ "optional": true,
92
+ "docs": {
93
+ "tags": [],
94
+ "text": "The number of notifications to display.\nIf 0 or not provided, the component will not be visible."
95
+ },
96
+ "getter": false,
97
+ "setter": false,
98
+ "attribute": "count",
99
+ "reflect": true
100
+ },
101
+ "intention": {
102
+ "type": "string",
103
+ "mutable": false,
104
+ "complexType": {
105
+ "original": "'neutral' | 'brand'",
106
+ "resolved": "\"brand\" | \"neutral\"",
107
+ "references": {}
108
+ },
109
+ "required": false,
110
+ "optional": true,
111
+ "docs": {
112
+ "tags": [{
113
+ "name": "deprecated",
114
+ "text": "Use notificationIntention prop on nv-sidebar instead. This prop is kept for backward compatibility but will be removed in a future version."
115
+ }],
116
+ "text": "Determines the type of the notification.\n- neutral: Uses neutral colors (gray)\n- brand: Uses brand colors (orange/teal depending on theme)\nIf not set, inherits from parent nv-sidebar's notificationIntention prop."
117
+ },
118
+ "getter": false,
119
+ "setter": false,
120
+ "attribute": "intention",
121
+ "reflect": true
122
+ },
123
+ "emphasis": {
124
+ "type": "string",
125
+ "mutable": false,
126
+ "complexType": {
127
+ "original": "'high' | 'low'",
128
+ "resolved": "\"high\" | \"low\"",
129
+ "references": {}
130
+ },
131
+ "required": false,
132
+ "optional": true,
133
+ "docs": {
134
+ "tags": [{
135
+ "name": "deprecated",
136
+ "text": "Use notificationEmphasis prop on nv-sidebar instead. This prop is kept for backward compatibility but will be removed in a future version."
137
+ }],
138
+ "text": "Determines the emphasis and importance of the notification.\n- high: More prominent appearance\n- low: Less prominent appearance\nIf not set, inherits from parent nv-sidebar's notificationEmphasis prop."
139
+ },
140
+ "getter": false,
141
+ "setter": false,
142
+ "attribute": "emphasis",
143
+ "reflect": true
144
+ },
145
+ "size": {
146
+ "type": "string",
147
+ "mutable": false,
148
+ "complexType": {
149
+ "original": "'default' | 'reduced'",
150
+ "resolved": "\"default\" | \"reduced\"",
151
+ "references": {}
152
+ },
153
+ "required": false,
154
+ "optional": false,
155
+ "docs": {
156
+ "tags": [],
157
+ "text": "Determines the size of the notification bullet.\n- default: Normal size with text visible\n- reduced: Smaller size, text hidden (just a dot)"
158
+ },
159
+ "getter": false,
160
+ "setter": false,
161
+ "attribute": "size",
162
+ "reflect": true,
163
+ "defaultValue": "'default'"
164
+ },
165
+ "contrastingBorder": {
166
+ "type": "boolean",
167
+ "mutable": false,
168
+ "complexType": {
169
+ "original": "boolean",
170
+ "resolved": "boolean",
171
+ "references": {}
172
+ },
173
+ "required": false,
174
+ "optional": false,
175
+ "docs": {
176
+ "tags": [],
177
+ "text": "Allows to add a border to add contrast on background."
178
+ },
179
+ "getter": false,
180
+ "setter": false,
181
+ "attribute": "contrasting-border",
182
+ "reflect": true,
183
+ "defaultValue": "false"
184
+ }
185
+ };
186
+ }
187
+ static get elementRef() { return "el"; }
188
+ }
189
+ //# sourceMappingURL=nv-notification-bullet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nv-notification-bullet.js","sourceRoot":"","sources":["../../../src/components/nv-notification-bullet/nv-notification-bullet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElE;;;;GAIG;AAMH,MAAM,OAAO,oBAAoB;IALjC;QAqCE;;;;WAIG;QAEM,SAAI,GAA0B,SAAS,CAAC;QAEjD;;WAEG;QAEM,sBAAiB,GAAY,KAAK,CAAC;KAoE7C;IAnEC,uBAAuB;IACvB,8EAA8E;IAC9E,iBAAiB;IACT,YAAY;QAClB,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACnB,OAAO,IAAI,CAAC,SAAS,CAAC;QACxB,CAAC;QACD,iCAAiC;QACjC,MAAM,OAAO,GAAG,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;QAC9C,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,gBAAgB,GAAG,OAAO,CAAC,YAAY,CAAC,wBAAwB,CAAC,CAAC;YACxE,IAAI,gBAAgB,KAAK,SAAS,IAAI,gBAAgB,KAAK,OAAO,EAAE,CAAC;gBACnE,OAAO,gBAAgB,CAAC;YAC1B,CAAC;QACH,CAAC;QACD,OAAO,OAAO,CAAC,CAAC,mBAAmB;IACrC,CAAC;IAEO,WAAW;QACjB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,OAAO,IAAI,CAAC,QAAQ,CAAC;QACvB,CAAC;QACD,iCAAiC;QACjC,MAAM,OAAO,GAAG,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;QAC9C,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,eAAe,GAAG,OAAO,CAAC,YAAY,CAAC,uBAAuB,CAAC,CAAC;YACtE,IAAI,eAAe,KAAK,MAAM,IAAI,eAAe,KAAK,KAAK,EAAE,CAAC;gBAC5D,OAAO,eAAe,CAAC;YACzB,CAAC;QACH,CAAC;QACD,OAAO,MAAM,CAAC,CAAC,mBAAmB;IACpC,CAAC;IACD,gBAAgB;IAChB,MAAM;;QACJ,MAAM,YAAY,GAAG,MAAA,IAAI,CAAC,KAAK,mCAAI,CAAC,CAAC;QACrC,MAAM,WAAW,GAAG,YAAY,GAAG,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QAErE,IAAI,YAAY,IAAI,CAAC,EAAE,CAAC;YACtB,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,SAAS,GACb,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAC,EAAE,CAAC;QAClE,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QACtC,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;QACpC,MAAM,cAAc,GAAG,0BAA0B,SAAS,EAAE,CAAC;QAC7D,MAAM,aAAa,GAAG,0BAA0B,QAAQ,EAAE,CAAC;QAC3D,MAAM,WAAW,GAAG,IAAI,CAAC,iBAAiB;YACxC,CAAC,CAAC,oCAAoC;YACtC,CAAC,CAAC,EAAE,CAAC;QAEP,OAAO,CACL,EAAC,IAAI,IACH,KAAK,EAAE,GAAG,cAAc,IACtB,WAAW,CAAC,CAAC,CAAC,0CAA0C,CAAC,CAAC,CAAC,EAC7D,EAAE;YAEF,YACE,KAAK,EAAE,0BAA0B,aAAa,IAAI,SAAS,IAAI,WAAW,EAAE,gBAChE,GAAG,YAAY,gBAAgB,IAE1C,WAAW,CACP,CACF,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEF","sourcesContent":["import { Component, Host, Prop, Element, h } from '@stencil/core';\n\n/**\n * Notification bullet component for displaying notification counts in the sidebar.\n * Automatically adapts its size when the sidebar is collapsed.\n * Inherits intention and emphasis from parent nv-sidebar if not explicitly set.\n */\n@Component({\n tag: 'nv-notification-bullet',\n styleUrl: 'styles/nv-notification-bullet.scss',\n shadow: false,\n})\nexport class NvNotificationBullet {\n @Element() el: HTMLNvNotificationBulletElement;\n\n /****************************************************************************/\n //#region PROPERTIES\n /**\n * The number of notifications to display.\n * If 0 or not provided, the component will not be visible.\n */\n @Prop({ reflect: true })\n readonly count?: number;\n\n /**\n * Determines the type of the notification.\n * - neutral: Uses neutral colors (gray)\n * - brand: Uses brand colors (orange/teal depending on theme)\n * If not set, inherits from parent nv-sidebar's notificationIntention prop.\n * @deprecated Use notificationIntention prop on nv-sidebar instead. This prop is kept for backward compatibility but will be removed in a future version.\n */\n @Prop({ reflect: true })\n readonly intention?: 'neutral' | 'brand';\n\n /**\n * Determines the emphasis and importance of the notification.\n * - high: More prominent appearance\n * - low: Less prominent appearance\n * If not set, inherits from parent nv-sidebar's notificationEmphasis prop.\n * @deprecated Use notificationEmphasis prop on nv-sidebar instead. This prop is kept for backward compatibility but will be removed in a future version.\n */\n @Prop({ reflect: true })\n readonly emphasis?: 'high' | 'low';\n\n /**\n * Determines the size of the notification bullet.\n * - default: Normal size with text visible\n * - reduced: Smaller size, text hidden (just a dot)\n */\n @Prop({ reflect: true })\n readonly size: 'default' | 'reduced' = 'default';\n\n /**\n * Allows to add a border to add contrast on background.\n */\n @Prop({ reflect: true })\n readonly contrastingBorder: boolean = false;\n //#endregion PROPERTIES\n /****************************************************************************/\n //#region METHODS\n private getIntention(): 'neutral' | 'brand' {\n if (this.intention) {\n return this.intention;\n }\n // Inherit from parent nv-sidebar\n const sidebar = this.el.closest('nv-sidebar');\n if (sidebar) {\n const sidebarIntention = sidebar.getAttribute('notification-intention');\n if (sidebarIntention === 'neutral' || sidebarIntention === 'brand') {\n return sidebarIntention;\n }\n }\n return 'brand'; // Default fallback\n }\n\n private getEmphasis(): 'high' | 'low' {\n if (this.emphasis) {\n return this.emphasis;\n }\n // Inherit from parent nv-sidebar\n const sidebar = this.el.closest('nv-sidebar');\n if (sidebar) {\n const sidebarEmphasis = sidebar.getAttribute('notification-emphasis');\n if (sidebarEmphasis === 'high' || sidebarEmphasis === 'low') {\n return sidebarEmphasis;\n }\n }\n return 'high'; // Default fallback\n }\n //#region RENDER\n render() {\n const displayCount = this.count ?? 0;\n const displayText = displayCount > 99 ? '99+' : String(displayCount);\n\n if (displayCount <= 0) {\n return null;\n }\n\n const sizeClass =\n this.size === 'reduced' ? 'nv-notification-bullet-reduced' : '';\n const intention = this.getIntention();\n const emphasis = this.getEmphasis();\n const intentionClass = `nv-notification-bullet-${intention}`;\n const emphasisClass = `nv-notification-bullet-${emphasis}`;\n const borderClass = this.contrastingBorder\n ? 'nv-notification-bullet-with-border'\n : '';\n\n return (\n <Host\n class={`${intentionClass} ${\n borderClass ? 'nv-notification-bullet-with-cross-border' : ''\n }`}\n >\n <span\n class={`nv-notification-bullet ${emphasisClass} ${sizeClass} ${borderClass}`}\n aria-label={`${displayCount} notifications`}\n >\n {displayText}\n </span>\n </Host>\n );\n }\n // #endregion RENDER\n}\n"]}
@@ -0,0 +1,80 @@
1
+ /* Hide text when size is reduced, show only the dot */
2
+ nv-notification-bullet {
3
+ display: inline-flex;
4
+ align-items: center;
5
+ position: relative;
6
+ /* Base notification bullet styles */
7
+ /* Intention: brand */
8
+ /* Intention: neutral */
9
+ /* Contrasting border (cross-border backdrop) - creates a larger circle behind the bullet */
10
+ /* The cross-border intelligently inherits the background color from the parent (nv-sidebarnavitem-trigger) */
11
+ /* Cross-border for reduced size (when sidebar is collapsed) */
12
+ /* Apply cross-border mixin (empty now, but kept for structure) */
13
+ /* Size: reduced */
14
+ }
15
+ nv-notification-bullet .nv-notification-bullet {
16
+ display: inline-flex;
17
+ align-items: center;
18
+ justify-content: center;
19
+ min-width: var(--sidebar-primary-notification-bullet-size);
20
+ max-width: var(--sidebar-primary-notification-bullet-size);
21
+ min-height: var(--sidebar-primary-notification-bullet-size);
22
+ max-height: var(--sidebar-primary-notification-bullet-size);
23
+ padding: 0 var(--spacing-1);
24
+ border-radius: var(--radius-rounded-full);
25
+ font-size: var(--sidebar-primary-notification-bullet-font-size);
26
+ font-weight: var(--sidebar-primary-notification-bullet-font-weight);
27
+ white-space: nowrap;
28
+ flex-shrink: 0;
29
+ }
30
+ nv-notification-bullet.nv-notification-bullet-brand .nv-notification-bullet.nv-notification-bullet-high {
31
+ background-color: var(--color-brand-500);
32
+ color: var(--color-feedback-error-high-contrast-title);
33
+ }
34
+ nv-notification-bullet.nv-notification-bullet-brand .nv-notification-bullet.nv-notification-bullet-low {
35
+ background-color: var(--color-brand-50);
36
+ color: var(--color-brand-600);
37
+ border: 1px solid var(--color-brand-600);
38
+ }
39
+ nv-notification-bullet.nv-notification-bullet-neutral .nv-notification-bullet.nv-notification-bullet-high {
40
+ background-color: var(--color-interaction-container-neutral-background);
41
+ color: var(--color-interaction-container-neutral-text);
42
+ }
43
+ nv-notification-bullet.nv-notification-bullet-neutral .nv-notification-bullet.nv-notification-bullet-low {
44
+ background-color: var(--color-interaction-container-neutral-background);
45
+ color: var(--color-interaction-container-neutral-text);
46
+ }
47
+ nv-notification-bullet.nv-notification-bullet-with-cross-border::before {
48
+ content: "";
49
+ position: absolute;
50
+ top: 50%;
51
+ left: 50%;
52
+ transform: translate(-50%, -50%);
53
+ width: calc(var(--sidebar-primary-notification-bullet-size) * 1.5);
54
+ height: calc(var(--sidebar-primary-notification-bullet-size) * 1.5);
55
+ border-radius: var(--radius-rounded-full);
56
+ /* Intelligently inherits background color from parent via CSS variable */
57
+ /* Supports multiple parent types: --nv-component-background (generic) or --nv-sidebarnavitem-background (sidebar specific) */
58
+ background-color: var(--nv-component-background, var(--nv-sidebarnavitem-background, var(--color-interaction-container-neutral-background)));
59
+ z-index: -1;
60
+ pointer-events: none;
61
+ }
62
+ nv-sidebar[collapsed] nv-notification-bullet.nv-notification-bullet-with-cross-border::before {
63
+ width: calc(var(--sidebar-primary-notification-bullet-size-reduced) * 1.5);
64
+ height: calc(var(--sidebar-primary-notification-bullet-size-reduced) * 1.5);
65
+ }
66
+ nv-notification-bullet .nv-notification-bullet.nv-notification-bullet-with-border {
67
+ /* Cross-border is handled by the Host element (nv-notification-bullet) */
68
+ }
69
+ nv-notification-bullet .nv-notification-bullet.nv-notification-bullet-reduced, nv-sidebar[collapsed] nv-notification-bullet .nv-notification-bullet {
70
+ min-width: var(--sidebar-primary-notification-bullet-size-reduced);
71
+ max-width: var(--sidebar-primary-notification-bullet-size-reduced);
72
+ min-height: var(--sidebar-primary-notification-bullet-size-reduced);
73
+ max-height: var(--sidebar-primary-notification-bullet-size-reduced);
74
+ padding: 0;
75
+ font-size: 0;
76
+ /* Apply reduced cross-border backdrop when size is reduced */
77
+ }
78
+ nv-notification-bullet .nv-notification-bullet.nv-notification-bullet-reduced.nv-notification-bullet-with-border, nv-sidebar[collapsed] nv-notification-bullet .nv-notification-bullet.nv-notification-bullet-with-border {
79
+ /* Cross-border is handled by the Host element (nv-notification-bullet) */
80
+ }
@@ -29,7 +29,7 @@ export class NvNotificationContainer {
29
29
  /****************************************************************************/
30
30
  //#region RENDER
31
31
  render() {
32
- return (h(Host, { key: 'ee0a569e38a3f6402b027317b3bbd0f9773b30ea', class: `position-${this.position}` }, h("slot", { key: 'f8829878c8b5b4de5f3e82bbe77a0ae5d9eee809' })));
32
+ return (h(Host, { key: 'bf0b7cd02e0d214516f352eb7016d6060d6959c5', class: `position-${this.position}` }, h("slot", { key: 'f042e3f11b4d2af4b47aadeba04a332c57889616' })));
33
33
  }
34
34
  static get is() { return "nv-notificationcontainer"; }
35
35
  static get originalStyleUrls() {
@@ -328,7 +328,7 @@ export class NvPopover {
328
328
  /****************************************************************************/
329
329
  //#region RENDER
330
330
  render() {
331
- return (h(Host, { key: '12a7b1a584b3430808f55294772240a1dc77800e' }, h("slot", { key: '3d9b86bdccf5ed03bbc477c8e0eaad6c9f886cc9', name: "trigger" }), h("div", { key: 'df5924d7e88fda20b769a7ab0329428fc04e3920', "data-scope": "popover", "data-strategy": this.strategy, hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (h("div", { key: '559702ed280c31331703e98d4c57a189491481c4', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), h("slot", { key: 'f5872f0bb2865f053b56e9aa128414f777dd9454', name: "content" }))));
331
+ return (h(Host, { key: 'c54fc90b90bbe48b0410c750bf4ba97e51eb24e5' }, h("slot", { key: 'd957fba61d4e91d8afd85f14b602290c88e5128a', name: "trigger" }), h("div", { key: '548c798fc047d41c06d8a84cc9a4f65a4cbf75b5', "data-scope": "popover", "data-strategy": this.strategy, hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (h("div", { key: 'd3c6e110e2c3f45ba0ed5c69b99f0a60413cbb39', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), h("slot", { key: '20c2d8e3ff0ed3d3b9957513e19586e4aa4a39ca', name: "content" }))));
332
332
  }
333
333
  static get is() { return "nv-popover"; }
334
334
  static get originalStyleUrls() {
@@ -6,7 +6,7 @@ export class NvRow {
6
6
  /****************************************************************************/
7
7
  //#region RENDER
8
8
  render() {
9
- return (h(Host, { key: '7349317dfee793dd34ceab919bae6155811f25f4' }, h("slot", { key: '0b31cf4d03d1057ec6f02b65b0ace85ee390cbc4' })));
9
+ return (h(Host, { key: '8415bdad0106bd3d836996c617a749294e0c19e2' }, h("slot", { key: '77c069ced0dc25c4169945877c388f30d27fdc4f' })));
10
10
  }
11
11
  static get is() { return "nv-row"; }
12
12
  static get originalStyleUrls() {
@@ -0,0 +1,37 @@
1
+ import { h } from "@stencil/core";
2
+ const NvSidebarDocs = {
3
+ component: 'nv-sidebar',
4
+ badge: 'beta',
5
+ subcomponents: [
6
+ 'nv-sidebarlogo',
7
+ 'nv-sidebarheader',
8
+ 'nv-sidebarcontent',
9
+ 'nv-sidebarfooter',
10
+ 'nv-sidebargroup',
11
+ 'nv-sidebarnavitem',
12
+ 'nv-sidebarnavsubitem',
13
+ 'nv-sidebardivider',
14
+ 'nv-badge',
15
+ 'nv-icon',
16
+ 'nv-avatar',
17
+ 'nv-fieldtext',
18
+ ],
19
+ stories: [
20
+ {
21
+ name: 'Default',
22
+ description: 'Simple sidebar with logo and basic navigation items.',
23
+ template: (h("nv-sidebar", { "data-storybook-args": true }, h("nv-sidebarlogo", { label: "nova" }), h("nv-sidebarcontent", null, h("nv-sidebarnavitem", { icon: "home" }, h("a", { href: "#" }, "Home")), h("nv-sidebarnavitem", { icon: "layout-dashboard" }, h("a", { href: "#" }, "Dashboard")), h("nv-sidebarnavitem", { icon: "settings" }, h("a", { href: "#" }, "Settings"))))),
24
+ },
25
+ {
26
+ name: 'FullExample',
27
+ description: 'Complete Figma design: customized logo, search field with prefix icon, recent searches with badges, navigation items with background on active, collapsible items (Dashboard open), section labels (sub-title), footer with notification badge (7), settings, help and logout, avatar + user profile.',
28
+ args: {
29
+ type: 'collapsible',
30
+ open: true,
31
+ },
32
+ template: (h("nv-sidebar", { "data-storybook-args": true }, h("nv-sidebarlogo", { label: "nova" }), h("nv-sidebarheader", { "data-hide-on-collapsed": true }, h("div", { "data-class": "mb-3" }, h("nv-fieldtext", { label: "Search", placeholder: "Enter a keyword" }, h("nv-icon", { slot: "trailing-input", name: "search", size: "md" }))), h("div", null, h("label", { "data-class": "block text-xs text-gray-500 mb-2" }, "Recent searches"), h("div", { "data-class": "flex gap-2 flex-wrap" }, h("nv-badge", { color: "neutral", dismissible: true }, "Tomorrow"), h("nv-badge", { color: "neutral", dismissible: true }, "House")))), h("nv-sidebardivider", { "data-class": "mx-4" }), h("nv-sidebarcontent", null, h("nv-sidebargroup", { label: "Section sub-title" }, h("nv-sidebarnavitem", { icon: "home" }, h("a", { href: "#" }, "Page 1")), h("nv-sidebarnavitem", { icon: "scooter-electric", active: true }, h("a", { href: "#" }, "Scooter")), h("nv-sidebarnavitem", { icon: "layout-dashboard", collapsible: true, open: true }, h("a", { href: "#" }, "Dashboard"), h("nv-sidebarnavsubitem", null, h("a", { href: "#" }, "First")), h("nv-sidebarnavsubitem", null, h("a", { href: "#" }, "Second")), h("nv-sidebarnavsubitem", null, h("a", { href: "#" }, "Third")), h("nv-sidebarnavsubitem", null, h("a", { href: "#" }, "Fourth"))), h("nv-sidebarnavitem", { icon: "atom" }, h("a", { href: "#" }, "Atom"))), h("nv-sidebargroup", { label: "Section sub-title" }, h("nv-sidebarnavitem", { icon: "bookmarks" }, h("a", { href: "#" }, "Saved")), h("nv-sidebarnavitem", { icon: "compass" }, h("a", { href: "#" }, "Search")))), h("nv-sidebarfooter", null, h("nv-sidebarnavitem", { icon: "bell" }, h("a", { href: "#" }, "Notification center"), h("nv-badge", { slot: "trailing", color: "error" }, "7")), h("nv-sidebarnavitem", { icon: "settings" }, h("a", { href: "#" }, "Settings")), h("nv-sidebarnavitem", { icon: "lifebuoy" }, h("a", { href: "#" }, "Help center")), h("nv-sidebardivider", { "data-hide-on-collapsed": true }), h("div", { "data-class": "flex items-center gap-3 p-2 rounded-lg hover:bg-level-10 cursor-pointer", "data-hide-on-collapsed": true }, h("nv-avatar", { size: "md", initials: "NS" }), h("div", { "data-class": "flex-1 min-w-0" }, h("div", { "data-class": "text-sm font-medium text-content-high-text truncate" }, "Name Surname"), h("div", { "data-class": "text-xs text-content-medium-text truncate" }, "View profile")), h("nv-icon", { name: "logout", size: "md" }))))),
33
+ },
34
+ ],
35
+ };
36
+ export default NvSidebarDocs;
37
+ //# sourceMappingURL=nv-sidebar.docs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nv-sidebar.docs.js","sourceRoot":"","sources":["../../../src/components/nv-sidebar/nv-sidebar.docs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAIlC,MAAM,aAAa,GAAmC;IACpD,SAAS,EAAE,YAAY;IACvB,KAAK,EAAE,MAAM;IACb,aAAa,EAAE;QACb,gBAAgB;QAChB,kBAAkB;QAClB,mBAAmB;QACnB,kBAAkB;QAClB,iBAAiB;QACjB,mBAAmB;QACnB,sBAAsB;QACtB,mBAAmB;QACnB,UAAU;QACV,SAAS;QACT,WAAW;QACX,cAAc;KACf;IACD,OAAO,EAAE;QACP;YACE,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,sDAAsD;YACnE,QAAQ,EAAE,CACR;gBACE,sBAAgB,KAAK,EAAC,MAAM,GAAkB;gBAE9C;oBACE,yBAAmB,IAAI,EAAC,MAAM;wBAC5B,SAAG,IAAI,EAAC,GAAG,WAAS,CACF;oBAEpB,yBAAmB,IAAI,EAAC,kBAAkB;wBACxC,SAAG,IAAI,EAAC,GAAG,gBAAc,CACP;oBAEpB,yBAAmB,IAAI,EAAC,UAAU;wBAChC,SAAG,IAAI,EAAC,GAAG,eAAa,CACN,CACF,CACT,CACd;SACF;QACD;YACE,IAAI,EAAE,aAAa;YACnB,WAAW,EACT,uSAAuS;YACzS,IAAI,EAAE;gBACJ,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,IAAI;aACX;YACD,QAAQ,EAAE,CACR;gBACE,sBAAgB,KAAK,EAAC,MAAM,GAAkB;gBAE9C;oBACE,yBAAgB,MAAM;wBACpB,oBAAc,KAAK,EAAC,QAAQ,EAAC,WAAW,EAAC,iBAAiB;4BACxD,eACE,IAAI,EAAC,gBAAgB,EACrB,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,IAAI,GACA,CACE,CACX;oBACN;wBACE,2BAAkB,kCAAkC,sBAE5C;wBACR,yBAAgB,sBAAsB;4BACpC,gBAAU,KAAK,EAAC,SAAS,EAAC,WAAW,qBAE1B;4BACX,gBAAU,KAAK,EAAC,SAAS,EAAC,WAAW,kBAE1B,CACP,CACF,CACW;gBAEnB,uCAA8B,MAAM,GAAqB;gBAEzD;oBACE,uBAAiB,KAAK,EAAC,mBAAmB;wBACxC,yBAAmB,IAAI,EAAC,MAAM;4BAC5B,SAAG,IAAI,EAAC,GAAG,aAAW,CACJ;wBAEpB,yBAAmB,IAAI,EAAC,kBAAkB,EAAC,MAAM;4BAC/C,SAAG,IAAI,EAAC,GAAG,cAAY,CACL;wBAEpB,yBAAmB,IAAI,EAAC,kBAAkB,EAAC,WAAW,QAAC,IAAI;4BACzD,SAAG,IAAI,EAAC,GAAG,gBAAc;4BACzB;gCACE,SAAG,IAAI,EAAC,GAAG,YAAU,CACA;4BACvB;gCACE,SAAG,IAAI,EAAC,GAAG,aAAW,CACD;4BACvB;gCACE,SAAG,IAAI,EAAC,GAAG,YAAU,CACA;4BACvB;gCACE,SAAG,IAAI,EAAC,GAAG,aAAW,CACD,CACL;wBAEpB,yBAAmB,IAAI,EAAC,MAAM;4BAC5B,SAAG,IAAI,EAAC,GAAG,WAAS,CACF,CACJ;oBAElB,uBAAiB,KAAK,EAAC,mBAAmB;wBACxC,yBAAmB,IAAI,EAAC,WAAW;4BACjC,SAAG,IAAI,EAAC,GAAG,YAAU,CACH;wBAEpB,yBAAmB,IAAI,EAAC,SAAS;4BAC/B,SAAG,IAAI,EAAC,GAAG,aAAW,CACJ,CACJ,CACA;gBAEpB;oBACE,yBAAmB,IAAI,EAAC,MAAM;wBAC5B,SAAG,IAAI,EAAC,GAAG,0BAAwB;wBACnC,gBAAU,IAAI,EAAC,UAAU,EAAC,KAAK,EAAC,OAAO,QAE5B,CACO;oBAEpB,yBAAmB,IAAI,EAAC,UAAU;wBAChC,SAAG,IAAI,EAAC,GAAG,eAAa,CACN;oBAEpB,yBAAmB,IAAI,EAAC,UAAU;wBAChC,SAAG,IAAI,EAAC,GAAG,kBAAgB,CACT;oBAEpB,0DAA8D;oBAE9D,yBACa,yEAAyE;wBAGpF,iBAAW,IAAI,EAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,GAAa;wBAC/C,yBAAgB,gBAAgB;4BAC9B,yBAAgB,qDAAqD,mBAE/D;4BACN,yBAAgB,2CAA2C,mBAErD,CACF;wBACN,eAAS,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,IAAI,GAAW,CACvC,CACW,CACR,CACd;SACF;KACF;CACF,CAAC;AAEF,eAAe,aAAa,CAAC","sourcesContent":["import { h } from '@stencil/core';\nimport type { NovaDocs } from '../../nova-docs';\nimport { Components } from '../../components';\n\nconst NvSidebarDocs: NovaDocs<Components.NvSidebar> = {\n component: 'nv-sidebar',\n badge: 'beta',\n subcomponents: [\n 'nv-sidebarlogo',\n 'nv-sidebarheader',\n 'nv-sidebarcontent',\n 'nv-sidebarfooter',\n 'nv-sidebargroup',\n 'nv-sidebarnavitem',\n 'nv-sidebarnavsubitem',\n 'nv-sidebardivider',\n 'nv-badge',\n 'nv-icon',\n 'nv-avatar',\n 'nv-fieldtext',\n ],\n stories: [\n {\n name: 'Default',\n description: 'Simple sidebar with logo and basic navigation items.',\n template: (\n <nv-sidebar data-storybook-args>\n <nv-sidebarlogo label=\"nova\"></nv-sidebarlogo>\n\n <nv-sidebarcontent>\n <nv-sidebarnavitem icon=\"home\">\n <a href=\"#\">Home</a>\n </nv-sidebarnavitem>\n\n <nv-sidebarnavitem icon=\"layout-dashboard\">\n <a href=\"#\">Dashboard</a>\n </nv-sidebarnavitem>\n\n <nv-sidebarnavitem icon=\"settings\">\n <a href=\"#\">Settings</a>\n </nv-sidebarnavitem>\n </nv-sidebarcontent>\n </nv-sidebar>\n ),\n },\n {\n name: 'FullExample',\n description:\n 'Complete Figma design: customized logo, search field with prefix icon, recent searches with badges, navigation items with background on active, collapsible items (Dashboard open), section labels (sub-title), footer with notification badge (7), settings, help and logout, avatar + user profile.',\n args: {\n type: 'collapsible',\n open: true,\n },\n template: (\n <nv-sidebar data-storybook-args>\n <nv-sidebarlogo label=\"nova\"></nv-sidebarlogo>\n\n <nv-sidebarheader data-hide-on-collapsed>\n <div data-class=\"mb-3\">\n <nv-fieldtext label=\"Search\" placeholder=\"Enter a keyword\">\n <nv-icon\n slot=\"trailing-input\"\n name=\"search\"\n size=\"md\"\n ></nv-icon>\n </nv-fieldtext>\n </div>\n <div>\n <label data-class=\"block text-xs text-gray-500 mb-2\">\n Recent searches\n </label>\n <div data-class=\"flex gap-2 flex-wrap\">\n <nv-badge color=\"neutral\" dismissible>\n Tomorrow\n </nv-badge>\n <nv-badge color=\"neutral\" dismissible>\n House\n </nv-badge>\n </div>\n </div>\n </nv-sidebarheader>\n\n <nv-sidebardivider data-class=\"mx-4\"></nv-sidebardivider>\n\n <nv-sidebarcontent>\n <nv-sidebargroup label=\"Section sub-title\">\n <nv-sidebarnavitem icon=\"home\">\n <a href=\"#\">Page 1</a>\n </nv-sidebarnavitem>\n\n <nv-sidebarnavitem icon=\"scooter-electric\" active>\n <a href=\"#\">Scooter</a>\n </nv-sidebarnavitem>\n\n <nv-sidebarnavitem icon=\"layout-dashboard\" collapsible open>\n <a href=\"#\">Dashboard</a>\n <nv-sidebarnavsubitem>\n <a href=\"#\">First</a>\n </nv-sidebarnavsubitem>\n <nv-sidebarnavsubitem>\n <a href=\"#\">Second</a>\n </nv-sidebarnavsubitem>\n <nv-sidebarnavsubitem>\n <a href=\"#\">Third</a>\n </nv-sidebarnavsubitem>\n <nv-sidebarnavsubitem>\n <a href=\"#\">Fourth</a>\n </nv-sidebarnavsubitem>\n </nv-sidebarnavitem>\n\n <nv-sidebarnavitem icon=\"atom\">\n <a href=\"#\">Atom</a>\n </nv-sidebarnavitem>\n </nv-sidebargroup>\n\n <nv-sidebargroup label=\"Section sub-title\">\n <nv-sidebarnavitem icon=\"bookmarks\">\n <a href=\"#\">Saved</a>\n </nv-sidebarnavitem>\n\n <nv-sidebarnavitem icon=\"compass\">\n <a href=\"#\">Search</a>\n </nv-sidebarnavitem>\n </nv-sidebargroup>\n </nv-sidebarcontent>\n\n <nv-sidebarfooter>\n <nv-sidebarnavitem icon=\"bell\">\n <a href=\"#\">Notification center</a>\n <nv-badge slot=\"trailing\" color=\"error\">\n 7\n </nv-badge>\n </nv-sidebarnavitem>\n\n <nv-sidebarnavitem icon=\"settings\">\n <a href=\"#\">Settings</a>\n </nv-sidebarnavitem>\n\n <nv-sidebarnavitem icon=\"lifebuoy\">\n <a href=\"#\">Help center</a>\n </nv-sidebarnavitem>\n\n <nv-sidebardivider data-hide-on-collapsed></nv-sidebardivider>\n\n <div\n data-class=\"flex items-center gap-3 p-2 rounded-lg hover:bg-level-10 cursor-pointer\"\n data-hide-on-collapsed\n >\n <nv-avatar size=\"md\" initials=\"NS\"></nv-avatar>\n <div data-class=\"flex-1 min-w-0\">\n <div data-class=\"text-sm font-medium text-content-high-text truncate\">\n Name Surname\n </div>\n <div data-class=\"text-xs text-content-medium-text truncate\">\n View profile\n </div>\n </div>\n <nv-icon name=\"logout\" size=\"md\"></nv-icon>\n </div>\n </nv-sidebarfooter>\n </nv-sidebar>\n ),\n },\n ],\n};\n\nexport default NvSidebarDocs;\n"]}