@nova-design-system/nova-webcomponents 3.9.0 → 3.10.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 (444) hide show
  1. package/dist/cjs/{constants-8fb8ccc0.js → constants-3b6beb66.js} +15 -1
  2. package/dist/cjs/constants-3b6beb66.js.map +1 -0
  3. package/dist/cjs/index-c56424e5.js +12 -0
  4. package/dist/cjs/index.cjs.js +7 -1
  5. package/dist/cjs/index.cjs.js.map +1 -1
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/native.cjs.js +1 -1
  8. package/dist/cjs/nv-accordion-item.cjs.entry.js +1 -1
  9. package/dist/cjs/nv-accordion-item.cjs.entry.js.map +1 -1
  10. package/dist/cjs/nv-alert.cjs.entry.js +2 -2
  11. package/dist/cjs/nv-alert.cjs.entry.js.map +1 -1
  12. package/dist/cjs/nv-avatar.cjs.entry.js +1 -1
  13. package/dist/cjs/nv-badge_2.cjs.entry.js +2 -2
  14. package/dist/cjs/nv-badge_2.cjs.entry.js.map +1 -1
  15. package/dist/cjs/nv-breadcrumb.cjs.entry.js +1 -1
  16. package/dist/cjs/nv-breadcrumb.cjs.entry.js.map +1 -1
  17. package/dist/cjs/nv-button.cjs.entry.js +2 -2
  18. package/dist/cjs/nv-button.cjs.entry.js.map +1 -1
  19. package/dist/cjs/nv-buttongroup.cjs.entry.js +198 -0
  20. package/dist/cjs/nv-buttongroup.cjs.entry.js.map +1 -0
  21. package/dist/cjs/nv-calendar.cjs.entry.js +121 -38
  22. package/dist/cjs/nv-calendar.cjs.entry.js.map +1 -1
  23. package/dist/cjs/nv-col.cjs.entry.js +1 -1
  24. package/dist/cjs/nv-datagrid.cjs.entry.js +4 -4
  25. package/dist/cjs/nv-datagrid.cjs.entry.js.map +1 -1
  26. package/dist/cjs/nv-datagridcolumn.cjs.entry.js +1 -1
  27. package/dist/cjs/nv-dialog.cjs.entry.js +2 -2
  28. package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +3 -3
  29. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +5 -5
  30. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js.map +1 -1
  31. package/dist/cjs/nv-fielddate.cjs.entry.js +62 -94
  32. package/dist/cjs/nv-fielddate.cjs.entry.js.map +1 -1
  33. package/dist/cjs/nv-fielddaterange.cjs.entry.js +52 -33
  34. package/dist/cjs/nv-fielddaterange.cjs.entry.js.map +1 -1
  35. package/dist/cjs/nv-fielddropdown.cjs.entry.js +3 -3
  36. package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +1 -1
  37. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +377 -27
  38. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js.map +1 -1
  39. package/dist/cjs/nv-fieldnumber.cjs.entry.js +3 -3
  40. package/dist/cjs/nv-fieldpassword.cjs.entry.js +3 -3
  41. package/dist/cjs/nv-fieldradio.cjs.entry.js +4 -4
  42. package/dist/cjs/nv-fieldradio.cjs.entry.js.map +1 -1
  43. package/dist/cjs/nv-fieldselect.cjs.entry.js +5 -5
  44. package/dist/cjs/nv-fieldslider.cjs.entry.js +3 -3
  45. package/dist/cjs/nv-fieldtext.cjs.entry.js +3 -3
  46. package/dist/cjs/nv-fieldtextarea.cjs.entry.js +3 -3
  47. package/dist/cjs/nv-fieldtime.cjs.entry.js +10 -10
  48. package/dist/cjs/nv-icon.cjs.entry.js +3 -3
  49. package/dist/cjs/nv-icon.cjs.entry.js.map +1 -1
  50. package/dist/cjs/nv-iconbutton_2.cjs.entry.js +3 -3
  51. package/dist/cjs/nv-iconbutton_2.cjs.entry.js.map +1 -1
  52. package/dist/cjs/nv-menu.cjs.entry.js +1 -1
  53. package/dist/cjs/nv-menuitem.cjs.entry.js +1 -1
  54. package/dist/cjs/nv-popover.cjs.entry.js +1 -1
  55. package/dist/cjs/nv-row.cjs.entry.js +1 -1
  56. package/dist/cjs/nv-stack.cjs.entry.js +1 -1
  57. package/dist/cjs/nv-table.cjs.entry.js +2 -2
  58. package/dist/cjs/nv-toggle.cjs.entry.js +3 -3
  59. package/dist/cjs/nv-toggle.cjs.entry.js.map +1 -1
  60. package/dist/cjs/nv-togglebutton.cjs.entry.js +58 -0
  61. package/dist/cjs/nv-togglebutton.cjs.entry.js.map +1 -0
  62. package/dist/cjs/nv-togglebuttongroup.cjs.entry.js +172 -0
  63. package/dist/cjs/nv-togglebuttongroup.cjs.entry.js.map +1 -0
  64. package/dist/cjs/nv-tooltip.cjs.entry.js +1 -1
  65. package/dist/collection/collection-manifest.json +3 -0
  66. package/dist/collection/components/nv-accordion-item/nv-accordion-item.js +1 -1
  67. package/dist/collection/components/nv-accordion-item/nv-accordion-item.js.map +1 -1
  68. package/dist/collection/components/nv-alert/nv-alert.css +5 -0
  69. package/dist/collection/components/nv-badge/nv-badge.css +21 -0
  70. package/dist/collection/components/nv-breadcrumb/nv-breadcrumb.css +2 -0
  71. package/dist/collection/components/nv-button/styles/nv-button.css +8 -0
  72. package/dist/collection/components/nv-buttongroup/nv-buttongroup.docs.js +43 -0
  73. package/dist/collection/components/nv-buttongroup/nv-buttongroup.docs.js.map +1 -0
  74. package/dist/collection/components/nv-buttongroup/nv-buttongroup.js +217 -0
  75. package/dist/collection/components/nv-buttongroup/nv-buttongroup.js.map +1 -0
  76. package/dist/collection/components/nv-buttongroup/nv-buttongroup.utils.js +86 -0
  77. package/dist/collection/components/nv-buttongroup/nv-buttongroup.utils.js.map +1 -0
  78. package/dist/collection/components/nv-buttongroup/styles/nv-buttongroup.css +73 -0
  79. package/dist/collection/components/nv-buttongroup/test/nv-buttongroup.utils.test.js +312 -0
  80. package/dist/collection/components/nv-buttongroup/test/nv-buttongroup.utils.test.js.map +1 -0
  81. package/dist/collection/components/nv-calendar/nv-calendar.css +9 -0
  82. package/dist/collection/components/nv-calendar/nv-calendar.js +44 -25
  83. package/dist/collection/components/nv-calendar/nv-calendar.js.map +1 -1
  84. package/dist/collection/components/nv-calendar/nv-calendar.utils.js +68 -0
  85. package/dist/collection/components/nv-calendar/nv-calendar.utils.js.map +1 -1
  86. package/dist/collection/components/nv-calendar/partials/calendar-grid.js +5 -3
  87. package/dist/collection/components/nv-calendar/partials/calendar-grid.js.map +1 -1
  88. package/dist/collection/components/nv-calendar/partials/day-cell.js +4 -9
  89. package/dist/collection/components/nv-calendar/partials/day-cell.js.map +1 -1
  90. package/dist/collection/components/nv-col/nv-col.js +1 -1
  91. package/dist/collection/components/nv-datagrid/nv-datagrid.css +1 -0
  92. package/dist/collection/components/nv-datagrid/nv-datagrid.js +2 -2
  93. package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +1 -1
  94. package/dist/collection/components/nv-dialog/nv-dialog.js +1 -1
  95. package/dist/collection/components/nv-dialogfooter/nv-dialogfooter.js +1 -1
  96. package/dist/collection/components/nv-dialogheader/nv-dialogheader.js +1 -1
  97. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.css +1 -0
  98. package/dist/collection/components/nv-fieldcheckbox/nv-fieldcheckbox.js +4 -4
  99. package/dist/collection/components/nv-fielddate/nv-fielddate.js +63 -94
  100. package/dist/collection/components/nv-fielddate/nv-fielddate.js.map +1 -1
  101. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +52 -33
  102. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js.map +1 -1
  103. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +3 -3
  104. package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
  105. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
  106. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js.map +1 -1
  107. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js +885 -122
  108. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js.map +1 -1
  109. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js +561 -89
  110. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js.map +1 -1
  111. package/dist/collection/components/nv-fieldmultiselect/styles/nv-fieldmultiselect.css +70 -16
  112. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +3 -3
  113. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +3 -3
  114. package/dist/collection/components/nv-fieldradio/nv-fieldradio.css +1 -0
  115. package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
  116. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +5 -5
  117. package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +3 -3
  118. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +3 -3
  119. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
  120. package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +9 -9
  121. package/dist/collection/components/nv-icon/nv-icon.js +1 -1
  122. package/dist/collection/components/nv-icon/nv-icons.js +6 -0
  123. package/dist/collection/components/nv-icon/nv-icons.js.map +1 -1
  124. package/dist/collection/components/nv-iconbutton/nv-iconbutton.css +4 -0
  125. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
  126. package/dist/collection/components/nv-loader/nv-loader.js +1 -1
  127. package/dist/collection/components/nv-menu/nv-menu.js +1 -1
  128. package/dist/collection/components/nv-menuitem/nv-menuitem.js +2 -2
  129. package/dist/collection/components/nv-popover/nv-popover.js +1 -1
  130. package/dist/collection/components/nv-row/nv-row.js +1 -1
  131. package/dist/collection/components/nv-stack/nv-stack.js +1 -1
  132. package/dist/collection/components/nv-table/nv-table.js +2 -2
  133. package/dist/collection/components/nv-toggle/nv-toggle.css +1 -0
  134. package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
  135. package/dist/collection/components/nv-togglebutton/nv-togglebutton.docs.js +6 -0
  136. package/dist/collection/components/nv-togglebutton/nv-togglebutton.docs.js.map +1 -0
  137. package/dist/collection/components/nv-togglebutton/nv-togglebutton.js +191 -0
  138. package/dist/collection/components/nv-togglebutton/nv-togglebutton.js.map +1 -0
  139. package/dist/collection/components/nv-togglebutton/styles/nv-togglebutton.css +135 -0
  140. package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.docs.js +56 -0
  141. package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.docs.js.map +1 -0
  142. package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.js +324 -0
  143. package/dist/collection/components/nv-togglebuttongroup/nv-togglebuttongroup.js.map +1 -0
  144. package/dist/collection/components/nv-togglebuttongroup/styles/nv-togglebuttongroup.css +45 -0
  145. package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
  146. package/dist/collection/utils/constants.js +12 -0
  147. package/dist/collection/utils/constants.js.map +1 -1
  148. package/dist/components/index.js +7 -1
  149. package/dist/components/index.js.map +1 -1
  150. package/dist/components/nv-accordion-item.js +1 -1
  151. package/dist/components/nv-accordion.js +4 -4
  152. package/dist/components/nv-alert.js +3 -3
  153. package/dist/components/nv-alert.js.map +1 -1
  154. package/dist/components/nv-avatar.js +2 -2
  155. package/dist/components/nv-badge.js +1 -1
  156. package/dist/components/nv-breadcrumb.js +3 -3
  157. package/dist/components/nv-breadcrumb.js.map +1 -1
  158. package/dist/components/nv-button.js +1 -1
  159. package/dist/components/nv-buttongroup.d.ts +11 -0
  160. package/dist/components/nv-buttongroup.js +221 -0
  161. package/dist/components/nv-buttongroup.js.map +1 -0
  162. package/dist/components/nv-calendar.js +1 -1
  163. package/dist/components/nv-col.js +1 -1
  164. package/dist/components/nv-datagrid.js +6 -6
  165. package/dist/components/nv-datagrid.js.map +1 -1
  166. package/dist/components/nv-datagridcolumn.js +1 -1
  167. package/dist/components/nv-dialog.js +7 -7
  168. package/dist/components/nv-dialogfooter.js +1 -1
  169. package/dist/components/nv-dialogheader.js +1 -1
  170. package/dist/components/nv-fieldcheckbox.js +1 -1
  171. package/dist/components/nv-fielddate.js +70 -102
  172. package/dist/components/nv-fielddate.js.map +1 -1
  173. package/dist/components/nv-fielddaterange.js +58 -39
  174. package/dist/components/nv-fielddaterange.js.map +1 -1
  175. package/dist/components/nv-fielddropdown.js +8 -8
  176. package/dist/components/nv-fielddropdownitem.js +1 -1
  177. package/dist/components/nv-fielddropdownitemcheck.js +1 -1
  178. package/dist/components/nv-fieldmultiselect.js +399 -41
  179. package/dist/components/nv-fieldmultiselect.js.map +1 -1
  180. package/dist/components/nv-fieldnumber.js +1 -1
  181. package/dist/components/nv-fieldpassword.js +6 -6
  182. package/dist/components/nv-fieldradio.js +4 -4
  183. package/dist/components/nv-fieldradio.js.map +1 -1
  184. package/dist/components/nv-fieldselect.js +8 -8
  185. package/dist/components/nv-fieldslider.js +7 -7
  186. package/dist/components/nv-fieldtext.js +1 -1
  187. package/dist/components/nv-fieldtextarea.js +3 -3
  188. package/dist/components/nv-fieldtime.js +14 -14
  189. package/dist/components/nv-icon.js +1 -1
  190. package/dist/components/nv-iconbutton.js +1 -1
  191. package/dist/components/nv-loader.js +1 -1
  192. package/dist/components/nv-menu.js +4 -4
  193. package/dist/components/nv-menuitem.js +1 -1
  194. package/dist/components/nv-popover.js +1 -1
  195. package/dist/components/nv-row.js +1 -1
  196. package/dist/components/nv-stack.js +1 -1
  197. package/dist/components/nv-table.js +2 -2
  198. package/dist/components/nv-toggle.js +3 -3
  199. package/dist/components/nv-toggle.js.map +1 -1
  200. package/dist/components/nv-togglebutton.d.ts +11 -0
  201. package/dist/components/nv-togglebutton.js +78 -0
  202. package/dist/components/nv-togglebutton.js.map +1 -0
  203. package/dist/components/nv-togglebuttongroup.d.ts +11 -0
  204. package/dist/components/nv-togglebuttongroup.js +196 -0
  205. package/dist/components/nv-togglebuttongroup.js.map +1 -0
  206. package/dist/components/nv-tooltip.js +1 -1
  207. package/dist/components/{p-68ff562f.js → p-0ffb4785.js} +5 -5
  208. package/dist/components/{p-68ff562f.js.map → p-0ffb4785.js.map} +1 -1
  209. package/dist/components/{p-8067d283.js → p-195f46f3.js} +2 -2
  210. package/dist/components/{p-8067d283.js.map → p-195f46f3.js.map} +1 -1
  211. package/dist/components/{p-e4e1a926.js → p-1bb737fa.js} +3 -3
  212. package/dist/components/{p-e4e1a926.js.map → p-1bb737fa.js.map} +1 -1
  213. package/dist/components/{p-db4ba1d9.js → p-2db5d1ab.js} +7 -7
  214. package/dist/components/{p-db4ba1d9.js.map → p-2db5d1ab.js.map} +1 -1
  215. package/dist/components/{p-ba87d9d5.js → p-2ef4fb88.js} +3 -3
  216. package/dist/components/{p-ba87d9d5.js.map → p-2ef4fb88.js.map} +1 -1
  217. package/dist/components/{p-91a558eb.js → p-32e8e42e.js} +2 -2
  218. package/dist/components/{p-91a558eb.js.map → p-32e8e42e.js.map} +1 -1
  219. package/dist/components/{p-6de6866c.js → p-45a625fb.js} +6 -6
  220. package/dist/components/{p-6de6866c.js.map → p-45a625fb.js.map} +1 -1
  221. package/dist/components/{p-025b8a78.js → p-50d0db7b.js} +5 -5
  222. package/dist/components/{p-025b8a78.js.map → p-50d0db7b.js.map} +1 -1
  223. package/dist/components/{p-ed6686a1.js → p-51876ca1.js} +2 -2
  224. package/dist/components/{p-ed6686a1.js.map → p-51876ca1.js.map} +1 -1
  225. package/dist/components/{p-e104c58a.js → p-51a156ff.js} +3 -3
  226. package/dist/components/p-51a156ff.js.map +1 -0
  227. package/dist/components/p-8011513c.js +189 -0
  228. package/dist/components/{p-60064345.js.map → p-8011513c.js.map} +1 -1
  229. package/dist/components/{p-d32b75ac.js → p-8aee1010.js} +123 -39
  230. package/dist/components/p-8aee1010.js.map +1 -0
  231. package/dist/components/{p-79e6b6a2.js → p-9fdaea9a.js} +5 -5
  232. package/dist/components/p-9fdaea9a.js.map +1 -0
  233. package/dist/components/{p-6460318d.js → p-a1fe0a5d.js} +4 -4
  234. package/dist/components/p-a1fe0a5d.js.map +1 -0
  235. package/dist/components/{p-1f505531.js → p-a3ddec4c.js} +15 -1
  236. package/dist/components/p-a3ddec4c.js.map +1 -0
  237. package/dist/components/{p-0143cee0.js → p-a5002d14.js} +6 -6
  238. package/dist/components/{p-0143cee0.js.map → p-a5002d14.js.map} +1 -1
  239. package/dist/components/{p-30f970c3.js → p-b659b999.js} +3 -3
  240. package/dist/components/{p-30f970c3.js.map → p-b659b999.js.map} +1 -1
  241. package/dist/components/{p-5d5668f0.js → p-cf06032d.js} +4 -4
  242. package/dist/components/{p-5d5668f0.js.map → p-cf06032d.js.map} +1 -1
  243. package/dist/components/{p-dfd2d4f0.js → p-fda58a76.js} +2 -2
  244. package/dist/components/{p-dfd2d4f0.js.map → p-fda58a76.js.map} +1 -1
  245. package/dist/esm/{constants-4faa1fae.js → constants-23aaef7b.js} +15 -1
  246. package/dist/esm/constants-23aaef7b.js.map +1 -0
  247. package/dist/esm/index-a1936cd0.js +12 -0
  248. package/dist/esm/index.js +7 -1
  249. package/dist/esm/index.js.map +1 -1
  250. package/dist/esm/loader.js +1 -1
  251. package/dist/esm/native.js +1 -1
  252. package/dist/esm/nv-accordion-item.entry.js +1 -1
  253. package/dist/esm/nv-accordion-item.entry.js.map +1 -1
  254. package/dist/esm/nv-alert.entry.js +2 -2
  255. package/dist/esm/nv-alert.entry.js.map +1 -1
  256. package/dist/esm/nv-avatar.entry.js +1 -1
  257. package/dist/esm/nv-badge_2.entry.js +2 -2
  258. package/dist/esm/nv-badge_2.entry.js.map +1 -1
  259. package/dist/esm/nv-breadcrumb.entry.js +1 -1
  260. package/dist/esm/nv-breadcrumb.entry.js.map +1 -1
  261. package/dist/esm/nv-button.entry.js +2 -2
  262. package/dist/esm/nv-button.entry.js.map +1 -1
  263. package/dist/esm/nv-buttongroup.entry.js +194 -0
  264. package/dist/esm/nv-buttongroup.entry.js.map +1 -0
  265. package/dist/esm/nv-calendar.entry.js +121 -38
  266. package/dist/esm/nv-calendar.entry.js.map +1 -1
  267. package/dist/esm/nv-col.entry.js +1 -1
  268. package/dist/esm/nv-datagrid.entry.js +4 -4
  269. package/dist/esm/nv-datagrid.entry.js.map +1 -1
  270. package/dist/esm/nv-datagridcolumn.entry.js +1 -1
  271. package/dist/esm/nv-dialog.entry.js +2 -2
  272. package/dist/esm/nv-dialogfooter_2.entry.js +3 -3
  273. package/dist/esm/nv-fieldcheckbox.entry.js +5 -5
  274. package/dist/esm/nv-fieldcheckbox.entry.js.map +1 -1
  275. package/dist/esm/nv-fielddate.entry.js +62 -94
  276. package/dist/esm/nv-fielddate.entry.js.map +1 -1
  277. package/dist/esm/nv-fielddaterange.entry.js +52 -33
  278. package/dist/esm/nv-fielddaterange.entry.js.map +1 -1
  279. package/dist/esm/nv-fielddropdown.entry.js +3 -3
  280. package/dist/esm/nv-fielddropdownitem.entry.js +1 -1
  281. package/dist/esm/nv-fieldmultiselect.entry.js +378 -28
  282. package/dist/esm/nv-fieldmultiselect.entry.js.map +1 -1
  283. package/dist/esm/nv-fieldnumber.entry.js +3 -3
  284. package/dist/esm/nv-fieldpassword.entry.js +3 -3
  285. package/dist/esm/nv-fieldradio.entry.js +4 -4
  286. package/dist/esm/nv-fieldradio.entry.js.map +1 -1
  287. package/dist/esm/nv-fieldselect.entry.js +5 -5
  288. package/dist/esm/nv-fieldslider.entry.js +3 -3
  289. package/dist/esm/nv-fieldtext.entry.js +3 -3
  290. package/dist/esm/nv-fieldtextarea.entry.js +3 -3
  291. package/dist/esm/nv-fieldtime.entry.js +10 -10
  292. package/dist/esm/nv-icon.entry.js +3 -3
  293. package/dist/esm/nv-icon.entry.js.map +1 -1
  294. package/dist/esm/nv-iconbutton_2.entry.js +3 -3
  295. package/dist/esm/nv-iconbutton_2.entry.js.map +1 -1
  296. package/dist/esm/nv-menu.entry.js +1 -1
  297. package/dist/esm/nv-menuitem.entry.js +1 -1
  298. package/dist/esm/nv-popover.entry.js +1 -1
  299. package/dist/esm/nv-row.entry.js +1 -1
  300. package/dist/esm/nv-stack.entry.js +1 -1
  301. package/dist/esm/nv-table.entry.js +2 -2
  302. package/dist/esm/nv-toggle.entry.js +3 -3
  303. package/dist/esm/nv-toggle.entry.js.map +1 -1
  304. package/dist/esm/nv-togglebutton.entry.js +54 -0
  305. package/dist/esm/nv-togglebutton.entry.js.map +1 -0
  306. package/dist/esm/nv-togglebuttongroup.entry.js +168 -0
  307. package/dist/esm/nv-togglebuttongroup.entry.js.map +1 -0
  308. package/dist/esm/nv-tooltip.entry.js +1 -1
  309. package/dist/native/index.esm.js +1 -1
  310. package/dist/native/index.esm.js.map +1 -1
  311. package/dist/native/native.css +1 -1
  312. package/dist/native/native.esm.js +1 -1
  313. package/dist/native/native.esm.js.map +1 -1
  314. package/dist/native/{p-2a6783ca.entry.js → p-0da8f0d1.entry.js} +2 -2
  315. package/dist/native/{p-2a6783ca.entry.js.map → p-0da8f0d1.entry.js.map} +1 -1
  316. package/dist/native/p-0ef94dae.entry.js +2 -0
  317. package/dist/native/{p-1ad1bff9.entry.js.map → p-0ef94dae.entry.js.map} +1 -1
  318. package/dist/native/p-13032ec1.entry.js +2 -0
  319. package/dist/native/p-13032ec1.entry.js.map +1 -0
  320. package/dist/native/p-184032cb.entry.js +2 -0
  321. package/dist/native/{p-a73fa60a.entry.js.map → p-184032cb.entry.js.map} +1 -1
  322. package/dist/native/p-2197ffdf.entry.js +2 -0
  323. package/dist/native/{p-fa81b77f.entry.js.map → p-2197ffdf.entry.js.map} +1 -1
  324. package/dist/native/p-234cfa2e.entry.js +2 -0
  325. package/dist/native/p-2a3325fb.entry.js +2 -0
  326. package/dist/native/p-2a3325fb.entry.js.map +1 -0
  327. package/dist/native/{p-3f139780.entry.js → p-2d647761.entry.js} +2 -2
  328. package/dist/native/{p-ff248eb8.entry.js → p-348c6bb4.entry.js} +2 -2
  329. package/dist/native/p-397c0fca.entry.js +2 -0
  330. package/dist/native/{p-51a57a3a.entry.js.map → p-397c0fca.entry.js.map} +1 -1
  331. package/dist/native/{p-f687e05c.entry.js → p-3da64006.entry.js} +2 -2
  332. package/dist/native/p-3da64006.entry.js.map +1 -0
  333. package/dist/native/p-3ed84cd9.entry.js +2 -0
  334. package/dist/native/{p-fcd52432.entry.js.map → p-3ed84cd9.entry.js.map} +1 -1
  335. package/dist/native/{p-3ff7a912.entry.js → p-3fcaac6d.entry.js} +2 -2
  336. package/dist/native/{p-b7ec9a1b.entry.js → p-4302824a.entry.js} +2 -2
  337. package/dist/native/p-43071c3b.entry.js +2 -0
  338. package/dist/native/p-44dd9a4c.entry.js +2 -0
  339. package/dist/native/p-44dd9a4c.entry.js.map +1 -0
  340. package/dist/native/p-464bb197.entry.js +2 -0
  341. package/dist/native/p-464bb197.entry.js.map +1 -0
  342. package/dist/native/{p-916acbd3.entry.js → p-49504fd6.entry.js} +2 -2
  343. package/dist/native/{p-bc77cac1.entry.js → p-553778e6.entry.js} +2 -2
  344. package/dist/native/p-553778e6.entry.js.map +1 -0
  345. package/dist/native/{p-bee62b2b.entry.js → p-5f0776cb.entry.js} +2 -2
  346. package/dist/native/p-62032cd9.entry.js +2 -0
  347. package/dist/native/p-62032cd9.entry.js.map +1 -0
  348. package/dist/native/{p-11012998.entry.js → p-676447d7.entry.js} +3 -3
  349. package/dist/native/{p-16ef7dd4.entry.js → p-681f2bac.entry.js} +2 -2
  350. package/dist/native/{p-4b15cff3.entry.js → p-7f0d576b.entry.js} +2 -2
  351. package/dist/native/{p-68edb2e8.entry.js → p-85f8f11a.entry.js} +2 -2
  352. package/dist/native/{p-0e005d95.entry.js → p-888ad58e.entry.js} +2 -2
  353. package/dist/native/{p-34bf336f.entry.js → p-92931ab8.entry.js} +2 -2
  354. package/dist/native/{p-f00a4552.entry.js → p-94dc9c41.entry.js} +2 -2
  355. package/dist/native/{p-85a54ef2.entry.js → p-9c5d6827.entry.js} +2 -2
  356. package/dist/native/{p-08452012.entry.js → p-9f451b8a.entry.js} +3 -3
  357. package/dist/native/{p-08452012.entry.js.map → p-9f451b8a.entry.js.map} +1 -1
  358. package/dist/native/{p-1f932a4b.entry.js → p-aacd8789.entry.js} +2 -2
  359. package/dist/native/p-ac5496e7.entry.js +2 -0
  360. package/dist/native/{p-516da423.entry.js → p-ad2cc829.entry.js} +2 -2
  361. package/dist/native/p-ad2cc829.entry.js.map +1 -0
  362. package/dist/native/p-b2442d4b.entry.js +2 -0
  363. package/dist/native/{p-a36dc25a.entry.js.map → p-b2442d4b.entry.js.map} +1 -1
  364. package/dist/native/{p-67c34b8c.entry.js → p-b58fb522.entry.js} +2 -2
  365. package/dist/native/p-ba9906b7.entry.js +2 -0
  366. package/dist/native/{p-64cb38e6.entry.js.map → p-ba9906b7.entry.js.map} +1 -1
  367. package/dist/native/{p-f540db71.entry.js → p-dd023fd6.entry.js} +2 -2
  368. package/dist/native/p-f033c4ce.entry.js +2 -0
  369. package/dist/native/p-f033c4ce.entry.js.map +1 -0
  370. package/dist/native/{p-051db87c.entry.js → p-fb672f90.entry.js} +2 -2
  371. package/dist/native/p-fc9564b3.js +2 -0
  372. package/dist/native/p-fc9564b3.js.map +1 -0
  373. package/dist/types/components/nv-buttongroup/nv-buttongroup.d.ts +50 -0
  374. package/dist/types/components/nv-buttongroup/nv-buttongroup.docs.d.ts +4 -0
  375. package/dist/types/components/nv-buttongroup/nv-buttongroup.utils.d.ts +25 -0
  376. package/dist/types/components/nv-buttongroup/test/nv-buttongroup.utils.test.d.ts +1 -0
  377. package/dist/types/components/nv-calendar/nv-calendar.d.ts +11 -1
  378. package/dist/types/components/nv-calendar/nv-calendar.utils.d.ts +31 -0
  379. package/dist/types/components/nv-calendar/partials/calendar-grid.d.ts +11 -1
  380. package/dist/types/components/nv-calendar/partials/day-cell.d.ts +7 -1
  381. package/dist/types/components/nv-fielddate/nv-fielddate.d.ts +4 -19
  382. package/dist/types/components/nv-fielddaterange/nv-fielddaterange.d.ts +1 -0
  383. package/dist/types/components/nv-fieldmultiselect/nv-fieldmultiselect.d.ts +116 -23
  384. package/dist/types/components/nv-icon/nv-icons.d.ts +1 -1
  385. package/dist/types/components/nv-togglebutton/nv-togglebutton.d.ts +46 -0
  386. package/dist/types/components/nv-togglebutton/nv-togglebutton.docs.d.ts +4 -0
  387. package/dist/types/components/nv-togglebuttongroup/nv-togglebuttongroup.d.ts +80 -0
  388. package/dist/types/components/nv-togglebuttongroup/nv-togglebuttongroup.docs.d.ts +4 -0
  389. package/dist/types/components.d.ts +289 -2
  390. package/dist/types/utils/constants.d.ts +10 -0
  391. package/dist/vscode-data.json +189 -0
  392. package/hydrate/index.js +1167 -271
  393. package/hydrate/index.mjs +1167 -271
  394. package/package.json +14 -2
  395. package/dist/cjs/constants-8fb8ccc0.js.map +0 -1
  396. package/dist/components/p-1f505531.js.map +0 -1
  397. package/dist/components/p-60064345.js +0 -189
  398. package/dist/components/p-6460318d.js.map +0 -1
  399. package/dist/components/p-79e6b6a2.js.map +0 -1
  400. package/dist/components/p-d32b75ac.js.map +0 -1
  401. package/dist/components/p-e104c58a.js.map +0 -1
  402. package/dist/esm/constants-4faa1fae.js.map +0 -1
  403. package/dist/native/p-10ce53ea.entry.js +0 -2
  404. package/dist/native/p-1ad1bff9.entry.js +0 -2
  405. package/dist/native/p-516da423.entry.js.map +0 -1
  406. package/dist/native/p-51a57a3a.entry.js +0 -2
  407. package/dist/native/p-64cb38e6.entry.js +0 -2
  408. package/dist/native/p-73c08f3b.entry.js +0 -2
  409. package/dist/native/p-73c08f3b.entry.js.map +0 -1
  410. package/dist/native/p-a36dc25a.entry.js +0 -2
  411. package/dist/native/p-a50f3850.entry.js +0 -2
  412. package/dist/native/p-a73fa60a.entry.js +0 -2
  413. package/dist/native/p-b3f9db23.entry.js +0 -2
  414. package/dist/native/p-b3f9db23.entry.js.map +0 -1
  415. package/dist/native/p-bc77cac1.entry.js.map +0 -1
  416. package/dist/native/p-dc34da69.entry.js +0 -2
  417. package/dist/native/p-dc34da69.entry.js.map +0 -1
  418. package/dist/native/p-e2d0a77d.js +0 -2
  419. package/dist/native/p-e2d0a77d.js.map +0 -1
  420. package/dist/native/p-ec92ee7a.entry.js +0 -2
  421. package/dist/native/p-f687e05c.entry.js.map +0 -1
  422. package/dist/native/p-fa81b77f.entry.js +0 -2
  423. package/dist/native/p-fcd52432.entry.js +0 -2
  424. /package/dist/native/{p-ec92ee7a.entry.js.map → p-234cfa2e.entry.js.map} +0 -0
  425. /package/dist/native/{p-3f139780.entry.js.map → p-2d647761.entry.js.map} +0 -0
  426. /package/dist/native/{p-ff248eb8.entry.js.map → p-348c6bb4.entry.js.map} +0 -0
  427. /package/dist/native/{p-3ff7a912.entry.js.map → p-3fcaac6d.entry.js.map} +0 -0
  428. /package/dist/native/{p-b7ec9a1b.entry.js.map → p-4302824a.entry.js.map} +0 -0
  429. /package/dist/native/{p-10ce53ea.entry.js.map → p-43071c3b.entry.js.map} +0 -0
  430. /package/dist/native/{p-916acbd3.entry.js.map → p-49504fd6.entry.js.map} +0 -0
  431. /package/dist/native/{p-bee62b2b.entry.js.map → p-5f0776cb.entry.js.map} +0 -0
  432. /package/dist/native/{p-11012998.entry.js.map → p-676447d7.entry.js.map} +0 -0
  433. /package/dist/native/{p-16ef7dd4.entry.js.map → p-681f2bac.entry.js.map} +0 -0
  434. /package/dist/native/{p-4b15cff3.entry.js.map → p-7f0d576b.entry.js.map} +0 -0
  435. /package/dist/native/{p-68edb2e8.entry.js.map → p-85f8f11a.entry.js.map} +0 -0
  436. /package/dist/native/{p-0e005d95.entry.js.map → p-888ad58e.entry.js.map} +0 -0
  437. /package/dist/native/{p-34bf336f.entry.js.map → p-92931ab8.entry.js.map} +0 -0
  438. /package/dist/native/{p-f00a4552.entry.js.map → p-94dc9c41.entry.js.map} +0 -0
  439. /package/dist/native/{p-85a54ef2.entry.js.map → p-9c5d6827.entry.js.map} +0 -0
  440. /package/dist/native/{p-1f932a4b.entry.js.map → p-aacd8789.entry.js.map} +0 -0
  441. /package/dist/native/{p-a50f3850.entry.js.map → p-ac5496e7.entry.js.map} +0 -0
  442. /package/dist/native/{p-67c34b8c.entry.js.map → p-b58fb522.entry.js.map} +0 -0
  443. /package/dist/native/{p-f540db71.entry.js.map → p-dd023fd6.entry.js.map} +0 -0
  444. /package/dist/native/{p-051db87c.entry.js.map → p-fb672f90.entry.js.map} +0 -0
@@ -5,13 +5,13 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
- import { ButtonEmphasis, ButtonSize, ButtonType, DeprecatedSemanticColors, FeedbackColors, GlobalFilterPosition, IconButtonShape, LabelPlacement, LoaderColors, SemanticSizes, TextInputAutocomplete } from "./utils/constants";
8
+ import { ButtonEmphasis, ButtonSize, ButtonType, DeprecatedSemanticColors, FeedbackColors, GlobalFilterPosition, IconButtonShape, LabelPlacement, LoaderColors, SemanticSizes, TextInputAutocomplete, ToggleButtonEmphasis, ToggleButtonSize } from "./utils/constants";
9
9
  import { Column } from "./interfaces/Column";
10
10
  import { Element } from "./stencil-public-runtime";
11
11
  import { IconName } from "./components/nv-icon/nv-icons";
12
12
  import { Placement } from "@floating-ui/dom";
13
13
  import { ColumnConfig } from "./interfaces/ColumnConfig";
14
- export { ButtonEmphasis, ButtonSize, ButtonType, DeprecatedSemanticColors, FeedbackColors, GlobalFilterPosition, IconButtonShape, LabelPlacement, LoaderColors, SemanticSizes, TextInputAutocomplete } from "./utils/constants";
14
+ export { ButtonEmphasis, ButtonSize, ButtonType, DeprecatedSemanticColors, FeedbackColors, GlobalFilterPosition, IconButtonShape, LabelPlacement, LoaderColors, SemanticSizes, TextInputAutocomplete, ToggleButtonEmphasis, ToggleButtonSize } from "./utils/constants";
15
15
  export { Column } from "./interfaces/Column";
16
16
  export { Element } from "./stencil-public-runtime";
17
17
  export { IconName } from "./components/nv-icon/nv-icons";
@@ -315,6 +315,24 @@ export namespace Components {
315
315
  */
316
316
  "type": `${ButtonType}`;
317
317
  }
318
+ interface NvButtongroup {
319
+ /**
320
+ * Adjusts the emphasis of all the buttons to make it more or less visually prominent to users. Use this to draw attention to important actions or reduce focus on less critical ones
321
+ */
322
+ "emphasis": `${ButtonEmphasis}`;
323
+ /**
324
+ * Allows the button group to stretch and fill the entire width of its container.
325
+ */
326
+ "fluid": boolean;
327
+ /**
328
+ * Determines the orientation of the button group. When enabled, the buttons are stacked vertically rather than aligned side by side.
329
+ */
330
+ "orientation": 'vertical' | 'horizontal';
331
+ /**
332
+ * Determines how large or small all the buttons appear, allowing for customization of the button's dimensions to fit different design specifications and user needs.
333
+ */
334
+ "size": `${ButtonSize}`;
335
+ }
318
336
  interface NvCalendar {
319
337
  /**
320
338
  * Clears the current selection and resets the calendar to its initial state. This method can be called programmatically to reset the calendar.
@@ -1336,6 +1354,19 @@ export namespace Components {
1336
1354
  * Add helpful hints or extra information under the text input field.
1337
1355
  */
1338
1356
  "description": string;
1357
+ /**
1358
+ * Deselect all visible and enabled items. Works for both options and slots mode.
1359
+ * @returns
1360
+ */
1361
+ "deselectAll": () => Promise<void>;
1362
+ /**
1363
+ * Text for the "Deselect All" button.
1364
+ */
1365
+ "deselectAllLabel": string;
1366
+ /**
1367
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1368
+ */
1369
+ "deselect-all-label"?: string;
1339
1370
  /**
1340
1371
  * Disables the input field.
1341
1372
  */
@@ -1348,6 +1379,14 @@ export namespace Components {
1348
1379
  * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1349
1380
  */
1350
1381
  "empty-result"?: string;
1382
+ /**
1383
+ * Enables or disables the "Select All / Deselect All" toggle functionality.
1384
+ */
1385
+ "enableSelectAll": boolean;
1386
+ /**
1387
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1388
+ */
1389
+ "enable-select-all"?: boolean;
1351
1390
  /**
1352
1391
  * Alters the input field's appearance to indicate an error, helping users identify fields that need correction.
1353
1392
  * @validator error
@@ -1450,6 +1489,24 @@ export namespace Components {
1450
1489
  * Reset the filter and make all items visible.
1451
1490
  */
1452
1491
  "resetFilter": () => Promise<void>;
1492
+ /**
1493
+ * Select all visible and enabled items. Works for both options and slots mode.
1494
+ * @returns
1495
+ */
1496
+ "selectAll": () => Promise<void>;
1497
+ /**
1498
+ * Text for the "Select All" button.
1499
+ */
1500
+ "selectAllLabel": string;
1501
+ /**
1502
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
1503
+ */
1504
+ "select-all-label"?: string;
1505
+ /**
1506
+ * Toggle selection state of all visible and enabled items. If all items are selected, deselects all. Otherwise, selects all. Works for both options and slots mode.
1507
+ * @returns
1508
+ */
1509
+ "toggleSelectAll": () => Promise<void>;
1453
1510
  /**
1454
1511
  * Specifies the selected values of the multiselect field. This is the canonical value for the component and is used for form submission.
1455
1512
  */
@@ -2676,6 +2733,58 @@ export namespace Components {
2676
2733
  */
2677
2734
  "value"?: string;
2678
2735
  }
2736
+ interface NvTogglebutton {
2737
+ /**
2738
+ * Whether the button is active or not. Will not toggle automatically but needs to be controlled externally.
2739
+ */
2740
+ "active": boolean;
2741
+ /**
2742
+ * Prevents all interaction, rendering the toggle in a non-interactive state.
2743
+ */
2744
+ "disabled": boolean;
2745
+ /**
2746
+ * Make it more or less visually prominent to users.
2747
+ */
2748
+ "emphasis": `${ToggleButtonEmphasis}`;
2749
+ /**
2750
+ * Determines how large or small the togglebutton appears, allowing for customization of the togglebutton's dimensions to fit different design specifications and user needs.
2751
+ */
2752
+ "size": `${ToggleButtonSize}`;
2753
+ /**
2754
+ * The value to associated with the button when selected in a Togglebuttongroup.
2755
+ */
2756
+ "value": string;
2757
+ }
2758
+ /**
2759
+ * @deprecated [EXPERIMENTAL]
2760
+ * @experimental This component is still in development and subject to change in future releases.
2761
+ */
2762
+ interface NvTogglebuttongroup {
2763
+ /**
2764
+ * Make it more or less visually prominent to users.
2765
+ */
2766
+ "emphasis": `${ToggleButtonEmphasis}`;
2767
+ /**
2768
+ * Ensures at least one toggle stays selected at all times.
2769
+ */
2770
+ "enforceValue": boolean;
2771
+ /**
2772
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
2773
+ */
2774
+ "enforce-value"?: boolean;
2775
+ /**
2776
+ * Activates single-selection mode so only one button can be active at a time.
2777
+ */
2778
+ "exclusive": boolean;
2779
+ /**
2780
+ * Determines how large or small the togglebutton appears, allowing for customization of the togglebutton's dimensions to fit different design specifications and user needs.
2781
+ */
2782
+ "size": `${ToggleButtonSize}`;
2783
+ /**
2784
+ * The active toggle buttons in the group. Is an array of one string when in exclusive mode, and an array of strings when in non-exclusive mode.
2785
+ */
2786
+ "value": string[];
2787
+ }
2679
2788
  interface NvTooltip {
2680
2789
  /**
2681
2790
  * Controls how long (in milliseconds) the tooltip waits to show after you hover over or focus on an element. If you move away before the delay is up, the tooltip won’t appear.
@@ -2808,6 +2917,14 @@ export interface NvToggleCustomEvent<T> extends CustomEvent<T> {
2808
2917
  detail: T;
2809
2918
  target: HTMLNvToggleElement;
2810
2919
  }
2920
+ export interface NvTogglebuttonCustomEvent<T> extends CustomEvent<T> {
2921
+ detail: T;
2922
+ target: HTMLNvTogglebuttonElement;
2923
+ }
2924
+ export interface NvTogglebuttongroupCustomEvent<T> extends CustomEvent<T> {
2925
+ detail: T;
2926
+ target: HTMLNvTogglebuttongroupElement;
2927
+ }
2811
2928
  export interface NvTooltipCustomEvent<T> extends CustomEvent<T> {
2812
2929
  detail: T;
2813
2930
  target: HTMLNvTooltipElement;
@@ -2915,6 +3032,12 @@ declare global {
2915
3032
  prototype: HTMLNvButtonElement;
2916
3033
  new (): HTMLNvButtonElement;
2917
3034
  };
3035
+ interface HTMLNvButtongroupElement extends Components.NvButtongroup, HTMLStencilElement {
3036
+ }
3037
+ var HTMLNvButtongroupElement: {
3038
+ prototype: HTMLNvButtongroupElement;
3039
+ new (): HTMLNvButtongroupElement;
3040
+ };
2918
3041
  interface HTMLNvCalendarElementEventMap {
2919
3042
  "singleDateChange": string;
2920
3043
  "rangeDateChange": HTMLNvCalendarElement['rangeValue'];
@@ -3480,6 +3603,49 @@ declare global {
3480
3603
  prototype: HTMLNvToggleElement;
3481
3604
  new (): HTMLNvToggleElement;
3482
3605
  };
3606
+ interface HTMLNvTogglebuttonElementEventMap {
3607
+ "toggled": {
3608
+ /** The value associated with the button. */
3609
+ value: string;
3610
+ /** If the button is active when clicked. */
3611
+ active: boolean;
3612
+ };
3613
+ }
3614
+ interface HTMLNvTogglebuttonElement extends Components.NvTogglebutton, HTMLStencilElement {
3615
+ addEventListener<K extends keyof HTMLNvTogglebuttonElementEventMap>(type: K, listener: (this: HTMLNvTogglebuttonElement, ev: NvTogglebuttonCustomEvent<HTMLNvTogglebuttonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
3616
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
3617
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
3618
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
3619
+ removeEventListener<K extends keyof HTMLNvTogglebuttonElementEventMap>(type: K, listener: (this: HTMLNvTogglebuttonElement, ev: NvTogglebuttonCustomEvent<HTMLNvTogglebuttonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
3620
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
3621
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
3622
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
3623
+ }
3624
+ var HTMLNvTogglebuttonElement: {
3625
+ prototype: HTMLNvTogglebuttonElement;
3626
+ new (): HTMLNvTogglebuttonElement;
3627
+ };
3628
+ interface HTMLNvTogglebuttongroupElementEventMap {
3629
+ "valueChanged": string[];
3630
+ }
3631
+ /**
3632
+ * @deprecated [EXPERIMENTAL]
3633
+ * @experimental This component is still in development and subject to change in future releases.
3634
+ */
3635
+ interface HTMLNvTogglebuttongroupElement extends Components.NvTogglebuttongroup, HTMLStencilElement {
3636
+ addEventListener<K extends keyof HTMLNvTogglebuttongroupElementEventMap>(type: K, listener: (this: HTMLNvTogglebuttongroupElement, ev: NvTogglebuttongroupCustomEvent<HTMLNvTogglebuttongroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
3637
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
3638
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
3639
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
3640
+ removeEventListener<K extends keyof HTMLNvTogglebuttongroupElementEventMap>(type: K, listener: (this: HTMLNvTogglebuttongroupElement, ev: NvTogglebuttongroupCustomEvent<HTMLNvTogglebuttongroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
3641
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
3642
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
3643
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
3644
+ }
3645
+ var HTMLNvTogglebuttongroupElement: {
3646
+ prototype: HTMLNvTogglebuttongroupElement;
3647
+ new (): HTMLNvTogglebuttongroupElement;
3648
+ };
3483
3649
  interface HTMLNvTooltipElementEventMap {
3484
3650
  "openChanged": boolean;
3485
3651
  }
@@ -3506,6 +3672,7 @@ declare global {
3506
3672
  "nv-breadcrumb": HTMLNvBreadcrumbElement;
3507
3673
  "nv-breadcrumbs": HTMLNvBreadcrumbsElement;
3508
3674
  "nv-button": HTMLNvButtonElement;
3675
+ "nv-buttongroup": HTMLNvButtongroupElement;
3509
3676
  "nv-calendar": HTMLNvCalendarElement;
3510
3677
  "nv-col": HTMLNvColElement;
3511
3678
  "nv-datagrid": HTMLNvDatagridElement;
@@ -3539,6 +3706,8 @@ declare global {
3539
3706
  "nv-table": HTMLNvTableElement;
3540
3707
  "nv-tablecolumn": HTMLNvTablecolumnElement;
3541
3708
  "nv-toggle": HTMLNvToggleElement;
3709
+ "nv-togglebutton": HTMLNvTogglebuttonElement;
3710
+ "nv-togglebuttongroup": HTMLNvTogglebuttongroupElement;
3542
3711
  "nv-tooltip": HTMLNvTooltipElement;
3543
3712
  }
3544
3713
  }
@@ -3862,6 +4031,24 @@ declare namespace LocalJSX {
3862
4031
  */
3863
4032
  "type"?: `${ButtonType}`;
3864
4033
  }
4034
+ interface NvButtongroup {
4035
+ /**
4036
+ * Adjusts the emphasis of all the buttons to make it more or less visually prominent to users. Use this to draw attention to important actions or reduce focus on less critical ones
4037
+ */
4038
+ "emphasis"?: `${ButtonEmphasis}`;
4039
+ /**
4040
+ * Allows the button group to stretch and fill the entire width of its container.
4041
+ */
4042
+ "fluid"?: boolean;
4043
+ /**
4044
+ * Determines the orientation of the button group. When enabled, the buttons are stacked vertically rather than aligned side by side.
4045
+ */
4046
+ "orientation"?: 'vertical' | 'horizontal';
4047
+ /**
4048
+ * Determines how large or small all the buttons appear, allowing for customization of the button's dimensions to fit different design specifications and user needs.
4049
+ */
4050
+ "size"?: `${ButtonSize}`;
4051
+ }
3865
4052
  interface NvCalendar {
3866
4053
  /**
3867
4054
  * Date format (ex: 'YYYY-MM-DD', 'DD-MM-YYYY', etc.)
@@ -4989,6 +5176,14 @@ declare namespace LocalJSX {
4989
5176
  * Add helpful hints or extra information under the text input field.
4990
5177
  */
4991
5178
  "description"?: string;
5179
+ /**
5180
+ * Text for the "Deselect All" button.
5181
+ */
5182
+ "deselectAllLabel"?: string;
5183
+ /**
5184
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
5185
+ */
5186
+ "deselect-all-label"?: string;
4992
5187
  /**
4993
5188
  * Disables the input field.
4994
5189
  */
@@ -5001,6 +5196,14 @@ declare namespace LocalJSX {
5001
5196
  * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
5002
5197
  */
5003
5198
  "empty-result"?: string;
5199
+ /**
5200
+ * Enables or disables the "Select All / Deselect All" toggle functionality.
5201
+ */
5202
+ "enableSelectAll"?: boolean;
5203
+ /**
5204
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
5205
+ */
5206
+ "enable-select-all"?: boolean;
5004
5207
  /**
5005
5208
  * Alters the input field's appearance to indicate an error, helping users identify fields that need correction.
5006
5209
  * @validator error
@@ -5098,6 +5301,14 @@ declare namespace LocalJSX {
5098
5301
  * Marks the input field as required.
5099
5302
  */
5100
5303
  "required"?: boolean;
5304
+ /**
5305
+ * Text for the "Select All" button.
5306
+ */
5307
+ "selectAllLabel"?: string;
5308
+ /**
5309
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
5310
+ */
5311
+ "select-all-label"?: string;
5101
5312
  /**
5102
5313
  * Specifies the selected values of the multiselect field. This is the canonical value for the component and is used for form submission.
5103
5314
  */
@@ -6387,6 +6598,72 @@ declare namespace LocalJSX {
6387
6598
  */
6388
6599
  "value"?: string;
6389
6600
  }
6601
+ interface NvTogglebutton {
6602
+ /**
6603
+ * Whether the button is active or not. Will not toggle automatically but needs to be controlled externally.
6604
+ */
6605
+ "active"?: boolean;
6606
+ /**
6607
+ * Prevents all interaction, rendering the toggle in a non-interactive state.
6608
+ */
6609
+ "disabled"?: boolean;
6610
+ /**
6611
+ * Make it more or less visually prominent to users.
6612
+ */
6613
+ "emphasis"?: `${ToggleButtonEmphasis}`;
6614
+ /**
6615
+ * Emitted when the button is toggled.
6616
+ */
6617
+ "onToggled"?: (event: NvTogglebuttonCustomEvent<{
6618
+ /** The value associated with the button. */
6619
+ value: string;
6620
+ /** If the button is active when clicked. */
6621
+ active: boolean;
6622
+ }>) => void;
6623
+ /**
6624
+ * Determines how large or small the togglebutton appears, allowing for customization of the togglebutton's dimensions to fit different design specifications and user needs.
6625
+ */
6626
+ "size"?: `${ToggleButtonSize}`;
6627
+ /**
6628
+ * The value to associated with the button when selected in a Togglebuttongroup.
6629
+ */
6630
+ "value"?: string;
6631
+ }
6632
+ /**
6633
+ * @deprecated [EXPERIMENTAL]
6634
+ * @experimental This component is still in development and subject to change in future releases.
6635
+ */
6636
+ interface NvTogglebuttongroup {
6637
+ /**
6638
+ * Make it more or less visually prominent to users.
6639
+ */
6640
+ "emphasis"?: `${ToggleButtonEmphasis}`;
6641
+ /**
6642
+ * Ensures at least one toggle stays selected at all times.
6643
+ */
6644
+ "enforceValue"?: boolean;
6645
+ /**
6646
+ * @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
6647
+ */
6648
+ "enforce-value"?: boolean;
6649
+ /**
6650
+ * Activates single-selection mode so only one button can be active at a time.
6651
+ */
6652
+ "exclusive"?: boolean;
6653
+ /**
6654
+ * Emitted when the selected toggle buttons change.
6655
+ * @bind value
6656
+ */
6657
+ "onValueChanged"?: (event: NvTogglebuttongroupCustomEvent<string[]>) => void;
6658
+ /**
6659
+ * Determines how large or small the togglebutton appears, allowing for customization of the togglebutton's dimensions to fit different design specifications and user needs.
6660
+ */
6661
+ "size"?: `${ToggleButtonSize}`;
6662
+ /**
6663
+ * The active toggle buttons in the group. Is an array of one string when in exclusive mode, and an array of strings when in non-exclusive mode.
6664
+ */
6665
+ "value"?: string[];
6666
+ }
6390
6667
  interface NvTooltip {
6391
6668
  /**
6392
6669
  * Controls how long (in milliseconds) the tooltip waits to show after you hover over or focus on an element. If you move away before the delay is up, the tooltip won’t appear.
@@ -6418,6 +6695,7 @@ declare namespace LocalJSX {
6418
6695
  "nv-breadcrumb": NvBreadcrumb;
6419
6696
  "nv-breadcrumbs": NvBreadcrumbs;
6420
6697
  "nv-button": NvButton;
6698
+ "nv-buttongroup": NvButtongroup;
6421
6699
  "nv-calendar": NvCalendar;
6422
6700
  "nv-col": NvCol;
6423
6701
  "nv-datagrid": NvDatagrid;
@@ -6451,6 +6729,8 @@ declare namespace LocalJSX {
6451
6729
  "nv-table": NvTable;
6452
6730
  "nv-tablecolumn": NvTablecolumn;
6453
6731
  "nv-toggle": NvToggle;
6732
+ "nv-togglebutton": NvTogglebutton;
6733
+ "nv-togglebuttongroup": NvTogglebuttongroup;
6454
6734
  "nv-tooltip": NvTooltip;
6455
6735
  }
6456
6736
  }
@@ -6469,6 +6749,7 @@ declare module "@stencil/core" {
6469
6749
  "nv-breadcrumb": LocalJSX.NvBreadcrumb & JSXBase.HTMLAttributes<HTMLNvBreadcrumbElement>;
6470
6750
  "nv-breadcrumbs": LocalJSX.NvBreadcrumbs & JSXBase.HTMLAttributes<HTMLNvBreadcrumbsElement>;
6471
6751
  "nv-button": LocalJSX.NvButton & JSXBase.HTMLAttributes<HTMLNvButtonElement>;
6752
+ "nv-buttongroup": LocalJSX.NvButtongroup & JSXBase.HTMLAttributes<HTMLNvButtongroupElement>;
6472
6753
  "nv-calendar": LocalJSX.NvCalendar & JSXBase.HTMLAttributes<HTMLNvCalendarElement>;
6473
6754
  "nv-col": LocalJSX.NvCol & JSXBase.HTMLAttributes<HTMLNvColElement>;
6474
6755
  /**
@@ -6515,6 +6796,12 @@ declare module "@stencil/core" {
6515
6796
  "nv-table": LocalJSX.NvTable & JSXBase.HTMLAttributes<HTMLNvTableElement>;
6516
6797
  "nv-tablecolumn": LocalJSX.NvTablecolumn & JSXBase.HTMLAttributes<HTMLNvTablecolumnElement>;
6517
6798
  "nv-toggle": LocalJSX.NvToggle & JSXBase.HTMLAttributes<HTMLNvToggleElement>;
6799
+ "nv-togglebutton": LocalJSX.NvTogglebutton & JSXBase.HTMLAttributes<HTMLNvTogglebuttonElement>;
6800
+ /**
6801
+ * @deprecated [EXPERIMENTAL]
6802
+ * @experimental This component is still in development and subject to change in future releases.
6803
+ */
6804
+ "nv-togglebuttongroup": LocalJSX.NvTogglebuttongroup & JSXBase.HTMLAttributes<HTMLNvTogglebuttongroupElement>;
6518
6805
  "nv-tooltip": LocalJSX.NvTooltip & JSXBase.HTMLAttributes<HTMLNvTooltipElement>;
6519
6806
  }
6520
6807
  }
@@ -37,6 +37,16 @@ export declare enum ButtonType {
37
37
  Reset = "reset",
38
38
  Button = "button"
39
39
  }
40
+ export declare enum ToggleButtonEmphasis {
41
+ High = "high",
42
+ Low = "low"
43
+ }
44
+ export declare enum ToggleButtonSize {
45
+ ExtraSmall = "xs",
46
+ Small = "sm",
47
+ Medium = "md",
48
+ Large = "lg"
49
+ }
40
50
  export declare enum IconButtonShape {
41
51
  Square = "square",
42
52
  Rounded = "rounded"
@@ -394,6 +394,67 @@
394
394
  }
395
395
  ]
396
396
  },
397
+ {
398
+ "name": "nv-buttongroup",
399
+ "description": {
400
+ "kind": "markdown",
401
+ "value": "The Button Group component organizes multiple related buttons into a cohesive unit with consistent styling and behavior. It automatically forwards properties like size, emphasis, and fluid to all child buttons, ensuring visual uniformity across grouped actions.\n\nThis component simplifies the management of button collections by providing centralized control over their appearance and layout, supporting both horizontal and vertical orientations to fit various design requirements."
402
+ },
403
+ "attributes": [
404
+ {
405
+ "name": "emphasis",
406
+ "description": "Adjusts the emphasis of all the buttons to make it more or less visually\nprominent to users. Use this to draw attention to important actions or\nreduce focus on less critical ones",
407
+ "values": [
408
+ {
409
+ "name": "high"
410
+ },
411
+ {
412
+ "name": "low"
413
+ },
414
+ {
415
+ "name": "lower"
416
+ },
417
+ {
418
+ "name": "medium"
419
+ }
420
+ ]
421
+ },
422
+ {
423
+ "name": "fluid",
424
+ "description": "Allows the button group to stretch and fill the entire width of its\ncontainer."
425
+ },
426
+ {
427
+ "name": "orientation",
428
+ "description": "Determines the orientation of the button group. When enabled, the buttons\nare stacked vertically rather than aligned side by side.",
429
+ "values": [
430
+ {
431
+ "name": "horizontal"
432
+ },
433
+ {
434
+ "name": "vertical"
435
+ }
436
+ ]
437
+ },
438
+ {
439
+ "name": "size",
440
+ "description": "Determines how large or small all the buttons appear, allowing for\ncustomization of the button's dimensions to fit different design\nspecifications and user needs.",
441
+ "values": [
442
+ {
443
+ "name": "lg"
444
+ },
445
+ {
446
+ "name": "md"
447
+ },
448
+ {
449
+ "name": "sm"
450
+ },
451
+ {
452
+ "name": "xs"
453
+ }
454
+ ]
455
+ }
456
+ ]
457
+ },
397
458
  {
398
459
  "name": "nv-calendar",
399
460
  "description": {
@@ -1557,6 +1618,10 @@
1557
1618
  "name": "description",
1558
1619
  "description": "Add helpful hints or extra information under the text input field."
1559
1620
  },
1621
+ {
1622
+ "name": "deselect-all-label",
1623
+ "description": "Text for the \"Deselect All\" button."
1624
+ },
1560
1625
  {
1561
1626
  "name": "disabled",
1562
1627
  "description": "Disables the input field."
@@ -1565,6 +1630,10 @@
1565
1630
  "name": "empty-result",
1566
1631
  "description": "The text to display when no items match the filter."
1567
1632
  },
1633
+ {
1634
+ "name": "enable-select-all",
1635
+ "description": "Enables or disables the \"Select All / Deselect All\" toggle functionality."
1636
+ },
1568
1637
  {
1569
1638
  "name": "error",
1570
1639
  "description": "Alters the input field's appearance to indicate an error, helping users\nidentify fields that need correction."
@@ -1616,6 +1685,10 @@
1616
1685
  {
1617
1686
  "name": "required",
1618
1687
  "description": "Marks the input field as required."
1688
+ },
1689
+ {
1690
+ "name": "select-all-label",
1691
+ "description": "Text for the \"Select All\" button."
1619
1692
  }
1620
1693
  ]
1621
1694
  },
@@ -3591,6 +3664,12 @@
3591
3664
  {
3592
3665
  "name": "engine"
3593
3666
  },
3667
+ {
3668
+ "name": "eraser-off"
3669
+ },
3670
+ {
3671
+ "name": "eraser"
3672
+ },
3594
3673
  {
3595
3674
  "name": "external-link"
3596
3675
  },
@@ -4263,6 +4342,18 @@
4263
4342
  {
4264
4343
  "name": "shopping-cart"
4265
4344
  },
4345
+ {
4346
+ "name": "sizemd"
4347
+ },
4348
+ {
4349
+ "name": "sizesm"
4350
+ },
4351
+ {
4352
+ "name": "sizexl"
4353
+ },
4354
+ {
4355
+ "name": "sizexs"
4356
+ },
4266
4357
  {
4267
4358
  "name": "slash"
4268
4359
  },
@@ -4742,6 +4833,104 @@
4742
4833
  }
4743
4834
  ]
4744
4835
  },
4836
+ {
4837
+ "name": "nv-togglebutton",
4838
+ "description": {
4839
+ "kind": "markdown",
4840
+ "value": "The Toggle Button component provides an interactive button that maintains an active/inactive state, perfect for binary choices or grouped selections. It integrates seamlessly with the Toggle Button Group component to create cohesive selection interfaces.\nThis component enables users to make selections that persist visually, providing clear feedback about current choices and allowing for both single and multiple selection patterns depending on the group configuration."
4841
+ },
4842
+ "attributes": [
4843
+ {
4844
+ "name": "active",
4845
+ "description": "Whether the button is active or not. Will not toggle automatically but\nneeds to be controlled externally."
4846
+ },
4847
+ {
4848
+ "name": "disabled",
4849
+ "description": "Prevents all interaction, rendering the toggle in a non-interactive state."
4850
+ },
4851
+ {
4852
+ "name": "emphasis",
4853
+ "description": "Make it more or less visually prominent to users.",
4854
+ "values": [
4855
+ {
4856
+ "name": "high"
4857
+ },
4858
+ {
4859
+ "name": "low"
4860
+ }
4861
+ ]
4862
+ },
4863
+ {
4864
+ "name": "size",
4865
+ "description": "Determines how large or small the togglebutton appears, allowing for\ncustomization of the togglebutton's dimensions to fit different design\nspecifications and user needs.",
4866
+ "values": [
4867
+ {
4868
+ "name": "lg"
4869
+ },
4870
+ {
4871
+ "name": "md"
4872
+ },
4873
+ {
4874
+ "name": "sm"
4875
+ },
4876
+ {
4877
+ "name": "xs"
4878
+ }
4879
+ ]
4880
+ },
4881
+ {
4882
+ "name": "value",
4883
+ "description": "The value to associated with the button when selected in a\nTogglebuttongroup."
4884
+ }
4885
+ ]
4886
+ },
4887
+ {
4888
+ "name": "nv-togglebuttongroup",
4889
+ "description": {
4890
+ "kind": "markdown",
4891
+ "value": "The Toggle Button Group component orchestrates multiple toggle buttons into a cohesive selection interface. It supports both single-selection (exclusive) and multi-selection modes, with optional enforcement to ensure at least one option remains selected.\nThis component simplifies complex selection scenarios by managing button states automatically, making it ideal for filter controls, view switchers, formatting toolbars, and preference panels where users need to choose from multiple related options."
4892
+ },
4893
+ "attributes": [
4894
+ {
4895
+ "name": "emphasis",
4896
+ "description": "Make it more or less visually prominent to users.",
4897
+ "values": [
4898
+ {
4899
+ "name": "high"
4900
+ },
4901
+ {
4902
+ "name": "low"
4903
+ }
4904
+ ]
4905
+ },
4906
+ {
4907
+ "name": "enforce-value",
4908
+ "description": "Ensures at least one toggle stays selected at all times."
4909
+ },
4910
+ {
4911
+ "name": "exclusive",
4912
+ "description": "Activates single-selection mode so only one button can be active at a time."
4913
+ },
4914
+ {
4915
+ "name": "size",
4916
+ "description": "Determines how large or small the togglebutton appears, allowing for\ncustomization of the togglebutton's dimensions to fit different design\nspecifications and user needs.",
4917
+ "values": [
4918
+ {
4919
+ "name": "lg"
4920
+ },
4921
+ {
4922
+ "name": "md"
4923
+ },
4924
+ {
4925
+ "name": "sm"
4926
+ },
4927
+ {
4928
+ "name": "xs"
4929
+ }
4930
+ ]
4931
+ }
4932
+ ]
4933
+ },
4745
4934
  {
4746
4935
  "name": "nv-tooltip",
4747
4936
  "description": {