@nova-design-system/nova-react 3.0.0-beta.44 → 3.0.0-beta.45

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 (346) hide show
  1. package/dist/cjs/{index-CIcUUomJ.js → index-S09Gr7Tw.js} +113 -119
  2. package/dist/cjs/index.js +1 -1
  3. package/dist/cjs/{nv-alert.entry-BVY_rxey.js → nv-alert.entry-DH8Qd2s2.js} +1 -1
  4. package/dist/cjs/{nv-avatar.entry-CFgnor0-.js → nv-avatar.entry-B3-elLZC.js} +1 -1
  5. package/dist/cjs/{nv-badge_2.entry-Drgx-565.js → nv-badge_2.entry-D15EDzX0.js} +2 -2
  6. package/dist/cjs/{nv-base.entry-DwtTXK_n.js → nv-base.entry-D-_RUZTX.js} +1 -1
  7. package/dist/cjs/{nv-breadcrumb.entry-B0hIeE83.js → nv-breadcrumb.entry-DG49Nj1L.js} +2 -2
  8. package/dist/cjs/{nv-breadcrumbs.entry-Cq0LsIFs.js → nv-breadcrumbs.entry-BqJO5pbN.js} +1 -1
  9. package/dist/cjs/{nv-button.entry-B3rEQuGV.js → nv-button.entry-CN9kB98T.js} +6 -4
  10. package/dist/cjs/{nv-calendar.entry-NU1TumeS.js → nv-calendar.entry-CMEgSU64.js} +1 -1
  11. package/dist/cjs/{nv-col.entry-B5nCHhbO.js → nv-col.entry-wcZ9HHAb.js} +1 -1
  12. package/dist/cjs/{nv-datagrid.entry-5VIvkJGL.js → nv-datagrid.entry-GCLeN2qT.js} +31 -4
  13. package/dist/cjs/{nv-datagridcolumn.entry-BeGXaBUe.js → nv-datagridcolumn.entry-lgIz71UU.js} +1 -1
  14. package/dist/cjs/{nv-dialog.entry-BgHknrOx.js → nv-dialog.entry-DfY0TaYp.js} +17 -13
  15. package/dist/cjs/{nv-dialogfooter_2.entry-Ck6adFfd.js → nv-dialogfooter_2.entry-OByWsulH.js} +1 -1
  16. package/dist/cjs/{nv-fieldcheckbox.entry-dBYg7CBU.js → nv-fieldcheckbox.entry-Bqpe9BK3.js} +2 -2
  17. package/dist/cjs/{nv-fielddate.entry-DRX2mfZL.js → nv-fielddate.entry-DJePv6tR.js} +1 -1
  18. package/dist/cjs/{nv-fielddaterange.entry-DTLKVIqg.js → nv-fielddaterange.entry--YC750sX.js} +1 -1
  19. package/dist/cjs/{nv-fielddropdown.entry-akfp1Bcy.js → nv-fielddropdown.entry-BPlTlc_S.js} +1 -1
  20. package/dist/cjs/{nv-fielddropdownitem.entry-BscNyhXz.js → nv-fielddropdownitem.entry-zwoGySum.js} +1 -1
  21. package/dist/cjs/{nv-fieldmultiselect.entry-BGzYCJuF.js → nv-fieldmultiselect.entry-Bg_v0LUF.js} +7 -49
  22. package/dist/cjs/{nv-fieldnumber.entry-_UiieYov.js → nv-fieldnumber.entry-BLNaq7yr.js} +1 -1
  23. package/dist/cjs/{nv-fieldpassword.entry-D4a8SnGr.js → nv-fieldpassword.entry-iSEdS5R8.js} +1 -1
  24. package/dist/cjs/{nv-fieldradio.entry-aRAaLwpK.js → nv-fieldradio.entry-Dov4vZkh.js} +1 -1
  25. package/dist/cjs/{nv-fieldselect.entry-sTbv_flF.js → nv-fieldselect.entry-NmpesarX.js} +1 -1
  26. package/dist/cjs/{nv-fieldtext.entry-B1TlZWjU.js → nv-fieldtext.entry-r6oQajRS.js} +1 -1
  27. package/dist/cjs/{nv-fieldtextarea.entry-BwJCUiVW.js → nv-fieldtextarea.entry-CJ2yQkfi.js} +1 -1
  28. package/dist/cjs/{nv-fieldtime.entry-uU-IET2k.js → nv-fieldtime.entry-Bxoj6N53.js} +1 -1
  29. package/dist/cjs/{nv-icon.entry-BfRAl2b6.js → nv-icon.entry-CWKRt8F0.js} +1 -1
  30. package/dist/cjs/{nv-iconbutton_2.entry-D8MI5uzP.js → nv-iconbutton_2.entry-CnbscpNn.js} +1 -1
  31. package/dist/cjs/{nv-menu.entry-D3qvf_0H.js → nv-menu.entry-wC7oSruP.js} +1 -1
  32. package/dist/cjs/{nv-menuitem.entry-DkIG5z-x.js → nv-menuitem.entry-BVSa1vrS.js} +1 -1
  33. package/dist/cjs/{nv-popover.entry-C57rfYUn.js → nv-popover.entry-ChP1we3l.js} +12 -10
  34. package/dist/cjs/{nv-row.entry-Bwzlub3i.js → nv-row.entry-D6FeFpzG.js} +1 -1
  35. package/dist/cjs/{nv-stack.entry-bhess4lQ.js → nv-stack.entry-zjJmztkO.js} +1 -1
  36. package/dist/cjs/{nv-table.entry-mEtRfake.js → nv-table.entry-CGX0jsR3.js} +1 -1
  37. package/dist/cjs/{nv-tablecolumn.entry-BDCw_45v.js → nv-tablecolumn.entry-Cwdmo_RY.js} +1 -1
  38. package/dist/cjs/{nv-toggle.entry-DXpNGkbz.js → nv-toggle.entry-BvToMkI2.js} +2 -2
  39. package/dist/cjs/{nv-tooltip.entry-BuSwME_F.js → nv-tooltip.entry-DZ7_lB-p.js} +1 -1
  40. package/dist/generated/components.js +1 -1
  41. package/dist/types/generated/components.d.ts +1 -1
  42. package/package.json +1 -1
  43. package/dist/cjs/index-BZCQTWfv.js +0 -26372
  44. package/dist/cjs/index-B_VOAJzk.js +0 -26373
  45. package/dist/cjs/index-C8UfzrMI.js +0 -26405
  46. package/dist/cjs/index-CDe7nrrW.js +0 -26373
  47. package/dist/cjs/index-CEWbQ5nh.js +0 -26373
  48. package/dist/cjs/index-CinzsZ8D.js +0 -26405
  49. package/dist/cjs/index-CtI3SivD.js +0 -26373
  50. package/dist/cjs/index-wDACGzKb.js +0 -26373
  51. package/dist/cjs/nv-alert.entry-8esWDUyU.js +0 -173
  52. package/dist/cjs/nv-alert.entry-B-P-Fgdo.js +0 -173
  53. package/dist/cjs/nv-alert.entry-B3NpZh1C.js +0 -173
  54. package/dist/cjs/nv-alert.entry-BU86GY-d.js +0 -173
  55. package/dist/cjs/nv-alert.entry-CwZcD170.js +0 -173
  56. package/dist/cjs/nv-alert.entry-CxSN1zpW.js +0 -173
  57. package/dist/cjs/nv-alert.entry-DsoqN5tQ.js +0 -173
  58. package/dist/cjs/nv-alert.entry-xuY-Lvuj.js +0 -173
  59. package/dist/cjs/nv-avatar.entry-CO6bt4k6.js +0 -67
  60. package/dist/cjs/nv-avatar.entry-DJkpupVT.js +0 -67
  61. package/dist/cjs/nv-avatar.entry-DKXMQPOz.js +0 -67
  62. package/dist/cjs/nv-avatar.entry-DWOADxdQ.js +0 -67
  63. package/dist/cjs/nv-avatar.entry-DjyiGt07.js +0 -67
  64. package/dist/cjs/nv-avatar.entry-DuN1d3Vy.js +0 -67
  65. package/dist/cjs/nv-avatar.entry-pREKtiv2.js +0 -67
  66. package/dist/cjs/nv-avatar.entry-yyLQEqI7.js +0 -67
  67. package/dist/cjs/nv-badge_2.entry-BFURAuBQ.js +0 -195
  68. package/dist/cjs/nv-badge_2.entry-BQXL0ZhP.js +0 -195
  69. package/dist/cjs/nv-badge_2.entry-CJQWS2xG.js +0 -195
  70. package/dist/cjs/nv-badge_2.entry-D0jeqYIQ.js +0 -195
  71. package/dist/cjs/nv-badge_2.entry-DKGHx4c8.js +0 -194
  72. package/dist/cjs/nv-badge_2.entry-im1VnU5f.js +0 -195
  73. package/dist/cjs/nv-badge_2.entry-wDuiCwys.js +0 -195
  74. package/dist/cjs/nv-badge_2.entry-xfXsesV0.js +0 -195
  75. package/dist/cjs/nv-base.entry-9HF044Di.js +0 -71
  76. package/dist/cjs/nv-base.entry-BO-6krwg.js +0 -71
  77. package/dist/cjs/nv-base.entry-BmY-1Lne.js +0 -71
  78. package/dist/cjs/nv-base.entry-BuxI7QmU.js +0 -71
  79. package/dist/cjs/nv-base.entry-CcaAXjnO.js +0 -71
  80. package/dist/cjs/nv-base.entry-Ch8ncPl0.js +0 -71
  81. package/dist/cjs/nv-base.entry-D7gUvPIG.js +0 -71
  82. package/dist/cjs/nv-base.entry-c723sI4Y.js +0 -71
  83. package/dist/cjs/nv-breadcrumb.entry-B9rOxsg_.js +0 -45
  84. package/dist/cjs/nv-breadcrumb.entry-BtM_AHRC.js +0 -45
  85. package/dist/cjs/nv-breadcrumb.entry-C-xHbSJw.js +0 -45
  86. package/dist/cjs/nv-breadcrumb.entry-CL9l0Wkr.js +0 -45
  87. package/dist/cjs/nv-breadcrumb.entry-CxGReUqZ.js +0 -45
  88. package/dist/cjs/nv-breadcrumb.entry-DTwjCmMI.js +0 -45
  89. package/dist/cjs/nv-breadcrumb.entry-LYt0sALP.js +0 -45
  90. package/dist/cjs/nv-breadcrumb.entry-wy-P2BMg.js +0 -45
  91. package/dist/cjs/nv-breadcrumbs.entry-9LlUycIv.js +0 -20
  92. package/dist/cjs/nv-breadcrumbs.entry-B7CaTbBe.js +0 -20
  93. package/dist/cjs/nv-breadcrumbs.entry-BA-TnreZ.js +0 -20
  94. package/dist/cjs/nv-breadcrumbs.entry-CEmZ3yFi.js +0 -20
  95. package/dist/cjs/nv-breadcrumbs.entry-De5lsjQf.js +0 -20
  96. package/dist/cjs/nv-breadcrumbs.entry-_w38BddR.js +0 -20
  97. package/dist/cjs/nv-breadcrumbs.entry-jn5hRjpQ.js +0 -20
  98. package/dist/cjs/nv-breadcrumbs.entry-ubxLcEUH.js +0 -20
  99. package/dist/cjs/nv-button.entry-B5-Wf9hh.js +0 -162
  100. package/dist/cjs/nv-button.entry-CBNfIn-r.js +0 -162
  101. package/dist/cjs/nv-button.entry-D-DPQDNM.js +0 -162
  102. package/dist/cjs/nv-button.entry-DHZX7KH4.js +0 -162
  103. package/dist/cjs/nv-button.entry-DLoECCSK.js +0 -162
  104. package/dist/cjs/nv-button.entry-DaSGnB1L.js +0 -162
  105. package/dist/cjs/nv-button.entry-Dk6DqHG2.js +0 -162
  106. package/dist/cjs/nv-button.entry-DxzA6-My.js +0 -162
  107. package/dist/cjs/nv-calendar.entry-BC6NDsVl.js +0 -1036
  108. package/dist/cjs/nv-calendar.entry-BeCCaAVE.js +0 -1036
  109. package/dist/cjs/nv-calendar.entry-DKz-iBnp.js +0 -1036
  110. package/dist/cjs/nv-calendar.entry-DNyH8T5e.js +0 -1036
  111. package/dist/cjs/nv-calendar.entry-DSWhDnEC.js +0 -1036
  112. package/dist/cjs/nv-calendar.entry-DUHckAh3.js +0 -1036
  113. package/dist/cjs/nv-calendar.entry-UUE6v4YC.js +0 -1036
  114. package/dist/cjs/nv-calendar.entry-ZtfR2qOV.js +0 -1036
  115. package/dist/cjs/nv-col.entry-Bx1VZSMw.js +0 -37
  116. package/dist/cjs/nv-col.entry-C400BeEE.js +0 -37
  117. package/dist/cjs/nv-col.entry-CYjFAVMF.js +0 -37
  118. package/dist/cjs/nv-col.entry-DDEtfCv-.js +0 -37
  119. package/dist/cjs/nv-col.entry-DNUY559i.js +0 -37
  120. package/dist/cjs/nv-col.entry-DqzImLSJ.js +0 -37
  121. package/dist/cjs/nv-col.entry-DtYBQEJz.js +0 -37
  122. package/dist/cjs/nv-col.entry-X7jkNThH.js +0 -37
  123. package/dist/cjs/nv-datagrid.entry-Ba9sfMQp.js +0 -3671
  124. package/dist/cjs/nv-datagrid.entry-Beehe_Sq.js +0 -3671
  125. package/dist/cjs/nv-datagrid.entry-CkD_jV75.js +0 -3671
  126. package/dist/cjs/nv-datagrid.entry-Cp8RCSEv.js +0 -3671
  127. package/dist/cjs/nv-datagrid.entry-D6p67Pa6.js +0 -3671
  128. package/dist/cjs/nv-datagrid.entry-DKqScS8N.js +0 -3671
  129. package/dist/cjs/nv-datagrid.entry-DL-Fyo4l.js +0 -3671
  130. package/dist/cjs/nv-datagrid.entry-ee865R4b.js +0 -3671
  131. package/dist/cjs/nv-datagridcolumn.entry-BodICzof.js +0 -18
  132. package/dist/cjs/nv-datagridcolumn.entry-CR9_1fsZ.js +0 -18
  133. package/dist/cjs/nv-datagridcolumn.entry-C_FtSltZ.js +0 -18
  134. package/dist/cjs/nv-datagridcolumn.entry-CyTG5E7M.js +0 -18
  135. package/dist/cjs/nv-datagridcolumn.entry-D1cyTR_G.js +0 -18
  136. package/dist/cjs/nv-datagridcolumn.entry-DRE7BDkk.js +0 -18
  137. package/dist/cjs/nv-datagridcolumn.entry-Du6-7fjr.js +0 -18
  138. package/dist/cjs/nv-datagridcolumn.entry-N70Aen6Q.js +0 -18
  139. package/dist/cjs/nv-dialog.entry-BjTJ5FFL.js +0 -784
  140. package/dist/cjs/nv-dialog.entry-C1hg-EG1.js +0 -784
  141. package/dist/cjs/nv-dialog.entry-COv2do_O.js +0 -784
  142. package/dist/cjs/nv-dialog.entry-Ck2hU43g.js +0 -784
  143. package/dist/cjs/nv-dialog.entry-Cl8iLrCo.js +0 -784
  144. package/dist/cjs/nv-dialog.entry-Cy71tlWz.js +0 -784
  145. package/dist/cjs/nv-dialog.entry-DdAHZGzm.js +0 -784
  146. package/dist/cjs/nv-dialog.entry-Do_uALC6.js +0 -784
  147. package/dist/cjs/nv-dialogfooter_2.entry-CXvA0O-2.js +0 -134
  148. package/dist/cjs/nv-dialogfooter_2.entry-DHa0SYhR.js +0 -134
  149. package/dist/cjs/nv-dialogfooter_2.entry-DJ8qS9q6.js +0 -134
  150. package/dist/cjs/nv-dialogfooter_2.entry-DJkKzEgO.js +0 -134
  151. package/dist/cjs/nv-dialogfooter_2.entry-DKvzkpt3.js +0 -134
  152. package/dist/cjs/nv-dialogfooter_2.entry-D_VuofBe.js +0 -134
  153. package/dist/cjs/nv-dialogfooter_2.entry-L5tHIb_T.js +0 -134
  154. package/dist/cjs/nv-dialogfooter_2.entry-kEa1K0n5.js +0 -134
  155. package/dist/cjs/nv-fieldcheckbox.entry-B4We4zG2.js +0 -137
  156. package/dist/cjs/nv-fieldcheckbox.entry-BmYyNV4r.js +0 -137
  157. package/dist/cjs/nv-fieldcheckbox.entry-C0DmeqXD.js +0 -137
  158. package/dist/cjs/nv-fieldcheckbox.entry-CBsQsbIA.js +0 -137
  159. package/dist/cjs/nv-fieldcheckbox.entry-DTIebeJR.js +0 -137
  160. package/dist/cjs/nv-fieldcheckbox.entry-DoGQX-5D.js +0 -137
  161. package/dist/cjs/nv-fieldcheckbox.entry-P--9IAJF.js +0 -137
  162. package/dist/cjs/nv-fieldcheckbox.entry-dxhUZiEg.js +0 -137
  163. package/dist/cjs/nv-fielddate.entry-B53E-JaI.js +0 -278
  164. package/dist/cjs/nv-fielddate.entry-Bofdd2rE.js +0 -278
  165. package/dist/cjs/nv-fielddate.entry-CIo_61Dc.js +0 -278
  166. package/dist/cjs/nv-fielddate.entry-CekIFTA0.js +0 -278
  167. package/dist/cjs/nv-fielddate.entry-D-PjbYaA.js +0 -278
  168. package/dist/cjs/nv-fielddate.entry-DgS0X1wI.js +0 -278
  169. package/dist/cjs/nv-fielddate.entry-Do69eqHA.js +0 -278
  170. package/dist/cjs/nv-fielddate.entry-NJ6RAqlG.js +0 -278
  171. package/dist/cjs/nv-fielddaterange.entry-BrC5jKLp.js +0 -355
  172. package/dist/cjs/nv-fielddaterange.entry-BtPwfRw-.js +0 -355
  173. package/dist/cjs/nv-fielddaterange.entry-CxaBrZAX.js +0 -355
  174. package/dist/cjs/nv-fielddaterange.entry-D-6LjhjB.js +0 -355
  175. package/dist/cjs/nv-fielddaterange.entry-D0fq5KFb.js +0 -355
  176. package/dist/cjs/nv-fielddaterange.entry-D2dzD3rW.js +0 -355
  177. package/dist/cjs/nv-fielddaterange.entry-ka3JiDvT.js +0 -355
  178. package/dist/cjs/nv-fielddaterange.entry-w8WXPDuX.js +0 -355
  179. package/dist/cjs/nv-fielddropdown.entry-BAaPyGtB.js +0 -361
  180. package/dist/cjs/nv-fielddropdown.entry-C5kMWmPP.js +0 -361
  181. package/dist/cjs/nv-fielddropdown.entry-CX2Ycn2i.js +0 -361
  182. package/dist/cjs/nv-fielddropdown.entry-CZxQlRNa.js +0 -361
  183. package/dist/cjs/nv-fielddropdown.entry-DUAKFYgw.js +0 -391
  184. package/dist/cjs/nv-fielddropdown.entry-DVl_Uy5A.js +0 -361
  185. package/dist/cjs/nv-fielddropdown.entry-MsUR1kVe.js +0 -391
  186. package/dist/cjs/nv-fielddropdown.entry-hHh_RDC4.js +0 -361
  187. package/dist/cjs/nv-fielddropdownitem.entry-BsbvJERH.js +0 -70
  188. package/dist/cjs/nv-fielddropdownitem.entry-CMWgXP_Z.js +0 -68
  189. package/dist/cjs/nv-fielddropdownitem.entry-CS1Ejbc9.js +0 -68
  190. package/dist/cjs/nv-fielddropdownitem.entry-CW4WMmSZ.js +0 -68
  191. package/dist/cjs/nv-fielddropdownitem.entry-CuQqsz4f.js +0 -68
  192. package/dist/cjs/nv-fielddropdownitem.entry-DRM-Zljt.js +0 -70
  193. package/dist/cjs/nv-fielddropdownitem.entry-Dn2HJc1t.js +0 -68
  194. package/dist/cjs/nv-fielddropdownitem.entry-HK2I5pUG.js +0 -68
  195. package/dist/cjs/nv-fieldmultiselect.entry-5jdK36m6.js +0 -1060
  196. package/dist/cjs/nv-fieldmultiselect.entry-6o1yhNI5.js +0 -1060
  197. package/dist/cjs/nv-fieldmultiselect.entry-BN1ObPi8.js +0 -1060
  198. package/dist/cjs/nv-fieldmultiselect.entry-CuVEYN0v.js +0 -1060
  199. package/dist/cjs/nv-fieldmultiselect.entry-DFr-ZICs.js +0 -1060
  200. package/dist/cjs/nv-fieldmultiselect.entry-DHXJErt4.js +0 -1060
  201. package/dist/cjs/nv-fieldmultiselect.entry-Dr8FfT_W.js +0 -1060
  202. package/dist/cjs/nv-fieldmultiselect.entry-DycRd14V.js +0 -1060
  203. package/dist/cjs/nv-fieldnumber.entry-BHhIsjLK.js +0 -126
  204. package/dist/cjs/nv-fieldnumber.entry-BklKxOFA.js +0 -126
  205. package/dist/cjs/nv-fieldnumber.entry-C8zJkL24.js +0 -126
  206. package/dist/cjs/nv-fieldnumber.entry-C9rKWY_M.js +0 -126
  207. package/dist/cjs/nv-fieldnumber.entry-CEmPQK-3.js +0 -126
  208. package/dist/cjs/nv-fieldnumber.entry-CLhjFlCj.js +0 -126
  209. package/dist/cjs/nv-fieldnumber.entry-DZsM1vmO.js +0 -126
  210. package/dist/cjs/nv-fieldnumber.entry-ezdDvJh_.js +0 -126
  211. package/dist/cjs/nv-fieldpassword.entry-7lS0Msfg.js +0 -115
  212. package/dist/cjs/nv-fieldpassword.entry-B9-QFEsB.js +0 -115
  213. package/dist/cjs/nv-fieldpassword.entry-BIIoIKH4.js +0 -115
  214. package/dist/cjs/nv-fieldpassword.entry-BPhQxjsj.js +0 -115
  215. package/dist/cjs/nv-fieldpassword.entry-Biw__M2W.js +0 -115
  216. package/dist/cjs/nv-fieldpassword.entry-C5vG4jlh.js +0 -115
  217. package/dist/cjs/nv-fieldpassword.entry-C_jsHFJI.js +0 -115
  218. package/dist/cjs/nv-fieldpassword.entry-DZkGQwM8.js +0 -115
  219. package/dist/cjs/nv-fieldradio.entry-BgpmbG9E.js +0 -102
  220. package/dist/cjs/nv-fieldradio.entry-CXR4k3wf.js +0 -102
  221. package/dist/cjs/nv-fieldradio.entry-CnasQlEx.js +0 -102
  222. package/dist/cjs/nv-fieldradio.entry-Co7WX2vI.js +0 -102
  223. package/dist/cjs/nv-fieldradio.entry-DUDPigQb.js +0 -102
  224. package/dist/cjs/nv-fieldradio.entry-DiD7Luxv.js +0 -102
  225. package/dist/cjs/nv-fieldradio.entry-Ili2RVKl.js +0 -102
  226. package/dist/cjs/nv-fieldradio.entry-ZL7KgEZ7.js +0 -102
  227. package/dist/cjs/nv-fieldselect.entry-B94QXSEk.js +0 -365
  228. package/dist/cjs/nv-fieldselect.entry-BwtEjL08.js +0 -365
  229. package/dist/cjs/nv-fieldselect.entry-CFDqeR-D.js +0 -365
  230. package/dist/cjs/nv-fieldselect.entry-CJSu63o5.js +0 -365
  231. package/dist/cjs/nv-fieldselect.entry-CmN1R9ij.js +0 -365
  232. package/dist/cjs/nv-fieldselect.entry-CoDfr4ie.js +0 -365
  233. package/dist/cjs/nv-fieldselect.entry-D6eRsM9T.js +0 -365
  234. package/dist/cjs/nv-fieldselect.entry-DgmnHnOR.js +0 -365
  235. package/dist/cjs/nv-fieldtext.entry-BfQrX8ft.js +0 -119
  236. package/dist/cjs/nv-fieldtext.entry-BrUQu4OD.js +0 -119
  237. package/dist/cjs/nv-fieldtext.entry-CW6P-R-Q.js +0 -119
  238. package/dist/cjs/nv-fieldtext.entry-CyLJxDw6.js +0 -119
  239. package/dist/cjs/nv-fieldtext.entry-DDqDSJp3.js +0 -119
  240. package/dist/cjs/nv-fieldtext.entry-DKdxC2cG.js +0 -119
  241. package/dist/cjs/nv-fieldtext.entry-DRPCH6Sf.js +0 -119
  242. package/dist/cjs/nv-fieldtext.entry-IeIHa3jf.js +0 -119
  243. package/dist/cjs/nv-fieldtextarea.entry-D86SKGIN.js +0 -194
  244. package/dist/cjs/nv-fieldtextarea.entry-Dc_TGlmI.js +0 -194
  245. package/dist/cjs/nv-fieldtextarea.entry-DlFdCv_d.js +0 -194
  246. package/dist/cjs/nv-fieldtextarea.entry-DqzeITCG.js +0 -194
  247. package/dist/cjs/nv-fieldtextarea.entry-TI-bucN-.js +0 -194
  248. package/dist/cjs/nv-fieldtextarea.entry-qMX2O8cX.js +0 -194
  249. package/dist/cjs/nv-fieldtextarea.entry-tTnWQgE4.js +0 -194
  250. package/dist/cjs/nv-fieldtextarea.entry-v6VpnEuH.js +0 -194
  251. package/dist/cjs/nv-fieldtime.entry-CPyLyQfR.js +0 -1011
  252. package/dist/cjs/nv-fieldtime.entry-CXRtpWt1.js +0 -1011
  253. package/dist/cjs/nv-fieldtime.entry-CYmcHY1D.js +0 -1011
  254. package/dist/cjs/nv-fieldtime.entry-DGP1X4wF.js +0 -1011
  255. package/dist/cjs/nv-fieldtime.entry-DLSuRrlr.js +0 -1011
  256. package/dist/cjs/nv-fieldtime.entry-Zbjbmm7_.js +0 -1011
  257. package/dist/cjs/nv-fieldtime.entry-eDVRT6te.js +0 -1011
  258. package/dist/cjs/nv-fieldtime.entry-j-Fliiqj.js +0 -1011
  259. package/dist/cjs/nv-icon.entry-B0Y3rgBQ.js +0 -79
  260. package/dist/cjs/nv-icon.entry-B_wtREWb.js +0 -79
  261. package/dist/cjs/nv-icon.entry-CrKTCqY_.js +0 -79
  262. package/dist/cjs/nv-icon.entry-DRRmcXzh.js +0 -79
  263. package/dist/cjs/nv-icon.entry-Dlj1ko2i.js +0 -79
  264. package/dist/cjs/nv-icon.entry-S7WlK_lO.js +0 -79
  265. package/dist/cjs/nv-icon.entry-iipuvT3D.js +0 -79
  266. package/dist/cjs/nv-icon.entry-xltjoSa2.js +0 -79
  267. package/dist/cjs/nv-iconbutton_2.entry-B02iDUid.js +0 -163
  268. package/dist/cjs/nv-iconbutton_2.entry-BsXvYbCi.js +0 -163
  269. package/dist/cjs/nv-iconbutton_2.entry-C1Legk9t.js +0 -163
  270. package/dist/cjs/nv-iconbutton_2.entry-CUiW6MtK.js +0 -163
  271. package/dist/cjs/nv-iconbutton_2.entry-ClcvupMe.js +0 -163
  272. package/dist/cjs/nv-iconbutton_2.entry-D8hZ51H-.js +0 -163
  273. package/dist/cjs/nv-iconbutton_2.entry-Dx4usGkY.js +0 -163
  274. package/dist/cjs/nv-iconbutton_2.entry-QwaiOoYl.js +0 -163
  275. package/dist/cjs/nv-menu.entry-BfmYkdYY.js +0 -227
  276. package/dist/cjs/nv-menu.entry-CT98WIRF.js +0 -227
  277. package/dist/cjs/nv-menu.entry-CfERF478.js +0 -227
  278. package/dist/cjs/nv-menu.entry-Ci3I7PDt.js +0 -227
  279. package/dist/cjs/nv-menu.entry-DFEYw_KZ.js +0 -227
  280. package/dist/cjs/nv-menu.entry-DtLnsQW-.js +0 -227
  281. package/dist/cjs/nv-menu.entry-Kz5kGi2w.js +0 -227
  282. package/dist/cjs/nv-menu.entry-XdjjbAL6.js +0 -227
  283. package/dist/cjs/nv-menuitem.entry-3t6TixM7.js +0 -58
  284. package/dist/cjs/nv-menuitem.entry-BeTXOtir.js +0 -58
  285. package/dist/cjs/nv-menuitem.entry-C8nXPwP0.js +0 -58
  286. package/dist/cjs/nv-menuitem.entry-C9dsQqqN.js +0 -58
  287. package/dist/cjs/nv-menuitem.entry-Cedg0TCQ.js +0 -58
  288. package/dist/cjs/nv-menuitem.entry-CxCLeNsY.js +0 -58
  289. package/dist/cjs/nv-menuitem.entry-bPnSDq_9.js +0 -58
  290. package/dist/cjs/nv-menuitem.entry-sRx1fD0O.js +0 -58
  291. package/dist/cjs/nv-popover.entry-BGXEOQM6.js +0 -1960
  292. package/dist/cjs/nv-popover.entry-Bv6kuTK_.js +0 -1960
  293. package/dist/cjs/nv-popover.entry-C6HFJJ-m.js +0 -1960
  294. package/dist/cjs/nv-popover.entry-CiGCCbn9.js +0 -1960
  295. package/dist/cjs/nv-popover.entry-CjTPZYkq.js +0 -1960
  296. package/dist/cjs/nv-popover.entry-CtO6pR6l.js +0 -1960
  297. package/dist/cjs/nv-popover.entry-Mo3DNUH6.js +0 -1960
  298. package/dist/cjs/nv-popover.entry-Zt25YeAv.js +0 -1960
  299. package/dist/cjs/nv-row.entry-BEgyuDR-.js +0 -21
  300. package/dist/cjs/nv-row.entry-BM_EcSp4.js +0 -21
  301. package/dist/cjs/nv-row.entry-BPK1Li7w.js +0 -21
  302. package/dist/cjs/nv-row.entry-B_7PiJA7.js +0 -21
  303. package/dist/cjs/nv-row.entry-Ca7LiDAy.js +0 -21
  304. package/dist/cjs/nv-row.entry-Cy9vd2iY.js +0 -21
  305. package/dist/cjs/nv-row.entry-DKoNhAcX.js +0 -21
  306. package/dist/cjs/nv-row.entry-OYGKTXhV.js +0 -21
  307. package/dist/cjs/nv-stack.entry-BNyPxECg.js +0 -30
  308. package/dist/cjs/nv-stack.entry-ByaO-0TJ.js +0 -30
  309. package/dist/cjs/nv-stack.entry-C8ZFDaKn.js +0 -30
  310. package/dist/cjs/nv-stack.entry-CLMAAbkw.js +0 -30
  311. package/dist/cjs/nv-stack.entry-DfRRFeEo.js +0 -30
  312. package/dist/cjs/nv-stack.entry-DiXvhuSS.js +0 -30
  313. package/dist/cjs/nv-stack.entry-lwhqS230.js +0 -30
  314. package/dist/cjs/nv-stack.entry-u3NjC31-.js +0 -30
  315. package/dist/cjs/nv-table.entry-BNy2ALll.js +0 -338
  316. package/dist/cjs/nv-table.entry-BPazUUGA.js +0 -338
  317. package/dist/cjs/nv-table.entry-C7Hd57Iq.js +0 -338
  318. package/dist/cjs/nv-table.entry-COwgRxqz.js +0 -338
  319. package/dist/cjs/nv-table.entry-CTo8cqCN.js +0 -338
  320. package/dist/cjs/nv-table.entry-D3U4dFcw.js +0 -338
  321. package/dist/cjs/nv-table.entry-DzOGLNUx.js +0 -338
  322. package/dist/cjs/nv-table.entry-o525Lfea.js +0 -338
  323. package/dist/cjs/nv-tablecolumn.entry-BESdQMDh.js +0 -18
  324. package/dist/cjs/nv-tablecolumn.entry-BzwWPlLf.js +0 -18
  325. package/dist/cjs/nv-tablecolumn.entry-CuEt5Wgn.js +0 -18
  326. package/dist/cjs/nv-tablecolumn.entry-D3I1dB1X.js +0 -18
  327. package/dist/cjs/nv-tablecolumn.entry-DvJF_QTE.js +0 -18
  328. package/dist/cjs/nv-tablecolumn.entry-DvO0JxdY.js +0 -18
  329. package/dist/cjs/nv-tablecolumn.entry-L4KLlHFu.js +0 -18
  330. package/dist/cjs/nv-tablecolumn.entry-vrmt1Y0L.js +0 -18
  331. package/dist/cjs/nv-toggle.entry-BIclNIeq.js +0 -79
  332. package/dist/cjs/nv-toggle.entry-BTqGH_H0.js +0 -79
  333. package/dist/cjs/nv-toggle.entry-Bv0DrF-x.js +0 -79
  334. package/dist/cjs/nv-toggle.entry-BxKZDHdI.js +0 -79
  335. package/dist/cjs/nv-toggle.entry-DYhnFucd.js +0 -79
  336. package/dist/cjs/nv-toggle.entry-PRWy57Ro.js +0 -79
  337. package/dist/cjs/nv-toggle.entry-fDIAyeVX.js +0 -79
  338. package/dist/cjs/nv-toggle.entry-yqg7e7Qc.js +0 -79
  339. package/dist/cjs/nv-tooltip.entry--TVfBopp.js +0 -44
  340. package/dist/cjs/nv-tooltip.entry-58RCazbO.js +0 -44
  341. package/dist/cjs/nv-tooltip.entry-BBJNnZmj.js +0 -44
  342. package/dist/cjs/nv-tooltip.entry-BDZfrLHv.js +0 -44
  343. package/dist/cjs/nv-tooltip.entry-Bnu7xEl6.js +0 -44
  344. package/dist/cjs/nv-tooltip.entry-BrrSQyMx.js +0 -44
  345. package/dist/cjs/nv-tooltip.entry-ChQpdQn_.js +0 -44
  346. package/dist/cjs/nv-tooltip.entry-CvCZZV88.js +0 -44
@@ -1,162 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-CDe7nrrW.js');
4
- var constants98e2dcc2 = require('./constants-98e2dcc2-C0SBCapP.js');
5
- require('react');
6
-
7
- const nvButtonCss = "nv-button{text-decoration:none;display:inline-flex;justify-content:center;align-items:center;font-style:normal;font-weight:var(--font-weight-medium-emphasis);font-family:\"TT Norms Pro\", sans-serif;transition:background-color 150ms ease-out;user-select:none;cursor:pointer;height:fit-content;width:fit-content}nv-button[size=xs]{padding:var(--button-xs-padding-y) var(--button-xs-padding-x);gap:var(--button-xs-gap);border-radius:var(--button-xs-border-radius);line-height:var(--button-xs-line-height);font-size:var(--button-xs-font-size)}nv-button[size=xs] nv-icon>svg{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-button[size=sm]{padding:var(--button-sm-padding-y) var(--button-sm-padding-x);gap:var(--button-sm-gap);border-radius:var(--button-sm-border-radius);line-height:var(--button-sm-line-height);font-size:var(--button-sm-font-size)}nv-button[size=sm] nv-icon>svg{width:var(--spacing-4);height:var(--spacing-4);stroke-width:1.5px}nv-button[size=md]{padding:var(--button-md-padding-y) var(--button-md-padding-x);gap:var(--button-md-gap);border-radius:var(--button-md-border-radius);line-height:var(--button-md-line-height);font-size:var(--button-md-font-size)}nv-button[size=md] nv-icon>svg{width:var(--spacing-5);height:var(--spacing-5);stroke-width:1.6px}nv-button[size=lg]{padding:var(--button-lg-padding-y) var(--button-lg-padding-x);gap:var(--button-lg-gap);border-radius:var(--button-lg-border-radius);line-height:var(--button-lg-line-height);font-size:var(--button-lg-font-size)}nv-button[size=lg] nv-icon>svg{width:var(--spacing-6);height:var(--spacing-6);stroke-width:1.8px}nv-button[emphasis=high]{background:var(--components-button-high-background);border:1px solid var(--components-button-high-border);color:var(--components-button-high-text)}nv-button[emphasis=high]:hover{background:var(--components-button-high-background-hover);border:1px solid var(--components-button-high-border);color:var(--components-button-high-text-hover)}nv-button[emphasis=high]:active{background:var(--components-button-high-background-active);border:1px solid var(--components-button-high-border-active);color:var(--components-button-high-text-active)}nv-button[emphasis=high]:focus,nv-button[emphasis=high]:focus-within{outline:none}nv-button[emphasis=high]:focus-visible,nv-button[emphasis=high]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=high]:disabled:not([disabled=false]){opacity:0.5;cursor:not-allowed;box-shadow:none}nv-button[emphasis=high][active]:not([active=false]){background:var(--components-button-high-background-active);border:1px solid var(--components-button-high-border-active);color:var(--components-button-high-text-active)}nv-button[emphasis=high][danger]:not([danger=false]){background:var(--components-button-destructive-high-background);border:1px solid transparent;color:var(--components-button-destructive-high-text)}nv-button[emphasis=high][danger]:not([danger=false]):hover{background:var(--components-button-destructive-high-background-hover);border:1px solid transparent;color:var(--components-button-destructive-high-text-hover)}nv-button[emphasis=high][danger]:not([danger=false]):focus,nv-button[emphasis=high][danger]:not([danger=false]):focus-within{outline:none}nv-button[emphasis=high][danger]:not([danger=false]):focus-visible,nv-button[emphasis=high][danger]:not([danger=false]):has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=medium]{background:var(--components-button-medium-background);border:1px solid var(--components-button-medium-border);color:var(--components-button-medium-text)}nv-button[emphasis=medium]:hover{background:var(--components-button-medium-background-hover);border:1px solid var(--components-button-medium-border);color:var(--components-button-medium-text-hover)}nv-button[emphasis=medium]:active{background:var(--components-button-medium-background-active);border:1px solid var(--components-button-medium-border-active);color:var(--components-button-medium-text-active)}nv-button[emphasis=medium]:focus,nv-button[emphasis=medium]:focus-within{outline:none}nv-button[emphasis=medium]:focus-visible,nv-button[emphasis=medium]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=medium]:disabled:not([disabled=false]){opacity:0.5;cursor:not-allowed;box-shadow:none}nv-button[emphasis=medium][active]:not([active=false]){background:var(--components-button-medium-background-active);border:1px solid var(--components-button-medium-border-active);color:var(--components-button-medium-text-active)}nv-button[emphasis=medium][danger]:not([danger=false]){background:var(--components-button-destructive-medium-background);border:1px solid var(--components-button-destructive-medium-border);color:var(--components-button-destructive-medium-text)}nv-button[emphasis=medium][danger]:not([danger=false]):hover{background:var(--components-button-destructive-medium-background-hover);border:1px solid var(--components-button-destructive-medium-border);color:var(--components-button-destructive-medium-text-hover)}nv-button[emphasis=medium][danger]:not([danger=false]):focus,nv-button[emphasis=medium][danger]:not([danger=false]):focus-within{outline:none}nv-button[emphasis=medium][danger]:not([danger=false]):focus-visible,nv-button[emphasis=medium][danger]:not([danger=false]):has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=low]{background:var(--components-button-low-background);border:1px solid var(--components-button-low-border);color:var(--components-button-low-text)}nv-button[emphasis=low]:hover{background:var(--components-button-low-background-hover);border:1px solid var(--components-button-low-border);color:var(--components-button-low-text-hover)}nv-button[emphasis=low]:active{background:var(--components-button-low-background-active);border:1px solid var(--components-button-low-border-active);color:var(--components-button-low-text-active)}nv-button[emphasis=low]:focus,nv-button[emphasis=low]:focus-within{outline:none}nv-button[emphasis=low]:focus-visible,nv-button[emphasis=low]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=low]:disabled:not([disabled=false]){opacity:0.5;cursor:not-allowed;box-shadow:none}nv-button[emphasis=low][active]:not([active=false]){background:var(--components-button-low-background-active);border:1px solid var(--components-button-low-border-active);color:var(--components-button-low-text-active)}nv-button[emphasis=low][danger]:not([danger=false]){background:var(--components-button-destructive-low-background);border:1px solid var(--components-button-destructive-low-border);color:var(--components-button-destructive-low-text)}nv-button[emphasis=low][danger]:not([danger=false]):hover{background:var(--components-button-destructive-low-background-hover);border:1px solid var(--components-button-destructive-low-border);color:var(--components-button-destructive-low-text-hover)}nv-button[emphasis=low][danger]:not([danger=false]):focus,nv-button[emphasis=low][danger]:not([danger=false]):focus-within{outline:none}nv-button[emphasis=low][danger]:not([danger=false]):focus-visible,nv-button[emphasis=low][danger]:not([danger=false]):has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=lower]{background:var(--components-button-lower-background);border:1px solid var(--components-button-lower-border);color:var(--components-button-lower-text)}nv-button[emphasis=lower]:hover{background:var(--components-button-lower-background-hover);border:1px solid var(--components-button-lower-border);color:var(--components-button-lower-text-hover)}nv-button[emphasis=lower]:active{background:var(--components-button-lower-background-active);border:1px solid var(--components-button-lower-border-active);color:var(--components-button-lower-text-active)}nv-button[emphasis=lower]:focus,nv-button[emphasis=lower]:focus-within{outline:none}nv-button[emphasis=lower]:focus-visible,nv-button[emphasis=lower]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=lower]:disabled:not([disabled=false]){opacity:0.5;cursor:not-allowed;box-shadow:none}nv-button[emphasis=lower][active]:not([active=false]){background:var(--components-button-lower-background-active);border:1px solid var(--components-button-lower-border-active);color:var(--components-button-lower-text-active)}nv-button[emphasis=lower][danger]:not([danger=false]){background:var(--components-button-destructive-lower-background);border:1px solid var(--components-button-destructive-lower-border);color:var(--components-button-destructive-lower-text)}nv-button[emphasis=lower][danger]:not([danger=false]):hover{background:var(--components-button-destructive-lower-background-hover);border:1px solid var(--components-button-destructive-lower-border);color:var(--components-button-destructive-lower-text-hover)}nv-button[emphasis=lower][danger]:not([danger=false]):focus,nv-button[emphasis=lower][danger]:not([danger=false]):focus-within{outline:none}nv-button[emphasis=lower][danger]:not([danger=false]):focus-visible,nv-button[emphasis=lower][danger]:not([danger=false]):has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[fluid]:not([fluid=false]){width:100%}nv-button[loading]:not([loading=false]) [slot=leading-icon]{display:none}";
8
- const NvButtonStyle0 = nvButtonCss;
9
-
10
- const NvButton = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- if (hostRef.$hostElement$["s-ei"]) {
14
- this.internals = hostRef.$hostElement$["s-ei"];
15
- }
16
- else {
17
- this.internals = hostRef.$hostElement$.attachInternals();
18
- hostRef.$hostElement$["s-ei"] = this.internals;
19
- }
20
- /****************************************************************************/
21
- //#region PROPERTIES
22
- /**
23
- * Determines how large or small the button appears, allowing for
24
- * customization of the button's dimensions to fit different design
25
- * specifications and user needs.
26
- */
27
- this.size = 'md';
28
- /**
29
- * Adjusts the button's emphasis to make it more or less visually prominent
30
- * to users. Use this to draw attention to important actions or reduce focus
31
- * on less critical ones
32
- */
33
- this.emphasis = 'high';
34
- /**
35
- * Use this prop to highlight the button when it represents the current page
36
- * or active selection. This helps users understand their navigation context.
37
- */
38
- this.active = false;
39
- /**
40
- * Applies styling that visually indicates the button represents a dangerous
41
- * action.
42
- */
43
- this.danger = false;
44
- /**
45
- * Set this to true to show a spinner on the button, letting users know that
46
- * their action is being processed. It helps improve user experience by
47
- * indicating ongoing activities.
48
- */
49
- this.loading = false;
50
- /**
51
- * Disables the button, preventing user interaction.
52
- */
53
- this.disabled = false;
54
- /**
55
- * Allows the button to stretch and fill the entire width of its container.
56
- */
57
- this.fluid = false;
58
- /**
59
- * Sets the button type to control its function in forms. Use 'submit' to send
60
- * form data, 'reset' to clear the form, or 'button' for a standard button
61
- * that doesn't interact with form submission by default.
62
- */
63
- this.type = 'button';
64
- //#endregion PROPERTIES
65
- /****************************************************************************/
66
- //#region METHODS
67
- /**
68
- * Handles button click events, managing form actions and disabled states.
69
- * Prevents default behavior when button is disabled or loading, and
70
- * processes form submissions/resets when appropriate.
71
- * @param {Event} event - The click event.
72
- */
73
- this.handleButtonClick = (event) => {
74
- if (this.loading || this.disabled) {
75
- event.preventDefault();
76
- return;
77
- }
78
- if (this.form && this.type !== constants98e2dcc2.ButtonType.Button) {
79
- this.processFormAction();
80
- }
81
- else if (this.form) {
82
- console.warn('Button has a form id but is not of type submit or reset so no form action will be processed.', `Button:`, this.el);
83
- }
84
- };
85
- /**
86
- * Processes form-related actions by finding the associated form element
87
- * and triggering the appropriate action (submit/reset) based on button type.
88
- * Falls back to ElementInternals form if no explicit form ID is provided.
89
- */
90
- this.processFormAction = () => {
91
- var _a, _b;
92
- const formElement = this.form
93
- ? document.getElementById(this.form)
94
- : (_a = this.internals) === null || _a === void 0 ? void 0 : _a.form;
95
- if (!formElement) {
96
- console.warn('No form element found.', `Form ID: ${this.form || 'Not provided'}`, `Internals form:`, (_b = this.internals) === null || _b === void 0 ? void 0 : _b.form);
97
- return;
98
- }
99
- switch (this.type) {
100
- case constants98e2dcc2.ButtonType.Submit:
101
- formElement.requestSubmit();
102
- break;
103
- case constants98e2dcc2.ButtonType.Reset:
104
- formElement.reset();
105
- break;
106
- }
107
- };
108
- }
109
- //#endregion METHODS
110
- /****************************************************************************/
111
- //#region EVENTS
112
- handleKeyDown(event) {
113
- if (event.key === 'Enter' || event.key === ' ') {
114
- event.preventDefault();
115
- this.el.click();
116
- }
117
- }
118
- handleTouchStart(event) {
119
- if (event.touches.length > 1)
120
- return;
121
- event.preventDefault();
122
- this.el.click();
123
- }
124
- //#endregion EVENTS
125
- /****************************************************************************/
126
- //#region WATCHERS
127
- handleLoadingChange(loading) {
128
- this.loading = loading;
129
- this.disabled = loading;
130
- }
131
- handleDisabledChange(disabled) {
132
- if (this.loading) {
133
- this.disabled = this.loading;
134
- }
135
- else {
136
- this.disabled = disabled;
137
- }
138
- }
139
- //#endregion WATCHERS
140
- /****************************************************************************/
141
- //#region LIFECYCLE
142
- componentWillLoad() {
143
- if (this.loading) {
144
- this.disabled = this.loading;
145
- }
146
- }
147
- //#endregion LIFECYCLE
148
- /****************************************************************************/
149
- //#region RENDER
150
- render() {
151
- return (index.h(index.Host, { key: 'ce23409ff3490c0a34cb0e8e02a0b622350988da', role: "button", tabindex: "0", onClick: this.handleButtonClick }, this.loading && (index.h("nv-loader", { key: 'b39faa3b12e4c224c57f8ebdcd121ec849d00357', size: this.size === constants98e2dcc2.ButtonSize.Large ? 'sm' : 'xs' })), index.h("slot", { key: 'aa0fc084356097055b47895c692565edfa408f3b', name: "leading-icon" }), index.h("slot", { key: '2da9c926276db10d43adb5f62e26658d87c62b09' }), index.h("slot", { key: 'e89806c7fd814a74e8d3f2ed7c160e67ce385dc2', name: "trailing-icon" })));
152
- }
153
- static get formAssociated() { return true; }
154
- get el() { return index.getElement(this); }
155
- static get watchers() { return {
156
- "loading": ["handleLoadingChange"],
157
- "disabled": ["handleDisabledChange"]
158
- }; }
159
- };
160
- NvButton.style = NvButtonStyle0;
161
-
162
- exports.nv_button = NvButton;
@@ -1,162 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-C8UfzrMI.js');
4
- var constants98e2dcc2 = require('./constants-98e2dcc2-C0SBCapP.js');
5
- require('react');
6
-
7
- const nvButtonCss = "nv-button{text-decoration:none;display:inline-flex;justify-content:center;align-items:center;font-style:normal;font-weight:var(--font-weight-medium-emphasis);font-family:\"TT Norms Pro\", sans-serif;transition:background-color 150ms ease-out;user-select:none;cursor:pointer;height:fit-content;width:fit-content}nv-button[size=xs]{padding:var(--button-xs-padding-y) var(--button-xs-padding-x);gap:var(--button-xs-gap);border-radius:var(--button-xs-border-radius);line-height:var(--button-xs-line-height);font-size:var(--button-xs-font-size)}nv-button[size=xs] nv-icon>svg{width:var(--spacing-3);height:var(--spacing-3);stroke-width:1.2px}nv-button[size=sm]{padding:var(--button-sm-padding-y) var(--button-sm-padding-x);gap:var(--button-sm-gap);border-radius:var(--button-sm-border-radius);line-height:var(--button-sm-line-height);font-size:var(--button-sm-font-size)}nv-button[size=sm] nv-icon>svg{width:var(--spacing-4);height:var(--spacing-4);stroke-width:1.5px}nv-button[size=md]{padding:var(--button-md-padding-y) var(--button-md-padding-x);gap:var(--button-md-gap);border-radius:var(--button-md-border-radius);line-height:var(--button-md-line-height);font-size:var(--button-md-font-size)}nv-button[size=md] nv-icon>svg{width:var(--spacing-5);height:var(--spacing-5);stroke-width:1.6px}nv-button[size=lg]{padding:var(--button-lg-padding-y) var(--button-lg-padding-x);gap:var(--button-lg-gap);border-radius:var(--button-lg-border-radius);line-height:var(--button-lg-line-height);font-size:var(--button-lg-font-size)}nv-button[size=lg] nv-icon>svg{width:var(--spacing-6);height:var(--spacing-6);stroke-width:1.8px}nv-button[emphasis=high]{background:var(--components-button-high-background);border:1px solid var(--components-button-high-border);color:var(--components-button-high-text)}nv-button[emphasis=high]:hover{background:var(--components-button-high-background-hover);border:1px solid var(--components-button-high-border);color:var(--components-button-high-text-hover)}nv-button[emphasis=high]:active{background:var(--components-button-high-background-active);border:1px solid var(--components-button-high-border-active);color:var(--components-button-high-text-active)}nv-button[emphasis=high]:focus,nv-button[emphasis=high]:focus-within{outline:none}nv-button[emphasis=high]:focus-visible,nv-button[emphasis=high]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=high]:disabled:not([disabled=false]){opacity:0.5;cursor:not-allowed;box-shadow:none}nv-button[emphasis=high][active]:not([active=false]){background:var(--components-button-high-background-active);border:1px solid var(--components-button-high-border-active);color:var(--components-button-high-text-active)}nv-button[emphasis=high][danger]:not([danger=false]){background:var(--components-button-destructive-high-background);border:1px solid transparent;color:var(--components-button-destructive-high-text)}nv-button[emphasis=high][danger]:not([danger=false]):hover{background:var(--components-button-destructive-high-background-hover);border:1px solid transparent;color:var(--components-button-destructive-high-text-hover)}nv-button[emphasis=high][danger]:not([danger=false]):focus,nv-button[emphasis=high][danger]:not([danger=false]):focus-within{outline:none}nv-button[emphasis=high][danger]:not([danger=false]):focus-visible,nv-button[emphasis=high][danger]:not([danger=false]):has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=medium]{background:var(--components-button-medium-background);border:1px solid var(--components-button-medium-border);color:var(--components-button-medium-text)}nv-button[emphasis=medium]:hover{background:var(--components-button-medium-background-hover);border:1px solid var(--components-button-medium-border);color:var(--components-button-medium-text-hover)}nv-button[emphasis=medium]:active{background:var(--components-button-medium-background-active);border:1px solid var(--components-button-medium-border-active);color:var(--components-button-medium-text-active)}nv-button[emphasis=medium]:focus,nv-button[emphasis=medium]:focus-within{outline:none}nv-button[emphasis=medium]:focus-visible,nv-button[emphasis=medium]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=medium]:disabled:not([disabled=false]){opacity:0.5;cursor:not-allowed;box-shadow:none}nv-button[emphasis=medium][active]:not([active=false]){background:var(--components-button-medium-background-active);border:1px solid var(--components-button-medium-border-active);color:var(--components-button-medium-text-active)}nv-button[emphasis=medium][danger]:not([danger=false]){background:var(--components-button-destructive-medium-background);border:1px solid var(--components-button-destructive-medium-border);color:var(--components-button-destructive-medium-text)}nv-button[emphasis=medium][danger]:not([danger=false]):hover{background:var(--components-button-destructive-medium-background-hover);border:1px solid var(--components-button-destructive-medium-border);color:var(--components-button-destructive-medium-text-hover)}nv-button[emphasis=medium][danger]:not([danger=false]):focus,nv-button[emphasis=medium][danger]:not([danger=false]):focus-within{outline:none}nv-button[emphasis=medium][danger]:not([danger=false]):focus-visible,nv-button[emphasis=medium][danger]:not([danger=false]):has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=low]{background:var(--components-button-low-background);border:1px solid var(--components-button-low-border);color:var(--components-button-low-text)}nv-button[emphasis=low]:hover{background:var(--components-button-low-background-hover);border:1px solid var(--components-button-low-border);color:var(--components-button-low-text-hover)}nv-button[emphasis=low]:active{background:var(--components-button-low-background-active);border:1px solid var(--components-button-low-border-active);color:var(--components-button-low-text-active)}nv-button[emphasis=low]:focus,nv-button[emphasis=low]:focus-within{outline:none}nv-button[emphasis=low]:focus-visible,nv-button[emphasis=low]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=low]:disabled:not([disabled=false]){opacity:0.5;cursor:not-allowed;box-shadow:none}nv-button[emphasis=low][active]:not([active=false]){background:var(--components-button-low-background-active);border:1px solid var(--components-button-low-border-active);color:var(--components-button-low-text-active)}nv-button[emphasis=low][danger]:not([danger=false]){background:var(--components-button-destructive-low-background);border:1px solid var(--components-button-destructive-low-border);color:var(--components-button-destructive-low-text)}nv-button[emphasis=low][danger]:not([danger=false]):hover{background:var(--components-button-destructive-low-background-hover);border:1px solid var(--components-button-destructive-low-border);color:var(--components-button-destructive-low-text-hover)}nv-button[emphasis=low][danger]:not([danger=false]):focus,nv-button[emphasis=low][danger]:not([danger=false]):focus-within{outline:none}nv-button[emphasis=low][danger]:not([danger=false]):focus-visible,nv-button[emphasis=low][danger]:not([danger=false]):has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=lower]{background:var(--components-button-lower-background);border:1px solid var(--components-button-lower-border);color:var(--components-button-lower-text)}nv-button[emphasis=lower]:hover{background:var(--components-button-lower-background-hover);border:1px solid var(--components-button-lower-border);color:var(--components-button-lower-text-hover)}nv-button[emphasis=lower]:active{background:var(--components-button-lower-background-active);border:1px solid var(--components-button-lower-border-active);color:var(--components-button-lower-text-active)}nv-button[emphasis=lower]:focus,nv-button[emphasis=lower]:focus-within{outline:none}nv-button[emphasis=lower]:focus-visible,nv-button[emphasis=lower]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[emphasis=lower]:disabled:not([disabled=false]){opacity:0.5;cursor:not-allowed;box-shadow:none}nv-button[emphasis=lower][active]:not([active=false]){background:var(--components-button-lower-background-active);border:1px solid var(--components-button-lower-border-active);color:var(--components-button-lower-text-active)}nv-button[emphasis=lower][danger]:not([danger=false]){background:var(--components-button-destructive-lower-background);border:1px solid var(--components-button-destructive-lower-border);color:var(--components-button-destructive-lower-text)}nv-button[emphasis=lower][danger]:not([danger=false]):hover{background:var(--components-button-destructive-lower-background-hover);border:1px solid var(--components-button-destructive-lower-border);color:var(--components-button-destructive-lower-text-hover)}nv-button[emphasis=lower][danger]:not([danger=false]):focus,nv-button[emphasis=lower][danger]:not([danger=false]):focus-within{outline:none}nv-button[emphasis=lower][danger]:not([danger=false]):focus-visible,nv-button[emphasis=lower][danger]:not([danger=false]):has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-destructive);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-button[fluid]:not([fluid=false]){width:100%}nv-button[loading]:not([loading=false]) [slot=leading-icon]{display:none}";
8
- const NvButtonStyle0 = nvButtonCss;
9
-
10
- const NvButton = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- if (hostRef.$hostElement$["s-ei"]) {
14
- this.internals = hostRef.$hostElement$["s-ei"];
15
- }
16
- else {
17
- this.internals = hostRef.$hostElement$.attachInternals();
18
- hostRef.$hostElement$["s-ei"] = this.internals;
19
- }
20
- /****************************************************************************/
21
- //#region PROPERTIES
22
- /**
23
- * Determines how large or small the button appears, allowing for
24
- * customization of the button's dimensions to fit different design
25
- * specifications and user needs.
26
- */
27
- this.size = 'md';
28
- /**
29
- * Adjusts the button's emphasis to make it more or less visually prominent
30
- * to users. Use this to draw attention to important actions or reduce focus
31
- * on less critical ones
32
- */
33
- this.emphasis = 'high';
34
- /**
35
- * Use this prop to highlight the button when it represents the current page
36
- * or active selection. This helps users understand their navigation context.
37
- */
38
- this.active = false;
39
- /**
40
- * Applies styling that visually indicates the button represents a dangerous
41
- * action.
42
- */
43
- this.danger = false;
44
- /**
45
- * Set this to true to show a spinner on the button, letting users know that
46
- * their action is being processed. It helps improve user experience by
47
- * indicating ongoing activities.
48
- */
49
- this.loading = false;
50
- /**
51
- * Disables the button, preventing user interaction.
52
- */
53
- this.disabled = false;
54
- /**
55
- * Allows the button to stretch and fill the entire width of its container.
56
- */
57
- this.fluid = false;
58
- /**
59
- * Sets the button type to control its function in forms. Use 'submit' to send
60
- * form data, 'reset' to clear the form, or 'button' for a standard button
61
- * that doesn't interact with form submission by default.
62
- */
63
- this.type = 'button';
64
- //#endregion PROPERTIES
65
- /****************************************************************************/
66
- //#region METHODS
67
- /**
68
- * Handles button click events, managing form actions and disabled states.
69
- * Prevents default behavior when button is disabled or loading, and
70
- * processes form submissions/resets when appropriate.
71
- * @param {Event} event - The click event.
72
- */
73
- this.handleButtonClick = (event) => {
74
- if (this.loading || this.disabled) {
75
- event.preventDefault();
76
- return;
77
- }
78
- if (this.form && this.type !== constants98e2dcc2.ButtonType.Button) {
79
- this.processFormAction();
80
- }
81
- else if (this.form) {
82
- console.warn('Button has a form id but is not of type submit or reset so no form action will be processed.', `Button:`, this.el);
83
- }
84
- };
85
- /**
86
- * Processes form-related actions by finding the associated form element
87
- * and triggering the appropriate action (submit/reset) based on button type.
88
- * Falls back to ElementInternals form if no explicit form ID is provided.
89
- */
90
- this.processFormAction = () => {
91
- var _a, _b;
92
- const formElement = this.form
93
- ? document.getElementById(this.form)
94
- : (_a = this.internals) === null || _a === void 0 ? void 0 : _a.form;
95
- if (!formElement) {
96
- console.warn('No form element found.', `Form ID: ${this.form || 'Not provided'}`, `Internals form:`, (_b = this.internals) === null || _b === void 0 ? void 0 : _b.form);
97
- return;
98
- }
99
- switch (this.type) {
100
- case constants98e2dcc2.ButtonType.Submit:
101
- formElement.requestSubmit();
102
- break;
103
- case constants98e2dcc2.ButtonType.Reset:
104
- formElement.reset();
105
- break;
106
- }
107
- };
108
- }
109
- //#endregion METHODS
110
- /****************************************************************************/
111
- //#region EVENTS
112
- handleKeyDown(event) {
113
- if (event.key === 'Enter' || event.key === ' ') {
114
- event.preventDefault();
115
- this.el.click();
116
- }
117
- }
118
- handleTouchStart(event) {
119
- if (event.touches.length > 1)
120
- return;
121
- event.preventDefault();
122
- this.el.click();
123
- }
124
- //#endregion EVENTS
125
- /****************************************************************************/
126
- //#region WATCHERS
127
- handleLoadingChange(loading) {
128
- this.loading = loading;
129
- this.disabled = loading;
130
- }
131
- handleDisabledChange(disabled) {
132
- if (this.loading) {
133
- this.disabled = this.loading;
134
- }
135
- else {
136
- this.disabled = disabled;
137
- }
138
- }
139
- //#endregion WATCHERS
140
- /****************************************************************************/
141
- //#region LIFECYCLE
142
- componentWillLoad() {
143
- if (this.loading) {
144
- this.disabled = this.loading;
145
- }
146
- }
147
- //#endregion LIFECYCLE
148
- /****************************************************************************/
149
- //#region RENDER
150
- render() {
151
- return (index.h(index.Host, { key: 'bd4fa51791ea88aeffba33f5be108807d0d31dc3', role: "button", tabindex: "0", onClick: this.handleButtonClick }, this.loading && (index.h("nv-loader", { key: '4a48de90f85da844af2114737751619181ddbddd', size: this.size === constants98e2dcc2.ButtonSize.Large ? 'sm' : 'xs' })), index.h("slot", { key: 'c48a34e20a792ff7d139488a0dc5e373f7e67c23', name: "leading-icon" }), index.h("slot", { key: '5d151e40abf25f0089d4980e85eabfff944d3b99' }), index.h("slot", { key: 'e0029a972441daa1abfee3a3bca5c62abf284586', name: "trailing-icon" })));
152
- }
153
- static get formAssociated() { return true; }
154
- get el() { return index.getElement(this); }
155
- static get watchers() { return {
156
- "loading": ["handleLoadingChange"],
157
- "disabled": ["handleDisabledChange"]
158
- }; }
159
- };
160
- NvButton.style = NvButtonStyle0;
161
-
162
- exports.nv_button = NvButton;