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

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 (270) hide show
  1. package/dist/cjs/index-BZCQTWfv.js +26372 -0
  2. package/dist/cjs/index-B_VOAJzk.js +26373 -0
  3. package/dist/cjs/index-CDe7nrrW.js +26373 -0
  4. package/dist/cjs/index-CEWbQ5nh.js +26373 -0
  5. package/dist/cjs/index-CIcUUomJ.js +26373 -0
  6. package/dist/cjs/index-CtI3SivD.js +26373 -0
  7. package/dist/cjs/index-wDACGzKb.js +26373 -0
  8. package/dist/cjs/index.js +1 -1
  9. package/dist/cjs/nv-alert.entry-B-P-Fgdo.js +173 -0
  10. package/dist/cjs/nv-alert.entry-B3NpZh1C.js +173 -0
  11. package/dist/cjs/nv-alert.entry-BU86GY-d.js +173 -0
  12. package/dist/cjs/nv-alert.entry-CwZcD170.js +173 -0
  13. package/dist/cjs/nv-alert.entry-CxSN1zpW.js +173 -0
  14. package/dist/cjs/nv-alert.entry-DsoqN5tQ.js +173 -0
  15. package/dist/cjs/nv-alert.entry-xuY-Lvuj.js +173 -0
  16. package/dist/cjs/nv-avatar.entry-CFgnor0-.js +67 -0
  17. package/dist/cjs/nv-avatar.entry-DJkpupVT.js +67 -0
  18. package/dist/cjs/nv-avatar.entry-DKXMQPOz.js +67 -0
  19. package/dist/cjs/nv-avatar.entry-DWOADxdQ.js +67 -0
  20. package/dist/cjs/nv-avatar.entry-DjyiGt07.js +67 -0
  21. package/dist/cjs/nv-avatar.entry-DuN1d3Vy.js +67 -0
  22. package/dist/cjs/nv-avatar.entry-yyLQEqI7.js +67 -0
  23. package/dist/cjs/nv-badge_2.entry-BFURAuBQ.js +195 -0
  24. package/dist/cjs/nv-badge_2.entry-BQXL0ZhP.js +195 -0
  25. package/dist/cjs/nv-badge_2.entry-CJQWS2xG.js +195 -0
  26. package/dist/cjs/nv-badge_2.entry-D0jeqYIQ.js +195 -0
  27. package/dist/cjs/nv-badge_2.entry-DKGHx4c8.js +194 -0
  28. package/dist/cjs/nv-badge_2.entry-Drgx-565.js +195 -0
  29. package/dist/cjs/nv-badge_2.entry-im1VnU5f.js +195 -0
  30. package/dist/cjs/nv-base.entry-9HF044Di.js +71 -0
  31. package/dist/cjs/nv-base.entry-BmY-1Lne.js +71 -0
  32. package/dist/cjs/nv-base.entry-BuxI7QmU.js +71 -0
  33. package/dist/cjs/nv-base.entry-CcaAXjnO.js +71 -0
  34. package/dist/cjs/nv-base.entry-Ch8ncPl0.js +71 -0
  35. package/dist/cjs/nv-base.entry-D7gUvPIG.js +71 -0
  36. package/dist/cjs/nv-base.entry-c723sI4Y.js +71 -0
  37. package/dist/cjs/nv-breadcrumb.entry-B9rOxsg_.js +45 -0
  38. package/dist/cjs/nv-breadcrumb.entry-BtM_AHRC.js +45 -0
  39. package/dist/cjs/nv-breadcrumb.entry-C-xHbSJw.js +45 -0
  40. package/dist/cjs/nv-breadcrumb.entry-CL9l0Wkr.js +45 -0
  41. package/dist/cjs/nv-breadcrumb.entry-CxGReUqZ.js +45 -0
  42. package/dist/cjs/nv-breadcrumb.entry-LYt0sALP.js +45 -0
  43. package/dist/cjs/nv-breadcrumb.entry-wy-P2BMg.js +45 -0
  44. package/dist/cjs/nv-breadcrumbs.entry-9LlUycIv.js +20 -0
  45. package/dist/cjs/nv-breadcrumbs.entry-B7CaTbBe.js +20 -0
  46. package/dist/cjs/nv-breadcrumbs.entry-BA-TnreZ.js +20 -0
  47. package/dist/cjs/nv-breadcrumbs.entry-CEmZ3yFi.js +20 -0
  48. package/dist/cjs/nv-breadcrumbs.entry-De5lsjQf.js +20 -0
  49. package/dist/cjs/nv-breadcrumbs.entry-_w38BddR.js +20 -0
  50. package/dist/cjs/nv-breadcrumbs.entry-ubxLcEUH.js +20 -0
  51. package/dist/cjs/nv-button.entry-B3rEQuGV.js +162 -0
  52. package/dist/cjs/nv-button.entry-B5-Wf9hh.js +162 -0
  53. package/dist/cjs/nv-button.entry-CBNfIn-r.js +162 -0
  54. package/dist/cjs/nv-button.entry-D-DPQDNM.js +162 -0
  55. package/dist/cjs/nv-button.entry-DHZX7KH4.js +162 -0
  56. package/dist/cjs/nv-button.entry-DLoECCSK.js +162 -0
  57. package/dist/cjs/nv-button.entry-Dk6DqHG2.js +162 -0
  58. package/dist/cjs/nv-calendar.entry-BeCCaAVE.js +1036 -0
  59. package/dist/cjs/nv-calendar.entry-DNyH8T5e.js +1036 -0
  60. package/dist/cjs/nv-calendar.entry-DSWhDnEC.js +1036 -0
  61. package/dist/cjs/nv-calendar.entry-DUHckAh3.js +1036 -0
  62. package/dist/cjs/nv-calendar.entry-NU1TumeS.js +1036 -0
  63. package/dist/cjs/nv-calendar.entry-UUE6v4YC.js +1036 -0
  64. package/dist/cjs/nv-calendar.entry-ZtfR2qOV.js +1036 -0
  65. package/dist/cjs/nv-col.entry-B5nCHhbO.js +37 -0
  66. package/dist/cjs/nv-col.entry-Bx1VZSMw.js +37 -0
  67. package/dist/cjs/nv-col.entry-C400BeEE.js +37 -0
  68. package/dist/cjs/nv-col.entry-CYjFAVMF.js +37 -0
  69. package/dist/cjs/nv-col.entry-DDEtfCv-.js +37 -0
  70. package/dist/cjs/nv-col.entry-DqzImLSJ.js +37 -0
  71. package/dist/cjs/nv-col.entry-DtYBQEJz.js +37 -0
  72. package/dist/cjs/nv-datagrid.entry-5VIvkJGL.js +3671 -0
  73. package/dist/cjs/nv-datagrid.entry-Ba9sfMQp.js +3671 -0
  74. package/dist/cjs/nv-datagrid.entry-Beehe_Sq.js +3671 -0
  75. package/dist/cjs/nv-datagrid.entry-CkD_jV75.js +3671 -0
  76. package/dist/cjs/nv-datagrid.entry-D6p67Pa6.js +3671 -0
  77. package/dist/cjs/nv-datagrid.entry-DKqScS8N.js +3671 -0
  78. package/dist/cjs/nv-datagrid.entry-ee865R4b.js +3671 -0
  79. package/dist/cjs/nv-datagridcolumn.entry-BeGXaBUe.js +18 -0
  80. package/dist/cjs/nv-datagridcolumn.entry-BodICzof.js +18 -0
  81. package/dist/cjs/nv-datagridcolumn.entry-C_FtSltZ.js +18 -0
  82. package/dist/cjs/nv-datagridcolumn.entry-D1cyTR_G.js +18 -0
  83. package/dist/cjs/nv-datagridcolumn.entry-DRE7BDkk.js +18 -0
  84. package/dist/cjs/nv-datagridcolumn.entry-Du6-7fjr.js +18 -0
  85. package/dist/cjs/nv-datagridcolumn.entry-N70Aen6Q.js +18 -0
  86. package/dist/cjs/nv-dialog.entry-BgHknrOx.js +784 -0
  87. package/dist/cjs/nv-dialog.entry-C1hg-EG1.js +784 -0
  88. package/dist/cjs/nv-dialog.entry-COv2do_O.js +784 -0
  89. package/dist/cjs/nv-dialog.entry-Ck2hU43g.js +784 -0
  90. package/dist/cjs/nv-dialog.entry-Cl8iLrCo.js +784 -0
  91. package/dist/cjs/nv-dialog.entry-Cy71tlWz.js +784 -0
  92. package/dist/cjs/nv-dialog.entry-DdAHZGzm.js +784 -0
  93. package/dist/cjs/nv-dialogfooter_2.entry-CXvA0O-2.js +134 -0
  94. package/dist/cjs/nv-dialogfooter_2.entry-Ck6adFfd.js +134 -0
  95. package/dist/cjs/nv-dialogfooter_2.entry-DHa0SYhR.js +134 -0
  96. package/dist/cjs/nv-dialogfooter_2.entry-DKvzkpt3.js +134 -0
  97. package/dist/cjs/nv-dialogfooter_2.entry-D_VuofBe.js +134 -0
  98. package/dist/cjs/nv-dialogfooter_2.entry-L5tHIb_T.js +134 -0
  99. package/dist/cjs/nv-dialogfooter_2.entry-kEa1K0n5.js +134 -0
  100. package/dist/cjs/nv-fieldcheckbox.entry-B4We4zG2.js +137 -0
  101. package/dist/cjs/nv-fieldcheckbox.entry-BmYyNV4r.js +137 -0
  102. package/dist/cjs/nv-fieldcheckbox.entry-CBsQsbIA.js +137 -0
  103. package/dist/cjs/nv-fieldcheckbox.entry-DTIebeJR.js +137 -0
  104. package/dist/cjs/nv-fieldcheckbox.entry-P--9IAJF.js +137 -0
  105. package/dist/cjs/nv-fieldcheckbox.entry-dBYg7CBU.js +137 -0
  106. package/dist/cjs/nv-fieldcheckbox.entry-dxhUZiEg.js +137 -0
  107. package/dist/cjs/nv-fielddate.entry-B53E-JaI.js +278 -0
  108. package/dist/cjs/nv-fielddate.entry-Bofdd2rE.js +278 -0
  109. package/dist/cjs/nv-fielddate.entry-CIo_61Dc.js +278 -0
  110. package/dist/cjs/nv-fielddate.entry-CekIFTA0.js +278 -0
  111. package/dist/cjs/nv-fielddate.entry-DgS0X1wI.js +278 -0
  112. package/dist/cjs/nv-fielddate.entry-Do69eqHA.js +278 -0
  113. package/dist/cjs/nv-fielddate.entry-NJ6RAqlG.js +278 -0
  114. package/dist/cjs/nv-fielddaterange.entry-BtPwfRw-.js +355 -0
  115. package/dist/cjs/nv-fielddaterange.entry-CxaBrZAX.js +355 -0
  116. package/dist/cjs/nv-fielddaterange.entry-D-6LjhjB.js +355 -0
  117. package/dist/cjs/nv-fielddaterange.entry-D0fq5KFb.js +355 -0
  118. package/dist/cjs/nv-fielddaterange.entry-D2dzD3rW.js +355 -0
  119. package/dist/cjs/nv-fielddaterange.entry-DTLKVIqg.js +355 -0
  120. package/dist/cjs/nv-fielddaterange.entry-w8WXPDuX.js +355 -0
  121. package/dist/cjs/nv-fielddropdown.entry-BAaPyGtB.js +361 -0
  122. package/dist/cjs/nv-fielddropdown.entry-C5kMWmPP.js +361 -0
  123. package/dist/cjs/nv-fielddropdown.entry-CX2Ycn2i.js +361 -0
  124. package/dist/cjs/nv-fielddropdown.entry-CZxQlRNa.js +361 -0
  125. package/dist/cjs/nv-fielddropdown.entry-DVl_Uy5A.js +361 -0
  126. package/dist/cjs/nv-fielddropdown.entry-akfp1Bcy.js +361 -0
  127. package/dist/cjs/nv-fielddropdown.entry-hHh_RDC4.js +361 -0
  128. package/dist/cjs/nv-fielddropdownitem.entry-BscNyhXz.js +68 -0
  129. package/dist/cjs/nv-fielddropdownitem.entry-CMWgXP_Z.js +68 -0
  130. package/dist/cjs/nv-fielddropdownitem.entry-CS1Ejbc9.js +68 -0
  131. package/dist/cjs/nv-fielddropdownitem.entry-CW4WMmSZ.js +68 -0
  132. package/dist/cjs/nv-fielddropdownitem.entry-CuQqsz4f.js +68 -0
  133. package/dist/cjs/nv-fielddropdownitem.entry-Dn2HJc1t.js +68 -0
  134. package/dist/cjs/nv-fielddropdownitem.entry-HK2I5pUG.js +68 -0
  135. package/dist/cjs/nv-fieldmultiselect.entry-5jdK36m6.js +1060 -0
  136. package/dist/cjs/nv-fieldmultiselect.entry-6o1yhNI5.js +1060 -0
  137. package/dist/cjs/nv-fieldmultiselect.entry-BGzYCJuF.js +1060 -0
  138. package/dist/cjs/nv-fieldmultiselect.entry-BN1ObPi8.js +1060 -0
  139. package/dist/cjs/nv-fieldmultiselect.entry-CuVEYN0v.js +1060 -0
  140. package/dist/cjs/nv-fieldmultiselect.entry-DHXJErt4.js +1060 -0
  141. package/dist/cjs/nv-fieldmultiselect.entry-DycRd14V.js +1060 -0
  142. package/dist/cjs/nv-fieldnumber.entry-BHhIsjLK.js +126 -0
  143. package/dist/cjs/nv-fieldnumber.entry-BklKxOFA.js +126 -0
  144. package/dist/cjs/nv-fieldnumber.entry-C8zJkL24.js +126 -0
  145. package/dist/cjs/nv-fieldnumber.entry-C9rKWY_M.js +126 -0
  146. package/dist/cjs/nv-fieldnumber.entry-CEmPQK-3.js +126 -0
  147. package/dist/cjs/nv-fieldnumber.entry-CLhjFlCj.js +126 -0
  148. package/dist/cjs/nv-fieldnumber.entry-_UiieYov.js +126 -0
  149. package/dist/cjs/nv-fieldpassword.entry-7lS0Msfg.js +115 -0
  150. package/dist/cjs/nv-fieldpassword.entry-B9-QFEsB.js +115 -0
  151. package/dist/cjs/nv-fieldpassword.entry-BIIoIKH4.js +115 -0
  152. package/dist/cjs/nv-fieldpassword.entry-BPhQxjsj.js +115 -0
  153. package/dist/cjs/nv-fieldpassword.entry-C5vG4jlh.js +115 -0
  154. package/dist/cjs/nv-fieldpassword.entry-C_jsHFJI.js +115 -0
  155. package/dist/cjs/nv-fieldpassword.entry-DZkGQwM8.js +115 -0
  156. package/dist/cjs/nv-fieldradio.entry-BgpmbG9E.js +102 -0
  157. package/dist/cjs/nv-fieldradio.entry-CXR4k3wf.js +102 -0
  158. package/dist/cjs/nv-fieldradio.entry-CnasQlEx.js +102 -0
  159. package/dist/cjs/nv-fieldradio.entry-DUDPigQb.js +102 -0
  160. package/dist/cjs/nv-fieldradio.entry-DiD7Luxv.js +102 -0
  161. package/dist/cjs/nv-fieldradio.entry-Ili2RVKl.js +102 -0
  162. package/dist/cjs/nv-fieldradio.entry-aRAaLwpK.js +102 -0
  163. package/dist/cjs/nv-fieldselect.entry-B94QXSEk.js +365 -0
  164. package/dist/cjs/nv-fieldselect.entry-BwtEjL08.js +365 -0
  165. package/dist/cjs/nv-fieldselect.entry-CFDqeR-D.js +365 -0
  166. package/dist/cjs/nv-fieldselect.entry-CJSu63o5.js +365 -0
  167. package/dist/cjs/nv-fieldselect.entry-CmN1R9ij.js +365 -0
  168. package/dist/cjs/nv-fieldselect.entry-CoDfr4ie.js +365 -0
  169. package/dist/cjs/nv-fieldselect.entry-DgmnHnOR.js +365 -0
  170. package/dist/cjs/nv-fieldtext.entry-B1TlZWjU.js +119 -0
  171. package/dist/cjs/nv-fieldtext.entry-BfQrX8ft.js +119 -0
  172. package/dist/cjs/nv-fieldtext.entry-BrUQu4OD.js +119 -0
  173. package/dist/cjs/nv-fieldtext.entry-CW6P-R-Q.js +119 -0
  174. package/dist/cjs/nv-fieldtext.entry-CyLJxDw6.js +119 -0
  175. package/dist/cjs/nv-fieldtext.entry-DDqDSJp3.js +119 -0
  176. package/dist/cjs/nv-fieldtext.entry-IeIHa3jf.js +119 -0
  177. package/dist/cjs/nv-fieldtextarea.entry-D86SKGIN.js +194 -0
  178. package/dist/cjs/nv-fieldtextarea.entry-DlFdCv_d.js +194 -0
  179. package/dist/cjs/nv-fieldtextarea.entry-DqzeITCG.js +194 -0
  180. package/dist/cjs/nv-fieldtextarea.entry-TI-bucN-.js +194 -0
  181. package/dist/cjs/nv-fieldtextarea.entry-qMX2O8cX.js +194 -0
  182. package/dist/cjs/nv-fieldtextarea.entry-tTnWQgE4.js +194 -0
  183. package/dist/cjs/nv-fieldtextarea.entry-v6VpnEuH.js +194 -0
  184. package/dist/cjs/nv-fieldtime.entry-CPyLyQfR.js +1011 -0
  185. package/dist/cjs/nv-fieldtime.entry-CYmcHY1D.js +1011 -0
  186. package/dist/cjs/nv-fieldtime.entry-DGP1X4wF.js +1011 -0
  187. package/dist/cjs/nv-fieldtime.entry-DLSuRrlr.js +1011 -0
  188. package/dist/cjs/nv-fieldtime.entry-Zbjbmm7_.js +1011 -0
  189. package/dist/cjs/nv-fieldtime.entry-eDVRT6te.js +1011 -0
  190. package/dist/cjs/nv-fieldtime.entry-j-Fliiqj.js +1011 -0
  191. package/dist/cjs/nv-icon.entry-B0Y3rgBQ.js +79 -0
  192. package/dist/cjs/nv-icon.entry-B_wtREWb.js +79 -0
  193. package/dist/cjs/nv-icon.entry-BfRAl2b6.js +79 -0
  194. package/dist/cjs/nv-icon.entry-CrKTCqY_.js +79 -0
  195. package/dist/cjs/nv-icon.entry-DRRmcXzh.js +79 -0
  196. package/dist/cjs/nv-icon.entry-Dlj1ko2i.js +79 -0
  197. package/dist/cjs/nv-icon.entry-S7WlK_lO.js +79 -0
  198. package/dist/cjs/nv-iconbutton_2.entry-B02iDUid.js +163 -0
  199. package/dist/cjs/nv-iconbutton_2.entry-C1Legk9t.js +163 -0
  200. package/dist/cjs/nv-iconbutton_2.entry-CUiW6MtK.js +163 -0
  201. package/dist/cjs/nv-iconbutton_2.entry-ClcvupMe.js +163 -0
  202. package/dist/cjs/nv-iconbutton_2.entry-D8MI5uzP.js +163 -0
  203. package/dist/cjs/nv-iconbutton_2.entry-D8hZ51H-.js +163 -0
  204. package/dist/cjs/nv-iconbutton_2.entry-QwaiOoYl.js +163 -0
  205. package/dist/cjs/nv-menu.entry-BfmYkdYY.js +227 -0
  206. package/dist/cjs/nv-menu.entry-CT98WIRF.js +227 -0
  207. package/dist/cjs/nv-menu.entry-CfERF478.js +227 -0
  208. package/dist/cjs/nv-menu.entry-Ci3I7PDt.js +227 -0
  209. package/dist/cjs/nv-menu.entry-DtLnsQW-.js +227 -0
  210. package/dist/cjs/nv-menu.entry-Kz5kGi2w.js +227 -0
  211. package/dist/cjs/nv-menu.entry-XdjjbAL6.js +227 -0
  212. package/dist/cjs/nv-menuitem.entry-C8nXPwP0.js +58 -0
  213. package/dist/cjs/nv-menuitem.entry-C9dsQqqN.js +58 -0
  214. package/dist/cjs/nv-menuitem.entry-Cedg0TCQ.js +58 -0
  215. package/dist/cjs/nv-menuitem.entry-CxCLeNsY.js +58 -0
  216. package/dist/cjs/nv-menuitem.entry-DkIG5z-x.js +58 -0
  217. package/dist/cjs/nv-menuitem.entry-bPnSDq_9.js +58 -0
  218. package/dist/cjs/nv-menuitem.entry-sRx1fD0O.js +58 -0
  219. package/dist/cjs/nv-popover.entry-BGXEOQM6.js +1960 -0
  220. package/dist/cjs/nv-popover.entry-C57rfYUn.js +1960 -0
  221. package/dist/cjs/nv-popover.entry-C6HFJJ-m.js +1960 -0
  222. package/dist/cjs/nv-popover.entry-CiGCCbn9.js +1960 -0
  223. package/dist/cjs/nv-popover.entry-CjTPZYkq.js +1960 -0
  224. package/dist/cjs/nv-popover.entry-CtO6pR6l.js +1960 -0
  225. package/dist/cjs/nv-popover.entry-Mo3DNUH6.js +1960 -0
  226. package/dist/cjs/nv-row.entry-BEgyuDR-.js +21 -0
  227. package/dist/cjs/nv-row.entry-BM_EcSp4.js +21 -0
  228. package/dist/cjs/nv-row.entry-B_7PiJA7.js +21 -0
  229. package/dist/cjs/nv-row.entry-Ca7LiDAy.js +21 -0
  230. package/dist/cjs/nv-row.entry-Cy9vd2iY.js +21 -0
  231. package/dist/cjs/nv-row.entry-DKoNhAcX.js +21 -0
  232. package/dist/cjs/nv-row.entry-OYGKTXhV.js +21 -0
  233. package/dist/cjs/nv-stack.entry-BNyPxECg.js +30 -0
  234. package/dist/cjs/nv-stack.entry-C8ZFDaKn.js +30 -0
  235. package/dist/cjs/nv-stack.entry-CLMAAbkw.js +30 -0
  236. package/dist/cjs/nv-stack.entry-DfRRFeEo.js +30 -0
  237. package/dist/cjs/nv-stack.entry-DiXvhuSS.js +30 -0
  238. package/dist/cjs/nv-stack.entry-lwhqS230.js +30 -0
  239. package/dist/cjs/nv-stack.entry-u3NjC31-.js +30 -0
  240. package/dist/cjs/nv-table.entry-BNy2ALll.js +338 -0
  241. package/dist/cjs/nv-table.entry-BPazUUGA.js +338 -0
  242. package/dist/cjs/nv-table.entry-COwgRxqz.js +338 -0
  243. package/dist/cjs/nv-table.entry-CTo8cqCN.js +338 -0
  244. package/dist/cjs/nv-table.entry-DzOGLNUx.js +338 -0
  245. package/dist/cjs/nv-table.entry-mEtRfake.js +338 -0
  246. package/dist/cjs/nv-table.entry-o525Lfea.js +338 -0
  247. package/dist/cjs/nv-tablecolumn.entry-BESdQMDh.js +18 -0
  248. package/dist/cjs/nv-tablecolumn.entry-CuEt5Wgn.js +18 -0
  249. package/dist/cjs/nv-tablecolumn.entry-D3I1dB1X.js +18 -0
  250. package/dist/cjs/nv-tablecolumn.entry-DvJF_QTE.js +18 -0
  251. package/dist/cjs/nv-tablecolumn.entry-DvO0JxdY.js +18 -0
  252. package/dist/cjs/nv-tablecolumn.entry-L4KLlHFu.js +18 -0
  253. package/dist/cjs/nv-tablecolumn.entry-vrmt1Y0L.js +18 -0
  254. package/dist/cjs/nv-toggle.entry-BIclNIeq.js +79 -0
  255. package/dist/cjs/nv-toggle.entry-Bv0DrF-x.js +79 -0
  256. package/dist/cjs/nv-toggle.entry-BxKZDHdI.js +79 -0
  257. package/dist/cjs/nv-toggle.entry-DYhnFucd.js +79 -0
  258. package/dist/cjs/nv-toggle.entry-PRWy57Ro.js +79 -0
  259. package/dist/cjs/nv-toggle.entry-fDIAyeVX.js +79 -0
  260. package/dist/cjs/nv-toggle.entry-yqg7e7Qc.js +79 -0
  261. package/dist/cjs/nv-tooltip.entry--TVfBopp.js +44 -0
  262. package/dist/cjs/nv-tooltip.entry-58RCazbO.js +44 -0
  263. package/dist/cjs/nv-tooltip.entry-BBJNnZmj.js +44 -0
  264. package/dist/cjs/nv-tooltip.entry-Bnu7xEl6.js +44 -0
  265. package/dist/cjs/nv-tooltip.entry-BrrSQyMx.js +44 -0
  266. package/dist/cjs/nv-tooltip.entry-BuSwME_F.js +44 -0
  267. package/dist/cjs/nv-tooltip.entry-ChQpdQn_.js +44 -0
  268. package/dist/generated/components.js +2 -2
  269. package/dist/types/generated/components.d.ts +2 -4
  270. package/package.json +1 -1
@@ -0,0 +1,119 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-CDe7nrrW.js');
4
+ var v4A79185f4 = require('./v4-a79185f4-2n0dOd_Y.js');
5
+ require('react');
6
+
7
+ const nvFieldtextCss = "nv-fieldtext{--nv-field-border-default:var(--components-form-field-border-default);--nv-field-border-hover:var(--components-form-field-border-hover);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--components-form-field-border-default);--nv-field-border-readonly:var(--components-form-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-brand);--nv-field-background:var(--components-form-field-background-default);display:flex;flex-direction:column;align-items:flex-start;gap:var(--form-gap-y);box-sizing:border-box}nv-fieldtext[readonly]:not([readonly=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fieldtext[error]:not([error=false]){--nv-field-border-default:var(--components-form-field-border-error);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-destructive)}nv-fieldtext[success]:not([success=false]){--nv-field-border-default:var(--components-form-field-border-success);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-success)}nv-fieldtext[required]:not([required=false]) label::after{content:\"*\";color:var(--components-form-text-required);font-weight:700}nv-fieldtext>label{display:flex;align-items:center;gap:var(--form-label-gap);align-self:stretch;color:var(--components-form-text-label-default);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:500;line-height:var(--form-label-line-height)}nv-fieldtext>.input-wrapper{display:flex;flex-wrap:wrap;gap:var(--form-gap-x);align-items:stretch;align-self:stretch}nv-fieldtext>.input-wrapper .input-container{display:flex;flex-grow:1;justify-content:center;align-items:center;align-self:stretch;border-radius:var(--form-field-radius);border-width:1px;border-style:solid;border-color:var(--nv-field-border-default);opacity:var(--components-form-opacity-default, 1);background:var(--nv-field-background);transition:all 150ms ease-out}nv-fieldtext>.input-wrapper .input-container:hover{border-color:var(--nv-field-border-hover)}nv-fieldtext>.input-wrapper .input-container:focus-within,nv-fieldtext>.input-wrapper .input-container:focus-within:hover,nv-fieldtext>.input-wrapper .input-container:focus,nv-fieldtext>.input-wrapper .input-container:focus:hover{border-color:var(--nv-field-border-focus);box-shadow:0px 0px 0px var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fieldtext>.input-wrapper .input-container:has(input:read-only){opacity:0.5;background-color:var(--components-form-field-background-readonly);border-color:var(--nv-field-border-readonly)}nv-fieldtext>.input-wrapper .input-container:has(input:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fieldtext>.input-wrapper .input-container input{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);padding:var(--form-field-padding-y) var(--form-field-padding-x);font-size:var(--form-field-font-size);font-style:normal;font-weight:500;line-height:var(--form-field-line-height)}nv-fieldtext>.input-wrapper .input-container input:focus{outline:none}nv-fieldtext>.input-wrapper .input-container input::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:400;line-height:var(--form-field-line-height)}nv-fieldtext>.input-wrapper .input-container nv-icon.validation{color:var(--nv-field-border-default);margin-right:var(--form-gap-x)}nv-fieldtext>.description{align-self:stretch;color:var(--components-form-text-description-default);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height)}nv-fieldtext>.error-description{align-self:stretch;color:var(--components-form-text-description-default);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}";
8
+ const NvFieldtextStyle0 = nvFieldtextCss;
9
+
10
+ const NvFieldtext = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.valueChanged = index.createEvent(this, "valueChanged");
14
+ //#endregion DEPRECATED
15
+ /****************************************************************************/
16
+ //#region PROPERTIES
17
+ /**
18
+ * Sets the ID for the input element and the for attribute of the associated
19
+ * label. If no ID is provided, a random one will be automatically generated
20
+ * to ensure unique identification, facilitating proper label association and
21
+ * accessibility.
22
+ */
23
+ this.inputId = v4A79185f4.v4();
24
+ /**
25
+ * The type prop lets you specify what kind of information the input field
26
+ * should accept. Choose 'text' for general words or sentences, 'tel' for
27
+ * phone numbers, or 'email' for email addresses. This makes sure users get
28
+ * the right keyboard and validation for what they need to enter.
29
+ */
30
+ this.type = 'text';
31
+ /**
32
+ * The disabled prop lets you turn off the input field so that users can’t
33
+ * type in it. When disabled, the field is grayed out and won’t respond to
34
+ * clicks or touches.
35
+ */
36
+ this.disabled = false;
37
+ /**
38
+ * Display the input field’s content without allowing users to change it.
39
+ * Users can still click on it, select, and copy the text, but they won’t be
40
+ * able to type or delete anything.
41
+ */
42
+ this.readonly = false;
43
+ /**
44
+ * Marks the input field as required, ensuring that the user must fill it out
45
+ * before submitting the form.
46
+ */
47
+ this.required = false;
48
+ /**
49
+ * Alters the input field’s appearance to indicate an error, helping users
50
+ * identify fields that need correction.
51
+ * @validator error
52
+ */
53
+ this.error = false;
54
+ /**
55
+ * Changes the input field’s appearance to indicate successful input or
56
+ * validation.
57
+ */
58
+ this.success = false;
59
+ /**
60
+ * When used with the email input type, this prop enables the field to accept
61
+ * multiple email addresses. Users can enter several addresses, separating
62
+ * each one with a comma, allowing the form to handle multiple recipients.
63
+ */
64
+ this.multiple = false;
65
+ /**
66
+ * Applies focus to the input field as soon as the component is mounted. This
67
+ * is equivalent to setting the native autofocus attribute on an <input>
68
+ * element.
69
+ */
70
+ this.autofocus = false;
71
+ //#endregion EVENTS
72
+ /****************************************************************************/
73
+ //#region METHODS
74
+ /**
75
+ * Handles the input event on the input element.
76
+ * Emits the inputChanged event with the new value.
77
+ * @param {Event} event - Event object of the input event.
78
+ */
79
+ this.handleInput = (event) => {
80
+ const input = event.target;
81
+ this.value = input.value;
82
+ this.valueChanged.emit(input.value);
83
+ };
84
+ /**
85
+ * Handles focus when the input container is clicked.
86
+ */
87
+ this.handleInputContainerClick = () => {
88
+ this.inputElement.focus();
89
+ };
90
+ }
91
+ //#endregion METHODS
92
+ /****************************************************************************/
93
+ //#region LIFECYCLE
94
+ componentWillRender() {
95
+ if (this.textInputType) {
96
+ this.type = this.textInputType;
97
+ }
98
+ if (this.message) {
99
+ this.description = this.message;
100
+ }
101
+ if (this.validation) {
102
+ this.errorDescription = this.validation;
103
+ this.error = true;
104
+ }
105
+ }
106
+ //#endregion LIFECYCLE
107
+ /****************************************************************************/
108
+ //#region RENDER
109
+ render() {
110
+ return (index.h(index.Host, { key: 'ffcbe1c8f14257f6380d28f2c50fe8b77ae73027' }, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { key: '3b84598a05eedc7625312def01ca726dc68fa247', htmlFor: this.inputId }, index.h("slot", { key: '8c8f0d2f86742dd0699b8b309cbea0dca1d294ce', name: "label" }, this.label))), index.h("div", { key: 'c2adf3acc7780a7eba5d4762b7275d1c63304bf5', class: "input-wrapper" }, index.h("slot", { key: 'c49756d1daaba476222ebda2df4854b1094655b3', name: "before-input" }), index.h("div", { key: '723c34f09e6c073bdef2db799246da72ffd52703', class: "input-container", onClick: this.handleInputContainerClick }, index.h("slot", { key: '4e94bcac72ac2e5147a8d5e33396a13359820009', name: "leading-input" }), index.h("input", { key: '96cbf022912735445467320600e372fba03de4e4', id: this.inputId, ref: e => (this.inputElement = e), placeholder: this.placeholder, name: this.name, type: this.type, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, autofocus: this.autofocus, autocomplete: this.autocomplete, multiple: this.multiple, value: this.value, onInput: this.handleInput }), this.error && (index.h("nv-icon", { key: '39a55c42a49006d316e5dcc5389793c6264d2b09', name: "alert-circle", class: "validation", size: "md" })), this.success && (index.h("nv-icon", { key: 'bf1b6040dbb392b5c46b3b9af665d7cdc7389d29', name: "circle-check", class: "validation", size: "md" }))), index.h("slot", { key: 'bb2256bf3fc5165e61f162fe89dd7be564a989c0', name: "after-input" })), (this.description ||
111
+ this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '3d2c5a89247042184b3a110ca7982b793b0bd86a', class: "description" }, index.h("slot", { key: '2358cc5217d6ba65b4d4baa927b397dbe62982e8', name: "description" }, this.description))), (this.errorDescription ||
112
+ this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: 'cdef4117d71b8a6bdde19fea1a0f4070ba02ab2e', hidden: !this.error, class: "error-description" }, index.h("slot", { key: '66a2b100ab641aa9c2e22fdfc9a987bb86cd44a0', name: "error-description" }, this.errorDescription)))));
113
+ }
114
+ static get formAssociated() { return true; }
115
+ get el() { return index.getElement(this); }
116
+ };
117
+ NvFieldtext.style = NvFieldtextStyle0;
118
+
119
+ exports.nv_fieldtext = NvFieldtext;
@@ -0,0 +1,194 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-CEWbQ5nh.js');
4
+ var clsx297c1ffe = require('./clsx-297c1ffe-BtxeOLZW.js');
5
+ var v4A79185f4 = require('./v4-a79185f4-2n0dOd_Y.js');
6
+ require('react');
7
+
8
+ const nvFieldtextareaCss = "nv-fieldtextarea{--nv-field-border-default:var(--components-form-field-border-default);--nv-field-border-hover:var(--components-form-field-border-hover);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--components-form-field-border-default);--nv-field-border-readonly:var(--components-form-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-brand);--nv-field-background:var(--components-form-field-background-default);display:flex;flex-direction:column;align-items:flex-start;gap:var(--form-gap-y);box-sizing:border-box}nv-fieldtextarea[readonly]:not([readonly=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fieldtextarea[error]:not([error=false]){--nv-field-border-default:var(--components-form-field-border-error);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-destructive)}nv-fieldtextarea[success]:not([success=false]){--nv-field-border-default:var(--components-form-field-border-success);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-success)}nv-fieldtextarea[required]:not([required=false]) label::after{content:\"*\";color:var(--components-form-text-required);font-weight:700}nv-fieldtextarea label{display:flex;align-items:center;gap:var(--form-label-gap);align-self:stretch;color:var(--components-form-text-label-default);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:500;line-height:var(--form-label-line-height)}nv-fieldtextarea .textarea-wrapper{display:flex;flex-wrap:wrap;gap:var(--form-gap-x);align-items:stretch;align-self:stretch}nv-fieldtextarea .textarea-wrapper .textarea-container{display:flex;flex-grow:1;padding:calc(var(--form-field-padding-y) - 1px) var(--form-field-padding-x);justify-content:center;align-items:center;gap:var(--form-field-gap);align-self:stretch;border-radius:var(--form-field-radius);border-width:1px;border-style:solid;border-color:var(--nv-field-border-default);opacity:var(--components-form-opacity-default);background:var(--nv-field-background);transition:all 150ms ease-out}nv-fieldtextarea .textarea-wrapper .textarea-container:hover{border-color:var(--nv-field-border-hover)}nv-fieldtextarea .textarea-wrapper .textarea-container:focus-within{border-color:var(--nv-field-border-focus);box-shadow:0 0 0 var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fieldtextarea .textarea-wrapper .textarea-container:has(textarea:read-only){opacity:0.5;background-color:var(--components-form-field-background-readonly);border-color:var(--nv-field-border-readonly)}nv-fieldtextarea .textarea-wrapper .textarea-container:has(textarea:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fieldtextarea .textarea-wrapper .textarea-container textarea{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);text-overflow:ellipsis;font-size:var(--form-field-font-size);font-style:normal;font-weight:500;line-height:var(--form-field-line-height)}nv-fieldtextarea .textarea-wrapper .textarea-container textarea:focus{outline:none}nv-fieldtextarea .textarea-wrapper .textarea-container textarea::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:400;line-height:var(--form-field-line-height)}nv-fieldtextarea .textarea-wrapper .textarea-container nv-icon.validation{color:var(--nv-field-border-default)}nv-fieldtextarea .description{align-self:stretch;color:var(--components-form-text-description-default);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height)}nv-fieldtextarea .error-description{align-self:stretch;color:var(--components-form-text-description-default);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}";
9
+ const NvFieldtextareaStyle0 = nvFieldtextareaCss;
10
+
11
+ const NvFieldtextarea = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.valueChanged = index.createEvent(this, "valueChanged");
15
+ //#endregion DEPRECATED
16
+ /****************************************************************************/
17
+ //#region PROPERTIES
18
+ /**
19
+ * Sets the ID for the input element and the for attribute of the associated
20
+ * label. If no ID is provided, a random one will be automatically generated
21
+ * to ensure unique identification, facilitating proper label association and
22
+ * accessibility.
23
+ */
24
+ this.inputId = v4A79185f4.v4();
25
+ /**
26
+ * The disabled prop lets you turn off the textarea field so that users can’t
27
+ * type in it. When disabled, the field is grayed out and won’t respond to#
28
+ * clicks or touches.
29
+ */
30
+ this.disabled = false;
31
+ /**
32
+ * Display the textarea field’s content without allowing users to change it.
33
+ * Users can still click on it, select, and copy the text, but they won’t be
34
+ * able to type or delete anything.
35
+ */
36
+ this.readonly = false;
37
+ /**
38
+ * Marks the textarea field as required, ensuring that the user must fill it out
39
+ * before submitting the form.
40
+ */
41
+ this.required = false;
42
+ /**
43
+ * Alters the textarea field’s appearance to indicate an error, helping users
44
+ * identify fields that need correction.
45
+ * @validator error
46
+ */
47
+ this.error = false;
48
+ /**
49
+ * Changes the textarea field’s appearance to indicate successful textarea or
50
+ * validation.
51
+ */
52
+ this.success = false;
53
+ /**
54
+ * The number of visible text lines for the control. The default is 3. This
55
+ * can be useful when you want to limit the size of the textarea field or when
56
+ * you want to make the textarea field smaller to fit a specific layout. The
57
+ * textarea field will expand vertically to fit the text as the user types.
58
+ */
59
+ this.rows = 3;
60
+ /**
61
+ * Controls the resize property of a textarea. It can be set to none, both,
62
+ * horizontal, or vertical. The default is vertical.
63
+ */
64
+ this.resize = 'vertical';
65
+ /**
66
+ * Enable this to make the textarea automatically resize as the user types,
67
+ * adjusting the height to fit the content. For the best experience, avoid
68
+ * vertical resizing, as it’s controlled by this feature. Horizontal resizing
69
+ * can still be allowed if desired.
70
+ */
71
+ this.autosize = false;
72
+ /**
73
+ * Applies focus to the input field as soon as the component is mounted. This
74
+ * is equivalent to setting the native autofocus attribute on a <textarea>
75
+ * element.
76
+ */
77
+ this.autofocus = false;
78
+ //#endregion WATCHERS
79
+ /****************************************************************************/
80
+ //#region METHODS
81
+ this.handleTextarea = (event) => {
82
+ const textarea = event.target;
83
+ this.value = textarea.value;
84
+ this.valueChanged.emit(textarea.value);
85
+ };
86
+ this.handleTextareaContainerClick = () => {
87
+ this.textareaElement.focus();
88
+ };
89
+ }
90
+ //#endregion EVENTS
91
+ /****************************************************************************/
92
+ //#region WATCHERS
93
+ /**
94
+ * If autosize is true, we need to make sure to update the min-height when
95
+ * the rows change.
96
+ */
97
+ rowsChanged() {
98
+ if (this.autosize) {
99
+ this.adjustTextareaHeight();
100
+ }
101
+ }
102
+ /**
103
+ * If autosize is true, we need to make sure to update the height and
104
+ * min-height, if false, we need to remove the height property.
105
+ */
106
+ autosizeChanged() {
107
+ var _a;
108
+ if (this.autosize) {
109
+ this.adjustTextareaHeight();
110
+ }
111
+ else {
112
+ (_a = this.textareaElement) === null || _a === void 0 ? void 0 : _a.style.removeProperty('height');
113
+ }
114
+ }
115
+ /**
116
+ * Make sure to adjust the height of the textarea when the value changes
117
+ * programmatically or by typing when autosize is on.
118
+ */
119
+ handleValueChange() {
120
+ if (this.autosize) {
121
+ this.adjustTextareaHeight();
122
+ }
123
+ }
124
+ adjustTextareaHeight() {
125
+ if (this.textareaElement && this.autosize) {
126
+ /**
127
+ * The first requestAnimationFrame ensures that the DOM has applied any
128
+ * pending changes (e.g., value updates or attribute changes) before
129
+ * proceeding to the next frame.
130
+ */
131
+ requestAnimationFrame(() => {
132
+ /**
133
+ * The second requestAnimationFrame ensures that the browser has fully
134
+ * recalculated layout and styles based on the updated DOM, such as
135
+ * recalculating scrollHeight for the textarea after the new value is
136
+ * rendered.
137
+ */
138
+ requestAnimationFrame(() => {
139
+ this.textareaElement.style.height = 'auto';
140
+ const computedStyle = window.getComputedStyle(this.textareaElement);
141
+ const lineHeight = parseFloat(computedStyle.lineHeight);
142
+ const paddingTop = parseFloat(computedStyle.paddingTop);
143
+ const paddingBottom = parseFloat(computedStyle.paddingBottom);
144
+ const borderTopWidth = parseFloat(computedStyle.borderTopWidth);
145
+ const borderBottomWidth = parseFloat(computedStyle.borderBottomWidth);
146
+ // Calculate min-height based on rows
147
+ const minHeight = lineHeight * this.rows +
148
+ paddingTop +
149
+ paddingBottom +
150
+ borderTopWidth +
151
+ borderBottomWidth;
152
+ this.textareaElement.style.minHeight = `${minHeight}px`;
153
+ this.textareaElement.style.height =
154
+ this.textareaElement.scrollHeight + 'px';
155
+ });
156
+ });
157
+ }
158
+ }
159
+ //#endregion METHODS
160
+ /****************************************************************************/
161
+ //#region LIFECYCLE
162
+ componentWillRender() {
163
+ if (this.message) {
164
+ this.description = this.message;
165
+ }
166
+ if (this.validation) {
167
+ this.errorDescription = this.validation;
168
+ this.error = true;
169
+ }
170
+ }
171
+ componentDidLoad() {
172
+ if (this.autosize) {
173
+ this.adjustTextareaHeight();
174
+ }
175
+ }
176
+ //#endregion LIFECYCLE
177
+ /****************************************************************************/
178
+ //#region RENDER
179
+ render() {
180
+ return (index.h(index.Host, { key: 'b5d6707fa7ebbd64f3b1616c9f61746f394e347d' }, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { key: '6fd76411b08da2d22d86d0a4ef81ce99534d0112', htmlFor: this.inputId }, index.h("slot", { key: '634339fa1bd5ccb2627dab03117535b2bc09b9cc', name: "label" }, this.label))), index.h("div", { key: '6a521f191ebae60a874c4d48a1872b7a61181c54', class: "textarea-wrapper" }, index.h("div", { key: 'ecca606c8775282c5b21b8f8e12a9c98df7aa410', class: "textarea-container", onClick: this.handleTextareaContainerClick }, index.h("textarea", { key: '7547d01134c155c9f76e1978f08075d1e8ff50fd', id: this.inputId, ref: e => (this.textareaElement = e), placeholder: this.placeholder, autofocus: this.autofocus, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, autocomplete: "off", value: this.value, onInput: this.handleTextarea, rows: this.rows, class: clsx297c1ffe.clsx(this.resize === 'none' && 'resize-none', this.resize === 'vertical' && 'resize-y', this.resize === 'horizontal' && 'resize-x', this.resize === 'both' && 'resize') }))), (this.description ||
181
+ this.el.querySelector('[slot="description"]')) && (index.h("div", { key: 'fc436e3cc4dbdf8730920173a74f4da249678e39', class: "description" }, index.h("slot", { key: '27aa71e73818742bc92f3860dd0071eef182474a', name: "description" }, this.description))), (this.errorDescription ||
182
+ this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: 'cc3733783b2f5985358d1c21e502845f7bab8406', hidden: !this.error, class: "error-description" }, index.h("slot", { key: '1db584479ed23d616d88dc9fc28fe1e0acd7a463', name: "error-description" }, this.errorDescription)))));
183
+ }
184
+ static get formAssociated() { return true; }
185
+ get el() { return index.getElement(this); }
186
+ static get watchers() { return {
187
+ "rows": ["rowsChanged"],
188
+ "autosize": ["autosizeChanged"],
189
+ "value": ["handleValueChange"]
190
+ }; }
191
+ };
192
+ NvFieldtextarea.style = NvFieldtextareaStyle0;
193
+
194
+ exports.nv_fieldtextarea = NvFieldtextarea;
@@ -0,0 +1,194 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-BZCQTWfv.js');
4
+ var clsx297c1ffe = require('./clsx-297c1ffe-BtxeOLZW.js');
5
+ var v4A79185f4 = require('./v4-a79185f4-2n0dOd_Y.js');
6
+ require('react');
7
+
8
+ const nvFieldtextareaCss = "nv-fieldtextarea{--nv-field-border-default:var(--components-form-field-border-default);--nv-field-border-hover:var(--components-form-field-border-hover);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--components-form-field-border-default);--nv-field-border-readonly:var(--components-form-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-brand);--nv-field-background:var(--components-form-field-background-default);display:flex;flex-direction:column;align-items:flex-start;gap:var(--form-gap-y);box-sizing:border-box}nv-fieldtextarea[readonly]:not([readonly=false]){--nv-field-border-default:var(--components-form-field-border-readonly);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--components-form-field-border-focus);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-background:var(--components-form-field-background-readonly)}nv-fieldtextarea[error]:not([error=false]){--nv-field-border-default:var(--components-form-field-border-error);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-destructive)}nv-fieldtextarea[success]:not([success=false]){--nv-field-border-default:var(--components-form-field-border-success);--nv-field-border-hover:var(--nv-field-border-default);--nv-field-border-focus:var(--nv-field-border-default);--nv-field-border-disabled:var(--nv-field-border-default);--nv-field-border-readonly:var(--nv-field-border-default);--nv-field-focus-box-shadow:var(--color-focus-success)}nv-fieldtextarea[required]:not([required=false]) label::after{content:\"*\";color:var(--components-form-text-required);font-weight:700}nv-fieldtextarea label{display:flex;align-items:center;gap:var(--form-label-gap);align-self:stretch;color:var(--components-form-text-label-default);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-label-font-size);font-style:normal;font-weight:500;line-height:var(--form-label-line-height)}nv-fieldtextarea .textarea-wrapper{display:flex;flex-wrap:wrap;gap:var(--form-gap-x);align-items:stretch;align-self:stretch}nv-fieldtextarea .textarea-wrapper .textarea-container{display:flex;flex-grow:1;padding:calc(var(--form-field-padding-y) - 1px) var(--form-field-padding-x);justify-content:center;align-items:center;gap:var(--form-field-gap);align-self:stretch;border-radius:var(--form-field-radius);border-width:1px;border-style:solid;border-color:var(--nv-field-border-default);opacity:var(--components-form-opacity-default);background:var(--nv-field-background);transition:all 150ms ease-out}nv-fieldtextarea .textarea-wrapper .textarea-container:hover{border-color:var(--nv-field-border-hover)}nv-fieldtextarea .textarea-wrapper .textarea-container:focus-within{border-color:var(--nv-field-border-focus);box-shadow:0 0 0 var(--focus-field-stroke) var(--nv-field-focus-box-shadow)}nv-fieldtextarea .textarea-wrapper .textarea-container:has(textarea:read-only){opacity:0.5;background-color:var(--components-form-field-background-readonly);border-color:var(--nv-field-border-readonly)}nv-fieldtextarea .textarea-wrapper .textarea-container:has(textarea:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fieldtextarea .textarea-wrapper .textarea-container textarea{display:flex;align-items:center;flex:1 0 0;overflow:hidden;background-color:transparent;color:var(--components-form-field-content-text);text-overflow:ellipsis;font-size:var(--form-field-font-size);font-style:normal;font-weight:500;line-height:var(--form-field-line-height)}nv-fieldtextarea .textarea-wrapper .textarea-container textarea:focus{outline:none}nv-fieldtextarea .textarea-wrapper .textarea-container textarea::placeholder{overflow:hidden;color:var(--components-form-field-content-placeholder);text-overflow:ellipsis;font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-field-font-size);font-style:normal;font-weight:400;line-height:var(--form-field-line-height)}nv-fieldtextarea .textarea-wrapper .textarea-container nv-icon.validation{color:var(--nv-field-border-default)}nv-fieldtextarea .description{align-self:stretch;color:var(--components-form-text-description-default);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height)}nv-fieldtextarea .error-description{align-self:stretch;color:var(--components-form-text-description-default);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--form-description-font-size);font-style:normal;line-height:var(--form-description-line-height);color:var(--components-form-text-description-error)}";
9
+ const NvFieldtextareaStyle0 = nvFieldtextareaCss;
10
+
11
+ const NvFieldtextarea = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.valueChanged = index.createEvent(this, "valueChanged");
15
+ //#endregion DEPRECATED
16
+ /****************************************************************************/
17
+ //#region PROPERTIES
18
+ /**
19
+ * Sets the ID for the input element and the for attribute of the associated
20
+ * label. If no ID is provided, a random one will be automatically generated
21
+ * to ensure unique identification, facilitating proper label association and
22
+ * accessibility.
23
+ */
24
+ this.inputId = v4A79185f4.v4();
25
+ /**
26
+ * The disabled prop lets you turn off the textarea field so that users can’t
27
+ * type in it. When disabled, the field is grayed out and won’t respond to#
28
+ * clicks or touches.
29
+ */
30
+ this.disabled = false;
31
+ /**
32
+ * Display the textarea field’s content without allowing users to change it.
33
+ * Users can still click on it, select, and copy the text, but they won’t be
34
+ * able to type or delete anything.
35
+ */
36
+ this.readonly = false;
37
+ /**
38
+ * Marks the textarea field as required, ensuring that the user must fill it out
39
+ * before submitting the form.
40
+ */
41
+ this.required = false;
42
+ /**
43
+ * Alters the textarea field’s appearance to indicate an error, helping users
44
+ * identify fields that need correction.
45
+ * @validator error
46
+ */
47
+ this.error = false;
48
+ /**
49
+ * Changes the textarea field’s appearance to indicate successful textarea or
50
+ * validation.
51
+ */
52
+ this.success = false;
53
+ /**
54
+ * The number of visible text lines for the control. The default is 3. This
55
+ * can be useful when you want to limit the size of the textarea field or when
56
+ * you want to make the textarea field smaller to fit a specific layout. The
57
+ * textarea field will expand vertically to fit the text as the user types.
58
+ */
59
+ this.rows = 3;
60
+ /**
61
+ * Controls the resize property of a textarea. It can be set to none, both,
62
+ * horizontal, or vertical. The default is vertical.
63
+ */
64
+ this.resize = 'vertical';
65
+ /**
66
+ * Enable this to make the textarea automatically resize as the user types,
67
+ * adjusting the height to fit the content. For the best experience, avoid
68
+ * vertical resizing, as it’s controlled by this feature. Horizontal resizing
69
+ * can still be allowed if desired.
70
+ */
71
+ this.autosize = false;
72
+ /**
73
+ * Applies focus to the input field as soon as the component is mounted. This
74
+ * is equivalent to setting the native autofocus attribute on a <textarea>
75
+ * element.
76
+ */
77
+ this.autofocus = false;
78
+ //#endregion WATCHERS
79
+ /****************************************************************************/
80
+ //#region METHODS
81
+ this.handleTextarea = (event) => {
82
+ const textarea = event.target;
83
+ this.value = textarea.value;
84
+ this.valueChanged.emit(textarea.value);
85
+ };
86
+ this.handleTextareaContainerClick = () => {
87
+ this.textareaElement.focus();
88
+ };
89
+ }
90
+ //#endregion EVENTS
91
+ /****************************************************************************/
92
+ //#region WATCHERS
93
+ /**
94
+ * If autosize is true, we need to make sure to update the min-height when
95
+ * the rows change.
96
+ */
97
+ rowsChanged() {
98
+ if (this.autosize) {
99
+ this.adjustTextareaHeight();
100
+ }
101
+ }
102
+ /**
103
+ * If autosize is true, we need to make sure to update the height and
104
+ * min-height, if false, we need to remove the height property.
105
+ */
106
+ autosizeChanged() {
107
+ var _a;
108
+ if (this.autosize) {
109
+ this.adjustTextareaHeight();
110
+ }
111
+ else {
112
+ (_a = this.textareaElement) === null || _a === void 0 ? void 0 : _a.style.removeProperty('height');
113
+ }
114
+ }
115
+ /**
116
+ * Make sure to adjust the height of the textarea when the value changes
117
+ * programmatically or by typing when autosize is on.
118
+ */
119
+ handleValueChange() {
120
+ if (this.autosize) {
121
+ this.adjustTextareaHeight();
122
+ }
123
+ }
124
+ adjustTextareaHeight() {
125
+ if (this.textareaElement && this.autosize) {
126
+ /**
127
+ * The first requestAnimationFrame ensures that the DOM has applied any
128
+ * pending changes (e.g., value updates or attribute changes) before
129
+ * proceeding to the next frame.
130
+ */
131
+ requestAnimationFrame(() => {
132
+ /**
133
+ * The second requestAnimationFrame ensures that the browser has fully
134
+ * recalculated layout and styles based on the updated DOM, such as
135
+ * recalculating scrollHeight for the textarea after the new value is
136
+ * rendered.
137
+ */
138
+ requestAnimationFrame(() => {
139
+ this.textareaElement.style.height = 'auto';
140
+ const computedStyle = window.getComputedStyle(this.textareaElement);
141
+ const lineHeight = parseFloat(computedStyle.lineHeight);
142
+ const paddingTop = parseFloat(computedStyle.paddingTop);
143
+ const paddingBottom = parseFloat(computedStyle.paddingBottom);
144
+ const borderTopWidth = parseFloat(computedStyle.borderTopWidth);
145
+ const borderBottomWidth = parseFloat(computedStyle.borderBottomWidth);
146
+ // Calculate min-height based on rows
147
+ const minHeight = lineHeight * this.rows +
148
+ paddingTop +
149
+ paddingBottom +
150
+ borderTopWidth +
151
+ borderBottomWidth;
152
+ this.textareaElement.style.minHeight = `${minHeight}px`;
153
+ this.textareaElement.style.height =
154
+ this.textareaElement.scrollHeight + 'px';
155
+ });
156
+ });
157
+ }
158
+ }
159
+ //#endregion METHODS
160
+ /****************************************************************************/
161
+ //#region LIFECYCLE
162
+ componentWillRender() {
163
+ if (this.message) {
164
+ this.description = this.message;
165
+ }
166
+ if (this.validation) {
167
+ this.errorDescription = this.validation;
168
+ this.error = true;
169
+ }
170
+ }
171
+ componentDidLoad() {
172
+ if (this.autosize) {
173
+ this.adjustTextareaHeight();
174
+ }
175
+ }
176
+ //#endregion LIFECYCLE
177
+ /****************************************************************************/
178
+ //#region RENDER
179
+ render() {
180
+ return (index.h(index.Host, { key: '9edf7962ccdff743da72152b98f03d27c8f14f1f' }, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { key: 'c3f365dc9d7b27464ead7b80d2bf29ab830cc8df', htmlFor: this.inputId }, index.h("slot", { key: 'bcfc6ada8c84894be98adcc58c5d5dbc19da5693', name: "label" }, this.label))), index.h("div", { key: 'e6341cf7d87d9e0d2534ddb0401b595970beabfb', class: "textarea-wrapper" }, index.h("div", { key: '80e0b0bc0cb7ec4b237b032e0a4c00a3d6a2e16a', class: "textarea-container", onClick: this.handleTextareaContainerClick }, index.h("textarea", { key: '20bcce08c32dddaa9fcd54b5fca5724318f31010', id: this.inputId, ref: e => (this.textareaElement = e), placeholder: this.placeholder, autofocus: this.autofocus, name: this.name, disabled: this.disabled, readOnly: this.readonly, required: this.required, maxlength: this.maxlength, minlength: this.minlength, autocomplete: "off", value: this.value, onInput: this.handleTextarea, rows: this.rows, class: clsx297c1ffe.clsx(this.resize === 'none' && 'resize-none', this.resize === 'vertical' && 'resize-y', this.resize === 'horizontal' && 'resize-x', this.resize === 'both' && 'resize') }))), (this.description ||
181
+ this.el.querySelector('[slot="description"]')) && (index.h("div", { key: 'd3f26d3a2f81d5009e55e532ce8079433bbe60bb', class: "description" }, index.h("slot", { key: 'd9f16157d8ea355d57d8935aec45aa1fcaba2b68', name: "description" }, this.description))), (this.errorDescription ||
182
+ this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: 'c4b838a46fc477530dcb6101f8d8758d99466f65', hidden: !this.error, class: "error-description" }, index.h("slot", { key: '3370a1b2d89a1d24a9e3ed93aebf04751aaa1e86', name: "error-description" }, this.errorDescription)))));
183
+ }
184
+ static get formAssociated() { return true; }
185
+ get el() { return index.getElement(this); }
186
+ static get watchers() { return {
187
+ "rows": ["rowsChanged"],
188
+ "autosize": ["autosizeChanged"],
189
+ "value": ["handleValueChange"]
190
+ }; }
191
+ };
192
+ NvFieldtextarea.style = NvFieldtextareaStyle0;
193
+
194
+ exports.nv_fieldtextarea = NvFieldtextarea;