@nova-design-system/nova-webcomponents 3.1.0 → 3.3.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 (474) hide show
  1. package/dist/cjs/{index-9bda5507.js → index-c56424e5.js} +34 -186
  2. package/dist/cjs/index-c56424e5.js.map +1 -0
  3. package/dist/cjs/index.cjs.js +1 -0
  4. package/dist/cjs/index.cjs.js.map +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/native.cjs.js +2 -23
  7. package/dist/cjs/native.cjs.js.map +1 -1
  8. package/dist/cjs/nv-alert.cjs.entry.js +1 -1
  9. package/dist/cjs/nv-avatar.cjs.entry.js +1 -1
  10. package/dist/cjs/nv-badge_2.cjs.entry.js +1 -1
  11. package/dist/cjs/nv-breadcrumb.cjs.entry.js +1 -1
  12. package/dist/cjs/nv-breadcrumbs.cjs.entry.js +1 -1
  13. package/dist/cjs/nv-button.cjs.entry.js +1 -1
  14. package/dist/cjs/nv-calendar.cjs.entry.js +384 -172
  15. package/dist/cjs/nv-calendar.cjs.entry.js.map +1 -1
  16. package/dist/cjs/nv-col.cjs.entry.js +1 -1
  17. package/dist/cjs/nv-datagrid.cjs.entry.js +95 -103
  18. package/dist/cjs/nv-datagrid.cjs.entry.js.map +1 -1
  19. package/dist/cjs/nv-datagridcolumn.cjs.entry.js +2 -2
  20. package/dist/cjs/nv-datagridcolumn.cjs.entry.js.map +1 -1
  21. package/dist/cjs/nv-dialog.cjs.entry.js +1 -1
  22. package/dist/cjs/nv-dialogfooter_2.cjs.entry.js +1 -1
  23. package/dist/cjs/nv-fieldcheckbox.cjs.entry.js +1 -1
  24. package/dist/cjs/nv-fielddate.cjs.entry.js +45 -11
  25. package/dist/cjs/nv-fielddate.cjs.entry.js.map +1 -1
  26. package/dist/cjs/nv-fielddaterange.cjs.entry.js +128 -42
  27. package/dist/cjs/nv-fielddaterange.cjs.entry.js.map +1 -1
  28. package/dist/cjs/nv-fielddropdown.cjs.entry.js +84 -60
  29. package/dist/cjs/nv-fielddropdown.cjs.entry.js.map +1 -1
  30. package/dist/cjs/nv-fielddropdownitem.cjs.entry.js +1 -1
  31. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js +116 -104
  32. package/dist/cjs/nv-fieldmultiselect.cjs.entry.js.map +1 -1
  33. package/dist/cjs/nv-fieldnumber.cjs.entry.js +2 -2
  34. package/dist/cjs/nv-fieldnumber.cjs.entry.js.map +1 -1
  35. package/dist/cjs/nv-fieldpassword.cjs.entry.js +2 -2
  36. package/dist/cjs/nv-fieldpassword.cjs.entry.js.map +1 -1
  37. package/dist/cjs/nv-fieldradio.cjs.entry.js +1 -1
  38. package/dist/cjs/nv-fieldselect.cjs.entry.js +2 -2
  39. package/dist/cjs/nv-fieldselect.cjs.entry.js.map +1 -1
  40. package/dist/cjs/nv-fieldslider.cjs.entry.js +668 -0
  41. package/dist/cjs/nv-fieldslider.cjs.entry.js.map +1 -0
  42. package/dist/cjs/nv-fieldtext.cjs.entry.js +5 -5
  43. package/dist/cjs/nv-fieldtext.cjs.entry.js.map +1 -1
  44. package/dist/cjs/nv-fieldtextarea.cjs.entry.js +5 -5
  45. package/dist/cjs/nv-fieldtextarea.cjs.entry.js.map +1 -1
  46. package/dist/cjs/nv-fieldtime.cjs.entry.js +11 -11
  47. package/dist/cjs/nv-fieldtime.cjs.entry.js.map +1 -1
  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-menu.cjs.entry.js +2 -2
  52. package/dist/cjs/nv-menuitem.cjs.entry.js +2 -2
  53. package/dist/cjs/nv-popover.cjs.entry.js +2 -2
  54. package/dist/cjs/nv-row.cjs.entry.js +2 -2
  55. package/dist/cjs/nv-stack.cjs.entry.js +2 -2
  56. package/dist/cjs/nv-table.cjs.entry.js +3 -3
  57. package/dist/cjs/nv-tablecolumn.cjs.entry.js +1 -1
  58. package/dist/cjs/nv-toggle.cjs.entry.js +3 -3
  59. package/dist/cjs/nv-tooltip.cjs.entry.js +3 -3
  60. package/dist/cjs/nv-tooltip.cjs.entry.js.map +1 -1
  61. package/dist/collection/collection-manifest.json +1 -0
  62. package/dist/collection/components/nv-calendar/nv-calendar.css +6 -2
  63. package/dist/collection/components/nv-calendar/nv-calendar.js +247 -169
  64. package/dist/collection/components/nv-calendar/nv-calendar.js.map +1 -1
  65. package/dist/collection/components/nv-calendar/nv-calendar.utils.js +12 -3
  66. package/dist/collection/components/nv-calendar/nv-calendar.utils.js.map +1 -1
  67. package/dist/collection/components/nv-calendar/partials/calendar-actions.js +11 -0
  68. package/dist/collection/components/nv-calendar/partials/calendar-actions.js.map +1 -0
  69. package/dist/collection/components/nv-calendar/partials/calendar-grid.js +24 -0
  70. package/dist/collection/components/nv-calendar/partials/calendar-grid.js.map +1 -0
  71. package/dist/collection/components/nv-calendar/partials/calendar-header.js +38 -0
  72. package/dist/collection/components/nv-calendar/partials/calendar-header.js.map +1 -0
  73. package/dist/collection/components/nv-calendar/partials/calendar-shortcuts.js +22 -0
  74. package/dist/collection/components/nv-calendar/partials/calendar-shortcuts.js.map +1 -0
  75. package/dist/collection/components/nv-calendar/partials/day-cell.js +31 -0
  76. package/dist/collection/components/nv-calendar/partials/day-cell.js.map +1 -0
  77. package/dist/collection/components/nv-calendar/partials/index.js +7 -0
  78. package/dist/collection/components/nv-calendar/partials/index.js.map +1 -0
  79. package/dist/collection/components/nv-calendar/partials/week-numbers.js +36 -0
  80. package/dist/collection/components/nv-calendar/partials/week-numbers.js.map +1 -0
  81. package/dist/collection/components/nv-calendar/test/nv-calendar.utils.test.js +692 -651
  82. package/dist/collection/components/nv-calendar/test/nv-calendar.utils.test.js.map +1 -1
  83. package/dist/collection/components/nv-calendar/test/partials/calendar-actions.logic.test.js +169 -0
  84. package/dist/collection/components/nv-calendar/test/partials/calendar-actions.logic.test.js.map +1 -0
  85. package/dist/collection/components/nv-calendar/test/partials/calendar-grid.logic.test.js +262 -0
  86. package/dist/collection/components/nv-calendar/test/partials/calendar-grid.logic.test.js.map +1 -0
  87. package/dist/collection/components/nv-calendar/test/partials/calendar-header.logic.test.js +208 -0
  88. package/dist/collection/components/nv-calendar/test/partials/calendar-header.logic.test.js.map +1 -0
  89. package/dist/collection/components/nv-calendar/test/partials/calendar-shortcuts.logic.test.js +355 -0
  90. package/dist/collection/components/nv-calendar/test/partials/calendar-shortcuts.logic.test.js.map +1 -0
  91. package/dist/collection/components/nv-calendar/test/partials/day-cell.logic.test.js +250 -0
  92. package/dist/collection/components/nv-calendar/test/partials/day-cell.logic.test.js.map +1 -0
  93. package/dist/collection/components/nv-calendar/test/partials/week-numbers.logic.test.js +217 -0
  94. package/dist/collection/components/nv-calendar/test/partials/week-numbers.logic.test.js.map +1 -0
  95. package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js +131 -48
  96. package/dist/collection/components/nv-datagrid/nv-datagrid.docs.js.map +1 -1
  97. package/dist/collection/components/nv-datagrid/nv-datagrid.js +94 -152
  98. package/dist/collection/components/nv-datagrid/nv-datagrid.js.map +1 -1
  99. package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js +20 -1
  100. package/dist/collection/components/nv-datagridcolumn/nv-datagridcolumn.js.map +1 -1
  101. package/dist/collection/components/nv-fielddate/nv-fielddate.js +56 -16
  102. package/dist/collection/components/nv-fielddate/nv-fielddate.js.map +1 -1
  103. package/dist/collection/components/nv-fielddate/styles/nv-fielddate.css +51 -1
  104. package/dist/collection/components/nv-fielddate/test/nv-fielddate.logic.test.js +196 -0
  105. package/dist/collection/components/nv-fielddate/test/nv-fielddate.logic.test.js.map +1 -0
  106. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js +165 -41
  107. package/dist/collection/components/nv-fielddaterange/nv-fielddaterange.js.map +1 -1
  108. package/dist/collection/components/nv-fielddaterange/styles/nv-fielddaterange.css +51 -1
  109. package/dist/collection/components/nv-fielddaterange/test/nv-fielddaterange.logic.test.js +137 -0
  110. package/dist/collection/components/nv-fielddaterange/test/nv-fielddaterange.logic.test.js.map +1 -0
  111. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js +8 -0
  112. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.docs.js.map +1 -1
  113. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js +173 -106
  114. package/dist/collection/components/nv-fielddropdown/nv-fielddropdown.js.map +1 -1
  115. package/dist/collection/components/nv-fielddropdown/styles/nv-fielddropdown.css +77 -1
  116. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js +202 -190
  117. package/dist/collection/components/nv-fieldmultiselect/nv-fieldmultiselect.js.map +1 -1
  118. package/dist/collection/components/nv-fieldmultiselect/{nv-fieldmultiselect.css → styles/nv-fieldmultiselect.css} +61 -4
  119. package/dist/collection/components/nv-fieldnumber/nv-fieldnumber.css +51 -1
  120. package/dist/collection/components/nv-fieldpassword/nv-fieldpassword.css +51 -1
  121. package/dist/collection/components/nv-fieldselect/nv-fieldselect.css +51 -1
  122. package/dist/collection/components/nv-fieldslider/nv-fieldslider.docs.js +264 -0
  123. package/dist/collection/components/nv-fieldslider/nv-fieldslider.docs.js.map +1 -0
  124. package/dist/collection/components/nv-fieldslider/nv-fieldslider.js +1036 -0
  125. package/dist/collection/components/nv-fieldslider/nv-fieldslider.js.map +1 -0
  126. package/dist/collection/components/nv-fieldslider/nv-fieldslider.utils.js +77 -0
  127. package/dist/collection/components/nv-fieldslider/nv-fieldslider.utils.js.map +1 -0
  128. package/dist/collection/components/nv-fieldslider/partials/field-input.js +33 -0
  129. package/dist/collection/components/nv-fieldslider/partials/field-input.js.map +1 -0
  130. package/dist/collection/components/nv-fieldslider/partials/range-thumb.js +34 -0
  131. package/dist/collection/components/nv-fieldslider/partials/range-thumb.js.map +1 -0
  132. package/dist/collection/components/nv-fieldslider/partials/single-thumb.js +18 -0
  133. package/dist/collection/components/nv-fieldslider/partials/single-thumb.js.map +1 -0
  134. package/dist/collection/components/nv-fieldslider/partials/tick-marks.js +18 -0
  135. package/dist/collection/components/nv-fieldslider/partials/tick-marks.js.map +1 -0
  136. package/dist/collection/components/nv-fieldslider/styles/nv-fieldslider.css +338 -0
  137. package/dist/collection/components/nv-fieldslider/test/nv-fieldslider.utils.test.js +159 -0
  138. package/dist/collection/components/nv-fieldslider/test/nv-fieldslider.utils.test.js.map +1 -0
  139. package/dist/collection/components/nv-fieldtext/nv-fieldtext.css +59 -1
  140. package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js +9 -1
  141. package/dist/collection/components/nv-fieldtext/nv-fieldtext.docs.js.map +1 -1
  142. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js +4 -3
  143. package/dist/collection/components/nv-fieldtext/nv-fieldtext.js.map +1 -1
  144. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.css +45 -1
  145. package/dist/collection/components/nv-fieldtextarea/nv-fieldtextarea.js +3 -3
  146. package/dist/collection/components/nv-fieldtime/nv-fieldtime.js +9 -9
  147. package/dist/collection/components/nv-fieldtime/styles/nv-fieldtime.css +51 -1
  148. package/dist/collection/components/nv-icon/nv-icon.js +1 -1
  149. package/dist/collection/components/nv-icon/nv-icons.js +1 -0
  150. package/dist/collection/components/nv-icon/nv-icons.js.map +1 -1
  151. package/dist/collection/components/nv-iconbutton/nv-iconbutton.js +1 -1
  152. package/dist/collection/components/nv-loader/nv-loader.js +1 -1
  153. package/dist/collection/components/nv-menu/nv-menu.js +1 -1
  154. package/dist/collection/components/nv-menuitem/nv-menuitem.js +2 -2
  155. package/dist/collection/components/nv-popover/nv-popover.js +1 -1
  156. package/dist/collection/components/nv-row/nv-row.js +1 -1
  157. package/dist/collection/components/nv-stack/nv-stack.js +1 -1
  158. package/dist/collection/components/nv-table/nv-table.js +2 -2
  159. package/dist/collection/components/nv-toggle/nv-toggle.js +2 -2
  160. package/dist/collection/components/nv-tooltip/nv-tooltip.css +1 -0
  161. package/dist/collection/components/nv-tooltip/nv-tooltip.js +1 -1
  162. package/dist/collection/interfaces/Column.js.map +1 -1
  163. package/dist/components/index.js +2 -1
  164. package/dist/components/index.js.map +1 -1
  165. package/dist/components/nv-alert.js +2 -2
  166. package/dist/components/nv-avatar.js +2 -2
  167. package/dist/components/nv-badge.js +1 -1
  168. package/dist/components/nv-breadcrumb.js +3 -3
  169. package/dist/components/nv-breadcrumbs.js +1 -1
  170. package/dist/components/nv-button.js +1 -1
  171. package/dist/components/nv-calendar.js +1 -1
  172. package/dist/components/nv-col.js +1 -1
  173. package/dist/components/nv-datagrid.js +97 -109
  174. package/dist/components/nv-datagrid.js.map +1 -1
  175. package/dist/components/nv-datagridcolumn.js +4 -3
  176. package/dist/components/nv-datagridcolumn.js.map +1 -1
  177. package/dist/components/nv-dialog.js +6 -6
  178. package/dist/components/nv-dialogfooter.js +1 -1
  179. package/dist/components/nv-dialogheader.js +1 -1
  180. package/dist/components/nv-fieldcheckbox.js +1 -1
  181. package/dist/components/nv-fielddate.js +53 -25
  182. package/dist/components/nv-fielddate.js.map +1 -1
  183. package/dist/components/nv-fielddaterange.js +137 -57
  184. package/dist/components/nv-fielddaterange.js.map +1 -1
  185. package/dist/components/nv-fielddropdown.js +98 -72
  186. package/dist/components/nv-fielddropdown.js.map +1 -1
  187. package/dist/components/nv-fielddropdownitem.js +1 -1
  188. package/dist/components/nv-fielddropdownitemcheck.js +1 -1
  189. package/dist/components/nv-fieldmultiselect.js +132 -120
  190. package/dist/components/nv-fieldmultiselect.js.map +1 -1
  191. package/dist/components/nv-fieldnumber.js +5 -5
  192. package/dist/components/nv-fieldnumber.js.map +1 -1
  193. package/dist/components/nv-fieldpassword.js +5 -5
  194. package/dist/components/nv-fieldpassword.js.map +1 -1
  195. package/dist/components/nv-fieldradio.js +1 -1
  196. package/dist/components/nv-fieldselect.js +5 -5
  197. package/dist/components/nv-fieldselect.js.map +1 -1
  198. package/dist/components/nv-fieldslider.d.ts +11 -0
  199. package/dist/components/nv-fieldslider.js +731 -0
  200. package/dist/components/nv-fieldslider.js.map +1 -0
  201. package/dist/components/nv-fieldtext.js +1 -1
  202. package/dist/components/nv-fieldtextarea.js +5 -5
  203. package/dist/components/nv-fieldtextarea.js.map +1 -1
  204. package/dist/components/nv-fieldtime.js +15 -15
  205. package/dist/components/nv-fieldtime.js.map +1 -1
  206. package/dist/components/nv-icon.js +1 -1
  207. package/dist/components/nv-iconbutton.js +1 -1
  208. package/dist/components/nv-loader.js +1 -1
  209. package/dist/components/nv-menu.js +5 -5
  210. package/dist/components/nv-menuitem.js +1 -1
  211. package/dist/components/nv-popover.js +1 -1
  212. package/dist/components/nv-row.js +2 -2
  213. package/dist/components/nv-stack.js +2 -2
  214. package/dist/components/nv-table.js +3 -3
  215. package/dist/components/nv-tablecolumn.js +1 -1
  216. package/dist/components/nv-toggle.js +3 -3
  217. package/dist/components/nv-tooltip.js +1 -1
  218. package/dist/components/{p-eb632278.js → p-2ae214d2.js} +3 -3
  219. package/dist/components/{p-eb632278.js.map → p-2ae214d2.js.map} +1 -1
  220. package/dist/components/{p-f76bb0c3.js → p-3e32b5a1.js} +5 -5
  221. package/dist/components/p-3e32b5a1.js.map +1 -0
  222. package/dist/components/{p-854c32dc.js → p-5e90b9b8.js} +389 -199
  223. package/dist/components/p-5e90b9b8.js.map +1 -0
  224. package/dist/components/{p-a2527411.js → p-5ee4015d.js} +3 -3
  225. package/dist/components/{p-a2527411.js.map → p-5ee4015d.js.map} +1 -1
  226. package/dist/components/{p-02752770.js → p-6277f746.js} +2 -2
  227. package/dist/components/{p-02752770.js.map → p-6277f746.js.map} +1 -1
  228. package/dist/components/p-7935c1cb.js +167 -0
  229. package/dist/components/p-7935c1cb.js.map +1 -0
  230. package/dist/components/{p-b48d5a94.js → p-8d92f0e1.js} +4 -4
  231. package/dist/components/{p-b48d5a94.js.map → p-8d92f0e1.js.map} +1 -1
  232. package/dist/components/{p-41c56ddc.js → p-95a7581c.js} +5 -5
  233. package/dist/components/{p-41c56ddc.js.map → p-95a7581c.js.map} +1 -1
  234. package/dist/components/{p-e00cbb8a.js → p-9e6e26cb.js} +2 -2
  235. package/dist/components/{p-e00cbb8a.js.map → p-9e6e26cb.js.map} +1 -1
  236. package/dist/components/p-9fa0de38.js +88 -0
  237. package/dist/components/p-9fa0de38.js.map +1 -0
  238. package/dist/components/{p-1c45c0f2.js → p-aff3ed68.js} +24 -177
  239. package/dist/components/p-aff3ed68.js.map +1 -0
  240. package/dist/components/{p-608eb9da.js → p-b6d858b2.js} +2 -2
  241. package/dist/components/{p-608eb9da.js.map → p-b6d858b2.js.map} +1 -1
  242. package/dist/components/{p-f5cb0a63.js → p-bb6d1e4e.js} +3 -3
  243. package/dist/components/{p-f5cb0a63.js.map → p-bb6d1e4e.js.map} +1 -1
  244. package/dist/components/{p-35a70c5e.js → p-c07c32d2.js} +3 -3
  245. package/dist/components/{p-35a70c5e.js.map → p-c07c32d2.js.map} +1 -1
  246. package/dist/components/{p-10faa938.js → p-c9006520.js} +5 -5
  247. package/dist/components/{p-10faa938.js.map → p-c9006520.js.map} +1 -1
  248. package/dist/components/{p-0a0f6daf.js → p-e28c4707.js} +3 -3
  249. package/dist/components/{p-0a0f6daf.js.map → p-e28c4707.js.map} +1 -1
  250. package/dist/components/{p-10b37876.js → p-eabbc885.js} +3 -3
  251. package/dist/components/{p-10b37876.js.map → p-eabbc885.js.map} +1 -1
  252. package/dist/esm/{constants-b97e736d.js → constants-4faa1fae.js} +2 -2
  253. package/dist/esm/{constants-b97e736d.js.map → constants-4faa1fae.js.map} +1 -1
  254. package/dist/esm/{index-1fb7a9a6.js → index-a1936cd0.js} +35 -186
  255. package/dist/esm/index-a1936cd0.js.map +1 -0
  256. package/dist/esm/index.js +2 -1
  257. package/dist/esm/index.js.map +1 -1
  258. package/dist/esm/loader.js +3 -3
  259. package/dist/esm/native.js +3 -24
  260. package/dist/esm/native.js.map +1 -1
  261. package/dist/esm/nv-alert.entry.js +2 -2
  262. package/dist/esm/nv-avatar.entry.js +2 -2
  263. package/dist/esm/nv-badge_2.entry.js +1 -1
  264. package/dist/esm/nv-breadcrumb.entry.js +1 -1
  265. package/dist/esm/nv-breadcrumbs.entry.js +1 -1
  266. package/dist/esm/nv-button.entry.js +2 -2
  267. package/dist/esm/nv-calendar.entry.js +385 -173
  268. package/dist/esm/nv-calendar.entry.js.map +1 -1
  269. package/dist/esm/nv-col.entry.js +1 -1
  270. package/dist/esm/nv-datagrid.entry.js +96 -104
  271. package/dist/esm/nv-datagrid.entry.js.map +1 -1
  272. package/dist/esm/nv-datagridcolumn.entry.js +2 -2
  273. package/dist/esm/nv-datagridcolumn.entry.js.map +1 -1
  274. package/dist/esm/nv-dialog.entry.js +2 -2
  275. package/dist/esm/nv-dialogfooter_2.entry.js +2 -2
  276. package/dist/esm/nv-fieldcheckbox.entry.js +1 -1
  277. package/dist/esm/nv-fielddate.entry.js +45 -11
  278. package/dist/esm/nv-fielddate.entry.js.map +1 -1
  279. package/dist/esm/nv-fielddaterange.entry.js +128 -42
  280. package/dist/esm/nv-fielddaterange.entry.js.map +1 -1
  281. package/dist/esm/nv-fielddropdown.entry.js +84 -60
  282. package/dist/esm/nv-fielddropdown.entry.js.map +1 -1
  283. package/dist/esm/nv-fielddropdownitem.entry.js +1 -1
  284. package/dist/esm/nv-fieldmultiselect.entry.js +116 -104
  285. package/dist/esm/nv-fieldmultiselect.entry.js.map +1 -1
  286. package/dist/esm/nv-fieldnumber.entry.js +2 -2
  287. package/dist/esm/nv-fieldnumber.entry.js.map +1 -1
  288. package/dist/esm/nv-fieldpassword.entry.js +2 -2
  289. package/dist/esm/nv-fieldpassword.entry.js.map +1 -1
  290. package/dist/esm/nv-fieldradio.entry.js +1 -1
  291. package/dist/esm/nv-fieldselect.entry.js +2 -2
  292. package/dist/esm/nv-fieldselect.entry.js.map +1 -1
  293. package/dist/esm/nv-fieldslider.entry.js +664 -0
  294. package/dist/esm/nv-fieldslider.entry.js.map +1 -0
  295. package/dist/esm/nv-fieldtext.entry.js +5 -5
  296. package/dist/esm/nv-fieldtext.entry.js.map +1 -1
  297. package/dist/esm/nv-fieldtextarea.entry.js +5 -5
  298. package/dist/esm/nv-fieldtextarea.entry.js.map +1 -1
  299. package/dist/esm/nv-fieldtime.entry.js +12 -12
  300. package/dist/esm/nv-fieldtime.entry.js.map +1 -1
  301. package/dist/esm/nv-icon.entry.js +4 -4
  302. package/dist/esm/nv-icon.entry.js.map +1 -1
  303. package/dist/esm/nv-iconbutton_2.entry.js +3 -3
  304. package/dist/esm/nv-menu.entry.js +2 -2
  305. package/dist/esm/nv-menuitem.entry.js +2 -2
  306. package/dist/esm/nv-popover.entry.js +2 -2
  307. package/dist/esm/nv-row.entry.js +2 -2
  308. package/dist/esm/nv-stack.entry.js +2 -2
  309. package/dist/esm/nv-table.entry.js +3 -3
  310. package/dist/esm/nv-tablecolumn.entry.js +1 -1
  311. package/dist/esm/nv-toggle.entry.js +3 -3
  312. package/dist/esm/nv-tooltip.entry.js +3 -3
  313. package/dist/esm/nv-tooltip.entry.js.map +1 -1
  314. package/dist/native/index.esm.js +1 -1
  315. package/dist/native/index.esm.js.map +1 -1
  316. package/dist/native/native.css +1 -1
  317. package/dist/native/native.esm.js +1 -1
  318. package/dist/native/native.esm.js.map +1 -1
  319. package/dist/native/p-050d6c6c.entry.js +2 -0
  320. package/dist/native/{p-4d164ed6.entry.js.map → p-050d6c6c.entry.js.map} +1 -1
  321. package/dist/native/{p-615947e7.entry.js → p-08ca678c.entry.js} +2 -2
  322. package/dist/native/p-1a5d3b87.entry.js +2 -0
  323. package/dist/native/{p-efe6a46c.entry.js.map → p-1a5d3b87.entry.js.map} +1 -1
  324. package/dist/native/{p-7fd4d13d.entry.js → p-1c1ecd38.entry.js} +2 -2
  325. package/dist/native/{p-c7b201cd.entry.js → p-1d98477d.entry.js} +2 -2
  326. package/dist/native/{p-1da72182.entry.js → p-2006f5d4.entry.js} +2 -2
  327. package/dist/native/p-26cf4938.entry.js +2 -0
  328. package/dist/native/p-26cf4938.entry.js.map +1 -0
  329. package/dist/native/p-3817efb2.entry.js +2 -0
  330. package/dist/native/{p-fc97f071.entry.js.map → p-3817efb2.entry.js.map} +1 -1
  331. package/dist/native/p-45459dbb.entry.js +2 -0
  332. package/dist/native/{p-7042ba8a.entry.js.map → p-45459dbb.entry.js.map} +1 -1
  333. package/dist/native/p-45cbe6e4.entry.js +2 -0
  334. package/dist/native/{p-9135fdf5.entry.js.map → p-45cbe6e4.entry.js.map} +1 -1
  335. package/dist/native/p-46428304.entry.js +2 -0
  336. package/dist/native/p-46428304.entry.js.map +1 -0
  337. package/dist/native/p-4f9cdf0b.entry.js +2 -0
  338. package/dist/native/{p-3b7ef609.entry.js → p-58bb90ad.entry.js} +2 -2
  339. package/dist/native/p-59b07b36.entry.js +2 -0
  340. package/dist/native/p-59b07b36.entry.js.map +1 -0
  341. package/dist/native/{p-3cd77d82.entry.js → p-5b6c59e0.entry.js} +2 -2
  342. package/dist/native/p-6029e51b.entry.js +2 -0
  343. package/dist/native/{p-244f56ac.entry.js.map → p-6029e51b.entry.js.map} +1 -1
  344. package/dist/native/{p-08a75cfa.entry.js → p-60c64f2b.entry.js} +2 -2
  345. package/dist/native/p-64a76565.entry.js +2 -0
  346. package/dist/native/p-64a76565.entry.js.map +1 -0
  347. package/dist/native/{p-c67186f8.entry.js → p-83288db0.entry.js} +2 -2
  348. package/dist/native/p-838f7842.entry.js +2 -0
  349. package/dist/native/p-838f7842.entry.js.map +1 -0
  350. package/dist/native/{p-0245863d.entry.js → p-86ab23ea.entry.js} +2 -2
  351. package/dist/native/p-87784622.entry.js +2 -0
  352. package/dist/native/p-8fb4e5c0.entry.js +2 -0
  353. package/dist/native/{p-b94d9f0b.entry.js.map → p-8fb4e5c0.entry.js.map} +1 -1
  354. package/dist/native/{p-14c07207.entry.js → p-914da1e1.entry.js} +2 -2
  355. package/dist/native/p-abbe5d69.entry.js +2 -0
  356. package/dist/native/p-abbe5d69.entry.js.map +1 -0
  357. package/dist/native/p-abc251aa.entry.js +2 -0
  358. package/dist/native/p-abc251aa.entry.js.map +1 -0
  359. package/dist/native/{p-c0f79bac.entry.js → p-ad128108.entry.js} +2 -2
  360. package/dist/native/{p-e5de64d5.entry.js → p-b5b9190a.entry.js} +2 -2
  361. package/dist/native/{p-470588c2.entry.js → p-b8f2c1e7.entry.js} +3 -3
  362. package/dist/native/p-b8f2c1e7.entry.js.map +1 -0
  363. package/dist/native/{p-b8b6875d.entry.js → p-d040bd61.entry.js} +2 -2
  364. package/dist/native/p-d0a33e64.js +3 -0
  365. package/dist/native/p-d0a33e64.js.map +1 -0
  366. package/dist/native/{p-3953464e.entry.js → p-d21b2da2.entry.js} +3 -3
  367. package/dist/native/{p-90e6d9dd.entry.js → p-d53e8795.entry.js} +2 -2
  368. package/dist/native/p-dc7dd7f3.entry.js +2 -0
  369. package/dist/native/{p-ae7ab110.entry.js.map → p-dc7dd7f3.entry.js.map} +1 -1
  370. package/dist/native/p-e2c1992e.entry.js +2 -0
  371. package/dist/native/{p-656c56f0.entry.js.map → p-e2c1992e.entry.js.map} +1 -1
  372. package/dist/native/{p-f85c08f1.js → p-e2d0a77d.js} +2 -2
  373. package/dist/native/p-ed6019fe.entry.js +2 -0
  374. package/dist/native/p-ed6019fe.entry.js.map +1 -0
  375. package/dist/native/p-f94d7054.entry.js +2 -0
  376. package/dist/native/{p-49cac014.entry.js.map → p-f94d7054.entry.js.map} +1 -1
  377. package/dist/native/p-fdea17ce.entry.js +2 -0
  378. package/dist/native/p-fdea17ce.entry.js.map +1 -0
  379. package/dist/types/components/nv-calendar/nv-calendar.d.ts +26 -50
  380. package/dist/types/components/nv-calendar/partials/calendar-actions.d.ts +19 -0
  381. package/dist/types/components/nv-calendar/partials/calendar-grid.d.ts +46 -0
  382. package/dist/types/components/nv-calendar/partials/calendar-header.d.ts +38 -0
  383. package/dist/types/components/nv-calendar/partials/calendar-shortcuts.d.ts +35 -0
  384. package/dist/types/components/nv-calendar/partials/day-cell.d.ts +35 -0
  385. package/dist/types/components/nv-calendar/partials/index.d.ts +6 -0
  386. package/dist/types/components/nv-calendar/partials/week-numbers.d.ts +30 -0
  387. package/dist/types/components/nv-calendar/test/partials/calendar-actions.logic.test.d.ts +1 -0
  388. package/dist/types/components/nv-calendar/test/partials/calendar-grid.logic.test.d.ts +1 -0
  389. package/dist/types/components/nv-calendar/test/partials/calendar-header.logic.test.d.ts +1 -0
  390. package/dist/types/components/nv-calendar/test/partials/calendar-shortcuts.logic.test.d.ts +1 -0
  391. package/dist/types/components/nv-calendar/test/partials/day-cell.logic.test.d.ts +1 -0
  392. package/dist/types/components/nv-calendar/test/partials/week-numbers.logic.test.d.ts +1 -0
  393. package/dist/types/components/nv-datagrid/nv-datagrid.d.ts +0 -16
  394. package/dist/types/components/nv-datagridcolumn/nv-datagridcolumn.d.ts +4 -0
  395. package/dist/types/components/nv-fielddate/nv-fielddate.d.ts +21 -9
  396. package/dist/types/components/nv-fielddate/test/nv-fielddate.logic.test.d.ts +1 -0
  397. package/dist/types/components/nv-fielddaterange/nv-fielddaterange.d.ts +24 -3
  398. package/dist/types/components/nv-fielddaterange/test/nv-fielddaterange.logic.test.d.ts +1 -0
  399. package/dist/types/components/nv-fielddropdown/nv-fielddropdown.d.ts +47 -26
  400. package/dist/types/components/nv-fieldmultiselect/nv-fieldmultiselect.d.ts +61 -55
  401. package/dist/types/components/nv-fieldslider/nv-fieldslider.d.ts +229 -0
  402. package/dist/types/components/nv-fieldslider/nv-fieldslider.docs.d.ts +4 -0
  403. package/dist/types/components/nv-fieldslider/nv-fieldslider.utils.d.ts +46 -0
  404. package/dist/types/components/nv-fieldslider/partials/field-input.d.ts +45 -0
  405. package/dist/types/components/nv-fieldslider/partials/range-thumb.d.ts +37 -0
  406. package/dist/types/components/nv-fieldslider/partials/single-thumb.d.ts +35 -0
  407. package/dist/types/components/nv-fieldslider/partials/tick-marks.d.ts +28 -0
  408. package/dist/types/components/nv-fieldslider/test/nv-fieldslider.utils.test.d.ts +1 -0
  409. package/dist/types/components/nv-fieldtext/nv-fieldtext.d.ts +1 -0
  410. package/dist/types/components/nv-icon/nv-icons.d.ts +1 -1
  411. package/dist/types/components.d.ts +402 -54
  412. package/dist/types/interfaces/Column.d.ts +5 -1
  413. package/dist/vscode-data.json +121 -9
  414. package/hydrate/index.js +1664 -584
  415. package/hydrate/index.mjs +1664 -584
  416. package/package.json +6 -2
  417. package/dist/cjs/index-9bda5507.js.map +0 -1
  418. package/dist/components/p-1c45c0f2.js.map +0 -1
  419. package/dist/components/p-76646ce9.js +0 -88
  420. package/dist/components/p-76646ce9.js.map +0 -1
  421. package/dist/components/p-854c32dc.js.map +0 -1
  422. package/dist/components/p-9decffb6.js +0 -167
  423. package/dist/components/p-9decffb6.js.map +0 -1
  424. package/dist/components/p-f76bb0c3.js.map +0 -1
  425. package/dist/esm/index-1fb7a9a6.js.map +0 -1
  426. package/dist/native/p-244f56ac.entry.js +0 -2
  427. package/dist/native/p-2523eead.entry.js +0 -2
  428. package/dist/native/p-2523eead.entry.js.map +0 -1
  429. package/dist/native/p-470588c2.entry.js.map +0 -1
  430. package/dist/native/p-49cac014.entry.js +0 -2
  431. package/dist/native/p-4d164ed6.entry.js +0 -2
  432. package/dist/native/p-4dc1d036.entry.js +0 -2
  433. package/dist/native/p-4e635fa7.entry.js +0 -2
  434. package/dist/native/p-4e635fa7.entry.js.map +0 -1
  435. package/dist/native/p-5d21532a.entry.js +0 -2
  436. package/dist/native/p-5d21532a.entry.js.map +0 -1
  437. package/dist/native/p-656c56f0.entry.js +0 -2
  438. package/dist/native/p-7042ba8a.entry.js +0 -2
  439. package/dist/native/p-7e154bfd.entry.js +0 -2
  440. package/dist/native/p-7e154bfd.entry.js.map +0 -1
  441. package/dist/native/p-7eba904e.entry.js +0 -2
  442. package/dist/native/p-7eba904e.entry.js.map +0 -1
  443. package/dist/native/p-9135fdf5.entry.js +0 -2
  444. package/dist/native/p-ab002252.js +0 -3
  445. package/dist/native/p-ab002252.js.map +0 -1
  446. package/dist/native/p-ae7ab110.entry.js +0 -2
  447. package/dist/native/p-b94d9f0b.entry.js +0 -2
  448. package/dist/native/p-c71c6f23.entry.js +0 -2
  449. package/dist/native/p-c71c6f23.entry.js.map +0 -1
  450. package/dist/native/p-d9a52884.entry.js +0 -2
  451. package/dist/native/p-d9a52884.entry.js.map +0 -1
  452. package/dist/native/p-efe6a46c.entry.js +0 -2
  453. package/dist/native/p-f2ef6771.entry.js +0 -2
  454. package/dist/native/p-f5f68992.entry.js +0 -2
  455. package/dist/native/p-f5f68992.entry.js.map +0 -1
  456. package/dist/native/p-fc97f071.entry.js +0 -2
  457. /package/dist/native/{p-615947e7.entry.js.map → p-08ca678c.entry.js.map} +0 -0
  458. /package/dist/native/{p-7fd4d13d.entry.js.map → p-1c1ecd38.entry.js.map} +0 -0
  459. /package/dist/native/{p-c7b201cd.entry.js.map → p-1d98477d.entry.js.map} +0 -0
  460. /package/dist/native/{p-1da72182.entry.js.map → p-2006f5d4.entry.js.map} +0 -0
  461. /package/dist/native/{p-f2ef6771.entry.js.map → p-4f9cdf0b.entry.js.map} +0 -0
  462. /package/dist/native/{p-3b7ef609.entry.js.map → p-58bb90ad.entry.js.map} +0 -0
  463. /package/dist/native/{p-3cd77d82.entry.js.map → p-5b6c59e0.entry.js.map} +0 -0
  464. /package/dist/native/{p-08a75cfa.entry.js.map → p-60c64f2b.entry.js.map} +0 -0
  465. /package/dist/native/{p-c67186f8.entry.js.map → p-83288db0.entry.js.map} +0 -0
  466. /package/dist/native/{p-0245863d.entry.js.map → p-86ab23ea.entry.js.map} +0 -0
  467. /package/dist/native/{p-4dc1d036.entry.js.map → p-87784622.entry.js.map} +0 -0
  468. /package/dist/native/{p-14c07207.entry.js.map → p-914da1e1.entry.js.map} +0 -0
  469. /package/dist/native/{p-c0f79bac.entry.js.map → p-ad128108.entry.js.map} +0 -0
  470. /package/dist/native/{p-e5de64d5.entry.js.map → p-b5b9190a.entry.js.map} +0 -0
  471. /package/dist/native/{p-b8b6875d.entry.js.map → p-d040bd61.entry.js.map} +0 -0
  472. /package/dist/native/{p-3953464e.entry.js.map → p-d21b2da2.entry.js.map} +0 -0
  473. /package/dist/native/{p-90e6d9dd.entry.js.map → p-d53e8795.entry.js.map} +0 -0
  474. /package/dist/native/{p-f85c08f1.js.map → p-e2d0a77d.js.map} +0 -0
@@ -50,21 +50,28 @@ export declare class NvFieldmultiselect {
50
50
  */
51
51
  readonly placeholder: string;
52
52
  /**
53
- * Defines the maximum height of the multiselect list when open.
53
+ * The autocomplete prop helps users fill out the input field faster by
54
+ * suggesting entries they've used before, like their email or address.
55
+ * You can turn it on to make forms more convenient or off to ensure users
56
+ * always type in fresh data.
54
57
  */
55
- readonly maxHeight: string;
56
- /**
57
- * Text for the badge showing the number of selected items.
58
- */
59
- readonly badgeLabel: string;
58
+ readonly autocomplete: `${TextInputAutocomplete}`;
60
59
  /**
61
- * The text to display when no items match the filter.
60
+ * Specifies the value of the input field.
62
61
  */
63
- readonly emptyResult: string;
62
+ value: string;
64
63
  /**
65
64
  * Marks the input field as required.
66
65
  */
67
66
  readonly required: boolean;
67
+ /**
68
+ * Display the input field's content without allowing users to change it.
69
+ */
70
+ readonly readonly: boolean;
71
+ /**
72
+ * Disables the input field.
73
+ */
74
+ readonly disabled: boolean;
68
75
  /**
69
76
  * Alters the input field's appearance to indicate an error, helping users
70
77
  * identify fields that need correction.
@@ -78,29 +85,21 @@ export declare class NvFieldmultiselect {
78
85
  */
79
86
  readonly errorDescription: string;
80
87
  /**
81
- * Display the input field's content without allowing users to change it.
88
+ * Defines the maximum height of the multiselect list when open.
82
89
  */
83
- readonly readonly: boolean;
90
+ readonly maxHeight: string;
84
91
  /**
85
- * Disables the input field.
92
+ * State of the multiselect popover.
86
93
  */
87
- readonly disabled: boolean;
94
+ open: boolean;
88
95
  /**
89
- * The autocomplete prop for faster input filling.
96
+ * The text to display when no items match the filter.
90
97
  */
91
- readonly autocomplete: `${TextInputAutocomplete}`;
98
+ readonly emptyResult: string;
92
99
  /**
93
100
  * Enables or disables the filtering feature for the multiselect items.
94
101
  */
95
102
  readonly filterable: boolean;
96
- /**
97
- * Specifies the value of the input field.
98
- */
99
- value: string;
100
- /**
101
- * State of the multiselect popover.
102
- */
103
- open: boolean;
104
103
  /**
105
104
  * List of options used to automatically generate dropdown items. This
106
105
  * provides an alternative to using the slot manually.
@@ -129,31 +128,11 @@ export declare class NvFieldmultiselect {
129
128
  /** Whether this option is pre-checked */
130
129
  checked?: boolean;
131
130
  }[];
132
- /**
133
- * List of selected values in the multiselect.
134
- */
135
- selectedValues: string[];
136
- /**
137
- * Sorted options for display.
138
- */
139
- sortedOptions: Array<{
140
- /** Label to display for the option */
141
- label: string;
142
- /** Value associated with the option */
143
- value: string;
144
- /** Whether this option is a divider */
145
- isDivider?: boolean;
146
- }>;
147
- /**
148
- * The text entered by the user for filtering multiselect items.
149
- */
150
- filterText: string;
151
131
  /**
152
132
  * Delay in milliseconds before the search is triggered when typing in the filter input.
153
133
  * @default 300
154
134
  */
155
135
  readonly debounceDelay: number;
156
- private isHandlingEscape;
157
136
  /**
158
137
  * Applies focus to the input field as soon as the component is mounted. This
159
138
  * is equivalent to setting the native autofocus attribute on an <input>
@@ -164,23 +143,31 @@ export declare class NvFieldmultiselect {
164
143
  * Allows the field to stretch and fill the entire width of its container.
165
144
  */
166
145
  readonly fluid: boolean;
167
- /****************************************************************************/
168
146
  /**
169
- * Subscribe to click outside event.
147
+ * Text for the badge showing the number of selected items.
170
148
  */
171
- connectedCallback(): void;
149
+ readonly badgeLabel: string;
150
+ /****************************************************************************/
172
151
  /**
173
- * Set the mode state and handle options change.
152
+ * The text entered by the user for filtering multiselect items.
174
153
  */
175
- componentWillLoad(): void;
154
+ filterText: string;
176
155
  /**
177
- * Force reorder if options mode in componentDidLoad because of the initial render not trigger @watch
156
+ * List of selected values in the multiselect.
178
157
  */
179
- componentDidLoad(): void;
158
+ selectedValues: string[];
180
159
  /**
181
- * Unsubscribe from click outside event.
160
+ * Sorted options for display.
182
161
  */
183
- disconnectedCallback(): void;
162
+ sortedOptions: Array<{
163
+ /** Label to display for the option */
164
+ label: string;
165
+ /** Value associated with the option */
166
+ value: string;
167
+ /** Whether this option is a divider */
168
+ isDivider?: boolean;
169
+ }>;
170
+ private isHandlingEscape;
184
171
  /****************************************************************************/
185
172
  /**
186
173
  * Emitted when the input value changes.
@@ -192,6 +179,13 @@ export declare class NvFieldmultiselect {
192
179
  * Emits the current list of selected values.
193
180
  */
194
181
  multiselectChange: EventEmitter<string[]>;
182
+ /****************************************************************************/
183
+ handleOptionsChange(newValue: typeof this.options): void;
184
+ /**
185
+ * Emitted when the value changes.
186
+ */
187
+ watchValueHandler(): void;
188
+ /****************************************************************************/
195
189
  /**
196
190
  * Emitted when the input loses focus.
197
191
  * @param {CustomEvent<boolean>} event - The event object containing the focus state.
@@ -207,12 +201,24 @@ export declare class NvFieldmultiselect {
207
201
  /** Whether this option is checked */
208
202
  checked: boolean;
209
203
  }>): void;
210
- handleOptionsChange(newValue: typeof this.options): void;
204
+ handleSlotChange(event: Event): void;
205
+ /****************************************************************************/
211
206
  /**
212
- * Emitted when the value changes.
207
+ * Subscribe to click outside event.
213
208
  */
214
- watchValueHandler(): void;
215
- handleSlotChange(event: Event): void;
209
+ connectedCallback(): void;
210
+ /**
211
+ * Set the mode state and handle options change.
212
+ */
213
+ componentWillLoad(): void;
214
+ /**
215
+ * Force reorder if options mode in componentDidLoad because of the initial render not trigger @watch
216
+ */
217
+ componentDidLoad(): void;
218
+ /**
219
+ * Unsubscribe from click outside event.
220
+ */
221
+ disconnectedCallback(): void;
216
222
  /****************************************************************************/
217
223
  /**
218
224
  * Retrieves the current filter text entered by the user.
@@ -0,0 +1,229 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ /**
3
+ * @slot label - Content to be placed as the label, will override the label prop.
4
+ * @slot description - Content to be placed as the description, will override the description prop.
5
+ * @slot error-description - Content to be placed as the error description, will override the errorDescription prop.
6
+ */
7
+ export declare class NvFieldslider {
8
+ el: HTMLNvFieldsliderElement;
9
+ /****************************************************************************/
10
+ /**
11
+ * Sets the ID for the start input element and the for attribute of the associated
12
+ * label. If no ID is provided, a random one will be automatically generated.
13
+ */
14
+ readonly startInputId: string;
15
+ /**
16
+ * Sets the ID for the end input element and the for attribute of the associated
17
+ * label. If no ID is provided, a random one will be automatically generated.
18
+ */
19
+ readonly endInputId: string;
20
+ /**
21
+ * Provides a textual description of the slider's function, helping users
22
+ * understand what the control adjusts. It also supports accessibility by
23
+ * serving as the accessible name for the component.
24
+ */
25
+ readonly label: string;
26
+ /**
27
+ * Keeps the interface clean by removing visible labels, but still announces
28
+ * the label to screen readers so users relying on assistive tech aren't left
29
+ * guessing.
30
+ */
31
+ readonly hideLabel: boolean;
32
+ /**
33
+ * Add helpful hints or extra information under the slider. This is where you
34
+ * can clarify what users should enter or provide additional instructions,
35
+ * making the form easier to fill out correctly.
36
+ */
37
+ readonly description: string;
38
+ /**
39
+ * Enables an optional numeric input field alongside the slider, allowing
40
+ * users to type a value directly instead of—or in addition to—using the
41
+ * slider handle.
42
+ */
43
+ readonly hasField: boolean;
44
+ /**
45
+ * Allows the slider to display two thumbs, enabling users to select a
46
+ * continuous range between a minimum and maximum value. Ideal for use cases
47
+ * like filtering by price or time.
48
+ */
49
+ readonly range: boolean;
50
+ /**
51
+ * Disables user interaction with the slider and its associated input fields.
52
+ */
53
+ readonly disabled: boolean;
54
+ /**
55
+ * Makes the slider and input non-editable while keeping them focusable and
56
+ * included in form submissions.
57
+ */
58
+ readonly readonly: boolean;
59
+ /**
60
+ * Alters the slider's appearance to indicate an error, helping users
61
+ * identify fields that need correction.
62
+ * @validator error
63
+ */
64
+ readonly error: boolean;
65
+ /**
66
+ * A description that appears when there is an error related to the slider.
67
+ * @validator message
68
+ */
69
+ readonly errorDescription: string;
70
+ /**
71
+ * Changes the slider's appearance to indicate successful input or validation.
72
+ */
73
+ readonly success: boolean;
74
+ /**
75
+ * Numeric value of the slider as an array of numbers. When in single mode,
76
+ * the value should be a an array of one number. When in range mode, the value
77
+ * should be an array of two numbers.
78
+ */
79
+ value: number[];
80
+ /**
81
+ * Defines the interval between selectable values on the slider. Controls how
82
+ * much the value increases or decreases with each keyboard interaction, drag
83
+ * movement, or direct input.
84
+ */
85
+ readonly step: number;
86
+ /**
87
+ * Controls whether the slider handle should visually snap to step values
88
+ * during dragging. When false, the handle can be positioned at any point
89
+ * along the track while dragging, but the actual value will still snap to the
90
+ * nearest step value. When true, the handle will visually snap to the nearest
91
+ * step value during dragging.
92
+ */
93
+ readonly snap: boolean;
94
+ /**
95
+ * When true and custom ticks are provided, the slider will snap to the nearest
96
+ * tick value during dragging, instead of using the step value. This is useful
97
+ * when you have custom ticks at specific values that don't align with regular step intervals.
98
+ */
99
+ readonly snapTicks: boolean;
100
+ /**
101
+ * Name attribute for the form input element. Required for form submission.
102
+ * For range sliders, this will be used for the start value input and add -end
103
+ * to the end input name.
104
+ */
105
+ readonly name: string;
106
+ /**
107
+ * Name attribute for the end value input when using range mode.
108
+ * If not provided, the name attribute will be used with '-end' appended.
109
+ */
110
+ readonly endName: string;
111
+ /**
112
+ * Defines the minimum allowed value for the slider. The thumb cannot move
113
+ * below this value, and manual input is also constrained accordingly.
114
+ */
115
+ readonly min: number;
116
+ /**
117
+ * Defines the maximum allowed value for the slider. The thumb cannot move
118
+ * above this value, and manual input is also constrained accordingly.
119
+ */
120
+ readonly max: number;
121
+ /**
122
+ * Controls the visibility of tick marks on the slider. When enabled, all
123
+ * visual ticks that indicate step points along the track are shown. If custom
124
+ * ticks are provided, they are always shown regardless of this setting.
125
+ */
126
+ readonly showTicks: boolean;
127
+ /**
128
+ * Allows you to specify custom tick marks at specific values along the
129
+ * slider. Each tick can optionally display a label to provide additional
130
+ * context or guidance for users.
131
+ */
132
+ readonly ticks: {
133
+ /** The numeric value of the tick */
134
+ value: number;
135
+ /** The label of the tick */
136
+ label?: string;
137
+ }[];
138
+ /**
139
+ * Allows the field to stretch and fill the entire width of its container.
140
+ */
141
+ readonly fluid: boolean;
142
+ /**
143
+ * Use this to automatically show a label, like “~” for approximate values,
144
+ * before the slider’s value in the tooltip or input, giving users quick
145
+ * context about the number.
146
+ */
147
+ readonly labelBeforeValue: string;
148
+ /**
149
+ * Use this to automatically show a label, like “$” or “kg,” after the value
150
+ * on the slider’s tooltip or input, helping users better understand the
151
+ * number.
152
+ */
153
+ readonly labelAfterValue: string;
154
+ /****************************************************************************/
155
+ isDragging: boolean;
156
+ activeDragThumb: 'left' | 'right' | 'single';
157
+ internalTicks: typeof this.ticks;
158
+ rawPosition: number;
159
+ rawRangePosition: [number, number];
160
+ valueInternal: number;
161
+ rangeValueInternal: [number, number];
162
+ /****************************************************************************/
163
+ /**
164
+ * Ensures value is valid and within bounds.
165
+ * @param {number} val - The value to validate
166
+ * @returns {number} The validated and snapped value
167
+ */
168
+ private validateValue;
169
+ /**
170
+ * Parses the value string into a number or array of numbers for internal use.
171
+ */
172
+ private parseValue;
173
+ /**
174
+ * Handles value changes from slider interaction.
175
+ * @param {number | number[]} newValue - The new value or range values
176
+ */
177
+ private handleValueChange;
178
+ /**
179
+ * Generates the ticks to display based on props and state.
180
+ */
181
+ private generateDisplayTicks;
182
+ /**
183
+ * Handles pointer events on the track.
184
+ * @param {PointerEvent} event - The pointer event
185
+ */
186
+ private onTrackInteraction;
187
+ /**
188
+ * Handles pointer move events during drag.
189
+ * @param {PointerEvent} event - The pointer event
190
+ */
191
+ private onPointerMove;
192
+ /**
193
+ * Handles the end of a drag operation.
194
+ */
195
+ private onPointerUp;
196
+ /**
197
+ * Registers global events for tracking pointer movement.
198
+ */
199
+ private registerGlobalEvents;
200
+ /**
201
+ * Removes global events when tracking ends.
202
+ */
203
+ private removeGlobalEvents;
204
+ /**
205
+ * Handles keydown events for keyboard accessibility.
206
+ * @param {KeyboardEvent} event - The keyboard event
207
+ */
208
+ private onKeyDown;
209
+ /**
210
+ * Handles field input value changes.
211
+ * @param {Event} event - The input event
212
+ */
213
+ private handleFieldChange;
214
+ /****************************************************************************/
215
+ onValueChange(): void;
216
+ onConfigChange(): void;
217
+ onRangeChange(newValue: boolean): void;
218
+ /****************************************************************************/
219
+ connectedCallback(): void;
220
+ disconnectedCallback(): void;
221
+ /****************************************************************************/
222
+ /**
223
+ * Emitted when the slider values change.
224
+ * @bind value
225
+ */
226
+ valueChanged: EventEmitter<number[]>;
227
+ /****************************************************************************/
228
+ render(): any;
229
+ }
@@ -0,0 +1,4 @@
1
+ import type { NovaDocs } from '../../nova-docs';
2
+ import { Components } from '../../components';
3
+ declare const NvFieldsliderDocs: NovaDocs<Components.NvFieldslider>;
4
+ export default NvFieldsliderDocs;
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Utility functions for nv-fieldslider.
3
+ */
4
+ /**
5
+ * Clamp a value between min and max.
6
+ * @param {number} value - The value to clamp
7
+ * @param {number} min - The minimum boundary
8
+ * @param {number} max - The maximum boundary
9
+ * @returns {number} The clamped value
10
+ */
11
+ export declare function clamp(value: number, min: number, max: number): number;
12
+ /**
13
+ * Calculate the percentage position of a value within a range.
14
+ * @param {number} value - The value to convert to percentage
15
+ * @param {number} min - The minimum value of the range
16
+ * @param {number} max - The maximum value of the range
17
+ * @returns {number} The percentage (0-100)
18
+ */
19
+ export declare function valueToPercent(value: number, min: number, max: number): number;
20
+ /**
21
+ * Snap a value to the nearest step.
22
+ * @param {number} value - The value to snap
23
+ * @param {number} min - The minimum boundary
24
+ * @param {number} max - The maximum boundary
25
+ * @param {number} step - The step size
26
+ * @returns {number} The snapped value
27
+ */
28
+ export declare function snapToStep(value: number, min: number, max: number, step: number): number;
29
+ /**
30
+ * Generate tick values for the slider.
31
+ * @param {number} min - The minimum value
32
+ * @param {number} max - The maximum value
33
+ * @param {number} step - The step size
34
+ * @returns {number[]} Array of tick values
35
+ */
36
+ export declare function generateTicks(min: number, max: number, step: number): number[];
37
+ /**
38
+ * Snap a value to the nearest tick mark.
39
+ * @param {number} value - The value to snap
40
+ * @param {object[]} ticks - Array of tick objects
41
+ * @returns {number} The value of the closest tick
42
+ */
43
+ export declare function snapToTicks(value: number, ticks: {
44
+ /** The value of the tick */
45
+ value: number;
46
+ }[]): number;
@@ -0,0 +1,45 @@
1
+ import { FunctionalComponent } from '../../../stencil-public-runtime';
2
+ /**
3
+ * Props for the FieldInput component
4
+ */
5
+ interface FieldInputProps {
6
+ /** Whether this is a range slider */
7
+ range: boolean;
8
+ /** Whether to show the input field */
9
+ hasField: boolean;
10
+ /** The value for single mode */
11
+ value: number;
12
+ /** The values for range mode [min, max] */
13
+ rangeValue: number[];
14
+ /** Index (0 or 1) for range mode, ignored in single mode */
15
+ index?: number;
16
+ /** ID for the input field */
17
+ inputId: string;
18
+ /** Minimum allowed value */
19
+ min: number;
20
+ /** Maximum allowed value */
21
+ max: number;
22
+ /** Step size */
23
+ step: number;
24
+ /** Whether the slider is disabled */
25
+ disabled: boolean;
26
+ /** Whether the slider is readonly */
27
+ readonly: boolean;
28
+ /** Handler for input changes */
29
+ onInput: (event: Event) => void;
30
+ /** Label to display before the value */
31
+ labelBeforeValue?: string;
32
+ /** Label to display after the value */
33
+ labelAfterValue?: string;
34
+ /** Name attribute for the input field (for form submission) */
35
+ name?: string;
36
+ /** Name attribute for the end input field (when in range mode) */
37
+ endName?: string;
38
+ }
39
+ /**
40
+ * Renders field input for direct value entry
41
+ * @param {FieldInputProps} props - Component properties
42
+ * @returns {JSX.Element} JSX element representing the field input
43
+ */
44
+ export declare const FieldInput: FunctionalComponent<FieldInputProps>;
45
+ export {};
@@ -0,0 +1,37 @@
1
+ import { FunctionalComponent } from '../../../stencil-public-runtime';
2
+ /**
3
+ * Props for the RangeThumb component
4
+ */
5
+ interface RangeThumbProps {
6
+ /** Range values [left, right] */
7
+ rangeValue: number[];
8
+ /** Raw positions during dragging [left, right] */
9
+ rawRangePosition: [number, number];
10
+ /** Currently active thumb while dragging */
11
+ activeDragThumb: 'left' | 'right' | 'single';
12
+ /** Whether the thumb is currently being dragged */
13
+ isDragging: boolean;
14
+ /** Whether the thumb should visually snap to steps */
15
+ snap: boolean;
16
+ /** Minimum allowed value */
17
+ min: number;
18
+ /** Maximum allowed value */
19
+ max: number;
20
+ /** Whether the slider is disabled */
21
+ disabled: boolean;
22
+ /** Whether the slider is readonly */
23
+ readonly: boolean;
24
+ /** Key down event handler */
25
+ onKeyDown: (event: KeyboardEvent) => void;
26
+ /** Label to display before the value */
27
+ labelBeforeValue?: string;
28
+ /** Label to display after the value */
29
+ labelAfterValue?: string;
30
+ }
31
+ /**
32
+ * Renders dual thumbs in range mode.
33
+ * @param {RangeThumbProps} props - Component properties
34
+ * @returns {JSX.Element[]} Array of JSX elements representing the range slider thumbs
35
+ */
36
+ export declare const RangeThumb: FunctionalComponent<RangeThumbProps>;
37
+ export {};
@@ -0,0 +1,35 @@
1
+ import { FunctionalComponent } from '../../../stencil-public-runtime';
2
+ /**
3
+ * Props for the SingleThumb component
4
+ */
5
+ interface SingleThumbProps {
6
+ /** Current value of the slider */
7
+ value: number;
8
+ /** Minimum allowed value */
9
+ min: number;
10
+ /** Maximum allowed value */
11
+ max: number;
12
+ /** Raw position during dragging */
13
+ rawPosition: number;
14
+ /** Whether the thumb is currently being dragged */
15
+ isDragging: boolean;
16
+ /** Whether the thumb should visually snap to steps */
17
+ snap: boolean;
18
+ /** Whether the slider is disabled */
19
+ disabled: boolean;
20
+ /** Whether the slider is readonly */
21
+ readonly: boolean;
22
+ /** Key down event handler */
23
+ onKeyDown: (event: KeyboardEvent) => void;
24
+ /** Label to display before the value */
25
+ labelBeforeValue?: string;
26
+ /** Label to display after the value */
27
+ labelAfterValue?: string;
28
+ }
29
+ /**
30
+ * Renders single thumb in standard mode.
31
+ * @param {SingleThumbProps} props - Component properties
32
+ * @returns {JSX.Element} JSX element representing the thumb
33
+ */
34
+ export declare const SingleThumb: FunctionalComponent<SingleThumbProps>;
35
+ export {};
@@ -0,0 +1,28 @@
1
+ import { FunctionalComponent } from '../../../stencil-public-runtime';
2
+ /**
3
+ * Represents a tick mark on the slider
4
+ */
5
+ interface Tick {
6
+ /** The numeric value of the tick */
7
+ value: number;
8
+ /** Optional label for the tick */
9
+ label?: string;
10
+ }
11
+ /**
12
+ * Props for the TickMarks component
13
+ */
14
+ interface TickMarksProps {
15
+ /** Array of tick definitions */
16
+ ticks: Tick[];
17
+ /** Minimum allowed value */
18
+ min: number;
19
+ /** Maximum allowed value */
20
+ max: number;
21
+ }
22
+ /**
23
+ * Renders tick marks along the slider track.
24
+ * @param {TickMarksProps} props - Component properties
25
+ * @returns {JSX.Element | null} JSX element representing the tick marks or null if no ticks
26
+ */
27
+ export declare const TickMarks: FunctionalComponent<TickMarksProps>;
28
+ export {};
@@ -2,6 +2,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { TextInputAutocomplete } from '../../utils/constants';
3
3
  /**
4
4
  * @slot leading-input - Content to be placed before the input text, within the input container.
5
+ * @slot trailing-input - Content to be placed after the input text, within the input container.
5
6
  * @slot before-input - Content to be placed before the input text, outside the input container.
6
7
  * @slot after-input - Content to be placed after the input text, outside the input container.
7
8
  * @slot label - Content to be placed as the label, will override the label prop.