@nova-design-system/nova-webcomponents 3.27.0 → 3.28.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 (401) hide show
  1. package/dist/cjs/index-Cfkoz1kc.js +12 -0
  2. package/dist/cjs/index.cjs.js +6 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/native.cjs.js +1 -1
  5. package/dist/cjs/nova-datetime-DOtVgYBB.js +10643 -0
  6. package/dist/cjs/nv-badge_2.cjs.entry.js +1 -1
  7. package/dist/cjs/nv-datetest.cjs.entry.js +66 -0
  8. package/dist/cjs/nv-datetimetest.cjs.entry.js +54 -0
  9. package/dist/cjs/nv-dialog.cjs.entry.js +1 -1
  10. package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +2 -2
  11. package/dist/cjs/nv-drawer.cjs.entry.js +1 -1
  12. package/dist/cjs/nv-drawerfooter_2.cjs.entry.js +2 -2
  13. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +4 -4
  14. package/dist/cjs/nv-fielddate.cjs.entry.js +6 -6
  15. package/dist/cjs/nv-fielddaterange.cjs.entry.js +6 -6
  16. package/dist/cjs/nv-fielddropdown.cjs.entry.js +4 -4
  17. package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +1 -1
  18. package/dist/cjs/nv-fieldnumber.cjs.entry.js +4 -4
  19. package/dist/cjs/nv-fieldpassword.cjs.entry.js +4 -4
  20. package/dist/cjs/nv-fieldradio.cjs.entry.js +3 -3
  21. package/dist/cjs/nv-fieldselect.cjs.entry.js +5 -5
  22. package/dist/cjs/nv-fieldslider.cjs.entry.js +3 -3
  23. package/dist/cjs/nv-fieldtext.cjs.entry.js +4 -4
  24. package/dist/cjs/nv-fieldtextarea.cjs.entry.js +3 -3
  25. package/dist/cjs/nv-fieldtime.cjs.entry.js +3 -3
  26. package/dist/cjs/nv-icon.cjs.entry.js +2 -2
  27. package/dist/cjs/nv-iconbutton_2.cjs.entry.js +2 -2
  28. package/dist/cjs/nv-menu.cjs.entry.js +1 -1
  29. package/dist/cjs/nv-menuitem.cjs.entry.js +1 -1
  30. package/dist/cjs/nv-notification.cjs.entry.js +1 -1
  31. package/dist/cjs/nv-notificationcontainer.cjs.entry.js +1 -13
  32. package/dist/cjs/nv-pagination-nav.cjs.entry.js +1 -1
  33. package/dist/cjs/nv-paginationtable.cjs.entry.js +1 -1
  34. package/dist/cjs/nv-popover.cjs.entry.js +1 -1
  35. package/dist/cjs/nv-row.cjs.entry.js +1 -1
  36. package/dist/cjs/nv-sidebar.cjs.entry.js +1 -1
  37. package/dist/cjs/nv-sidebarcontent.cjs.entry.js +1 -1
  38. package/dist/cjs/nv-sidebardivider.cjs.entry.js +1 -1
  39. package/dist/cjs/nv-sidebarfooter.cjs.entry.js +1 -1
  40. package/dist/cjs/nv-sidebargroup.cjs.entry.js +1 -1
  41. package/dist/cjs/nv-sidebarheader.cjs.entry.js +1 -1
  42. package/dist/cjs/nv-sidebarlogo.cjs.entry.js +1 -1
  43. package/dist/cjs/nv-sidebarnavitem.cjs.entry.js +2 -2
  44. package/dist/cjs/nv-sidebarnavsubitem.cjs.entry.js +1 -1
  45. package/dist/cjs/nv-split.cjs.entry.js +1 -1
  46. package/dist/cjs/nv-stack.cjs.entry.js +1 -1
  47. package/dist/cjs/nv-table.cjs.entry.js +1 -1
  48. package/dist/cjs/nv-tableheader.cjs.entry.js +1 -1
  49. package/dist/cjs/nv-timetest.cjs.entry.js +72 -0
  50. package/dist/cjs/nv-toggle.cjs.entry.js +2 -2
  51. package/dist/cjs/nv-togglebutton.cjs.entry.js +1 -1
  52. package/dist/cjs/nv-togglebuttongroup.cjs.entry.js +1 -1
  53. package/dist/cjs/nv-tooltip.cjs.entry.js +8 -3
  54. package/dist/collection/collection-manifest.json +3 -0
  55. package/dist/collection/components/nv-accordion/nv-accordion.docs.js +1 -0
  56. package/dist/collection/components/nv-accordion-item/nv-accordion-item.docs.js +69 -1
  57. package/dist/collection/components/nv-alert/nv-alert.docs.js +1 -0
  58. package/dist/collection/components/nv-avatar/nv-avatar.docs.js +1 -0
  59. package/dist/collection/components/nv-badge/nv-badge.docs.js +1 -0
  60. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.docs.js +36 -1
  61. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.docs.js +1 -0
  62. package/dist/collection/components/nv-button/nv-button.docs.js +1 -0
  63. package/dist/collection/components/nv-buttongroup/nv-buttongroup.docs.js +1 -0
  64. package/dist/collection/components/nv-calendar/nv-calendar.docs.js +1 -0
  65. package/dist/collection/components/nv-col/nv-col.docs.js +1 -0
  66. package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js +1 -0
  67. package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.docs.js +25 -1
  68. package/dist/collection/components/nv-datetest/nv-datetest.css +15 -0
  69. package/dist/collection/components/nv-datetest/nv-datetest.docs.js +12 -0
  70. package/dist/collection/components/nv-datetest/nv-datetest.js +242 -0
  71. package/dist/collection/components/nv-datetimetest/nv-datetimetest.css +15 -0
  72. package/dist/collection/components/nv-datetimetest/nv-datetimetest.docs.js +5 -0
  73. package/dist/collection/components/nv-datetimetest/nv-datetimetest.js +197 -0
  74. package/dist/collection/components/nv-dialog/nv-dialog.docs.js +1 -0
  75. package/dist/collection/components/nv-dialog/nv-dialog.js +1 -1
  76. package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.docs.js +9 -1
  77. package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +1 -1
  78. package/dist/collection/components/nv-dialogheader/nv-dialogheader.docs.js +9 -1
  79. package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
  80. package/dist/collection/components/nv-drawer/nv-drawer.docs.js +1 -0
  81. package/dist/collection/components/nv-drawer/nv-drawer.js +1 -1
  82. package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.docs.js +9 -1
  83. package/dist/collection/components/nv-drawerfooter/nv-drawerfooter.js +1 -1
  84. package/dist/collection/components/nv-drawerheader/nv-drawerheader.docs.js +9 -1
  85. package/dist/collection/components/nv-drawerheader/nv-drawerheader.js +1 -1
  86. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.docs.js +1 -0
  87. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
  88. package/dist/collection/components/nv-fielddate/nv-fielddate.docs.js +1 -0
  89. package/dist/collection/components/nv-fielddate/nv-fielddate.js +6 -6
  90. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.docs.js +1 -0
  91. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +6 -6
  92. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js +1 -0
  93. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +4 -4
  94. package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.docs.js +54 -1
  95. package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
  96. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.docs.js +42 -1
  97. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
  98. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js +1 -0
  99. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js +1 -0
  100. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +4 -4
  101. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js +1 -0
  102. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +4 -4
  103. package/dist/collection/components/nv-fieldradio/nv-fieldradio.docs.js +1 -0
  104. package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
  105. package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js +1 -0
  106. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
  107. package/dist/collection/components/nv-fieldslider/nv-fieldslider.docs.js +1 -0
  108. package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
  109. package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js +1 -0
  110. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +4 -4
  111. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js +1 -0
  112. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
  113. package/dist/collection/components/nv-fieldtime/nv-fieldtime.docs.js +1 -0
  114. package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +3 -3
  115. package/dist/collection/components/nv-icon/nv-icon.docs.js +1 -0
  116. package/dist/collection/components/nv-icon/nv-icon.js +1 -1
  117. package/dist/collection/components/nv-icon/nv-icons.js +4 -0
  118. package/dist/collection/components/nv-iconbutton/nv-iconbutton.docs.js +1 -0
  119. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
  120. package/dist/collection/components/nv-loader/nv-loader.docs.js +1 -0
  121. package/dist/collection/components/nv-loader/nv-loader.js +1 -1
  122. package/dist/collection/components/nv-menu/nv-menu.docs.js +1 -0
  123. package/dist/collection/components/nv-menu/nv-menu.js +1 -1
  124. package/dist/collection/components/nv-menuitem/nv-menuitem.docs.js +20 -1
  125. package/dist/collection/components/nv-menuitem/nv-menuitem.js +2 -2
  126. package/dist/collection/components/nv-notification/nv-notification.docs.js +1 -0
  127. package/dist/collection/components/nv-notification/nv-notification.js +1 -1
  128. package/dist/collection/components/nv-notification-bullet/nv-notification-bullet.docs.js +1 -0
  129. package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.docs.js +24 -1
  130. package/dist/collection/components/nv-notificationcontainer/nv-notificationcontainer.js +1 -15
  131. package/dist/collection/components/nv-pagination-nav/nv-pagination-nav.js +1 -1
  132. package/dist/collection/components/nv-paginationtable/nv-paginationtable.docs.js +1 -0
  133. package/dist/collection/components/nv-paginationtable/nv-paginationtable.js +1 -1
  134. package/dist/collection/components/nv-popover/nv-popover.docs.js +1 -0
  135. package/dist/collection/components/nv-popover/nv-popover.js +1 -1
  136. package/dist/collection/components/nv-row/nv-row.docs.js +1 -0
  137. package/dist/collection/components/nv-row/nv-row.js +1 -1
  138. package/dist/collection/components/nv-sidebar/nv-sidebar.docs.js +1 -0
  139. package/dist/collection/components/nv-sidebar/nv-sidebar.js +1 -1
  140. package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.docs.js +14 -1
  141. package/dist/collection/components/nv-sidebarcontent/nv-sidebarcontent.js +1 -1
  142. package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.docs.js +15 -1
  143. package/dist/collection/components/nv-sidebardivider/nv-sidebardivider.js +1 -1
  144. package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.docs.js +9 -1
  145. package/dist/collection/components/nv-sidebarfooter/nv-sidebarfooter.js +1 -1
  146. package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.docs.js +15 -1
  147. package/dist/collection/components/nv-sidebargroup/nv-sidebargroup.js +1 -1
  148. package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.docs.js +9 -1
  149. package/dist/collection/components/nv-sidebarheader/nv-sidebarheader.js +1 -1
  150. package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.docs.js +10 -1
  151. package/dist/collection/components/nv-sidebarlogo/nv-sidebarlogo.js +1 -1
  152. package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.docs.js +16 -1
  153. package/dist/collection/components/nv-sidebarnavitem/nv-sidebarnavitem.js +3 -3
  154. package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.docs.js +15 -1
  155. package/dist/collection/components/nv-sidebarnavsubitem/nv-sidebarnavsubitem.js +1 -1
  156. package/dist/collection/components/nv-split/nv-split.docs.js +1 -0
  157. package/dist/collection/components/nv-split/nv-split.js +1 -1
  158. package/dist/collection/components/nv-stack/nv-stack.docs.js +1 -0
  159. package/dist/collection/components/nv-stack/nv-stack.js +1 -1
  160. package/dist/collection/components/nv-table/nv-table.docs.js +1 -0
  161. package/dist/collection/components/nv-table/nv-table.js +1 -1
  162. package/dist/collection/components/nv-tableheader/nv-tableheader.docs.js +1 -0
  163. package/dist/collection/components/nv-tableheader/nv-tableheader.js +1 -1
  164. package/dist/collection/components/nv-timetest/nv-timetest.css +15 -0
  165. package/dist/collection/components/nv-timetest/nv-timetest.docs.js +5 -0
  166. package/dist/collection/components/nv-timetest/nv-timetest.js +248 -0
  167. package/dist/collection/components/nv-toggle/nv-toggle.docs.js +1 -0
  168. package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
  169. package/dist/collection/components/nv-togglebutton/nv-togglebutton.docs.js +48 -1
  170. package/dist/collection/components/nv-togglebutton/nv-togglebutton.js +1 -1
  171. package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.docs.js +1 -0
  172. package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.js +1 -1
  173. package/dist/collection/components/nv-tooltip/nv-tooltip.docs.js +1 -0
  174. package/dist/collection/components/nv-tooltip/nv-tooltip.js +8 -3
  175. package/dist/collection/index.js +3 -0
  176. package/dist/collection/interfaces/dates.js +1 -0
  177. package/dist/collection/utils/nova-datetime.js +144 -0
  178. package/dist/collection/utils/test/nova-datetime.test.js +230 -0
  179. package/dist/components/index.js +1 -1
  180. package/dist/components/nv-accordion-item.js +1 -1
  181. package/dist/components/nv-accordion.js +1 -1
  182. package/dist/components/nv-alert.js +1 -1
  183. package/dist/components/nv-avatar.js +1 -1
  184. package/dist/components/nv-badge.js +1 -1
  185. package/dist/components/nv-breadcrumb.js +1 -1
  186. package/dist/components/nv-button.js +1 -1
  187. package/dist/components/nv-datagrid.js +1 -1
  188. package/dist/components/nv-datetest.d.ts +11 -0
  189. package/dist/components/nv-datetest.js +1 -0
  190. package/dist/components/nv-datetimetest.d.ts +11 -0
  191. package/dist/components/nv-datetimetest.js +1 -0
  192. package/dist/components/nv-dialog.js +1 -1
  193. package/dist/components/nv-dialogfooter.js +1 -1
  194. package/dist/components/nv-dialogheader.js +1 -1
  195. package/dist/components/nv-drawer.js +1 -1
  196. package/dist/components/nv-drawerfooter.js +1 -1
  197. package/dist/components/nv-drawerheader.js +1 -1
  198. package/dist/components/nv-fieldcheckbox.js +1 -1
  199. package/dist/components/nv-fielddate.js +1 -1
  200. package/dist/components/nv-fielddaterange.js +1 -1
  201. package/dist/components/nv-fielddropdown.js +1 -1
  202. package/dist/components/nv-fielddropdownitem.js +1 -1
  203. package/dist/components/nv-fielddropdownitemcheck.js +1 -1
  204. package/dist/components/nv-fieldmultiselect.js +1 -1
  205. package/dist/components/nv-fieldnumber.js +1 -1
  206. package/dist/components/nv-fieldpassword.js +1 -1
  207. package/dist/components/nv-fieldradio.js +1 -1
  208. package/dist/components/nv-fieldselect.js +1 -1
  209. package/dist/components/nv-fieldslider.js +1 -1
  210. package/dist/components/nv-fieldtext.js +1 -1
  211. package/dist/components/nv-fieldtextarea.js +1 -1
  212. package/dist/components/nv-fieldtime.js +1 -1
  213. package/dist/components/nv-icon.js +1 -1
  214. package/dist/components/nv-iconbutton.js +1 -1
  215. package/dist/components/nv-loader.js +1 -1
  216. package/dist/components/nv-menu.js +1 -1
  217. package/dist/components/nv-menuitem.js +1 -1
  218. package/dist/components/nv-notification.js +1 -1
  219. package/dist/components/nv-notificationcontainer.js +1 -1
  220. package/dist/components/nv-pagination-nav.js +1 -1
  221. package/dist/components/nv-paginationtable.js +1 -1
  222. package/dist/components/nv-popover.js +1 -1
  223. package/dist/components/nv-row.js +1 -1
  224. package/dist/components/nv-sidebar.js +1 -1
  225. package/dist/components/nv-sidebarcontent.js +1 -1
  226. package/dist/components/nv-sidebardivider.js +1 -1
  227. package/dist/components/nv-sidebarfooter.js +1 -1
  228. package/dist/components/nv-sidebargroup.js +1 -1
  229. package/dist/components/nv-sidebarheader.js +1 -1
  230. package/dist/components/nv-sidebarlogo.js +1 -1
  231. package/dist/components/nv-sidebarnavitem.js +1 -1
  232. package/dist/components/nv-sidebarnavsubitem.js +1 -1
  233. package/dist/components/nv-split.js +1 -1
  234. package/dist/components/nv-stack.js +1 -1
  235. package/dist/components/nv-table.js +1 -1
  236. package/dist/components/nv-tableheader.js +1 -1
  237. package/dist/components/nv-timetest.d.ts +11 -0
  238. package/dist/components/nv-timetest.js +1 -0
  239. package/dist/components/nv-toggle.js +1 -1
  240. package/dist/components/nv-togglebutton.js +1 -1
  241. package/dist/components/nv-togglebuttongroup.js +1 -1
  242. package/dist/components/nv-tooltip.js +1 -1
  243. package/dist/components/{p-Ho_7-x5W.js → p-C5J7jtrC.js} +1 -1
  244. package/dist/components/{p-S18SgvAW.js → p-CKFXHAaU.js} +1 -1
  245. package/dist/components/{p-DrgqO3gF.js → p-CLzCfsnq.js} +1 -1
  246. package/dist/components/{p-D0bGRzSN.js → p-CnkB4kvn.js} +1 -1
  247. package/dist/components/{p-Db4JZxyy.js → p-Co8IghI-.js} +1 -1
  248. package/dist/components/p-CrRawrjU.js +1 -0
  249. package/dist/components/p-CyL2J6O4.js +74 -0
  250. package/dist/components/{p-uAXqRBhx.js → p-D2C_Qr5O.js} +1 -1
  251. package/dist/components/{p-T-bBxAoT.js → p-DE792Sds.js} +1 -1
  252. package/dist/components/{p-D-MnI-R8.js → p-DGj-fiRX.js} +1 -1
  253. package/dist/components/{p-IzPWk8zx.js → p-DUaenjr8.js} +1 -1
  254. package/dist/components/{p-DC_2597n.js → p-DVFofrTe.js} +1 -1
  255. package/dist/components/{p-BMpkyzCW.js → p-Du3Fh0jQ.js} +1 -1
  256. package/dist/components/p-DwtLxfU5.js +1 -0
  257. package/dist/components/{p-BBy1Mdgv.js → p-VXpV-BUK.js} +1 -1
  258. package/dist/components/{p-kMTGXpRx.js → p-f8OUzde-.js} +1 -1
  259. package/dist/components/{p-Ba1zVklG.js → p-h3cPA0Cx.js} +1 -1
  260. package/dist/components/p-nzxGC8BS.js +1 -0
  261. package/dist/components/p-qkNH2RHl.js +1 -0
  262. package/dist/components/{p-BvxuoODv.js → p-xrXEz2WP.js} +1 -1
  263. package/dist/esm/index-BCjiE1MF.js +12 -0
  264. package/dist/esm/index.js +5 -0
  265. package/dist/esm/loader.js +1 -1
  266. package/dist/esm/native.js +1 -1
  267. package/dist/esm/nova-datetime-CyL2J6O4.js +10636 -0
  268. package/dist/esm/nv-badge_2.entry.js +1 -1
  269. package/dist/esm/nv-datetest.entry.js +64 -0
  270. package/dist/esm/nv-datetimetest.entry.js +52 -0
  271. package/dist/esm/nv-dialog.entry.js +1 -1
  272. package/dist/esm/nv-dialogfooter_2.entry.js +2 -2
  273. package/dist/esm/nv-drawer.entry.js +1 -1
  274. package/dist/esm/nv-drawerfooter_2.entry.js +2 -2
  275. package/dist/esm/nv-fieldcheckbox.entry.js +4 -4
  276. package/dist/esm/nv-fielddate.entry.js +6 -6
  277. package/dist/esm/nv-fielddaterange.entry.js +6 -6
  278. package/dist/esm/nv-fielddropdown.entry.js +4 -4
  279. package/dist/esm/nv-fielddropdownitem.entry.js +1 -1
  280. package/dist/esm/nv-fieldnumber.entry.js +4 -4
  281. package/dist/esm/nv-fieldpassword.entry.js +4 -4
  282. package/dist/esm/nv-fieldradio.entry.js +3 -3
  283. package/dist/esm/nv-fieldselect.entry.js +5 -5
  284. package/dist/esm/nv-fieldslider.entry.js +3 -3
  285. package/dist/esm/nv-fieldtext.entry.js +4 -4
  286. package/dist/esm/nv-fieldtextarea.entry.js +3 -3
  287. package/dist/esm/nv-fieldtime.entry.js +3 -3
  288. package/dist/esm/nv-icon.entry.js +2 -2
  289. package/dist/esm/nv-iconbutton_2.entry.js +2 -2
  290. package/dist/esm/nv-menu.entry.js +1 -1
  291. package/dist/esm/nv-menuitem.entry.js +1 -1
  292. package/dist/esm/nv-notification.entry.js +1 -1
  293. package/dist/esm/nv-notificationcontainer.entry.js +1 -13
  294. package/dist/esm/nv-pagination-nav.entry.js +1 -1
  295. package/dist/esm/nv-paginationtable.entry.js +1 -1
  296. package/dist/esm/nv-popover.entry.js +1 -1
  297. package/dist/esm/nv-row.entry.js +1 -1
  298. package/dist/esm/nv-sidebar.entry.js +1 -1
  299. package/dist/esm/nv-sidebarcontent.entry.js +1 -1
  300. package/dist/esm/nv-sidebardivider.entry.js +1 -1
  301. package/dist/esm/nv-sidebarfooter.entry.js +1 -1
  302. package/dist/esm/nv-sidebargroup.entry.js +1 -1
  303. package/dist/esm/nv-sidebarheader.entry.js +1 -1
  304. package/dist/esm/nv-sidebarlogo.entry.js +1 -1
  305. package/dist/esm/nv-sidebarnavitem.entry.js +2 -2
  306. package/dist/esm/nv-sidebarnavsubitem.entry.js +1 -1
  307. package/dist/esm/nv-split.entry.js +1 -1
  308. package/dist/esm/nv-stack.entry.js +1 -1
  309. package/dist/esm/nv-table.entry.js +1 -1
  310. package/dist/esm/nv-tableheader.entry.js +1 -1
  311. package/dist/esm/nv-timetest.entry.js +70 -0
  312. package/dist/esm/nv-toggle.entry.js +2 -2
  313. package/dist/esm/nv-togglebutton.entry.js +1 -1
  314. package/dist/esm/nv-togglebuttongroup.entry.js +1 -1
  315. package/dist/esm/nv-tooltip.entry.js +8 -3
  316. package/dist/lib/generators/docs-blazor.js +4 -1
  317. package/dist/lib/utils/parseToCSharpTypes.js +114 -18
  318. package/dist/lib/utils/test/parseToCSharpTypes.test.js +95 -1
  319. package/dist/native/index.esm.js +1 -1
  320. package/dist/native/native.esm.js +1 -1
  321. package/dist/native/{p-927b655d.entry.js → p-05f7bad5.entry.js} +1 -1
  322. package/dist/native/{p-539c04ad.entry.js → p-083b39c5.entry.js} +1 -1
  323. package/dist/native/{p-31ba86b3.entry.js → p-0bb64497.entry.js} +1 -1
  324. package/dist/native/{p-1e0ca4df.entry.js → p-1029a266.entry.js} +1 -1
  325. package/dist/native/p-12a8443b.entry.js +1 -0
  326. package/dist/native/{p-1c97c353.entry.js → p-1d7a27bb.entry.js} +1 -1
  327. package/dist/native/{p-8a0dc37b.entry.js → p-1e03fc3c.entry.js} +1 -1
  328. package/dist/native/{p-7d49e88d.entry.js → p-213c5836.entry.js} +1 -1
  329. package/dist/native/{p-ecce3e66.entry.js → p-291b297d.entry.js} +1 -1
  330. package/dist/native/{p-56593bf0.entry.js → p-2af6d988.entry.js} +1 -1
  331. package/dist/native/{p-855f7be1.entry.js → p-343c04db.entry.js} +1 -1
  332. package/dist/native/{p-24f69387.entry.js → p-37c41059.entry.js} +1 -1
  333. package/dist/native/{p-f9e4daf7.entry.js → p-3c4114b8.entry.js} +1 -1
  334. package/dist/native/p-493c1bb5.entry.js +1 -0
  335. package/dist/native/{p-591f3dcc.entry.js → p-4ac8181c.entry.js} +1 -1
  336. package/dist/native/{p-87758615.entry.js → p-4bf96114.entry.js} +1 -1
  337. package/dist/native/p-544b34d4.entry.js +1 -0
  338. package/dist/native/{p-9fda1976.entry.js → p-58966e0f.entry.js} +1 -1
  339. package/dist/native/p-5ea697a7.entry.js +1 -0
  340. package/dist/native/{p-1f8cc03a.entry.js → p-5ef0ed10.entry.js} +1 -1
  341. package/dist/native/{p-39366f18.entry.js → p-63f2f87f.entry.js} +1 -1
  342. package/dist/native/{p-6f3c3e2a.entry.js → p-644ecff8.entry.js} +1 -1
  343. package/dist/native/{p-24ce0c8d.entry.js → p-6d8d2088.entry.js} +1 -1
  344. package/dist/native/{p-6742f88f.entry.js → p-72d8cb56.entry.js} +1 -1
  345. package/dist/native/p-75a2a2ac.entry.js +1 -0
  346. package/dist/native/{p-a6b3256b.entry.js → p-767ee0fc.entry.js} +1 -1
  347. package/dist/native/{p-eb8ba7a2.entry.js → p-7aa4605d.entry.js} +1 -1
  348. package/dist/native/{p-ebff7ddb.entry.js → p-7c00f6da.entry.js} +1 -1
  349. package/dist/native/p-7d164a7a.entry.js +1 -0
  350. package/dist/native/{p-5a7e46ad.entry.js → p-89348af5.entry.js} +1 -1
  351. package/dist/native/p-8e1bcadc.entry.js +1 -0
  352. package/dist/native/{p-1aea6fe0.entry.js → p-95a9d385.entry.js} +1 -1
  353. package/dist/native/p-9fc95cf3.entry.js +1 -0
  354. package/dist/native/p-CyL2J6O4.js +74 -0
  355. package/dist/native/p-ac765e6a.entry.js +1 -0
  356. package/dist/native/p-b3477504.entry.js +1 -0
  357. package/dist/native/{p-34e19b6e.entry.js → p-c2c826a4.entry.js} +1 -1
  358. package/dist/native/{p-d6e2e120.entry.js → p-c56ffa82.entry.js} +1 -1
  359. package/dist/native/{p-8f76e030.entry.js → p-c5d97054.entry.js} +1 -1
  360. package/dist/native/{p-d12a2841.entry.js → p-cfa0eb58.entry.js} +1 -1
  361. package/dist/native/p-d3e66306.entry.js +1 -0
  362. package/dist/native/p-d5f5a6e1.entry.js +1 -0
  363. package/dist/native/{p-b3964a1c.entry.js → p-d8120afd.entry.js} +1 -1
  364. package/dist/native/p-dc2ce8ee.entry.js +1 -0
  365. package/dist/native/{p-bb43a3b4.entry.js → p-e3fb16af.entry.js} +1 -1
  366. package/dist/native/{p-03cc1f2c.entry.js → p-e46c35a0.entry.js} +1 -1
  367. package/dist/native/{p-c0b05d6f.entry.js → p-ec23ce93.entry.js} +1 -1
  368. package/dist/native/{p-3a35cf46.entry.js → p-f7522dac.entry.js} +1 -1
  369. package/dist/native/{p-157c5ac8.entry.js → p-fab2f2b3.entry.js} +1 -1
  370. package/dist/types/components/nv-datetest/nv-datetest.d.ts +48 -0
  371. package/dist/types/components/nv-datetest/nv-datetest.docs.d.ts +4 -0
  372. package/dist/types/components/nv-datetimetest/nv-datetimetest.d.ts +44 -0
  373. package/dist/types/components/nv-datetimetest/nv-datetimetest.docs.d.ts +4 -0
  374. package/dist/types/components/nv-icon/nv-icons.d.ts +1 -1
  375. package/dist/types/components/nv-notificationcontainer/nv-notificationcontainer.d.ts +0 -6
  376. package/dist/types/components/nv-timetest/nv-timetest.d.ts +48 -0
  377. package/dist/types/components/nv-timetest/nv-timetest.docs.d.ts +4 -0
  378. package/dist/types/components.d.ts +273 -16
  379. package/dist/types/index.d.ts +2 -0
  380. package/dist/types/interfaces/dates.d.ts +8 -0
  381. package/dist/types/nova-docs.d.ts +8 -0
  382. package/dist/types/utils/nova-datetime.d.ts +79 -0
  383. package/dist/types/utils/test/nova-datetime.test.d.ts +1 -0
  384. package/dist/vscode-data.json +58 -0
  385. package/hydrate/index.js +10854 -104
  386. package/hydrate/index.mjs +10854 -104
  387. package/package.json +14 -1
  388. package/dist/components/p-CV12ukSl.js +0 -1
  389. package/dist/components/p-CZkFkVd8.js +0 -1
  390. package/dist/components/p-CcmfuwSa.js +0 -1
  391. package/dist/components/p-CqJqzGJS.js +0 -1
  392. package/dist/native/p-18bdc07a.entry.js +0 -1
  393. package/dist/native/p-23f0ca96.entry.js +0 -1
  394. package/dist/native/p-597cac0f.entry.js +0 -1
  395. package/dist/native/p-5f42a7f1.entry.js +0 -1
  396. package/dist/native/p-7aac0b1a.entry.js +0 -1
  397. package/dist/native/p-99726dd4.entry.js +0 -1
  398. package/dist/native/p-c214e4af.entry.js +0 -1
  399. package/dist/native/p-c29dc907.entry.js +0 -1
  400. package/dist/native/p-d46bd21a.entry.js +0 -1
  401. package/dist/native/p-ddedc9c1.entry.js +0 -1
@@ -1,5 +1,13 @@
1
+ import { h } from "@stencil/core";
1
2
  const NvDialogfooterDocs = {
2
3
  component: 'nv-dialogfooter',
3
- skip: true,
4
+ parentGroup: 'Dialog/nv-dialog',
5
+ subcomponents: ['nv-dialog', 'nv-button', 'nv-dialogheader'],
6
+ stories: [
7
+ {
8
+ name: 'Default',
9
+ template: (h("nv-dialog", { open: true }, h("nv-button", { slot: "trigger" }, "Open Dialog"), h("nv-dialogheader", null, "Dialog Header"), h("p", null, "Dialog content"), h("nv-dialogfooter", { "data-storybook-args": true }, h("nv-button", null, "Cancel"), h("nv-button", null, "Confirm")))),
10
+ },
11
+ ],
4
12
  };
5
13
  export default NvDialogfooterDocs;
@@ -71,7 +71,7 @@ export class NvDialogfooter {
71
71
  /****************************************************************************/
72
72
  //#region RENDER
73
73
  render() {
74
- return (h(Host, { key: 'a5148c3e41ad6d7c5e54e2b29b8452707d5c2b2b' }, h("slot", { key: 'e5fcf66789eac1c6b0118403c33e7e80fb974c71' }, h(Fragment, { key: '9255d264f559322bebbcc874d91802bbaaeac2d6' }, !this.undismissable && (h("nv-button", { key: 'e8d6085fbbcf5bbdbad7b23d65660debb296a332', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), h("nv-button", { key: '8a6963f12e89860c3bb1e17eeed60cf9b6d81bc3', ref: el => (this.primaryButtonRef = el), onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (h("nv-icon", { key: '59dc3f909f7366a0d0e05ab089d34b9d222f43ed', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (h("nv-icon", { key: 'e2be736da129cf7720dad6e1a443eb55a182b2dd', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
74
+ return (h(Host, { key: '38542bde042483b52b17ff43fb31de4e8c304e1f' }, h("slot", { key: 'ccb01a71be38ac68d77cfa408fd982fee291f683' }, h(Fragment, { key: '223bb06266eca959f83859119a7ec3393f2b0c33' }, !this.undismissable && (h("nv-button", { key: '01866629e7dfbfb480982c86b07fa9b3db7ceb36', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), h("nv-button", { key: '7d6bddb1681dc733ace5aac42b15b8b2d6fbc20e', ref: el => (this.primaryButtonRef = el), onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (h("nv-icon", { key: '5dcdb4a2b88f2b776ae37782101d011a0c9012b9', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (h("nv-icon", { key: 'd386d6a393cb9f6771f0e2dd282a6f8b76e30047', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
75
75
  }
76
76
  static get is() { return "nv-dialogfooter"; }
77
77
  static get formAssociated() { return true; }
@@ -1,5 +1,13 @@
1
+ import { h } from "@stencil/core";
1
2
  const NvDialogheaderDocs = {
2
3
  component: 'nv-dialogheader',
3
- skip: true,
4
+ parentGroup: 'Dialog/nv-dialog',
5
+ subcomponents: ['nv-dialog', 'nv-button', 'nv-icon'],
6
+ stories: [
7
+ {
8
+ name: 'Default',
9
+ template: (h("nv-dialog", { open: true }, h("nv-button", { slot: "trigger" }, "Open Dialog"), h("nv-dialogheader", { "data-storybook-args": true }, "Dialog Header"), h("p", null, "Dialog content"))),
10
+ },
11
+ ],
4
12
  };
5
13
  export default NvDialogheaderDocs;
@@ -15,7 +15,7 @@ export class NvDialogheader {
15
15
  /****************************************************************************/
16
16
  //#region RENDER
17
17
  render() {
18
- return (h(Host, { key: '8577fd5a719adf8764d85f667495701cb1514df2' }, h("slot", { key: '5858bd8fff71db135f69a76cb298343f0590f853' }, h(Fragment, { key: '81ac703e205f1b8587144213c7f57c9fd7ba9657' }, h("div", { key: '5a12e1facef605d96338b31468c8d8109379e2d1', class: "heading" }, this.heading), h("div", { key: '1a559041968e2b2b92a987c014e41380fe6f8616', class: "subheading" }, this.subheading)))));
18
+ return (h(Host, { key: '791850365cf2de9d1a5395083e01ee927e9fcfac' }, h("slot", { key: '2641c425dc10b7d748365fa0fa3d86a6784e129b' }, h(Fragment, { key: '7c8ef96b9c7e0ba03e374cc7e74d1f8f24d94c5b' }, h("div", { key: '53d09670dc9779101b3e79adea03bc34870df028', class: "heading" }, this.heading), h("div", { key: '624861c0ecac1de23ac1a4b558dea9de6acf5706', class: "subheading" }, this.subheading)))));
19
19
  }
20
20
  static get is() { return "nv-dialogheader"; }
21
21
  static get originalStyleUrls() {
@@ -2,6 +2,7 @@ import { h } from "@stencil/core";
2
2
  import { nameof } from "../../utils/class.utils";
3
3
  const NvDrawerDocs = {
4
4
  component: 'nv-drawer',
5
+ parentGroup: 'Dialog/nv-drawer',
5
6
  subcomponents: [
6
7
  'nv-drawerheader',
7
8
  'nv-drawerfooter',
@@ -424,7 +424,7 @@ export class NvDrawer {
424
424
  render() {
425
425
  const hasForm = this.form || this.el.querySelector('form');
426
426
  const state = this.open ? 'open' : 'closed';
427
- return (h(Host, { key: 'e8ae3c1b5adcd23622f97d0f405fd8607e51b3e4' }, h("slot", { key: 'c94efef46482ef65c9a907d5f23e2306cc88c9af', name: "trigger" }), h("dialog", { key: '8b12d8885f4a7f987985b4be49aace1f48b66949', ref: el => (this.dialogElement = el), onClose: this.handleDrawerClose, onClick: this.handleDrawerClick, role: "dialog", "aria-modal": "true", "aria-labelledby": "drawer-header", "aria-describedby": "drawer-content", class: clsx({ [`side-${this.side}`]: true }), "data-state": state }, h("div", { key: '5fc00bd8e28cf26c92e3c3888941e6209e03fb65', class: "backdrop", ref: el => (this.backdropElement = el) }, h("div", { key: '7eb5e3335a15a3821fa4c62160a313bddf34e3b2', class: clsx('content', `size-${this.size}`), ref: el => (this.contentElement = el), "data-state": state, "data-side": this.side, style: this.width ? { width: this.width } : {} }, !this.undismissable && (h("nv-button", { key: 'c284d6cea03806890603d71d27d642961eab4423', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDrawerClose, "aria-label": "Close drawer" }, h("nv-icon", { key: 'daf2c3af54c3eaede4835b100200632e644b7cc6', name: "x", size: "sm" }))), this.headerElement ? (h("slot", { name: "header" })) : (h("nv-drawerheader", { id: "drawer-header" })), h("div", { key: '90ffef76d60a3522ae5daf10554a3f8a487c5f76', class: "content-body", id: "drawer-content" }, h("slot", { key: 'd66e675a68c27819f7ca146afc27e63d05ad5603' })), this.footerElement ? (h("slot", { name: "footer" })) : (h("nv-drawerfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDrawerCanceled: this.handleDrawerClose, undismissable: this.undismissable })))))));
427
+ return (h(Host, { key: '6ca026b67705704b891c9bca8293dde501c0dc7d' }, h("slot", { key: 'ce9a79e0fe385b774aeac0106929343d6a053394', name: "trigger" }), h("dialog", { key: '49f9c71fd04de256f05d82d671b7664cf1ab3563', ref: el => (this.dialogElement = el), onClose: this.handleDrawerClose, onClick: this.handleDrawerClick, role: "dialog", "aria-modal": "true", "aria-labelledby": "drawer-header", "aria-describedby": "drawer-content", class: clsx({ [`side-${this.side}`]: true }), "data-state": state }, h("div", { key: '9c113486255925e4c7520c1f040b95ec253625d8', class: "backdrop", ref: el => (this.backdropElement = el) }, h("div", { key: 'e5b32ffe6785c27eef326f37b23478b9993f451a', class: clsx('content', `size-${this.size}`), ref: el => (this.contentElement = el), "data-state": state, "data-side": this.side, style: this.width ? { width: this.width } : {} }, !this.undismissable && (h("nv-button", { key: 'ac89f7d87b1f307fd809e518cfb88ceb82a074af', class: "close-button", emphasis: "lower", size: "sm", onClick: this.handleDrawerClose, "aria-label": "Close drawer" }, h("nv-icon", { key: '47d0888ea54efdf3f82cfd0b39bda5c1141074ba', name: "x", size: "sm" }))), this.headerElement ? (h("slot", { name: "header" })) : (h("nv-drawerheader", { id: "drawer-header" })), h("div", { key: '77a08ee8fcda500d45c9426de8d0b6fb9e960142', class: "content-body", id: "drawer-content" }, h("slot", { key: 'fc40bc3ecb66c95c188b1984431788e8d3bb66e2' })), this.footerElement ? (h("slot", { name: "footer" })) : (h("nv-drawerfooter", { form: this.form, primaryButtonType: hasForm ? ButtonType.Submit : ButtonType.Button, onDrawerCanceled: this.handleDrawerClose, undismissable: this.undismissable })))))));
428
428
  }
429
429
  static get is() { return "nv-drawer"; }
430
430
  static get originalStyleUrls() {
@@ -1,5 +1,13 @@
1
+ import { h } from "@stencil/core";
1
2
  const NvDrawerfooterDocs = {
2
3
  component: 'nv-drawerfooter',
3
- skip: true,
4
+ parentGroup: 'Dialog/nv-drawer',
5
+ subcomponents: ['nv-drawer', 'nv-button', 'nv-drawerheader'],
6
+ stories: [
7
+ {
8
+ name: 'Default',
9
+ template: (h("nv-drawer", { open: true }, h("nv-button", { slot: "trigger" }, "Open Drawer"), h("nv-drawerheader", null, "Drawer Header"), h("p", null, "Drawer content"), h("nv-drawerfooter", { "data-storybook-args": true }, h("nv-button", null, "Cancel"), h("nv-button", null, "Save")))),
10
+ },
11
+ ],
4
12
  };
5
13
  export default NvDrawerfooterDocs;
@@ -76,7 +76,7 @@ export class NvDrawerfooter {
76
76
  /****************************************************************************/
77
77
  //#region RENDER
78
78
  render() {
79
- return (h(Host, { key: 'c83bba64c28cf284847c2b726e2d1bb9deb86152' }, h("slot", { key: '89e9a548f3cee3c45b8e7874e9d8618b469ce94a' }, h(Fragment, { key: 'ef18a333ef7c5de05891a265a8ccb85b6913237a' }, !this.undismissable && (h("nv-button", { key: 'd69eab0d344bdfb9f2454cc18d953f50b9d65aa2', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), h("nv-button", { key: '8329da9bcbb41cb972c2b2527334086c47a10f93', ref: el => (this.primaryButtonRef = el), onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (h("nv-icon", { key: '86ac92ef44afe20e540422d3cd0ee45c04c233bc', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (h("nv-icon", { key: '3a48543e903d060ff77d1100df4984db04c0d2cb', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
79
+ return (h(Host, { key: '34d1e6674af648693843a7ac721dbdbcd72b51c0' }, h("slot", { key: '1f4a4e543545e160f6adae62eb4313352c4792cc' }, h(Fragment, { key: '250ca124fa3b898eb4f60f44718dacbc182372e4' }, !this.undismissable && (h("nv-button", { key: 'd26c422a3b7912140ee92ac1d2fb6401a980f8f8', onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), h("nv-button", { key: '8c77da0f29d18e68288b4e74f1050bc80ddb8e8d', ref: el => (this.primaryButtonRef = el), onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (h("nv-icon", { key: 'ef09488fa5a8ca561f0c03973cb7b4fe3a6669d3', slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (h("nv-icon", { key: '56a7a5e6fab648c67a69a309128195d047f3b5a8', slot: "trailing-icon", name: this.trailingIcon, size: "sm" })))))));
80
80
  }
81
81
  static get is() { return "nv-drawerfooter"; }
82
82
  static get formAssociated() { return true; }
@@ -1,5 +1,13 @@
1
+ import { h } from "@stencil/core";
1
2
  const NvDrawerheaderDocs = {
2
3
  component: 'nv-drawerheader',
3
- skip: true,
4
+ parentGroup: 'Dialog/nv-drawer',
5
+ subcomponents: ['nv-drawer', 'nv-button', 'nv-icon'],
6
+ stories: [
7
+ {
8
+ name: 'Default',
9
+ template: (h("nv-drawer", { open: true }, h("nv-button", { slot: "trigger" }, "Open Drawer"), h("nv-drawerheader", { "data-storybook-args": true }, "Drawer Header"), h("p", null, "Drawer content"))),
10
+ },
11
+ ],
4
12
  };
5
13
  export default NvDrawerheaderDocs;
@@ -19,7 +19,7 @@ export class NvDrawerheader {
19
19
  /****************************************************************************/
20
20
  //#region RENDER
21
21
  render() {
22
- return (h(Host, { key: '8ada9e8c2b69a74b61b079de6def10bc7504d7f5' }, h("slot", { key: '29c79bb789bed32bb395f1d5a8ebccf4838e3f45' }, h(Fragment, { key: '688bb835bd87de992f5bc4a63f2a857b7f806120' }, h("div", { key: '2638fa0871f356cc5ec6e8b72f9812cdbc93ff03', class: "heading" }, this.heading), h("div", { key: 'a3c2b292bfc359e2d09ae4d9a88857bc9fa0d8cb', class: "subheading" }, this.subheading)))));
22
+ return (h(Host, { key: '7f7a5091089b48e34ca8161d37062a760d04cb04' }, h("slot", { key: '32a03c7930e82a38a3e26d6cd1726dd1ac9f246c' }, h(Fragment, { key: 'ef9d6e52ac2918691ec04df4cb7e7703d5e3d0ee' }, h("div", { key: '2a4c59cf0e68d17014b977dbcd15d7b76b63b396', class: "heading" }, this.heading), h("div", { key: '70820933a33c13e39db4bb3178d270ddb780afdf', class: "subheading" }, this.subheading)))));
23
23
  }
24
24
  static get is() { return "nv-drawerheader"; }
25
25
  static get originalStyleUrls() {
@@ -2,6 +2,7 @@ import { h } from "@stencil/core";
2
2
  import { nameof } from "../../utils/class.utils";
3
3
  const NvFieldcheckboxDocs = {
4
4
  component: 'nv-fieldcheckbox',
5
+ parentGroup: 'Fields/nv-fieldcheckbox',
5
6
  subcomponents: ['nv-icon'],
6
7
  stories: [
7
8
  // Default
@@ -155,15 +155,15 @@ export class NvFieldcheckbox {
155
155
  ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
156
156
  : undefined;
157
157
  const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
158
- return (h(Host, { key: '6ee6fed9bb078e32a40ac2d6c1c4baf2f1825be1', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h("div", { key: '21b122c2c36382824eea7e66f2382cd333c0831c', class: "input-container" }, h("input", { key: '727fd8a8321e4259d44a8ffe362aa23bdb2e640e', type: "checkbox", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly && !useNativeRequired, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
158
+ return (h(Host, { key: 'd7af71859fcbf45833c17977e7f524d12d7ec516', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h("div", { key: 'c636a80f3d538843e76b48f4bc6387064fdbcb6f', class: "input-container" }, h("input", { key: '4e721f36cb3c6137f0a05b981e22fda0e17dc8a3', type: "checkbox", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: Boolean(this.checked), disabled: this.disabled || this.readonly, readonly: this.readonly && !useNativeRequired, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
159
159
  'aria-required': String(ariaRequiredValue),
160
160
  }), indeterminate: this.indeterminate, ref: el => {
161
161
  if (el) {
162
162
  el.indeterminate = this.indeterminate;
163
163
  }
164
- } }), h("span", { key: '74e19f64867b671e2f632780726f8cab9c6e485e', class: "icon" }, this.checked && !this.indeterminate && (h("slot", { key: '960d296f7caa4abe6f4268c41c09b29b4c0454da', name: "checked-icon" }, h("svg", { key: '5a6875f34252b36490daabfdc600b4aa748c6f2e', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, h("path", { key: '8acd040c77cb913d2904daaac86038171e338761', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (h("slot", { key: '42163fea08858131d3a4e74c119565e70d850cf2', name: "indeterminate-icon" }, h("svg", { key: '86d0ce5504ea9e8a82ba6c85b7729ce8161aaecf', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, h("path", { key: 'ce47ed03186447bc90321a2aa8343a3377a6ade7', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("slot", { key: 'b41cb04185643e5dada6da24e5fc325905b53d08' }), h("div", { key: '57509a30441ab9de0c1949f6392dab34674ce91c', class: "text-container" }, h("slot", { key: '81ee7728a5a814371dab853d377e249afb5eab7e', name: "main" }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'f428aeaedd1e70f7b9626c54f3995b2998cde140', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h("slot", { key: 'e36c574ba6041b7ab0dee5c02a025370f21d947a', name: "label" }, this.label))), (this.description ||
165
- this.el.querySelector('[slot="description"]')) && (h("div", { key: 'fed901aef5e5ac91b5ac04fc8751585b55031666', class: "description" }, h("slot", { key: '84fdd3bd94f0249f3ed821e1849be6a6f192fb72', name: "description" }, this.description)))), (this.errorDescription ||
166
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'fc0526ddbbd84e08c18ee27c0b4be0533af0fe22', hidden: !this.error, class: "error-description" }, h("slot", { key: 'd288116644ed450bdab0be20a3e7def7481e6c8b', name: "error-description" }, this.errorDescription))))));
164
+ } }), h("span", { key: '8d2900a5541c0920e18ec6274558aeb88e290139', class: "icon" }, this.checked && !this.indeterminate && (h("slot", { key: '3a80b2db6b84836d1b5ceb72abe0d45dc9f9d3f5', name: "checked-icon" }, h("svg", { key: 'cf5f36827d3470b6279bfb985cbe9fbf35d8773e', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, h("path", { key: 'b4b49d0ee3e2207fdfa00ff29d3ccfd63744b313', d: "M11.6667 3.5L5.25004 9.91667L2.33337 7", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.indeterminate && (h("slot", { key: '3a5ceee36c94ee66b4104373a1ab9a8dcae635f4', name: "indeterminate-icon" }, h("svg", { key: '11e3599cdda5c3055f7f18f7800b4b82747863a9', class: "indeterminate-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 14 14", fill: "none" }, h("path", { key: '4b8eecd39e9cfc73a340980f8e438b855a64e2de', d: "M2.9165 7H11.0832", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("slot", { key: 'd5f707b058e44ea577a37714994ddd16933e5e5b' }), h("div", { key: 'e60d0a559d0069074e5a7973e94d9dc212a659d5', class: "text-container" }, h("slot", { key: '3ba66c529955b680c16a94a8dd36955ebc7563aa', name: "main" }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'be5232898d0209130626ae3d27af0fd6f2d79327', htmlFor: this.inputId, class: clsx(this.hideLabel && 'visually-hidden') }, h("slot", { key: 'ec0886e8605d7cdd2494134831d729bc7687f542', name: "label" }, this.label))), (this.description ||
165
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: '0de7768b857c85b8b54cd4edaeaf60fa8130005a', class: "description" }, h("slot", { key: 'b6c3a2f467934d5bdaa913cc7dccc9b2677c49e5', name: "description" }, this.description)))), (this.errorDescription ||
166
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '2c286387dbdc2e8f98c6fc4ae62c63c57e85a972', hidden: !this.error, class: "error-description" }, h("slot", { key: '3d0eeb3caee84399792cfe9484902c6d5a36e226', name: "error-description" }, this.errorDescription))))));
167
167
  }
168
168
  static get is() { return "nv-fieldcheckbox"; }
169
169
  static get formAssociated() { return true; }
@@ -51,6 +51,7 @@ const formatStories = formats.map(format => ({
51
51
  }));
52
52
  const NvFielddateDocs = {
53
53
  component: 'nv-fielddate',
54
+ parentGroup: 'Fields/nv-fielddate',
54
55
  subcomponents: [
55
56
  'nv-badge',
56
57
  'nv-button',
@@ -404,15 +404,15 @@ export class NvFielddate {
404
404
  ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
405
405
  : undefined;
406
406
  const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
407
- return (h(Host, { key: '3c13437365ba5c194e382050d83a01c2610f901d' }, ((this.label && this.label.length > 0) ||
408
- this.el.querySelector('[slot="label"]')) && (h("label", { key: '82bccae1ff2044e8b099789e4403857772f8449c', htmlFor: this.inputId }, h("slot", { key: '3a2065e072ba6acb2ca5a162b877d05d30f93815', name: "label" }, this.label))), h("nv-popover", { key: 'afd5fc8f78a46562b318f2f2d48306efa2275fac', ref: this.setPopoverRef, id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h("div", { key: '748395cd864e8ee8f224460a420379b9f8ea362e', slot: "trigger", class: "input-wrapper" }, h("slot", { key: '8c1f2baa6a33861d83c9497ee39a6a2a08b27d2e', name: "before-input" }), h("div", { key: '91dfd2e870fc59e0949ff1ae2b66e0a3c89ec203', class: "input-container", onClick: this.handleInputContainerClick }, h("slot", { key: '7e7a11aacf727512ccbf4c5fd149f9ccbf161c0d', name: "leading-input" }), h("input", { key: '47b9d83bb4942604c3e8244995d032743ad84e78', id: this.inputId, ref: this.setInputRef, placeholder: this.placeholder ||
407
+ return (h(Host, { key: '373ddbc08a6b5d6ca6f2ac368f0ec84067539313' }, ((this.label && this.label.length > 0) ||
408
+ this.el.querySelector('[slot="label"]')) && (h("label", { key: '8373d2e38786f41bda23dd8fe9d345d24fb27710', htmlFor: this.inputId }, h("slot", { key: '8ded993892e5eef5caec76081eff5d3ed2db695a', name: "label" }, this.label))), h("nv-popover", { key: '0a394aab113c9a964f7495481d728416b1b7b041', ref: this.setPopoverRef, id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h("div", { key: 'ae7e1a4d7454b09969335a4772e77ba137a12389', slot: "trigger", class: "input-wrapper" }, h("slot", { key: '7b744ada5b12dca2ffaca4690f27a9a77240ea55', name: "before-input" }), h("div", { key: '9eb02599b7d7b6ee1835756525d8646d8a50be73', class: "input-container", onClick: this.handleInputContainerClick }, h("slot", { key: '882a358dd1f0865a0c46ca5d9c5f8fe4689de616', name: "leading-input" }), h("input", { key: '2f8603d625b8fbfe8a5287e5512fdb2b7309004b', id: this.inputId, ref: this.setInputRef, placeholder: this.placeholder ||
409
409
  this.convertToInputmaskFormat(this.dateFormat), name: this.name, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
410
410
  'aria-required': String(ariaRequiredValue),
411
- }), autofocus: this.autofocus, onInput: this.handleInput, onFocus: this.handleFocus, "data-scope": "date" }), this.error && (h("nv-icon", { key: '0c8badb4887475f3ce278db7dd1bb9d4f4db1948', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: '908c9595d2858b5915ea9625b365d98c9076175d', name: "circle-check", class: "validation", size: "md" })), h("nv-iconbutton", { key: '2acbfe40a0db4b070491e91fa69b9a21fee5111d', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
411
+ }), autofocus: this.autofocus, onInput: this.handleInput, onFocus: this.handleFocus, "data-scope": "date" }), this.error && (h("nv-icon", { key: 'ae611c7990a9ee817fcd8fec5c3c6068b995310d', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: '3fa08699f440d9dcbd9612965a3f1cf88b17a83c', name: "circle-check", class: "validation", size: "md" })), h("nv-iconbutton", { key: 'ee781c688e8bc62d17250dd4ec198e5706641cf7', class: "toggle-calendar-icon", name: "calendar" //{this.open ? 'chevron-top' : 'chevron-down'}
412
412
  ,
413
- size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h("slot", { key: 'fb9ae11ed575835053e11a28136c545fefa1f185', name: "after-input" })), h("div", { key: '4ed455b92288d64e1d243e0d2268251f183523c9', slot: "content" }, h("nv-calendar", { key: '1af9d63edd9c95414ddcba5e3988a1bf42fae4bb', onSingleDateChange: this.handleSingleDateChange.bind(this), dateFormat: this.dateFormat, singleValue: this.singleValue, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, onValueChanged: this.handleCalendarValueChanged }))), ((this.description && this.description.length > 0) ||
414
- this.el.querySelector('[slot="description"]')) && (h("div", { key: '3a124e7dd1d5216ac586893eb2d7ae8383051cdc', class: "description" }, h("slot", { key: '13f0b8e29875e369734799370fbd54c27becebfb', name: "description" }, this.description))), (this.errorDescription ||
415
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '78dbbd76ada0c99907c9725fc82f2edfea41830c', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h("slot", { name: "error-description" })) : (this.errorDescription))), h("slot", { key: '2c7f702581d6645cb9e6e0e94effa2ea067f049a' })));
413
+ size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h("slot", { key: 'ab360fe2a6d5ceb48899ba05e404548995348e96', name: "after-input" })), h("div", { key: '8379e7defd054c642fe0d25cd8f3890c351811b1', slot: "content" }, h("nv-calendar", { key: '316df6f492d8d684ba91429fe5e499330329d0a7', onSingleDateChange: this.handleSingleDateChange.bind(this), dateFormat: this.dateFormat, singleValue: this.singleValue, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, onValueChanged: this.handleCalendarValueChanged }))), ((this.description && this.description.length > 0) ||
414
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: '9bad6d56684e9fea1298b5338ed32c04f3ab364c', class: "description" }, h("slot", { key: '180f3d6aac34ed02bf7ac351319327d701d4a419', name: "description" }, this.description))), (this.errorDescription ||
415
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'b62cfbae2fec4d1e4c6d15f3bd3cf8e0936ec28f', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h("slot", { name: "error-description" })) : (this.errorDescription))), h("slot", { key: '6c4f47488a757c5808ed1bbe8bcedaa5dce60da2' })));
416
416
  }
417
417
  static get is() { return "nv-fielddate"; }
418
418
  static get originalStyleUrls() {
@@ -122,6 +122,7 @@ const getDateRangeShortcuts = () => [
122
122
  ];
123
123
  const NvFielddaterangeDocs = {
124
124
  component: 'nv-fielddaterange',
125
+ parentGroup: 'Fields/nv-fielddaterange',
125
126
  subcomponents: [
126
127
  'nv-button',
127
128
  'nv-iconbutton',
@@ -560,16 +560,16 @@ export class NvFielddaterange {
560
560
  ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
561
561
  : undefined;
562
562
  const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
563
- return (h(Host, { key: 'ff398fcfbbe95e5665b774fe43350acbbc348fe9' }, ((this.label && this.label.length > 0) ||
564
- this.el.querySelector('[slot="label"]')) && (h("label", { key: '2b1909b93047611192bb66f574bdda3b206e2385', htmlFor: this.startInputId }, h("slot", { key: '8195acf71bec4897fca7c4617eb0de096e88b191', name: "label" }, this.label))), h("nv-popover", { key: 'ba36048cf5a34974f4f4deb66fb0d735988e5b53', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h("div", { key: '14b6d78ac81001bd174bad38172a8a1a1f347731', slot: "trigger", class: "input-wrapper" }, h("slot", { key: 'fb016c89c6f8f99ae3c67917fc623bd5ebfd55fc', name: "before-input" }), h("div", { key: 'ba782a5e283e468467ccdb9b571046cd2f4852e9', class: "input-container" }, h("slot", { key: '2adfa150e03b07b3fc68dcf58e8033b7945161a0', name: "leading-input" }), h("div", { key: '0276764deeb85f4211ac741f3eb5fef2f9fbcb43', class: "range-inputs" }, h("input", { key: 'b752bb09fefcd173403cb11db40d0aabd25e1388', id: this.startInputId, type: "text", placeholder: this.startPlaceholder ||
563
+ return (h(Host, { key: '659fbd943d7f088b0dde4ad6ae9eac2fd719d58d' }, ((this.label && this.label.length > 0) ||
564
+ this.el.querySelector('[slot="label"]')) && (h("label", { key: '5ec3a4df845c445ce2c4b45798677c9ba1c79f04', htmlFor: this.startInputId }, h("slot", { key: 'ac22f1a6d6f49a2feb2a92a1ff9045422785ef64', name: "label" }, this.label))), h("nv-popover", { key: 'd4ac345011bce61f263df887fa9eebc210659145', ref: el => (this.popoverElement = el), id: this.popoverId, triggerMode: "controlled", placement: "bottom-start", open: this.open }, h("div", { key: '6f13372e3bea5b40ed7bc82ffea0fa4f85f6e450', slot: "trigger", class: "input-wrapper" }, h("slot", { key: '4403b049058b231017eea3be6a1045312d805d75', name: "before-input" }), h("div", { key: 'df2603a90a1e7740311c8a4b1a85a051ed8efff0', class: "input-container" }, h("slot", { key: '37554324ba2bb1f25446c97db50546e0a33b5af8', name: "leading-input" }), h("div", { key: '0e99431473e98409bdf883acfd7e50823e6fc3c2', class: "range-inputs" }, h("input", { key: '7077a4a95fd264466c44f4f96fd9b6236887b731', id: this.startInputId, type: "text", placeholder: this.startPlaceholder ||
565
565
  this.convertToInputmaskFormat(this.dateFormat), name: this.startName, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
566
566
  'aria-required': String(ariaRequiredValue),
567
- }), autofocus: this.autofocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus, "data-scope": "date-range" }), h("div", { key: 'd5be46903d09c3b189dc4e7ee8ddad170c0f6286', class: "range-separator" }), h("input", { key: '11b9a3838149854e68ae7c9d96aedbaaba84a90d', id: this.endInputId, type: "text", placeholder: this.endPlaceholder ||
567
+ }), autofocus: this.autofocus, value: this.startValue, onInput: this.handleStartInput, onFocus: this.handleFocus, "data-scope": "date-range" }), h("div", { key: '8f84668eb682306ff6751044fb715dfbccc38e6b', class: "range-separator" }), h("input", { key: '1e7045f9501a04e14d4f726171abd07cbce0e004', id: this.endInputId, type: "text", placeholder: this.endPlaceholder ||
568
568
  this.convertToInputmaskFormat(this.dateFormat), name: this.endName, disabled: this.disabled, readOnly: this.readonly, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
569
569
  'aria-required': String(ariaRequiredValue),
570
- }), value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus, "data-scope": "date-range" })), this.error && (h("nv-icon", { key: '26b42abdeafd75930a5ca607d24337b6b3c10ac2', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: '1af99ccf21b9f8089204e9e97c2453b2bdeffd29', name: "circle-check", class: "validation", size: "md" })), h("nv-iconbutton", { key: '38b70d2b9f4ec16ff1707dc2b05ceae806646541', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h("slot", { key: '2ab6a03f44f04595763f4a6cbb8bc142578e1b3a', name: "after-input" })), h("div", { key: '1fc0213d712a8560dee995c4d26c7d9944af650b', slot: "content" }, h("nv-calendar", { key: 'd883272405391bec569516321fd2eae93dac817a', ref: el => (this.calendarElement = el), onRangeDateChange: this.handleRangeDateChange.bind(this), onValueChanged: this.handleCalendarValueChanged.bind(this), onSingleDateChange: this.handleCancelDateChange.bind(this), dateFormat: this.dateFormat, value: this.value, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, selectionType: "range", "data-prevent-navigation": "true" }))), ((this.description && this.description.length > 0) ||
571
- this.el.querySelector('[slot="description"]')) && (h("div", { key: 'd0f9852ccd37202db9653b338cf850ba44365ddf', class: "description" }, h("slot", { key: 'cff092ce15f1f90f246de859fea30d3714fd4520', name: "description" }, this.description))), (this.errorDescription ||
572
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'c9dfd25d6784cca037337e7ffe28fc4ac1d33fd5', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h("slot", { name: "error-description" })) : (this.errorDescription))), h("slot", { key: '8123f07bf03ae219917f2e9f8146142bd8781bd4' })));
570
+ }), value: this.endValue, onInput: this.handleEndInput, onFocus: this.handleFocus, "data-scope": "date-range" })), this.error && (h("nv-icon", { key: 'a82a7ea123f900eda3eb82cb1a70796ffc0248da', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: '176e92373cb84d7cd873637818eba98b51a69646', name: "circle-check", class: "validation", size: "md" })), h("nv-iconbutton", { key: 'd7069a77fa7fdca3b8202fed9fdfe8af082fdaf6', class: "toggle-calendar-icon", name: "calendar", size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide calendar' : 'Show calendar', onClick: this.toggleCalendar, tabIndex: this.disabled ? -1 : 0 })), h("slot", { key: '1ef543db2799a3242ed0a9ef8a5058b002fb885b', name: "after-input" })), h("div", { key: 'b47f6bbc98772ba7b0aa680737bf278b716aa237', slot: "content" }, h("nv-calendar", { key: '6008dda7daff3c40f20475996f8215ae8b6c457a', ref: el => (this.calendarElement = el), onRangeDateChange: this.handleRangeDateChange.bind(this), onValueChanged: this.handleCalendarValueChanged.bind(this), onSingleDateChange: this.handleCancelDateChange.bind(this), dateFormat: this.dateFormat, value: this.value, firstDayOfWeek: this.firstDayOfWeek, numberOfCalendars: this.numberOfCalendars, min: this.min, max: this.max, locale: this.locale, shortcutsPlacement: this.shortcutsPlacement, showActions: this.showActions, shortcuts: this.shortcuts, showWeekNumbers: this.showWeekNumbers, disabledDates: this.disabledDates, selectionType: "range", "data-prevent-navigation": "true" }))), ((this.description && this.description.length > 0) ||
571
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: 'bd3c9e7650cea0ae6e30418c1ed15e2e21241576', class: "description" }, h("slot", { key: 'c87eb17e1b5624c7d3b5b31644919c4a473ea135', name: "description" }, this.description))), (this.errorDescription ||
572
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'e9cb169a418080a3c374f5d36fdc7c09845a52f6', hidden: !this.error, class: "error-description" }, this.el.querySelector('[slot="error-description"]') ? (h("slot", { name: "error-description" })) : (this.errorDescription))), h("slot", { key: 'ea7d3580a7007bcdc85eb096ccdbf683d7a1d906' })));
573
573
  }
574
574
  static get is() { return "nv-fielddaterange"; }
575
575
  static get originalStyleUrls() {
@@ -2,6 +2,7 @@ import { h } from "@stencil/core";
2
2
  import { nameof } from "../../utils/class.utils";
3
3
  const NvFielddropdownDocs = {
4
4
  component: 'nv-fielddropdown',
5
+ parentGroup: 'Fields/nv-fielddropdown',
5
6
  subcomponents: [
6
7
  'nv-fielddropdownitem',
7
8
  'nv-avatar',
@@ -658,11 +658,11 @@ export class NvFielddropdown {
658
658
  ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
659
659
  : undefined;
660
660
  const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
661
- return (h(Host, { key: 'fc83e8834e38142ad102d17495b5978283699576', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '5a1eb965296909556869a025a6e4da609f2cbf90', htmlFor: this.inputId, onClick: this.syncToggleDropdown.bind(this) }, h("slot", { key: 'd5d4f3607e07e248c4083c3ea934a3bd1d7a7467', name: "label" }, this.label))), h("nv-popover", { key: '17e42a4d729dbc735db49f398ec14e0c296ff8ee', triggerMode: "controlled", placement: "bottom-start", open: this.open, onOpenChanged: e => this.openChanged.emit(e.detail) }, h("div", { key: 'a665ff2d2142acf5335d52e9a304ea2995750e5f', class: "input-wrapper", slot: "trigger" }, h("slot", { key: 'bddb24c6404ea0ea7da33485f8d497d0a635f3e2', name: "before-input" }), h("div", { key: '7275a9a99c9b4476b405f3966f128ce9ce92801a', class: "input-container" }, h("slot", { key: 'ede3c4442f365377eb83524f5d70d2922cd2a38b', name: "leading-input" }), this.filterable || this.disabled || this.readonly ? (h("input", { "data-scope": "focusable", id: this.inputId, type: "search", ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
661
+ return (h(Host, { key: 'b41a60470da47b175fac17a8bc88b8719b56cc14', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'adf93f21febb5404b931b821595eed91b24da55b', htmlFor: this.inputId, onClick: this.syncToggleDropdown.bind(this) }, h("slot", { key: 'c8b8256e6e06695a3b6778cec0a696bc0713e6dc', name: "label" }, this.label))), h("nv-popover", { key: '66895b00c801a5c1889da8bc73d9f519d3fe4b70', triggerMode: "controlled", placement: "bottom-start", open: this.open, onOpenChanged: e => this.openChanged.emit(e.detail) }, h("div", { key: 'e468646cb1d08f7f26a8c427040d14f843279fd0', class: "input-wrapper", slot: "trigger" }, h("slot", { key: 'd5567eb82b1e9230507963ed7ca76656f1415855', name: "before-input" }), h("div", { key: '872a8f01aeba95f52209e8dbe2bb1cff3c65c46f', class: "input-container" }, h("slot", { key: 'f8038d509899b3dbe895c9f042f39a1274d1b681', name: "leading-input" }), this.filterable || this.disabled || this.readonly ? (h("input", { "data-scope": "focusable", id: this.inputId, type: "search", ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
662
662
  'aria-required': String(ariaRequiredValue),
663
- }), disabled: this.disabled, readOnly: this.readonly, onInput: this.handleFilterInput })) : (h("p", { "data-scope": "focusable", id: this.inputId, ref: el => (this.selectElement = el), class: "non-filterable-text", tabIndex: this.disabled ? -1 : 0 }, this.getSelectedLabel() || this.value || this.placeholder)), this.filterable && this.filterText && (h("nv-iconbutton", { key: 'd1aa81c5d14601ea85cec133a94f2b071ca98358', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter.bind(this), "aria-label": "Clear input" })), this.error && (h("nv-icon", { key: 'd49e30222d63ffdcc4d952d959a98946b943685f', name: "alert-circle", class: "validation", size: "md" })), h("nv-iconbutton", { key: '6e157ce63f3f6faa08df5b7b9b7e6fd3ae9d0c31', "data-scope": "toggle-dropdown", ref: el => (this.toggleElement = el), name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', onClick: this.syncToggleDropdown.bind(this), tabIndex: this.disabled ? -1 : 0 })), h("slot", { key: '665519b43abbd562ea1c3e36355b15ffb3e6fea2', name: "after-input" })), h("div", { key: 'da97b6498e93d5f6c427bec6963db697c41c2d9a', slot: "content", style: this.maxHeight ? { maxHeight: this.maxHeight } : {} }, this.options?.length > 0 && (h("ul", { key: '0db57a711680aad61c32993b5f3afe304ec9066f' }, this.options.map(option => (h("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))), h("slot", { key: '5c7643c6436c42efa63bab75f416b684b662812b', name: "content" }))), (this.description ||
664
- this.el.querySelector('[slot="description"]')) && (h("div", { key: '0ade462a96a16bb0cf6fb9d49d4ead0d98a6234b', class: "description" }, h("slot", { key: 'bb2d0c3340bdc0d0b3ac77feab8bc70a73b89a00', name: "description" }, this.description))), (this.errorDescription ||
665
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'c04c2329d71e088b262a46441bb3bd9592d304e8', hidden: !this.error, class: "error-description" }, h("slot", { key: 'b85d769f12c4bf2a2ba5aba69c20566d17801f0a', name: "error-description" }, this.errorDescription)))));
663
+ }), disabled: this.disabled, readOnly: this.readonly, onInput: this.handleFilterInput })) : (h("p", { "data-scope": "focusable", id: this.inputId, ref: el => (this.selectElement = el), class: "non-filterable-text", tabIndex: this.disabled ? -1 : 0 }, this.getSelectedLabel() || this.value || this.placeholder)), this.filterable && this.filterText && (h("nv-iconbutton", { key: 'b5b48972a2529eee9dd2fd68871859bf289d472a', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter.bind(this), "aria-label": "Clear input" })), this.error && (h("nv-icon", { key: '2cca314634242b1e697ba2b26298b095f0742582', name: "alert-circle", class: "validation", size: "md" })), h("nv-iconbutton", { key: 'eac277cbb66ac82547d5c4c6a6aec3443f2fb593', "data-scope": "toggle-dropdown", ref: el => (this.toggleElement = el), name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', onClick: this.syncToggleDropdown.bind(this), tabIndex: this.disabled ? -1 : 0 })), h("slot", { key: '25f05b5425937ca89e1c8c4f2be9fbde2e39959a', name: "after-input" })), h("div", { key: '064a1701a6f4678e1443d7e028f3681e2e41dfd9', slot: "content", style: this.maxHeight ? { maxHeight: this.maxHeight } : {} }, this.options?.length > 0 && (h("ul", { key: 'a9e489d4eb5551044f43a5aacaed94457ddbcacc' }, this.options.map(option => (h("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))), h("slot", { key: '4dda850901378ea3416260e1c0adda7af9a153c7', name: "content" }))), (this.description ||
664
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: 'a878da5beb9572bc8d3a318d3879517ee84c7bac', class: "description" }, h("slot", { key: '04618e824a1b5d67a4ccbe70f13d9ca818f607bd', name: "description" }, this.description))), (this.errorDescription ||
665
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '007314310806e8dcc5b2b48af65bc66de4ba9f7a', hidden: !this.error, class: "error-description" }, h("slot", { key: '237a4e37e5869f8b66c631559027ec6551005ec6', name: "error-description" }, this.errorDescription)))));
666
666
  }
667
667
  static get is() { return "nv-fielddropdown"; }
668
668
  static get formAssociated() { return true; }
@@ -1,5 +1,58 @@
1
+ import { h } from "@stencil/core";
2
+ import { nameof } from "../../utils/class.utils";
1
3
  const NvFielddropdownitemDocs = {
2
4
  component: 'nv-fielddropdownitem',
3
- skip: true,
5
+ parentGroup: 'Fields/nv-fielddropdown',
6
+ subcomponents: ['nv-fielddropdown', 'nv-icon', 'nv-avatar', 'nv-badge'],
7
+ stories: [
8
+ // Default
9
+ {
10
+ name: 'Default',
11
+ description: 'Basic dropdown item within a fielddropdown',
12
+ template: (h("nv-fielddropdown", { label: "Select an option" }, h("nv-fielddropdownitem", { "data-storybook-args": true, value: "item1" }, "Item 1"), h("nv-fielddropdownitem", { value: "item2" }, "Item 2"), h("nv-fielddropdownitem", { value: "item3" }, "Item 3"))),
13
+ },
14
+ // value
15
+ {
16
+ name: nameof(x => x.value),
17
+ description: 'Dropdown item with a specific value',
18
+ template: (h("nv-fielddropdown", { label: "Select a city" }, h("nv-fielddropdownitem", { value: "paris" }, "Paris"), h("nv-fielddropdownitem", { "data-storybook-args": true, value: "london" }, "London"), h("nv-fielddropdownitem", { value: "tokyo" }, "Tokyo"))),
19
+ },
20
+ // disabled
21
+ {
22
+ name: nameof(x => x.disabled),
23
+ description: 'Disabled dropdown item that cannot be selected',
24
+ args: {
25
+ disabled: true,
26
+ },
27
+ template: (h("nv-fielddropdown", { label: "Select an option" }, h("nv-fielddropdownitem", { value: "item1" }, "Item 1"), h("nv-fielddropdownitem", { "data-storybook-args": true, value: "item2", disabled: true }, "Item 2 (Disabled)"), h("nv-fielddropdownitem", { value: "item3" }, "Item 3"))),
28
+ },
29
+ // detached
30
+ {
31
+ name: nameof(x => x.detached),
32
+ description: 'Detached dropdown item that remains visible when filtering',
33
+ args: {
34
+ detached: true,
35
+ },
36
+ template: (h("nv-fielddropdown", { label: "Search items", filterable: true }, h("nv-fielddropdownitem", { "data-storybook-args": true, value: "all", detached: true }, "All Items"), h("nv-fielddropdownitem", { value: "item1" }, "Item 1"), h("nv-fielddropdownitem", { value: "item2" }, "Item 2"), h("nv-fielddropdownitem", { value: "item3" }, "Item 3"))),
37
+ },
38
+ // WithIcon
39
+ {
40
+ name: 'WithIcon',
41
+ description: 'Dropdown item with leading icon',
42
+ template: (h("nv-fielddropdown", { label: "Select with icons" }, h("nv-fielddropdownitem", { value: "home" }, h("nv-icon", { slot: "leading-icon", name: "home" }), "Home"), h("nv-fielddropdownitem", { value: "user" }, h("nv-icon", { slot: "leading-icon", name: "user" }), "Profile"), h("nv-fielddropdownitem", { value: "settings" }, h("nv-icon", { slot: "leading-icon", name: "settings" }), "Settings"))),
43
+ },
44
+ // WithAvatar
45
+ {
46
+ name: 'WithAvatar',
47
+ description: 'Dropdown item with avatar',
48
+ template: (h("nv-fielddropdown", { label: "Select user" }, h("nv-fielddropdownitem", { value: "user1" }, h("nv-avatar", { slot: "leading-icon", initials: "JD", size: "xs" }), "John Doe"), h("nv-fielddropdownitem", { value: "user2" }, h("nv-avatar", { slot: "leading-icon", initials: "JS", size: "xs" }), "Jane Smith"))),
49
+ },
50
+ // WithBadge
51
+ {
52
+ name: 'WithBadge',
53
+ description: 'Dropdown item with trailing badge',
54
+ template: (h("nv-fielddropdown", { label: "Select status" }, h("nv-fielddropdownitem", { value: "active" }, "Active", h("nv-badge", { slot: "trailing-icon", color: "success", label: "New" })), h("nv-fielddropdownitem", { value: "pending" }, "Pending", h("nv-badge", { slot: "trailing-icon", color: "warning", label: "3" })), h("nv-fielddropdownitem", { value: "inactive" }, "Inactive"))),
55
+ },
56
+ ],
4
57
  };
5
58
  export default NvFielddropdownitemDocs;
@@ -53,7 +53,7 @@ export class NvFielddropdownitem {
53
53
  /****************************************************************************/
54
54
  //#region RENDER
55
55
  render() {
56
- return (h(Host, { key: '6d50463d72a8e2dde08ba3d7bc6f3ba21021163e', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, h("slot", { key: 'b38c59fc95f124c3395ff1ab0b7dfc4ecc27823b' }, h("div", { key: 'a5ba5d4b636847e5ce6c1bab6cbbce418b70a1af', class: "text-wrapper" }, h("span", { key: 'f01a0aa5ee475a9640c7abefe321f605ea5e7cdf', "data-scope": "text" }, this.label))), this.selected && (h("nv-icon", { key: '9cd1b5532a4d2f5c2546e9432262f483bd5c8d69', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
56
+ return (h(Host, { key: '40733c82ff3f46a260e536b8a5cfe95a06a5ef4c', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, h("slot", { key: 'a0fcbde0a3d70e8493d9c38428ea14d36d71fb84' }, h("div", { key: 'a88818483f7fe88d5e7d562bccf9c247c8189442', class: "text-wrapper" }, h("span", { key: '80cbccdb3cf0d86c22130a399f6cf70c7bc8c32b', "data-scope": "text" }, this.label))), this.selected && (h("nv-icon", { key: 'b89ab45c47eb08b37c29f93c78036121a33ab041', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
57
57
  }
58
58
  static get is() { return "nv-fielddropdownitem"; }
59
59
  static get originalStyleUrls() {
@@ -1,5 +1,46 @@
1
+ import { h } from "@stencil/core";
2
+ import { nameof } from "../../utils/class.utils";
1
3
  const NvFielddropdownitemcheckDocs = {
2
4
  component: 'nv-fielddropdownitemcheck',
3
- skip: true,
5
+ parentGroup: 'Fields/nv-fielddropdown',
6
+ subcomponents: ['nv-fielddropdown', 'nv-icon'],
7
+ stories: [
8
+ // Default
9
+ {
10
+ name: 'Default',
11
+ description: 'Checkbox dropdown item for multi-select',
12
+ template: (h("nv-fielddropdown", { label: "Select multiple options" }, h("nv-fielddropdownitemcheck", { "data-storybook-args": true, value: "option1" }, "Option 1"), h("nv-fielddropdownitemcheck", { value: "option2" }, "Option 2"), h("nv-fielddropdownitemcheck", { value: "option3" }, "Option 3"))),
13
+ },
14
+ // value
15
+ {
16
+ name: nameof(x => x.value),
17
+ description: 'Checkbox item with specific value',
18
+ template: (h("nv-fielddropdown", { label: "Select features" }, h("nv-fielddropdownitemcheck", { value: "feature1" }, "Feature 1"), h("nv-fielddropdownitemcheck", { "data-storybook-args": true, value: "feature2" }, "Feature 2"), h("nv-fielddropdownitemcheck", { value: "feature3" }, "Feature 3"))),
19
+ },
20
+ // disabled
21
+ {
22
+ name: nameof(x => x.disabled),
23
+ description: 'Disabled checkbox item',
24
+ args: {
25
+ disabled: true,
26
+ },
27
+ template: (h("nv-fielddropdown", { label: "Select options" }, h("nv-fielddropdownitemcheck", { value: "option1" }, "Option 1"), h("nv-fielddropdownitemcheck", { "data-storybook-args": true, value: "option2", disabled: true }, "Option 2 (Disabled)"), h("nv-fielddropdownitemcheck", { value: "option3" }, "Option 3"))),
28
+ },
29
+ // checked
30
+ {
31
+ name: nameof(x => x.checked),
32
+ description: 'Pre-checked checkbox item',
33
+ args: {
34
+ checked: true,
35
+ },
36
+ template: (h("nv-fielddropdown", { label: "Select options" }, h("nv-fielddropdownitemcheck", { "data-storybook-args": true, value: "option1", checked: true }, "Option 1 (Pre-selected)"), h("nv-fielddropdownitemcheck", { value: "option2" }, "Option 2"), h("nv-fielddropdownitemcheck", { value: "option3" }, "Option 3"))),
37
+ },
38
+ // WithIcon
39
+ {
40
+ name: 'WithIcon',
41
+ description: 'Checkbox item with icon',
42
+ template: (h("nv-fielddropdown", { label: "Select with icons" }, h("nv-fielddropdownitemcheck", { value: "email" }, h("nv-icon", { slot: "leading-icon", name: "mail" }), "Email"), h("nv-fielddropdownitemcheck", { value: "sms" }, h("nv-icon", { slot: "leading-icon", name: "message-square" }), "SMS"), h("nv-fielddropdownitemcheck", { value: "push" }, h("nv-icon", { slot: "leading-icon", name: "bell" }), "Push Notification"))),
43
+ },
44
+ ],
4
45
  };
5
46
  export default NvFielddropdownitemcheckDocs;
@@ -52,7 +52,7 @@ export class NvFielddropdownitemcheck {
52
52
  /****************************************************************************/
53
53
  //#region RENDER
54
54
  render() {
55
- return (h(Host, { key: '6c5bc9f6060ac711a1360dd45da58dddf7d7d563', onClick: this.handleClick }, h("nv-fieldcheckbox", { key: 'f3efe64e5f03411f1fe7433821a46c50cd18e10e', checked: this.checked, name: this.label || this.value, label: this.label || this.value, labelPlacement: "after", description: this.description, disabled: this.disabled, tabindex: "-1", onCheckedChanged: this.onFieldcheckboxChanged }, h("slot", { key: 'e603490efb497f0ef62049e7b44c34d91c8989d2' }), h("slot", { key: '6774a2ab5bf182297929afbcec8c489bf620bcab', name: "main" }), h("slot", { key: '5ca19cd56a5917ed125eb20c6713e25dc512fb45', name: "label" }), h("slot", { key: '847864bfbc3302bb07088f77d9c2d200fac8b505', name: "description" }))));
55
+ return (h(Host, { key: '52f3eeee8d22ab9b45723403c58edc3f16905a07', onClick: this.handleClick }, h("nv-fieldcheckbox", { key: 'b06def71aa859fca784140d5c961ffa6cd8cdccc', checked: this.checked, name: this.label || this.value, label: this.label || this.value, labelPlacement: "after", description: this.description, disabled: this.disabled, tabindex: "-1", onCheckedChanged: this.onFieldcheckboxChanged }, h("slot", { key: 'cc53d2732969cb2812d08f978b3d7eeb5cdaa02a' }), h("slot", { key: '67336141a3dcfdab0bdc749e1937797222eaaded', name: "main" }), h("slot", { key: '165a860ee2dbd1783d4bf391c3a07da6756d7013', name: "label" }), h("slot", { key: '27c6e04f85b608a267ef2b280326d125c22dd970', name: "description" }))));
56
56
  }
57
57
  static get is() { return "nv-fielddropdownitemcheck"; }
58
58
  static get originalStyleUrls() {
@@ -2,6 +2,7 @@ import { h } from "@stencil/core";
2
2
  import { nameof } from "../../utils/class.utils";
3
3
  const NvFieldmultiselectDocs = {
4
4
  component: 'nv-fieldmultiselect',
5
+ parentGroup: 'Fields/nv-fieldmultiselect',
5
6
  subcomponents: [
6
7
  'nv-fielddropdownitemcheck',
7
8
  'nv-badge',
@@ -2,6 +2,7 @@ import { h } from "@stencil/core";
2
2
  import { nameof } from "../../utils/class.utils";
3
3
  const NvFieldnumberDocs = {
4
4
  component: 'nv-fieldnumber',
5
+ parentGroup: 'Fields/nv-fieldnumber',
5
6
  subcomponents: ['nv-button', 'nv-badge'],
6
7
  stories: [
7
8
  // Default
@@ -169,11 +169,11 @@ export class NvFieldnumber {
169
169
  ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
170
170
  : undefined;
171
171
  const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
172
- return (h(Host, { key: '1e36baa7bada38760fc9363329cb133d92aad28b' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '7c47d4417b1a26dd35e0e566451c3e8386803611', htmlFor: this.inputId }, h("slot", { key: '6aeedee63b8d2fbe2d7df6f567cb6d81020efe98', name: "label" }, this.label))), h("div", { key: '4507a0ec037b3822a396ad89d86b62d1adcf0011', class: "input-wrapper" }, h("slot", { key: '7f469b67aa088cea2967e430d1e257097f84ae84', name: "before-input" }), h("div", { key: 'c3c5a0e713e5cd94ab6d9c6414cf33a1bd91daee', class: "input-container", onClick: this.handleInputContainerClick }, h("slot", { key: '8c6b3952d186bf4873470fc7fa67768e4d76d561', name: "leading-input" }), h("input", { key: 'f413f4c3cd77a0a872b0038bbf8e61ce780c3f78', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: "number", autofocus: this.autofocus, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
172
+ return (h(Host, { key: 'a26895be78d7080e86d761ce0cb3b918f352f1d9' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '2b3f13fa1bb3564b1e384bcf080fa666e480147a', htmlFor: this.inputId }, h("slot", { key: '03d7432458720d231948341a552102c865fe07ff', name: "label" }, this.label))), h("div", { key: '1a01b65d78732da4ef177cf86c4f13ecfde31f1e', class: "input-wrapper" }, h("slot", { key: 'bad1d59a59eecc2f4c45d16818ac521916d71731', name: "before-input" }), h("div", { key: '295e8c0f1953673fedb9a48784f507823f45e7af', class: "input-container", onClick: this.handleInputContainerClick }, h("slot", { key: '54a81573b069471adbcda4e1bbaff97fc1fe1eeb', name: "leading-input" }), h("input", { key: '067f32480f74f78a33192a0761e46a7e04bc886b', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: "number", autofocus: this.autofocus, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
173
173
  'aria-required': String(ariaRequiredValue),
174
- }), max: this.max, min: this.min, step: this.step, value: typeof this.value === 'number' ? this.value : undefined, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), h("slot", { key: 'af60594f2c536e5527478a66b72ad96bedcdcbd7', name: "trailing-input" }), this.error && (h("nv-icon", { key: 'd1ac93ad90cf44304581e4c1516e50a9ccdfa13a', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: '13e5220090b3841c6dcc688e89ad99df8df1fc65', name: "circle-check", class: "validation", size: "md" })), h("div", { key: '4823aa102f38909d488cde22f3c8e5607a6dad36', class: "stepper" }, h("nv-iconbutton", { key: 'beb7246372406a126f5eeb10f36532e6727e29db', size: "md", name: "minus", emphasis: "lower", onClick: this.handleMinus, disabled: this.isMinValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }), h("nv-iconbutton", { key: 'f17eef8a17252962ee0f282ece0e402cc71a231d', size: "md", name: "plus", emphasis: "lower", onClick: this.handlePlus, disabled: this.isMaxValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }))), h("slot", { key: '54e427210db1972f194a7e60a5523038615e2889', name: "after-input" })), (this.description ||
175
- this.el.querySelector('[slot="description"]')) && (h("div", { key: 'b74c0ecd5d63a072a47b841294614d9f7cfb1371', class: "description" }, h("slot", { key: '3feddef8e3658097a3137dbdbd872e72c527f5f8', name: "description" }, this.description))), (this.errorDescription ||
176
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '4b6956f6ae94393d37b94703401dc6ab62657fdf', hidden: !this.error, class: "error-description" }, h("slot", { key: '37c04247cf7842d623ee36b1144f9656af651768', name: "error-description" }, this.errorDescription)))));
174
+ }), max: this.max, min: this.min, step: this.step, value: typeof this.value === 'number' ? this.value : undefined, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), h("slot", { key: '6e652469a6ef16dd590349db418397626a64e9ba', name: "trailing-input" }), this.error && (h("nv-icon", { key: '2a4eae5e0fd7a26d21315e0d76e09bac7bf22bed', name: "alert-circle", class: "validation", size: "md" })), this.success && (h("nv-icon", { key: '7d33539993e294ab5cbc31e60903daa664743ee3', name: "circle-check", class: "validation", size: "md" })), h("div", { key: '33a87b9c4446d718d34ba04faaf3ab0cffaa5941', class: "stepper" }, h("nv-iconbutton", { key: '6830b021b13acc955d0e333ae65bfec4efb8616d', size: "md", name: "minus", emphasis: "lower", onClick: this.handleMinus, disabled: this.isMinValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }), h("nv-iconbutton", { key: 'c83226f3dbdbf009c9a7748abea950a30b975a77', size: "md", name: "plus", emphasis: "lower", onClick: this.handlePlus, disabled: this.isMaxValueReached(), onMouseDown: this.preventSelection, tabindex: "-1" }))), h("slot", { key: '1ad95195471abf0962b958cf32088552f4b51205', name: "after-input" })), (this.description ||
175
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: 'b6d229a54b3c88d53b787047d5c94ebfa197d2ab', class: "description" }, h("slot", { key: 'd33c1f6c4015594e0096e70828934b859da40883', name: "description" }, this.description))), (this.errorDescription ||
176
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '80e7c2709f0d83d427829f6e92b376dff51dbe87', hidden: !this.error, class: "error-description" }, h("slot", { key: '5fb07dba33795dfb968ad5b5c3d3ae8726c0a754', name: "error-description" }, this.errorDescription)))));
177
177
  }
178
178
  static get is() { return "nv-fieldnumber"; }
179
179
  static get formAssociated() { return true; }
@@ -2,6 +2,7 @@ import { h } from "@stencil/core";
2
2
  import { nameof } from "../../utils/class.utils";
3
3
  const NvFieldpasswordDocs = {
4
4
  component: 'nv-fieldpassword',
5
+ parentGroup: 'Fields/nv-fieldpassword',
5
6
  subcomponents: ['nv-button', 'nv-badge'],
6
7
  stories: [
7
8
  // Default
@@ -146,11 +146,11 @@ export class NvFieldpassword {
146
146
  ? ariaRequiredAttrValue === 'true' || ariaRequiredAttrValue === ''
147
147
  : undefined;
148
148
  const useNativeRequired = this.required && (!useAriaRequired || ariaRequiredValue === true);
149
- return (h(Host, { key: '0022e7c0b9529f4cd6840732a12bdfd7af178c4d' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'ac8eebc87258b3ff220809e1304c69c657d91a6e', htmlFor: this.inputId }, h("slot", { key: '0385f62cef83b64170ffbe796163407e7f5a5ab5', name: "label" }, this.label))), h("div", { key: 'a4b02b838c72a5f5c263919bb56ec2f601f9b2af', class: "input-wrapper" }, h("slot", { key: 'fbcfea7b266fc54c29583ada4f0007984a2c4e05', name: "before-input" }), h("div", { key: '83ca16802319a42e59718c1836b9692da0f34fc9', class: "input-container", onClick: this.handleInputContainerClick }, h("slot", { key: '996aceac450cf9ab7e0c0a96061b06212ed95ca0', name: "leading-input" }), h("input", { key: '2d23175d6a47ee52e2a3dbae88a989e13fe5ea02', id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, type: this.showPasswordState ? 'text' : 'password', inputMode: this.mode, value: this.value, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
149
+ return (h(Host, { key: '30f853d7d12cd12f4093c3a185e497eb5374fecd' }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: 'a0a4557d38448ea9101f255b8080eb298107906e', htmlFor: this.inputId }, h("slot", { key: '76eccd0d2ef97d4a714f9d72f736e7b8a3b1ac9d', name: "label" }, this.label))), h("div", { key: 'd1042d63c628c26614aabe08155848f265dd67d1', class: "input-wrapper" }, h("slot", { key: '1412d40db63a8a1bcea9a941ca0c263d3227cbbc', name: "before-input" }), h("div", { key: '683b678a05a524258ee6924148c2bea9be68690a', class: "input-container", onClick: this.handleInputContainerClick }, h("slot", { key: '34f2878c425e6544ab7862cb1e3e892da399c23f', name: "leading-input" }), h("input", { key: '153fa6a7aac31180e6355dcf7a0b3e2fbaa75ce0', id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, type: this.showPasswordState ? 'text' : 'password', inputMode: this.mode, value: this.value, required: useNativeRequired ? this.required : undefined, ...(ariaRequiredValue !== undefined && {
150
150
  'aria-required': String(ariaRequiredValue),
151
- }), maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), (this.success || this.error) && (h("nv-icon", { key: '388170ed995039b69b2b3db523b2c7ba33e8fd87', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (h("nv-iconbutton", { key: '92567a64f653423e351bb558456233318461a0e0', name: this.showPasswordState ? 'eye' : 'eye-off', size: "md", emphasis: "lower", onClick: this.togglePasswordVisibility, "aria-label": this.showPasswordState ? 'Hide password' : 'Show password', "aria-pressed": this.showPasswordState.toString() }))), h("slot", { key: '929d2faa36c128bd5d163beb8a06f40c008981e9', name: "after-input" })), (this.description ||
152
- this.el.querySelector('[slot="description"]')) && (h("div", { key: 'ddd0ed40de645fae289d3e1b60db0067e219fd78', class: "description" }, h("slot", { key: '17122748a9a401a50d43d3fd556c20809dfb9bc2', name: "description" }, this.description))), (this.errorDescription ||
153
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '1ef139333591257d3a13e9506be0721cee1fd4f1', hidden: !this.error, class: "error-description" }, h("slot", { key: '631bf31a710d0ace20cd7d631d6218101ac896b0', name: "error-description" }, this.errorDescription)))));
151
+ }), maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), (this.success || this.error) && (h("nv-icon", { key: '3b024daa690eb7ff8d34da6000d37ce6ae182112', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (h("nv-iconbutton", { key: 'c8877e4d7d2c106161bfd1b27e3e3dc664cec313', name: this.showPasswordState ? 'eye' : 'eye-off', size: "md", emphasis: "lower", onClick: this.togglePasswordVisibility, "aria-label": this.showPasswordState ? 'Hide password' : 'Show password', "aria-pressed": this.showPasswordState.toString() }))), h("slot", { key: 'c3b428593383be23101c2dead68421f620e25d38', name: "after-input" })), (this.description ||
152
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: '56a5ebc137e6864570626e0ce75aca0fff6314d3', class: "description" }, h("slot", { key: 'eb8c5141c3a79359ca606defea0c0b7dbc0f5bd6', name: "description" }, this.description))), (this.errorDescription ||
153
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '4aaf597ca070227517d231b7e673e0db280ccab1', hidden: !this.error, class: "error-description" }, h("slot", { key: '6815df2fc9b2ec36cfe1f88cebaeaf88e11ec882', name: "error-description" }, this.errorDescription)))));
154
154
  }
155
155
  static get is() { return "nv-fieldpassword"; }
156
156
  static get formAssociated() { return true; }
@@ -2,6 +2,7 @@ import { h } from "@stencil/core";
2
2
  import { nameof } from "../../utils/class.utils";
3
3
  const NvFieldradioDocs = {
4
4
  component: 'nv-fieldradio',
5
+ parentGroup: 'Fields/nv-fieldradio',
5
6
  stories: [
6
7
  // Default
7
8
  {
@@ -83,9 +83,9 @@ export class NvFieldradio {
83
83
  /****************************************************************************/
84
84
  //#region RENDER
85
85
  render() {
86
- return (h(Host, { key: '07d9225a6a3af28efa5885b5bb02a3f512708a97', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h("input", { key: '2b5afcf255bc442914f9225537987d331000883d', type: "radio", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: this.checked, disabled: this.disabled }), h("div", { key: '8fc76a826e8a8ef51a80173b950ab460cf0ff8f3', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '4578fccf241e9470a7f514761b3141d3fad77a88', htmlFor: this.inputId }, h("slot", { key: 'f6d9f4961d07525175bd51fa4a4b546d62e74d4e', name: "label" }, this.label))), (this.description ||
87
- this.el.querySelector('[slot="description"]')) && (h("div", { key: '17d029eb709c443e8a68a5d6bdd1265400ae35d2', class: "description" }, h("slot", { key: 'e4485b5ed253c6fc45508947387fa43f0492f654', name: "description" }, this.description))), (this.errorDescription ||
88
- this.el.querySelector('[slot="error-description"]')) && (h("div", { key: 'cde01e850752c1a2b4a3b2559f2052167409a605', hidden: !this.error, class: "error-description" }, h("slot", { key: 'f9d9f08be6506a495a5b42bcc9ebd2db49e749d5', name: "error-description" }, this.errorDescription))))));
86
+ return (h(Host, { key: '66de1f9bfcf3981e3cfc94ac1bc1c7fa1940676d', class: clsx(this.labelPlacement === 'before' && 'label-placement-before', this.error && 'error') }, h("input", { key: 'ee32e5617e50888d9064d7d4d00fbdaf55b97e89', type: "radio", id: this.inputId, name: this.name, autofocus: this.autofocus, autocomplete: "off", value: this.value, checked: this.checked, disabled: this.disabled }), h("div", { key: '16f867329f8c9a735c9728a466fd49ff1b9b8e8a', class: "text-container" }, (this.label || this.el.querySelector('[slot="label"]')) && (h("label", { key: '50bbb783254086da1f6c4ff3ce6ae432567d5585', htmlFor: this.inputId }, h("slot", { key: 'd6801fd892c2b82c39eb8b2b906ad0d148edd63f', name: "label" }, this.label))), (this.description ||
87
+ this.el.querySelector('[slot="description"]')) && (h("div", { key: '6810da8129a5e70a6069a5212b6755017efe9856', class: "description" }, h("slot", { key: '70539fb3789af1183fe92fbd9fdb18520633ef97', name: "description" }, this.description))), (this.errorDescription ||
88
+ this.el.querySelector('[slot="error-description"]')) && (h("div", { key: '9c8059dd1f5335c99a28a84eb5db7ed0726933bd', hidden: !this.error, class: "error-description" }, h("slot", { key: 'ec4c1d7a36cb892c2a97593a6e3341f69791a721', name: "error-description" }, this.errorDescription))))));
89
89
  }
90
90
  static get is() { return "nv-fieldradio"; }
91
91
  static get formAssociated() { return true; }