@nova-design-system/nova-webcomponents 3.0.0 → 3.2.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 (532) hide show
  1. package/dist/cjs/{constants-bcd6b2e2.js → constants-8fb8ccc0.js} +14 -1
  2. package/dist/cjs/constants-8fb8ccc0.js.map +1 -0
  3. package/dist/cjs/{index-9bda5507.js → index-108ddff0.js} +22 -6
  4. package/dist/cjs/index-108ddff0.js.map +1 -0
  5. package/dist/cjs/index.cjs.js +5 -471
  6. package/dist/cjs/index.cjs.js.map +1 -1
  7. package/dist/cjs/loader.cjs.js +2 -2
  8. package/dist/cjs/native.cjs.js +2 -2
  9. package/dist/cjs/nv-alert.cjs.entry.js +6 -6
  10. package/dist/cjs/nv-alert.cjs.entry.js.map +1 -1
  11. package/dist/cjs/nv-avatar.cjs.entry.js +2 -2
  12. package/dist/cjs/nv-badge_2.cjs.entry.js +18 -9
  13. package/dist/cjs/nv-badge_2.cjs.entry.js.map +1 -1
  14. package/dist/cjs/nv-breadcrumb.cjs.entry.js +1 -1
  15. package/dist/cjs/nv-breadcrumbs.cjs.entry.js +1 -1
  16. package/dist/cjs/nv-button.cjs.entry.js +2 -2
  17. package/dist/cjs/nv-calendar.cjs.entry.js +821 -843
  18. package/dist/cjs/nv-calendar.cjs.entry.js.map +1 -1
  19. package/dist/cjs/nv-col.cjs.entry.js +1 -1
  20. package/dist/cjs/nv-datagrid.cjs.entry.js +423 -94
  21. package/dist/cjs/nv-datagrid.cjs.entry.js.map +1 -1
  22. package/dist/cjs/nv-datagridcolumn.cjs.entry.js +2 -2
  23. package/dist/cjs/nv-datagridcolumn.cjs.entry.js.map +1 -1
  24. package/dist/cjs/nv-dialog.cjs.entry.js +19 -13
  25. package/dist/cjs/nv-dialog.cjs.entry.js.map +1 -1
  26. package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +2 -2
  27. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +1 -1
  28. package/dist/cjs/nv-fielddate.cjs.entry.js +9 -18
  29. package/dist/cjs/nv-fielddate.cjs.entry.js.map +1 -1
  30. package/dist/cjs/nv-fielddaterange.cjs.entry.js +85 -32
  31. package/dist/cjs/nv-fielddaterange.cjs.entry.js.map +1 -1
  32. package/dist/cjs/nv-fielddropdown.cjs.entry.js +88 -57
  33. package/dist/cjs/nv-fielddropdown.cjs.entry.js.map +1 -1
  34. package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +2 -2
  35. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +122 -104
  36. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js.map +1 -1
  37. package/dist/cjs/nv-fieldnumber.cjs.entry.js +9 -5
  38. package/dist/cjs/nv-fieldnumber.cjs.entry.js.map +1 -1
  39. package/dist/cjs/nv-fieldpassword.cjs.entry.js +9 -5
  40. package/dist/cjs/nv-fieldpassword.cjs.entry.js.map +1 -1
  41. package/dist/cjs/nv-fieldradio.cjs.entry.js +4 -4
  42. package/dist/cjs/nv-fieldselect.cjs.entry.js +11 -7
  43. package/dist/cjs/nv-fieldselect.cjs.entry.js.map +1 -1
  44. package/dist/cjs/nv-fieldslider.cjs.entry.js +663 -0
  45. package/dist/cjs/nv-fieldslider.cjs.entry.js.map +1 -0
  46. package/dist/cjs/nv-fieldtext.cjs.entry.js +9 -5
  47. package/dist/cjs/nv-fieldtext.cjs.entry.js.map +1 -1
  48. package/dist/cjs/nv-fieldtextarea.cjs.entry.js +9 -5
  49. package/dist/cjs/nv-fieldtextarea.cjs.entry.js.map +1 -1
  50. package/dist/cjs/nv-fieldtime.cjs.entry.js +16 -13
  51. package/dist/cjs/nv-fieldtime.cjs.entry.js.map +1 -1
  52. package/dist/cjs/nv-icon.cjs.entry.js +4 -4
  53. package/dist/cjs/nv-icon.cjs.entry.js.map +1 -1
  54. package/dist/cjs/nv-iconbutton_2.cjs.entry.js +3 -3
  55. package/dist/cjs/nv-menu.cjs.entry.js +4 -2
  56. package/dist/cjs/nv-menu.cjs.entry.js.map +1 -1
  57. package/dist/cjs/nv-menuitem.cjs.entry.js +2 -2
  58. package/dist/cjs/nv-popover.cjs.entry.js +2 -2
  59. package/dist/cjs/nv-row.cjs.entry.js +2 -2
  60. package/dist/cjs/nv-stack.cjs.entry.js +2 -2
  61. package/dist/cjs/nv-table.cjs.entry.js +3 -3
  62. package/dist/cjs/nv-table.cjs.entry.js.map +1 -1
  63. package/dist/cjs/nv-tablecolumn.cjs.entry.js +1 -1
  64. package/dist/cjs/nv-toggle.cjs.entry.js +3 -3
  65. package/dist/cjs/nv-tooltip.cjs.entry.js +3 -3
  66. package/dist/cjs/nv-tooltip.cjs.entry.js.map +1 -1
  67. package/dist/collection/collection-manifest.json +1 -0
  68. package/dist/collection/components/nv-alert/nv-alert.css +3 -0
  69. package/dist/collection/components/nv-alert/nv-alert.js +6 -11
  70. package/dist/collection/components/nv-alert/nv-alert.js.map +1 -1
  71. package/dist/collection/components/nv-badge/nv-badge.css +181 -1
  72. package/dist/collection/components/nv-badge/nv-badge.docs.js +20 -1
  73. package/dist/collection/components/nv-badge/nv-badge.docs.js.map +1 -1
  74. package/dist/collection/components/nv-badge/nv-badge.js +39 -15
  75. package/dist/collection/components/nv-badge/nv-badge.js.map +1 -1
  76. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.docs.js +0 -1
  77. package/dist/collection/components/nv-breadcrumbs/nv-breadcrumbs.docs.js.map +1 -1
  78. package/dist/collection/components/nv-calendar/nv-calendar.css +25 -2
  79. package/dist/collection/components/nv-calendar/nv-calendar.docs.js +33 -38
  80. package/dist/collection/components/nv-calendar/nv-calendar.docs.js.map +1 -1
  81. package/dist/collection/components/nv-calendar/nv-calendar.js +659 -897
  82. package/dist/collection/components/nv-calendar/nv-calendar.js.map +1 -1
  83. package/dist/collection/components/nv-calendar/nv-calendar.utils.js +202 -0
  84. package/dist/collection/components/nv-calendar/nv-calendar.utils.js.map +1 -0
  85. package/dist/collection/components/nv-calendar/test/nv-calendar.utils.test.js +667 -0
  86. package/dist/collection/components/nv-calendar/test/nv-calendar.utils.test.js.map +1 -0
  87. package/dist/collection/components/nv-datagrid/nv-datagrid.css +98 -0
  88. package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js +232 -51
  89. package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js.map +1 -1
  90. package/dist/collection/components/nv-datagrid/nv-datagrid.js +437 -160
  91. package/dist/collection/components/nv-datagrid/nv-datagrid.js.map +1 -1
  92. package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +20 -1
  93. package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js.map +1 -1
  94. package/dist/collection/components/nv-dialog/nv-dialog.css +29 -5
  95. package/dist/collection/components/nv-dialog/nv-dialog.docs.js +0 -1
  96. package/dist/collection/components/nv-dialog/nv-dialog.docs.js.map +1 -1
  97. package/dist/collection/components/nv-dialog/nv-dialog.js +16 -10
  98. package/dist/collection/components/nv-dialog/nv-dialog.js.map +1 -1
  99. package/dist/collection/components/nv-fielddate/nv-fielddate.docs.js +16 -8
  100. package/dist/collection/components/nv-fielddate/nv-fielddate.docs.js.map +1 -1
  101. package/dist/collection/components/nv-fielddate/nv-fielddate.js +48 -39
  102. package/dist/collection/components/nv-fielddate/nv-fielddate.js.map +1 -1
  103. package/dist/collection/components/nv-fielddate/styles/nv-fielddate.css +14 -1
  104. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.docs.js +12 -15
  105. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.docs.js.map +1 -1
  106. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +147 -68
  107. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js.map +1 -1
  108. package/dist/collection/components/nv-fielddaterange/styles/nv-fielddaterange.css +20 -12
  109. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js +16 -0
  110. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js.map +1 -1
  111. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +197 -103
  112. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js.map +1 -1
  113. package/dist/collection/components/nv-fielddropdown/styles/nv-fielddropdown.css +36 -1
  114. package/dist/collection/components/nv-fielddropdownitem/nv-fielddropdownitem.js +1 -1
  115. package/dist/collection/components/nv-fielddropdownitemcheck/nv-fielddropdownitemcheck.js +1 -1
  116. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js +8 -1
  117. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.docs.js.map +1 -1
  118. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js +228 -190
  119. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js.map +1 -1
  120. package/dist/collection/components/nv-fieldmultiselect/{nv-fieldmultiselect.css → styles/nv-fieldmultiselect.css} +36 -1
  121. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.css +12 -1
  122. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js +8 -0
  123. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.docs.js.map +1 -1
  124. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js +27 -3
  125. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.js.map +1 -1
  126. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.css +12 -1
  127. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js +8 -0
  128. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.docs.js.map +1 -1
  129. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js +27 -3
  130. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.js.map +1 -1
  131. package/dist/collection/components/nv-fieldradio/nv-fieldradio.js +3 -3
  132. package/dist/collection/components/nv-fieldselect/nv-fieldselect.css +12 -1
  133. package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js +8 -0
  134. package/dist/collection/components/nv-fieldselect/nv-fieldselect.docs.js.map +1 -1
  135. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js +29 -5
  136. package/dist/collection/components/nv-fieldselect/nv-fieldselect.js.map +1 -1
  137. package/dist/collection/components/nv-fieldslider/nv-fieldslider.docs.js +264 -0
  138. package/dist/collection/components/nv-fieldslider/nv-fieldslider.docs.js.map +1 -0
  139. package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +1035 -0
  140. package/dist/collection/components/nv-fieldslider/nv-fieldslider.js.map +1 -0
  141. package/dist/collection/components/nv-fieldslider/nv-fieldslider.utils.js +77 -0
  142. package/dist/collection/components/nv-fieldslider/nv-fieldslider.utils.js.map +1 -0
  143. package/dist/collection/components/nv-fieldslider/partials/field-input.js +33 -0
  144. package/dist/collection/components/nv-fieldslider/partials/field-input.js.map +1 -0
  145. package/dist/collection/components/nv-fieldslider/partials/range-thumb.js +34 -0
  146. package/dist/collection/components/nv-fieldslider/partials/range-thumb.js.map +1 -0
  147. package/dist/collection/components/nv-fieldslider/partials/single-thumb.js +18 -0
  148. package/dist/collection/components/nv-fieldslider/partials/single-thumb.js.map +1 -0
  149. package/dist/collection/components/nv-fieldslider/partials/tick-marks.js +18 -0
  150. package/dist/collection/components/nv-fieldslider/partials/tick-marks.js.map +1 -0
  151. package/dist/collection/components/nv-fieldslider/styles/nv-fieldslider.css +267 -0
  152. package/dist/collection/components/nv-fieldslider/test/nv-fieldslider.utils.test.js +159 -0
  153. package/dist/collection/components/nv-fieldslider/test/nv-fieldslider.utils.test.js.map +1 -0
  154. package/dist/collection/components/nv-fieldtext/nv-fieldtext.css +20 -1
  155. package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js +17 -1
  156. package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js.map +1 -1
  157. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +28 -3
  158. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js.map +1 -1
  159. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.css +30 -1
  160. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js +8 -0
  161. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.docs.js.map +1 -1
  162. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +27 -3
  163. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js.map +1 -1
  164. package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +13 -10
  165. package/dist/collection/components/nv-fieldtime/nv-fieldtime.js.map +1 -1
  166. package/dist/collection/components/nv-fieldtime/styles/nv-fieldtime.css +26 -3
  167. package/dist/collection/components/nv-icon/nv-icon.js +1 -1
  168. package/dist/collection/components/nv-icon/nv-icons.js +4 -470
  169. package/dist/collection/components/nv-icon/nv-icons.js.map +1 -1
  170. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
  171. package/dist/collection/components/nv-loader/nv-loader.js +1 -1
  172. package/dist/collection/components/nv-menu/nv-menu.js +3 -1
  173. package/dist/collection/components/nv-menu/nv-menu.js.map +1 -1
  174. package/dist/collection/components/nv-menuitem/nv-menuitem.js +2 -2
  175. package/dist/collection/components/nv-popover/nv-popover.js +1 -1
  176. package/dist/collection/components/nv-row/nv-row.js +1 -1
  177. package/dist/collection/components/nv-stack/nv-stack.js +1 -1
  178. package/dist/collection/components/nv-table/nv-table.js +8 -11
  179. package/dist/collection/components/nv-table/nv-table.js.map +1 -1
  180. package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
  181. package/dist/collection/components/nv-tooltip/nv-tooltip.css +1 -0
  182. package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
  183. package/dist/collection/index.js.map +1 -1
  184. package/dist/collection/interfaces/Column.js.map +1 -1
  185. package/dist/collection/templates/navigation.docs.js +0 -1
  186. package/dist/collection/templates/navigation.docs.js.map +1 -1
  187. package/dist/collection/utils/constants.js +11 -0
  188. package/dist/collection/utils/constants.js.map +1 -1
  189. package/dist/components/index.js +6 -472
  190. package/dist/components/index.js.map +1 -1
  191. package/dist/components/nv-alert.js +7 -7
  192. package/dist/components/nv-alert.js.map +1 -1
  193. package/dist/components/nv-avatar.js +3 -3
  194. package/dist/components/nv-badge.js +1 -1
  195. package/dist/components/nv-breadcrumb.js +3 -3
  196. package/dist/components/nv-breadcrumbs.js +1 -1
  197. package/dist/components/nv-button.js +1 -1
  198. package/dist/components/nv-calendar.js +1 -1
  199. package/dist/components/nv-col.js +1 -1
  200. package/dist/components/nv-datagrid.js +447 -102
  201. package/dist/components/nv-datagrid.js.map +1 -1
  202. package/dist/components/nv-datagridcolumn.js +4 -3
  203. package/dist/components/nv-datagridcolumn.js.map +1 -1
  204. package/dist/components/nv-dialog.js +24 -18
  205. package/dist/components/nv-dialog.js.map +1 -1
  206. package/dist/components/nv-dialogfooter.js +1 -1
  207. package/dist/components/nv-dialogheader.js +1 -1
  208. package/dist/components/nv-fieldcheckbox.js +1 -1
  209. package/dist/components/nv-fielddate.js +19 -27
  210. package/dist/components/nv-fielddate.js.map +1 -1
  211. package/dist/components/nv-fielddaterange.js +99 -44
  212. package/dist/components/nv-fielddaterange.js.map +1 -1
  213. package/dist/components/nv-fielddropdown.js +103 -69
  214. package/dist/components/nv-fielddropdown.js.map +1 -1
  215. package/dist/components/nv-fielddropdownitem.js +1 -1
  216. package/dist/components/nv-fielddropdownitemcheck.js +1 -1
  217. package/dist/components/nv-fieldmultiselect.js +139 -120
  218. package/dist/components/nv-fieldmultiselect.js.map +1 -1
  219. package/dist/components/nv-fieldnumber.js +14 -9
  220. package/dist/components/nv-fieldnumber.js.map +1 -1
  221. package/dist/components/nv-fieldpassword.js +13 -8
  222. package/dist/components/nv-fieldpassword.js.map +1 -1
  223. package/dist/components/nv-fieldradio.js +4 -4
  224. package/dist/components/nv-fieldselect.js +15 -10
  225. package/dist/components/nv-fieldselect.js.map +1 -1
  226. package/dist/components/nv-fieldslider.d.ts +11 -0
  227. package/dist/components/nv-fieldslider.js +726 -0
  228. package/dist/components/nv-fieldslider.js.map +1 -0
  229. package/dist/components/nv-fieldtext.js +1 -158
  230. package/dist/components/nv-fieldtext.js.map +1 -1
  231. package/dist/components/nv-fieldtextarea.js +11 -6
  232. package/dist/components/nv-fieldtextarea.js.map +1 -1
  233. package/dist/components/nv-fieldtime.js +20 -17
  234. package/dist/components/nv-fieldtime.js.map +1 -1
  235. package/dist/components/nv-icon.js +1 -1
  236. package/dist/components/nv-iconbutton.js +1 -1
  237. package/dist/components/nv-loader.js +1 -1
  238. package/dist/components/nv-menu.js +7 -5
  239. package/dist/components/nv-menu.js.map +1 -1
  240. package/dist/components/nv-menuitem.js +1 -1
  241. package/dist/components/nv-popover.js +1 -1
  242. package/dist/components/nv-row.js +2 -2
  243. package/dist/components/nv-stack.js +2 -2
  244. package/dist/components/nv-table.js +3 -3
  245. package/dist/components/nv-table.js.map +1 -1
  246. package/dist/components/nv-tablecolumn.js +1 -1
  247. package/dist/components/nv-toggle.js +3 -3
  248. package/dist/components/nv-tooltip.js +1 -1
  249. package/dist/components/{p-dc3faba3.js → p-04cb3a6f.js} +5 -5
  250. package/dist/components/{p-dc3faba3.js.map → p-04cb3a6f.js.map} +1 -1
  251. package/dist/components/p-07a89754.js +187 -0
  252. package/dist/components/p-07a89754.js.map +1 -0
  253. package/dist/components/{p-b7b78e64.js → p-0ab80d95.js} +3 -3
  254. package/dist/components/{p-b7b78e64.js.map → p-0ab80d95.js.map} +1 -1
  255. package/dist/components/{p-8348db09.js → p-1f505531.js} +15 -2
  256. package/dist/components/p-1f505531.js.map +1 -0
  257. package/dist/components/{p-02752770.js → p-33e231f4.js} +2 -2
  258. package/dist/components/{p-02752770.js.map → p-33e231f4.js.map} +1 -1
  259. package/dist/components/p-4656efae.js +1111 -0
  260. package/dist/components/p-4656efae.js.map +1 -0
  261. package/dist/components/{p-2012b8ba.js → p-581e67cc.js} +4 -4
  262. package/dist/components/{p-2012b8ba.js.map → p-581e67cc.js.map} +1 -1
  263. package/dist/components/{p-1c45c0f2.js → p-679e0fa9.js} +16 -4
  264. package/dist/components/p-679e0fa9.js.map +1 -0
  265. package/dist/components/p-76a30bf1.js +88 -0
  266. package/dist/components/p-76a30bf1.js.map +1 -0
  267. package/dist/components/{p-150daf68.js → p-83c8873a.js} +3 -3
  268. package/dist/components/{p-150daf68.js.map → p-83c8873a.js.map} +1 -1
  269. package/dist/components/{p-c14f6b8e.js → p-c0a91091.js} +5 -5
  270. package/dist/components/p-c0a91091.js.map +1 -0
  271. package/dist/components/{p-6c364a23.js → p-cbdc2c8b.js} +6 -6
  272. package/dist/components/{p-6c364a23.js.map → p-cbdc2c8b.js.map} +1 -1
  273. package/dist/components/{p-2d9ba7d3.js → p-cbe9521f.js} +4 -4
  274. package/dist/components/{p-2d9ba7d3.js.map → p-cbe9521f.js.map} +1 -1
  275. package/dist/components/{p-a30b55fc.js → p-d19b41d2.js} +2 -2
  276. package/dist/components/{p-a30b55fc.js.map → p-d19b41d2.js.map} +1 -1
  277. package/dist/components/{p-4d3ec142.js → p-d63f1cbe.js} +4 -4
  278. package/dist/components/{p-4d3ec142.js.map → p-d63f1cbe.js.map} +1 -1
  279. package/dist/components/{p-e00cbb8a.js → p-dd2273a3.js} +2 -2
  280. package/dist/components/{p-e00cbb8a.js.map → p-dd2273a3.js.map} +1 -1
  281. package/dist/components/p-f0a5e7e4.js +167 -0
  282. package/dist/components/p-f0a5e7e4.js.map +1 -0
  283. package/dist/components/{p-f4d86795.js → p-f1859ddc.js} +4 -4
  284. package/dist/components/{p-f4d86795.js.map → p-f1859ddc.js.map} +1 -1
  285. package/dist/esm/{constants-98e2dcc2.js → constants-b97e736d.js} +15 -2
  286. package/dist/esm/constants-b97e736d.js.map +1 -0
  287. package/dist/esm/{index-1fb7a9a6.js → index-8f0e5f19.js} +22 -6
  288. package/dist/esm/index-8f0e5f19.js.map +1 -0
  289. package/dist/esm/index.js +5 -471
  290. package/dist/esm/index.js.map +1 -1
  291. package/dist/esm/loader.js +3 -3
  292. package/dist/esm/native.js +3 -3
  293. package/dist/esm/nv-alert.entry.js +6 -6
  294. package/dist/esm/nv-alert.entry.js.map +1 -1
  295. package/dist/esm/nv-avatar.entry.js +2 -2
  296. package/dist/esm/nv-badge_2.entry.js +18 -9
  297. package/dist/esm/nv-badge_2.entry.js.map +1 -1
  298. package/dist/esm/nv-breadcrumb.entry.js +1 -1
  299. package/dist/esm/nv-breadcrumbs.entry.js +1 -1
  300. package/dist/esm/nv-button.entry.js +2 -2
  301. package/dist/esm/nv-calendar.entry.js +821 -843
  302. package/dist/esm/nv-calendar.entry.js.map +1 -1
  303. package/dist/esm/nv-col.entry.js +1 -1
  304. package/dist/esm/nv-datagrid.entry.js +423 -94
  305. package/dist/esm/nv-datagrid.entry.js.map +1 -1
  306. package/dist/esm/nv-datagridcolumn.entry.js +2 -2
  307. package/dist/esm/nv-datagridcolumn.entry.js.map +1 -1
  308. package/dist/esm/nv-dialog.entry.js +19 -13
  309. package/dist/esm/nv-dialog.entry.js.map +1 -1
  310. package/dist/esm/nv-dialogfooter_2.entry.js +2 -2
  311. package/dist/esm/nv-fieldcheckbox.entry.js +1 -1
  312. package/dist/esm/nv-fielddate.entry.js +9 -18
  313. package/dist/esm/nv-fielddate.entry.js.map +1 -1
  314. package/dist/esm/nv-fielddaterange.entry.js +85 -32
  315. package/dist/esm/nv-fielddaterange.entry.js.map +1 -1
  316. package/dist/esm/nv-fielddropdown.entry.js +88 -57
  317. package/dist/esm/nv-fielddropdown.entry.js.map +1 -1
  318. package/dist/esm/nv-fielddropdownitem.entry.js +2 -2
  319. package/dist/esm/nv-fieldmultiselect.entry.js +122 -104
  320. package/dist/esm/nv-fieldmultiselect.entry.js.map +1 -1
  321. package/dist/esm/nv-fieldnumber.entry.js +9 -5
  322. package/dist/esm/nv-fieldnumber.entry.js.map +1 -1
  323. package/dist/esm/nv-fieldpassword.entry.js +9 -5
  324. package/dist/esm/nv-fieldpassword.entry.js.map +1 -1
  325. package/dist/esm/nv-fieldradio.entry.js +4 -4
  326. package/dist/esm/nv-fieldselect.entry.js +11 -7
  327. package/dist/esm/nv-fieldselect.entry.js.map +1 -1
  328. package/dist/esm/nv-fieldslider.entry.js +659 -0
  329. package/dist/esm/nv-fieldslider.entry.js.map +1 -0
  330. package/dist/esm/nv-fieldtext.entry.js +9 -5
  331. package/dist/esm/nv-fieldtext.entry.js.map +1 -1
  332. package/dist/esm/nv-fieldtextarea.entry.js +9 -5
  333. package/dist/esm/nv-fieldtextarea.entry.js.map +1 -1
  334. package/dist/esm/nv-fieldtime.entry.js +16 -13
  335. package/dist/esm/nv-fieldtime.entry.js.map +1 -1
  336. package/dist/esm/nv-icon.entry.js +4 -4
  337. package/dist/esm/nv-icon.entry.js.map +1 -1
  338. package/dist/esm/nv-iconbutton_2.entry.js +3 -3
  339. package/dist/esm/nv-menu.entry.js +4 -2
  340. package/dist/esm/nv-menu.entry.js.map +1 -1
  341. package/dist/esm/nv-menuitem.entry.js +2 -2
  342. package/dist/esm/nv-popover.entry.js +2 -2
  343. package/dist/esm/nv-row.entry.js +2 -2
  344. package/dist/esm/nv-stack.entry.js +2 -2
  345. package/dist/esm/nv-table.entry.js +3 -3
  346. package/dist/esm/nv-table.entry.js.map +1 -1
  347. package/dist/esm/nv-tablecolumn.entry.js +1 -1
  348. package/dist/esm/nv-toggle.entry.js +3 -3
  349. package/dist/esm/nv-tooltip.entry.js +3 -3
  350. package/dist/esm/nv-tooltip.entry.js.map +1 -1
  351. package/dist/native/index.esm.js +1 -1
  352. package/dist/native/index.esm.js.map +1 -1
  353. package/dist/native/native.css +1 -1
  354. package/dist/native/native.esm.js +1 -1
  355. package/dist/native/native.esm.js.map +1 -1
  356. package/dist/native/{p-6b348684.entry.js → p-0323daf6.entry.js} +2 -2
  357. package/dist/native/{p-d5cbf5c8.entry.js → p-05d95d4d.entry.js} +2 -2
  358. package/dist/native/{p-fb5bddba.entry.js → p-0ec1e2e3.entry.js} +2 -2
  359. package/dist/native/{p-c7b201cd.entry.js → p-16a4cdf3.entry.js} +2 -2
  360. package/dist/native/p-19fb0fd0.entry.js +2 -0
  361. package/dist/native/p-19fb0fd0.entry.js.map +1 -0
  362. package/dist/native/p-1e3d3374.entry.js +2 -0
  363. package/dist/native/{p-9135fdf5.entry.js.map → p-1e3d3374.entry.js.map} +1 -1
  364. package/dist/native/p-21e7132f.entry.js +2 -0
  365. package/dist/native/p-21e7132f.entry.js.map +1 -0
  366. package/dist/native/p-221b8f72.entry.js +2 -0
  367. package/dist/native/p-221b8f72.entry.js.map +1 -0
  368. package/dist/native/p-2805f9f2.entry.js +2 -0
  369. package/dist/native/p-2805f9f2.entry.js.map +1 -0
  370. package/dist/native/p-3f2b6a22.entry.js +2 -0
  371. package/dist/native/p-3f2b6a22.entry.js.map +1 -0
  372. package/dist/native/{p-0245863d.entry.js → p-407fc32d.entry.js} +2 -2
  373. package/dist/native/{p-63e6aed3.entry.js → p-4c0d81b0.entry.js} +2 -2
  374. package/dist/native/p-4c0d81b0.entry.js.map +1 -0
  375. package/dist/native/{p-39bb95ff.entry.js → p-519b4819.entry.js} +2 -2
  376. package/dist/native/{p-fa77a591.entry.js → p-5382eab2.entry.js} +2 -2
  377. package/dist/native/p-5ba3fc3c.entry.js +2 -0
  378. package/dist/native/p-5ba3fc3c.entry.js.map +1 -0
  379. package/dist/native/{p-bad11367.entry.js → p-60b204ac.entry.js} +2 -2
  380. package/dist/native/p-60b204ac.entry.js.map +1 -0
  381. package/dist/native/p-7092a675.entry.js +2 -0
  382. package/dist/native/p-711a7778.js +3 -0
  383. package/dist/native/p-711a7778.js.map +1 -0
  384. package/dist/native/p-759c9ce4.entry.js +2 -0
  385. package/dist/native/p-759c9ce4.entry.js.map +1 -0
  386. package/dist/native/{p-d7a76400.entry.js → p-7c676f2c.entry.js} +2 -2
  387. package/dist/native/p-7c6edd1c.entry.js +2 -0
  388. package/dist/native/p-7c6edd1c.entry.js.map +1 -0
  389. package/dist/native/p-987c79d8.entry.js +2 -0
  390. package/dist/native/p-987c79d8.entry.js.map +1 -0
  391. package/dist/native/{p-f85aca27.entry.js → p-9fba8663.entry.js} +2 -2
  392. package/dist/native/{p-b094296d.entry.js → p-a2c0f1a7.entry.js} +2 -2
  393. package/dist/native/p-aa86af25.entry.js +2 -0
  394. package/dist/native/p-aa86af25.entry.js.map +1 -0
  395. package/dist/native/p-adc96c3a.entry.js +2 -0
  396. package/dist/native/p-adc96c3a.entry.js.map +1 -0
  397. package/dist/native/p-b0fc08e7.entry.js +2 -0
  398. package/dist/native/p-b0fc08e7.entry.js.map +1 -0
  399. package/dist/native/{p-6ff228da.entry.js → p-c930adb7.entry.js} +2 -2
  400. package/dist/native/{p-701b5557.entry.js → p-cfe0a6c6.entry.js} +2 -2
  401. package/dist/native/p-d07ab618.entry.js +2 -0
  402. package/dist/native/p-dac0089b.entry.js +2 -0
  403. package/dist/native/p-dac0089b.entry.js.map +1 -0
  404. package/dist/native/p-de2c07a6.entry.js +13 -0
  405. package/dist/native/p-de2c07a6.entry.js.map +1 -0
  406. package/dist/native/p-ed488498.entry.js +7 -0
  407. package/dist/native/p-ed488498.entry.js.map +1 -0
  408. package/dist/native/p-ef76178b.entry.js +2 -0
  409. package/dist/native/p-ef76178b.entry.js.map +1 -0
  410. package/dist/native/{p-e5de64d5.entry.js → p-f0ddf60b.entry.js} +2 -2
  411. package/dist/native/p-f39803d9.entry.js +2 -0
  412. package/dist/native/p-f39803d9.entry.js.map +1 -0
  413. package/dist/native/{p-59768ee5.js → p-f85c08f1.js} +2 -2
  414. package/dist/native/p-f85c08f1.js.map +1 -0
  415. package/dist/native/p-fb897f7d.entry.js +2 -0
  416. package/dist/native/p-fb897f7d.entry.js.map +1 -0
  417. package/dist/native/{p-244f56ac.entry.js → p-fc3bea07.entry.js} +2 -2
  418. package/dist/types/components/nv-alert/nv-alert.d.ts +1 -1
  419. package/dist/types/components/nv-badge/nv-badge.d.ts +11 -3
  420. package/dist/types/components/nv-calendar/nv-calendar.d.ts +70 -112
  421. package/dist/types/components/nv-calendar/nv-calendar.utils.d.ts +60 -0
  422. package/dist/types/components/nv-calendar/test/nv-calendar.utils.test.d.ts +1 -0
  423. package/dist/types/components/nv-datagrid/nv-datagrid.d.ts +47 -26
  424. package/dist/types/components/nv-datagridcolumn/nv-datagridcolumn.d.ts +4 -0
  425. package/dist/types/components/nv-dialog/nv-dialog.d.ts +4 -0
  426. package/dist/types/components/nv-fielddate/nv-fielddate.d.ts +6 -7
  427. package/dist/types/components/nv-fielddaterange/nv-fielddaterange.d.ts +23 -12
  428. package/dist/types/components/nv-fielddropdown/nv-fielddropdown.d.ts +51 -26
  429. package/dist/types/components/nv-fieldmultiselect/nv-fieldmultiselect.d.ts +65 -55
  430. package/dist/types/components/nv-fieldnumber/nv-fieldnumber.d.ts +4 -0
  431. package/dist/types/components/nv-fieldpassword/nv-fieldpassword.d.ts +4 -0
  432. package/dist/types/components/nv-fieldselect/nv-fieldselect.d.ts +4 -0
  433. package/dist/types/components/nv-fieldslider/nv-fieldslider.d.ts +230 -0
  434. package/dist/types/components/nv-fieldslider/nv-fieldslider.docs.d.ts +4 -0
  435. package/dist/types/components/nv-fieldslider/nv-fieldslider.utils.d.ts +46 -0
  436. package/dist/types/components/nv-fieldslider/partials/field-input.d.ts +45 -0
  437. package/dist/types/components/nv-fieldslider/partials/range-thumb.d.ts +37 -0
  438. package/dist/types/components/nv-fieldslider/partials/single-thumb.d.ts +35 -0
  439. package/dist/types/components/nv-fieldslider/partials/tick-marks.d.ts +28 -0
  440. package/dist/types/components/nv-fieldslider/test/nv-fieldslider.utils.test.d.ts +1 -0
  441. package/dist/types/components/nv-fieldtext/nv-fieldtext.d.ts +5 -0
  442. package/dist/types/components/nv-fieldtextarea/nv-fieldtextarea.d.ts +4 -0
  443. package/dist/types/components/nv-icon/nv-icons.d.ts +1 -1
  444. package/dist/types/components/nv-table/nv-table.d.ts +13 -2
  445. package/dist/types/components.d.ts +656 -154
  446. package/dist/types/index.d.ts +0 -2
  447. package/dist/types/interfaces/Column.d.ts +5 -1
  448. package/dist/types/utils/constants.d.ts +9 -0
  449. package/dist/vscode-data.json +292 -1546
  450. package/hydrate/index.js +2715 -1533
  451. package/hydrate/index.mjs +2715 -1533
  452. package/package.json +6 -2
  453. package/dist/cjs/constants-bcd6b2e2.js.map +0 -1
  454. package/dist/cjs/index-9bda5507.js.map +0 -1
  455. package/dist/collection/interfaces/actionEvent.js +0 -2
  456. package/dist/collection/interfaces/actionEvent.js.map +0 -1
  457. package/dist/collection/interfaces/calendarShortcut.js +0 -2
  458. package/dist/collection/interfaces/calendarShortcut.js.map +0 -1
  459. package/dist/collection/interfaces/dateRange.js +0 -2
  460. package/dist/collection/interfaces/dateRange.js.map +0 -1
  461. package/dist/components/p-1c45c0f2.js.map +0 -1
  462. package/dist/components/p-373926aa.js +0 -177
  463. package/dist/components/p-373926aa.js.map +0 -1
  464. package/dist/components/p-591730e7.js +0 -88
  465. package/dist/components/p-591730e7.js.map +0 -1
  466. package/dist/components/p-8348db09.js.map +0 -1
  467. package/dist/components/p-c14f6b8e.js.map +0 -1
  468. package/dist/components/p-f331117c.js +0 -1133
  469. package/dist/components/p-f331117c.js.map +0 -1
  470. package/dist/esm/constants-98e2dcc2.js.map +0 -1
  471. package/dist/esm/index-1fb7a9a6.js.map +0 -1
  472. package/dist/native/p-0ee428d5.entry.js +0 -2
  473. package/dist/native/p-0ee428d5.entry.js.map +0 -1
  474. package/dist/native/p-2691e02d.entry.js +0 -2
  475. package/dist/native/p-37f0210e.entry.js +0 -2
  476. package/dist/native/p-37f0210e.entry.js.map +0 -1
  477. package/dist/native/p-4a440970.entry.js +0 -2
  478. package/dist/native/p-4a440970.entry.js.map +0 -1
  479. package/dist/native/p-4ae26462.entry.js +0 -7
  480. package/dist/native/p-4ae26462.entry.js.map +0 -1
  481. package/dist/native/p-4d9c4618.entry.js +0 -2
  482. package/dist/native/p-4d9c4618.entry.js.map +0 -1
  483. package/dist/native/p-4dc1d036.entry.js +0 -2
  484. package/dist/native/p-59768ee5.js.map +0 -1
  485. package/dist/native/p-59e0bd2b.entry.js +0 -2
  486. package/dist/native/p-59e0bd2b.entry.js.map +0 -1
  487. package/dist/native/p-5c00f092.entry.js +0 -2
  488. package/dist/native/p-5c00f092.entry.js.map +0 -1
  489. package/dist/native/p-63e6aed3.entry.js.map +0 -1
  490. package/dist/native/p-7f5eb2ac.entry.js +0 -2
  491. package/dist/native/p-7f5eb2ac.entry.js.map +0 -1
  492. package/dist/native/p-84a73e2a.entry.js +0 -2
  493. package/dist/native/p-84a73e2a.entry.js.map +0 -1
  494. package/dist/native/p-9135fdf5.entry.js +0 -2
  495. package/dist/native/p-93dc2f47.entry.js +0 -2
  496. package/dist/native/p-93dc2f47.entry.js.map +0 -1
  497. package/dist/native/p-9a267f16.entry.js +0 -13
  498. package/dist/native/p-9a267f16.entry.js.map +0 -1
  499. package/dist/native/p-9d6431c7.entry.js +0 -2
  500. package/dist/native/p-9d6431c7.entry.js.map +0 -1
  501. package/dist/native/p-ab002252.js +0 -3
  502. package/dist/native/p-ab002252.js.map +0 -1
  503. package/dist/native/p-b2ce83ad.entry.js +0 -2
  504. package/dist/native/p-b2ce83ad.entry.js.map +0 -1
  505. package/dist/native/p-bad11367.entry.js.map +0 -1
  506. package/dist/native/p-e1a4f776.entry.js +0 -2
  507. package/dist/native/p-e1a4f776.entry.js.map +0 -1
  508. package/dist/native/p-e49bbd02.entry.js +0 -2
  509. package/dist/native/p-e49bbd02.entry.js.map +0 -1
  510. package/dist/native/p-eee01062.entry.js +0 -2
  511. package/dist/native/p-eee01062.entry.js.map +0 -1
  512. package/dist/native/p-f6bdc270.entry.js +0 -2
  513. package/dist/native/p-f6bdc270.entry.js.map +0 -1
  514. package/dist/types/interfaces/actionEvent.d.ts +0 -13
  515. package/dist/types/interfaces/calendarShortcut.d.ts +0 -17
  516. package/dist/types/interfaces/dateRange.d.ts +0 -13
  517. /package/dist/native/{p-6b348684.entry.js.map → p-0323daf6.entry.js.map} +0 -0
  518. /package/dist/native/{p-d5cbf5c8.entry.js.map → p-05d95d4d.entry.js.map} +0 -0
  519. /package/dist/native/{p-fb5bddba.entry.js.map → p-0ec1e2e3.entry.js.map} +0 -0
  520. /package/dist/native/{p-c7b201cd.entry.js.map → p-16a4cdf3.entry.js.map} +0 -0
  521. /package/dist/native/{p-0245863d.entry.js.map → p-407fc32d.entry.js.map} +0 -0
  522. /package/dist/native/{p-39bb95ff.entry.js.map → p-519b4819.entry.js.map} +0 -0
  523. /package/dist/native/{p-fa77a591.entry.js.map → p-5382eab2.entry.js.map} +0 -0
  524. /package/dist/native/{p-2691e02d.entry.js.map → p-7092a675.entry.js.map} +0 -0
  525. /package/dist/native/{p-d7a76400.entry.js.map → p-7c676f2c.entry.js.map} +0 -0
  526. /package/dist/native/{p-f85aca27.entry.js.map → p-9fba8663.entry.js.map} +0 -0
  527. /package/dist/native/{p-b094296d.entry.js.map → p-a2c0f1a7.entry.js.map} +0 -0
  528. /package/dist/native/{p-6ff228da.entry.js.map → p-c930adb7.entry.js.map} +0 -0
  529. /package/dist/native/{p-701b5557.entry.js.map → p-cfe0a6c6.entry.js.map} +0 -0
  530. /package/dist/native/{p-4dc1d036.entry.js.map → p-d07ab618.entry.js.map} +0 -0
  531. /package/dist/native/{p-e5de64d5.entry.js.map → p-f0ddf60b.entry.js.map} +0 -0
  532. /package/dist/native/{p-244f56ac.entry.js.map → p-fc3bea07.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as c,h as l,a}from"./p-ab002252.js";import{c as t}from"./p-8a1a6e56.js";const d="nv-col{display:block;flex:1 1 0%;padding-left:calc(var(--spacing-4) / 2);padding-right:calc(var(--spacing-4) / 2)}nv-col[class*=w-]{flex:none}nv-col.w-1\\/12{width:calc(100% * 1 / 12)}nv-col.w-2\\/12{width:calc(100% * 2 / 12)}nv-col.w-3\\/12{width:calc(100% * 3 / 12)}nv-col.w-4\\/12{width:calc(100% * 4 / 12)}nv-col.w-5\\/12{width:calc(100% * 5 / 12)}nv-col.w-6\\/12{width:calc(100% * 6 / 12)}nv-col.w-7\\/12{width:calc(100% * 7 / 12)}nv-col.w-8\\/12{width:calc(100% * 8 / 12)}nv-col.w-9\\/12{width:calc(100% * 9 / 12)}nv-col.w-10\\/12{width:calc(100% * 10 / 12)}nv-col.w-11\\/12{width:calc(100% * 11 / 12)}nv-col.w-12\\/12{width:calc(100% * 12 / 12)}";const i=d;const n=class{constructor(l){c(this,l)}getColSize(){if(this.size){if(this.size<1||this.size>12)return;return`w-${this.size}/12`}}render(){return l(a,{key:"8f7112dc8ce8896d9e7265741f06b7449dd508df",class:t(this.getColSize())},l("slot",{key:"3bedff11752d04db2615a5f26d4d910d95dee76c"}))}};n.style=i;export{n as nv_col};
2
- //# sourceMappingURL=p-244f56ac.entry.js.map
1
+ import{r as c,h as l,a}from"./p-711a7778.js";import{c as t}from"./p-8a1a6e56.js";const d="nv-col{display:block;flex:1 1 0%;padding-left:calc(var(--spacing-4) / 2);padding-right:calc(var(--spacing-4) / 2)}nv-col[class*=w-]{flex:none}nv-col.w-1\\/12{width:calc(100% * 1 / 12)}nv-col.w-2\\/12{width:calc(100% * 2 / 12)}nv-col.w-3\\/12{width:calc(100% * 3 / 12)}nv-col.w-4\\/12{width:calc(100% * 4 / 12)}nv-col.w-5\\/12{width:calc(100% * 5 / 12)}nv-col.w-6\\/12{width:calc(100% * 6 / 12)}nv-col.w-7\\/12{width:calc(100% * 7 / 12)}nv-col.w-8\\/12{width:calc(100% * 8 / 12)}nv-col.w-9\\/12{width:calc(100% * 9 / 12)}nv-col.w-10\\/12{width:calc(100% * 10 / 12)}nv-col.w-11\\/12{width:calc(100% * 11 / 12)}nv-col.w-12\\/12{width:calc(100% * 12 / 12)}";const i=d;const n=class{constructor(l){c(this,l)}getColSize(){if(this.size){if(this.size<1||this.size>12)return;return`w-${this.size}/12`}}render(){return l(a,{key:"8f7112dc8ce8896d9e7265741f06b7449dd508df",class:t(this.getColSize())},l("slot",{key:"3bedff11752d04db2615a5f26d4d910d95dee76c"}))}};n.style=i;export{n as nv_col};
2
+ //# sourceMappingURL=p-fc3bea07.entry.js.map
@@ -62,7 +62,7 @@ export declare class NvAlert {
62
62
  /**
63
63
  * Emitted when the close button is clicked.
64
64
  */
65
- closeClicked: EventEmitter<MouseEvent>;
65
+ closeClicked: EventEmitter<void>;
66
66
  /****************************************************************************/
67
67
  /**
68
68
  * Used for 2 way binding with the hidden property.
@@ -23,7 +23,11 @@ export declare class NvBadge {
23
23
  readonly iconLocation: 'left' | 'right';
24
24
  /****************************************************************************/
25
25
  /**
26
- * The color of the badge. Use a string between 1 to 10
26
+ * The color of the badge.
27
+ * deprecated Use status values or named colors instead.
28
+ * Use a string between 1 to 10
29
+ * or one of the status values: error, information, neutral, success, warning
30
+ * or one of the color names: amber, orange, turquoise, crimson, lime
27
31
  */
28
32
  readonly color?: string;
29
33
  /**
@@ -48,11 +52,16 @@ export declare class NvBadge {
48
52
  * Useful for externally controlled component behavior.
49
53
  */
50
54
  readonly preventAutoClose: boolean;
55
+ /**
56
+ * When true, the badge will only display an icon without label.
57
+ * The label will be visually hidden but still accessible for screen readers.
58
+ */
59
+ readonly isIconOnly?: boolean;
51
60
  /****************************************************************************/
52
61
  /**
53
62
  * Emitted when the badge is dismissed.
54
63
  */
55
- closeClicked: EventEmitter<MouseEvent>;
64
+ closeClicked: EventEmitter<void>;
56
65
  /**
57
66
  * Emits when the 'hidden' prop changes, reflecting a change in visibility.
58
67
  * Passes hidden value to the detail.
@@ -86,7 +95,6 @@ export declare class NvBadge {
86
95
  /****************************************************************************/
87
96
  /**
88
97
  * Handles the close button click.
89
- * @param {MouseEvent} originalEvent - The original event.
90
98
  */
91
99
  private readonly handleClose;
92
100
  /****************************************************************************/
@@ -1,5 +1,4 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- import { DateRange } from '../../interfaces/dateRange';
3
2
  /**
4
3
  * @slot default - Child content of the component.
5
4
  * @slot actions - Child content of the component.
@@ -27,7 +26,12 @@ export declare class NvCalendar {
27
26
  * format: { start: ISO string, end: ISO string }
28
27
  * ex: { start: "2025-03-15", end: "2025-03-20" }
29
28
  */
30
- rangeValue: string;
29
+ rangeValue: {
30
+ /** ISO string for start date */
31
+ start: string;
32
+ /** ISO string for end date */
33
+ end: string;
34
+ };
31
35
  /**
32
36
  * Minimum date for selection (ISO string format, ex: "2025-01-01")
33
37
  */
@@ -36,15 +40,17 @@ export declare class NvCalendar {
36
40
  * Maximum date for selection (ISO string format, ex: "2025-12-31")
37
41
  */
38
42
  readonly max?: string;
39
- /** Disabled dates (ISO string array)
40
- * @default '[]'
43
+ /**
44
+ * Disabled dates (ISO string array)
41
45
  */
42
- readonly disabledDates: string;
43
- /** Locale for date formatting
46
+ readonly disabledDates: Array<string>;
47
+ /**
48
+ * Locale for date formatting
44
49
  * @default 'en-BE'
45
50
  */
46
51
  readonly locale: string;
47
- /** Date format (ex: 'YYYY-MM-DD', 'DD-MM-YYYY', etc.)
52
+ /**
53
+ * Date format (ex: 'YYYY-MM-DD', 'DD-MM-YYYY', etc.)
48
54
  * @default 'YYYY-MM-DD'
49
55
  * @note If the date format is in UTC mode, the date will be displayed in UTC time.
50
56
  * @note If the date format is not in UTC mode, the date will be displayed in the local time.
@@ -62,32 +68,29 @@ export declare class NvCalendar {
62
68
  readonly selectionType: 'single' | 'range';
63
69
  /**
64
70
  * Show action buttons
65
- * @default false
66
71
  */
67
72
  readonly showActions: boolean;
68
73
  /**
69
74
  * Custom actions to display in the footer
70
- * JSON array of objects with the following properties:
71
- * - label: string
72
- * - onClick: function
73
- * @default '[]'
74
75
  */
75
- readonly shortcuts: string;
76
+ readonly shortcuts: {
77
+ /** Label of the shortcut */
78
+ label: string;
79
+ /** Selected date value for single selection mode */
80
+ singleValue?: string;
81
+ /** Date range values for range selection mode */
82
+ rangeValue?: HTMLNvCalendarElement['rangeValue'];
83
+ }[];
76
84
  /**
77
85
  * Show week numbers
78
- * @default true
79
86
  */
80
87
  readonly showWeekNumbers: boolean;
81
88
  /** Cache for parsed disabled dates */
82
89
  private parsedDisabledDates;
83
90
  /****************************************************************************/
84
- /** Current date */
85
- currentDate: Date;
86
- /** Selected date */
91
+ currentDate: Date | null;
87
92
  selectedDate: Date | null;
88
- /** Start date */
89
93
  startDate: Date | null;
90
- /** End date */
91
94
  endDate: Date | null;
92
95
  /** List of formatted months for the selector */
93
96
  private months;
@@ -99,10 +102,56 @@ export declare class NvCalendar {
99
102
  /**
100
103
  * Emitted when a date range is selected
101
104
  */
102
- rangeDateChange: EventEmitter<DateRange>;
105
+ rangeDateChange: EventEmitter<HTMLNvCalendarElement['rangeValue']>;
106
+ /****************************************************************************/
107
+ /**
108
+ * Watches the changes of the number of calendars
109
+ * @param {number} newValue - New number of calendars
110
+ */
111
+ validateNumberOfCalendars(newValue: number): void;
112
+ /**
113
+ * Watches the changes of the selected date range
114
+ * @param {Object} newValue - New rangeValue value
115
+ * @param {string} newValue.start - Start date
116
+ * @param {string} newValue.end - End date
117
+ */
118
+ onRangeValueChange(newValue: typeof this.rangeValue): void;
119
+ /**
120
+ * Watches the changes of the disabled dates
121
+ * @description Watches the changes of the disabled dates
122
+ */
123
+ handleDisabledDatesChange(): void;
124
+ /**
125
+ * Watches the changes of the single value
126
+ * @param {string} newValue - New single value
127
+ * @param {string} oldValue - Old single value
128
+ */
129
+ onSingleValueChange(newValue: string, oldValue: string): void;
103
130
  /****************************************************************************/
104
131
  componentWillLoad(): void;
105
132
  /****************************************************************************/
133
+ /**
134
+ * Checks if shortcuts are visible
135
+ * @returns {boolean} true if shortcuts are visible
136
+ */
137
+ private get hasShortcuts();
138
+ /**
139
+ * Checks if actions are visible
140
+ * @returns {boolean} true if actions are visible
141
+ */
142
+ private get hasActions();
143
+ /**
144
+ * Checks if the date format is in UTC mode
145
+ * @returns {boolean} true if the date format is in UTC mode
146
+ */
147
+ private get isUTCMode();
148
+ /**
149
+ * Validates and processes a date range, warning if start is after end
150
+ * @param {string} startDateStr - Start date in ISO string format
151
+ * @param {string} endDateStr - End date in ISO string format
152
+ * @returns {object} Object containing the validated start and end dates
153
+ */
154
+ private validateDateRange;
106
155
  /**
107
156
  * Change the displayed month
108
157
  * @param {number} offset - Month offset (-1 for previous, 1 for next)
@@ -123,12 +172,6 @@ export declare class NvCalendar {
123
172
  * @param {Date} date - Selected date
124
173
  */
125
174
  private handleRangeSelection;
126
- /**
127
- * Calculates the ISO week number
128
- * @param {Date} date - Date to calculate
129
- * @returns {number} Week number
130
- */
131
- private getWeekNumber;
132
175
  /**
133
176
  * Checks if a date is disabled.
134
177
  * Disabled if:
@@ -188,81 +231,11 @@ export declare class NvCalendar {
188
231
  * @returns {boolean} true if the date is today
189
232
  */
190
233
  private isToday;
191
- /**
192
- * Watches the changes of the number of calendars
193
- * @watch numberOfCalendars
194
- * @param {number} newValue - New number of calendars
195
- */
196
- validateNumberOfCalendars(newValue: number): void;
197
- /**
198
- * Watches the changes of the selected date range
199
- * @watch rangeValue
200
- * @param {Object} newValue - New rangeValue value
201
- * @param {string} newValue.start - Start date
202
- * @param {string} newValue.end - End date
203
- */
204
- onRangeValueChange(newValue: string): void;
205
- /**
206
- * Watches the changes of the disabled dates
207
- * @watch disabledDates
208
- * @description Watches the changes of the disabled dates
209
- */
210
- handleDisabledDatesChange(): void;
211
- /**
212
- * Watches the changes of the single value
213
- * @watch singleValue
214
- * @param {string} newValue - New single value
215
- * @param {string} oldValue - Old single value
216
- */
217
- onSingleValueChange(newValue: string, oldValue: string): void;
218
- /**
219
- * Convert a date string/Date to a Date without timezone offset
220
- * @param {string | Date} dateInput - Date under string or Date object form
221
- * @returns {Date} Date in Date form without timezone offset
222
- */
223
- private parseDate;
224
- /**
225
- * Checks if the date format is in UTC mode
226
- * @returns {boolean} true if the date format is in UTC mode
227
- */
228
- private get isUTCMode();
229
- /**
230
- * Checks if the date format is ISO 8601
231
- * @returns {boolean} true if the format is ISO 8601
232
- */
233
- private get isISO8601Format();
234
- /**
235
- * Formats a date to a string according to the format
236
- * @param {Date} date - Date to format
237
- * @returns {string} Formatted date
238
- */
239
- private formatDate;
240
234
  /**
241
235
  * Parse and cache the disabled dates
242
236
  * @description Parse and cache the disabled dates
243
237
  */
244
238
  private parseDisabledDates;
245
- /**
246
- * Checks if two dates are identical
247
- * @param {Date | null} date1 - First date
248
- * @param {Date | null} date2 - Second date
249
- * @returns {boolean} true if the dates are identical
250
- */
251
- private isSameDate;
252
- /**
253
- * Checks if a date is identical or after another date
254
- * @param {Date} date - Date to check
255
- * @param {Date} compareDate - Reference date
256
- * @returns {boolean} true if `date` >= `compareDate`
257
- */
258
- private isSameOrAfter;
259
- /**
260
- * Checks if a date is identical or before another date
261
- * @param {Date} date - Date to check
262
- * @param {Date} compareDate - Reference date
263
- * @returns {boolean} true if `date` <= `compareDate`
264
- */
265
- private isSameOrBefore;
266
239
  /**
267
240
  * Applies a shortcut selection
268
241
  * @param {Object} shortcut - Shortcut to apply
@@ -274,14 +247,10 @@ export declare class NvCalendar {
274
247
  */
275
248
  private applyShortcut;
276
249
  /**
277
- * Method to force the complete calendar update (and fix the persistent hover problem)
250
+ * Method to force the complete calendar update
278
251
  * @param {Date} newDate - Date to force
279
252
  */
280
253
  private forceCalendarUpdate;
281
- /**
282
- * Function to reset the touch effect (Mobile fix)
283
- */
284
- private clearTouchState;
285
254
  /**
286
255
  * Handles month change with an offset
287
256
  * @param {number} direction - Direction (-1 for previous, 1 for next)
@@ -325,17 +294,6 @@ export declare class NvCalendar {
325
294
  * @returns {Function} Week selection handler
326
295
  */
327
296
  private getWeekSelectionHandler;
328
- private parsedShortcuts;
329
- /**
330
- * Checks if shortcuts are visible
331
- * @returns {boolean} true if shortcuts are visible
332
- */
333
- private get hasShortcuts();
334
- /**
335
- * Checks if actions are visible
336
- * @returns {boolean} true if actions are visible
337
- */
338
- private get hasActions();
339
297
  /**
340
298
  * Resets the current selection
341
299
  */
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Formats a date to a string according to the format
3
+ * @param {Date} date - Date to format
4
+ * @returns {string} Formatted date
5
+ * @param {Object} options - Additional options
6
+ * @param {string} options.dateFormat - Date format (ex: 'YYYY-MM-DD', 'DD-MM-YYYY', etc.)
7
+ */
8
+ export declare function formatDate(date: Date, options: {
9
+ /** Date format (ex: 'YYYY-MM-DD', 'DD-MM-YYYY', etc.) */
10
+ dateFormat: string;
11
+ }): string;
12
+ /**
13
+ * Checks if two dates are identical
14
+ * @param {Date | null} date - First date
15
+ * @param {Date | null} compareDate - Second date
16
+ * @param {Object} options - Additional options
17
+ * @param {boolean} options.isUTCMode - Whether the dates are in UTC mode
18
+ * @returns {boolean} true if the dates are identical
19
+ */
20
+ export declare function isSameDate(date: Date | null, compareDate: Date | null, options: {
21
+ /** Whether the dates are in UTC mode */
22
+ isUTCMode: boolean;
23
+ }): boolean;
24
+ /**
25
+ * Checks if a date is identical or before another date
26
+ * @param {Date} date - Date to check
27
+ * @param {Date} compareDate - Reference date
28
+ * @param {Object} options - Additional options
29
+ * @param {boolean} options.isUTCMode - Whether the dates are in UTC mode
30
+ * @returns {boolean} true if `date` <= `compareDate`
31
+ */
32
+ export declare function isSameOrBefore(date: Date, compareDate: Date, options: {
33
+ /** Whether the dates are in UTC mode */
34
+ isUTCMode: boolean;
35
+ }): boolean;
36
+ /**
37
+ * Checks if a date is identical or after another date
38
+ * @param {Date} date - Date to check
39
+ * @param {Date} compareDate - Reference date
40
+ * @param {Object} options - Additional options
41
+ * @param {boolean} options.isUTCMode - Whether the dates are in UTC mode
42
+ * @returns {boolean} true if `date` >= `compareDate`
43
+ */
44
+ export declare function isSameOrAfter(date: Date, compareDate: Date, options: {
45
+ /** Whether the dates are in UTC mode */
46
+ isUTCMode: boolean;
47
+ }): boolean;
48
+ /**
49
+ * Calculates the ISO week number
50
+ * @param {Date} date - Date to calculate
51
+ * @returns {number} Week number
52
+ */
53
+ export declare function getWeekNumber(date: Date): number;
54
+ /**
55
+ * Convert a date string/Date to a Date without timezone offset
56
+ * @param {string | Date} dateInput - Date under string or Date object form
57
+ * @param {string} dateFormat - Date format (ex: 'YYYY-MM-DD', 'DD-MM-YYYY', etc.)
58
+ * @returns {Date} Date in Date form without timezone offset
59
+ */
60
+ export declare function parseDate(dateInput: string | Date, dateFormat: string): Date | null;
@@ -1,15 +1,12 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- import { PaginationState } from '@tanstack/table-core';
2
+ import { PaginationState, SortingState, RowSelectionState } from '@tanstack/table-core';
3
3
  import { Column } from '../../interfaces/Column';
4
- import { ActionEvent } from '../../interfaces/actionEvent';
4
+ import { GlobalFilterPosition } from '../../utils/constants';
5
5
  /**
6
6
  * A flexible data grid component powered by `@tanstack/table-core`.
7
7
  * @slot default - Use this slot to insert HTML into the data grid content.
8
8
  * @slot before - Use this slot to insert HTML before the data grid.
9
9
  * @slot after - Use this slot to insert HTML after the data grid.
10
- *
11
- * @deprecated [EXPERIMENTAL]
12
- * @experimental - This component is still under development and is not ready for use.
13
10
  */
14
11
  export declare class NvDatagrid {
15
12
  el: HTMLNvDatagridElement;
@@ -23,6 +20,8 @@ export declare class NvDatagrid {
23
20
  private globalFilterSearchTerm;
24
21
  private columnData;
25
22
  private paginationState;
23
+ private sorting;
24
+ private rowSelectionState;
26
25
  /****************************************************************************/
27
26
  /**
28
27
  * The data to display in the data grid.
@@ -41,20 +40,6 @@ export declare class NvDatagrid {
41
40
  * @default []
42
41
  */
43
42
  readonly columns: Column[];
44
- /**
45
- * The data to display in the data grid.
46
- * It can be passed directly as an array of objects or as a JSON string.
47
- * If both `data` and `dataJson` are provided, `data` takes precedence.
48
- * @example `[{ "name": "Alice", "age": 25 }, { "name": "Bob", "age": 30 }]`
49
- */
50
- readonly dataJson?: string;
51
- /**
52
- * The columns to display in the data grid.
53
- * It can be passed directly as an array of objects or as a JSON string.
54
- * If both `columns` and `columnsJson` are provided, `columns` takes precedence.
55
- * @example `[{"header":"Name","accessor":"name"},{"header":"Age","accessor":"age"},{"header":"Email","accessor":"email"}]`
56
- */
57
- readonly columnsJson?: string;
58
43
  /**
59
44
  * Fallback value to be displayed when data is not available
60
45
  * @default 'N/A'
@@ -70,6 +55,12 @@ export declare class NvDatagrid {
70
55
  * @default 'No data or columns available to display.'
71
56
  */
72
57
  readonly noColumnsNoDataMessage: string;
58
+ /**
59
+ * Whether to automatically generate columns if none are provided.
60
+ * If columns are explicitly set, this property is ignored.
61
+ * @default false
62
+ */
63
+ readonly autoGenerateColumns: boolean;
73
64
  /**
74
65
  * Whether to enable global filtering for the data grid.
75
66
  * This allows users to search across all columns for a specific value.
@@ -79,11 +70,9 @@ export declare class NvDatagrid {
79
70
  */
80
71
  readonly enableGlobalFilter: boolean;
81
72
  /**
82
- * Whether to automatically generate columns if none are provided.
83
- * If columns are explicitly set, this property is ignored.
84
- * @default false
73
+ * Position the global filter input field
85
74
  */
86
- readonly autoGenerateColumns: boolean;
75
+ readonly globalFilterPosition: `${GlobalFilterPosition}`;
87
76
  /**
88
77
  * Whether to enable pagination for the data grid.
89
78
  * @default false
@@ -91,6 +80,7 @@ export declare class NvDatagrid {
91
80
  readonly enablePagination: boolean;
92
81
  /**
93
82
  * The number of rows to display per page.
83
+ * If the number is not present in the property pageSizes it takes the first of the list.
94
84
  * @default 10
95
85
  */
96
86
  readonly pageSize: number;
@@ -99,6 +89,15 @@ export declare class NvDatagrid {
99
89
  * @default [10, 20, 30, 40, 50]
100
90
  */
101
91
  readonly pageSizes: number[];
92
+ /**
93
+ * Whether to enable sorting for the data grid.
94
+ * @default false
95
+ */
96
+ readonly enableSorting: boolean;
97
+ /**
98
+ * Whether to enable row selection for the data grid.
99
+ */
100
+ readonly enableRowSelection: boolean;
102
101
  /****************************************************************************/
103
102
  /**
104
103
  * Caches templates for cells and headers upfront to improve performance.
@@ -132,6 +131,8 @@ export declare class NvDatagrid {
132
131
  * If the filter value is empty, all rows are included.
133
132
  */
134
133
  private globalFilterFn;
134
+ private createIconSpan;
135
+ private createIndeterminateCheckbox;
135
136
  private generateColumns;
136
137
  private getTableData;
137
138
  private renderTemplate;
@@ -150,21 +151,41 @@ export declare class NvDatagrid {
150
151
  private readonly flexRender;
151
152
  private readonly handlePageIndexChange;
152
153
  private readonly handlePageSizeChange;
154
+ private readonly handleSortingClick;
155
+ private readonly getSortTitle;
156
+ private getArrowSorting;
157
+ private getHeaderCell;
158
+ private createSortingClickHandler;
159
+ private getPagination;
153
160
  /****************************************************************************/
154
161
  parseColumns(newValue: Column[], oldValue?: Column[]): void;
155
- parseJsonColumns(newValue: string | undefined, oldValue: Column[]): void;
156
162
  parseData(newValue: any[], oldValue?: any[]): void;
157
- parseJsonData(newValue: string | undefined): void;
158
163
  handleParsedChange(): void;
159
164
  handleGlobalFilterSearchTerm(newValue: string): void;
160
165
  handlePaginationState(newValue: PaginationState, oldValue: PaginationState): void;
166
+ handleSorting(newValue: SortingState): void;
167
+ handlePageSize(newValue: number): void;
168
+ handleRowSelectionState(newValue: RowSelectionState, oldValue: RowSelectionState): void;
161
169
  /****************************************************************************/
162
170
  componentWillLoad(): void;
163
171
  /****************************************************************************/
164
172
  /**
165
173
  * Emitted when an action is triggered on a cell.
166
174
  */
167
- action: EventEmitter<ActionEvent>;
175
+ action: EventEmitter<{
176
+ /**
177
+ * Key action to be performed
178
+ */
179
+ keyAction: string;
180
+ /**
181
+ * Details of the action to be performed
182
+ */
183
+ details: any;
184
+ }>;
185
+ /**
186
+ * Emitted when the selection of the rows are changed.
187
+ */
188
+ selectedRows: EventEmitter<any[]>;
168
189
  /****************************************************************************/
169
190
  render(): any;
170
191
  }
@@ -16,6 +16,10 @@ export declare class NvDatagridcolumn {
16
16
  * Whether the column need to be repeated with the template.
17
17
  */
18
18
  readonly repeatTemplate: boolean;
19
+ /**
20
+ * Defines the group header of the column.
21
+ */
22
+ readonly group?: string;
19
23
  /****************************************************************************/
20
24
  render(): any;
21
25
  }
@@ -84,6 +84,10 @@ export declare class NvDialog {
84
84
  */
85
85
  private allowScroll;
86
86
  private ensureFormId;
87
+ /**
88
+ * Checks for and sets up form ID if a form is present
89
+ */
90
+ private checkForForm;
87
91
  /****************************************************************************/
88
92
  /**
89
93
  * Emitted when the dialog is closing in order to allow for cleanup, data-capture, etc.
@@ -115,12 +115,8 @@ export declare class NvFielddate {
115
115
  readonly showActions: boolean;
116
116
  /**
117
117
  * Custom actions to display in the footer
118
- * JSON array of objects with the following properties:
119
- * - label: string
120
- * - onClick: function
121
- * @default '[]'
122
118
  */
123
- readonly shortcuts: string;
119
+ readonly shortcuts: HTMLNvCalendarElement['shortcuts'];
124
120
  /**
125
121
  * Show week numbers
126
122
  * @default true
@@ -128,9 +124,12 @@ export declare class NvFielddate {
128
124
  readonly showWeekNumbers: boolean;
129
125
  /**
130
126
  * Disabled dates ISO string array
131
- * @default '[]'
132
127
  */
133
- readonly disabledDates: string;
128
+ readonly disabledDates: Array<string>;
129
+ /**
130
+ * Allows the field to stretch and fill the entire width of its container.
131
+ */
132
+ readonly fluid: boolean;
134
133
  /****************************************************************************/
135
134
  /**
136
135
  * Converts the nv-calendar date format to the format expected by Inputmask.