@nova-design-system/nova-react 3.0.0-beta.43 → 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,361 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-B_VOAJzk.js');
4
+ var v4A79185f4 = require('./v4-a79185f4-2n0dOd_Y.js');
5
+ require('react');
6
+
7
+ const nvFielddropdownCss = "nv-fielddropdown{--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-fielddropdown[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-fielddropdown[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-fielddropdown[required]:not([required=false]) label::after{content:\"*\";color:var(--components-form-text-required);font-weight:700}nv-fielddropdown[hidden]:not([hidden=false]) label{display:none}nv-fielddropdown 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-fielddropdown nv-popover{width:100%;display:block}nv-fielddropdown nv-popover [data-scope=popover]{width:100%;padding:var(--list-dropdown-padding);border-radius:var(--list-dropdown-radius);background-color:var(--components-list-dropdown-background);border:1px solid var(--components-list-dropdown-border)}nv-fielddropdown nv-popover [slot=content]{gap:var(--list-dropdown-gap-y);display:flex;flex-direction:column}nv-fielddropdown nv-popover hr{color:var(--components-list-dropdown-separator)}nv-fielddropdown .input-wrapper{display:flex;flex-wrap:wrap;gap:var(--form-gap-x);align-items:stretch;align-self:stretch;width:100%}nv-fielddropdown .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;position:relative;width:100%;min-height:40px}nv-fielddropdown .input-container:hover{border-color:var(--nv-field-border-hover)}nv-fielddropdown .input-container:focus-within,nv-fielddropdown .input-container:focus-within:hover,nv-fielddropdown .input-container:focus,nv-fielddropdown .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-fielddropdown .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-fielddropdown .input-container:has(input:disabled){opacity:0.5;background-color:var(--components-form-field-background-disabled);border-color:var(--nv-field-border-disabled)}nv-fielddropdown .input-container input[type=search]::-webkit-search-decoration,nv-fielddropdown .input-container input[type=search]::-webkit-search-cancel-button,nv-fielddropdown .input-container input[type=search]::-webkit-search-results-button,nv-fielddropdown .input-container input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}nv-fielddropdown .input-container input,nv-fielddropdown .input-container p.non-filterable-text{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-fielddropdown .input-container input:focus,nv-fielddropdown .input-container p.non-filterable-text:focus{outline:none}nv-fielddropdown .input-container input::placeholder,nv-fielddropdown .input-container p.non-filterable-text::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-fielddropdown .input-container>nv-iconbutton{border:0px;border-radius:0px}nv-fielddropdown .input-container>nv-iconbutton:focus-visible{border-radius:var(--button-md-border-radius);outline-offset:-3px}nv-fielddropdown .input-container nv-icon.validation{color:var(--nv-field-border-default)}nv-fielddropdown .non-filterable-text{display:block;border-radius:var(--form-field-radius);background-color:var(--nv-field-background);color:var(--components-form-field-content-text);font-size:var(--form-field-font-size);font-weight:500;line-height:var(--form-field-line-height);box-sizing:border-box;cursor:pointer;height:100%;min-height:40px}nv-fielddropdown .non-filterable-text span{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis}nv-fielddropdown .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-fielddropdown .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 NvFielddropdownStyle0 = nvFielddropdownCss;
9
+
10
+ const NvFielddropdown = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.valueChanged = index.createEvent(this, "valueChanged");
14
+ this.dropdownItemSelected = index.createEvent(this, "dropdownItemSelected");
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
+ * State of the dropdown popover.
26
+ */
27
+ this.open = false;
28
+ /**
29
+ * The autocomplete prop helps users fill out the input field faster by
30
+ * suggesting entries they've used before, like their email or address.
31
+ * You can turn it on to make forms more convenient or off to ensure users
32
+ * always type in fresh data.
33
+ */
34
+ this.autocomplete = 'off';
35
+ /**
36
+ * Marks the input field as required, ensuring that the user must fill it out
37
+ * before submitting the form.
38
+ */
39
+ this.required = false;
40
+ /**
41
+ * Alters the input field's appearance to indicate an error, helping users
42
+ * identify fields that need correction.
43
+ * @validator error
44
+ */
45
+ this.error = false;
46
+ /**
47
+ * Display the input field's content without allowing users to change it.
48
+ * Users can still click on it, select, and copy the text, but they won't be
49
+ * able to type or delete anything.
50
+ */
51
+ this.readonly = false;
52
+ /**
53
+ * The disabled prop lets you turn off the input field so that users can't
54
+ * type in it. When disabled, the field is grayed out and won't respond to
55
+ * clicks or touches.
56
+ */
57
+ this.disabled = false;
58
+ /**
59
+ * The text to display when no items match the filter.
60
+ */
61
+ this.emptyResult = 'No results found';
62
+ /**
63
+ * Enables or disables the filtering feature for the dropdown items.
64
+ */
65
+ this.filterable = false;
66
+ /**
67
+ * Applies focus to the input field as soon as the component is mounted. This
68
+ * is equivalent to setting the native autofocus attribute on an <input>
69
+ * element.
70
+ */
71
+ this.autofocus = false;
72
+ //#endregion PROPERTIES
73
+ /****************************************************************************/
74
+ //#region STATE
75
+ /** The text entered by the user for filtering dropdown items. */
76
+ this.filterText = '';
77
+ this.isFilterable = this.filterable;
78
+ this.selectedValues = new Set();
79
+ /**
80
+ * Options configuration for the dropdown items.
81
+ */
82
+ this.parsedOptions = [];
83
+ this.handleInputContainerClick = (event) => {
84
+ if (this.disabled || this.readonly) {
85
+ return;
86
+ }
87
+ const target = event.target;
88
+ if (target.tagName === 'P' || target.tagName === 'SPAN') {
89
+ this.open = true;
90
+ // Simulate focus to trigger "focus-within" style
91
+ const inputContainer = this.el.querySelector('.input-container');
92
+ if (inputContainer) {
93
+ inputContainer.classList.add('focus-within');
94
+ // Remove the "focus-within" class after a delay or when the popover is closed
95
+ const removeFocusWithin = () => {
96
+ inputContainer.classList.remove('focus-within');
97
+ };
98
+ // Or remove the class when the popover is closed
99
+ this.popoverElement.addEventListener('hide', removeFocusWithin);
100
+ }
101
+ }
102
+ };
103
+ this.handleInput = (event) => {
104
+ if (!this.filterable)
105
+ return;
106
+ if (this.disabled || this.readonly) {
107
+ return;
108
+ }
109
+ const input = event.target;
110
+ this.open = true;
111
+ this.filterText = input.value.toLowerCase();
112
+ this.filterItems();
113
+ };
114
+ this.handleInputFocus = () => {
115
+ if (this.disabled || this.readonly)
116
+ return;
117
+ this.open = true;
118
+ };
119
+ this.togglePopover = () => {
120
+ if (this.disabled || this.readonly)
121
+ return;
122
+ this.open = !this.open;
123
+ };
124
+ this.getSelectedLabel = () => {
125
+ var _a, _b, _c, _d, _e;
126
+ if (!this.value)
127
+ return '';
128
+ if (this.parsedOptions.length > 1) {
129
+ const matchingItem = this.parsedOptions.find(option => option.value === this.value);
130
+ return (_b = (_a = matchingItem === null || matchingItem === void 0 ? void 0 : matchingItem.label) !== null && _a !== void 0 ? _a : matchingItem === null || matchingItem === void 0 ? void 0 : matchingItem.value) !== null && _b !== void 0 ? _b : this.value;
131
+ }
132
+ const items = Array.from(this.el.querySelectorAll('nv-fielddropdownitem'));
133
+ const matchingItem = items.find(item => item.value === this.value);
134
+ const selectedLabel = matchingItem
135
+ ? (_e = (_c = matchingItem.label) !== null && _c !== void 0 ? _c : (_d = matchingItem.textContent) === null || _d === void 0 ? void 0 : _d.trim()) !== null && _e !== void 0 ? _e : matchingItem.value
136
+ : '';
137
+ return selectedLabel;
138
+ };
139
+ this.clearFilter = () => {
140
+ if (!this.filterable)
141
+ return;
142
+ this.filterText = '';
143
+ this.inputElement.value = this.getSelectedLabel();
144
+ this.inputElement.focus();
145
+ this.filterItems();
146
+ };
147
+ }
148
+ handleDropdownItemSelected(event) {
149
+ if (this.disabled || this.readonly)
150
+ return;
151
+ const items = Array.from(this.el.querySelectorAll('nv-fielddropdownitem'));
152
+ items.forEach(item => {
153
+ if (item !== event.target) {
154
+ item.removeAttribute('selected');
155
+ }
156
+ else {
157
+ item.setAttribute('selected', 'true');
158
+ }
159
+ });
160
+ this.clearFilter();
161
+ this.value = event.detail.value;
162
+ this.open = false;
163
+ }
164
+ handleOpenChanged(event) {
165
+ this.open = event.detail; // Update `open` based on the popover state
166
+ }
167
+ watchFilterableHandler(newValue) {
168
+ this.isFilterable = newValue;
169
+ this.filterable = newValue;
170
+ }
171
+ watchValueHandler(newValue) {
172
+ this.valueChanged.emit(newValue);
173
+ }
174
+ handleOptionsChange(newValue) {
175
+ var _a;
176
+ if (newValue) {
177
+ try {
178
+ const parsedOpts = JSON.parse(newValue);
179
+ this.parsedOptions = [...parsedOpts];
180
+ if (!this.value) {
181
+ const defaultValue = parsedOpts.find(option => option.selected);
182
+ this.value = (_a = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.value) !== null && _a !== void 0 ? _a : '';
183
+ this.updateSelectedItem(this.value);
184
+ }
185
+ }
186
+ catch (error) {
187
+ console.error('nv-fielddropdown: error parsing options:', error);
188
+ this.parsedOptions = [];
189
+ }
190
+ }
191
+ else {
192
+ this.parsedOptions = [];
193
+ }
194
+ }
195
+ handleBlur(event) {
196
+ const target = event.relatedTarget;
197
+ if (!(target instanceof Node) || !this.el.contains(target)) {
198
+ this.open = false;
199
+ if (this.inputElement) {
200
+ this.filterText = '';
201
+ this.inputElement.value = this.getSelectedLabel();
202
+ setTimeout(() => {
203
+ this.filterItems();
204
+ }, 200);
205
+ }
206
+ }
207
+ }
208
+ handleKeyDown(event) {
209
+ if (!this.el)
210
+ return;
211
+ if (!this.open) {
212
+ if (event.key === 'ArrowDown') {
213
+ this.open = true;
214
+ event.preventDefault();
215
+ return;
216
+ }
217
+ return;
218
+ }
219
+ const items = Array.from(this.el.querySelectorAll('nv-fielddropdownitem:not([disabled]):not([hidden])'));
220
+ let currentIndex = items.findIndex(item => item.classList.contains('highlighted'));
221
+ if (event.key === 'ArrowDown') {
222
+ event.preventDefault();
223
+ currentIndex = (currentIndex + 1) % items.length;
224
+ this.updateHighlightedItem(items, currentIndex);
225
+ }
226
+ else if (event.key === 'ArrowUp') {
227
+ event.preventDefault();
228
+ currentIndex = (currentIndex - 1 + items.length) % items.length;
229
+ this.updateHighlightedItem(items, currentIndex);
230
+ }
231
+ else if (event.key === 'Escape') {
232
+ event.preventDefault();
233
+ this.open = false;
234
+ }
235
+ }
236
+ //#endregion EVENTS
237
+ /****************************************************************************/
238
+ //#region METHODS
239
+ /**
240
+ * Retrieves the current filter text entered by the user.
241
+ * @returns {string} The filter text.
242
+ */
243
+ async getFilterText() {
244
+ return this.filterText;
245
+ }
246
+ /**
247
+ * Filter dropdown items based on the text entered by the user.
248
+ * If no items are found, display a message indicating no results.
249
+ */
250
+ filterItems() {
251
+ var _a;
252
+ const items = Array.from(this.el.querySelectorAll('nv-fielddropdownitem'));
253
+ // Remove the "no results found" item if it exists
254
+ const existingEmptyItem = this.el.querySelector('nv-fielddropdownitem[data-empty]');
255
+ if (existingEmptyItem) {
256
+ existingEmptyItem.remove();
257
+ }
258
+ let hasVisibleItems = false;
259
+ // Iterate over all items and adjust their visibility
260
+ items.forEach(item => {
261
+ var _a, _b;
262
+ const textContent = ((_a = item.textContent) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || ''; // Get the textual content of the slot
263
+ const value = ((_b = item.value) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || ''; // Get the value of the `value` attribute
264
+ // Check if the filtered text is present either in the value or in the textual content
265
+ const shouldShow = value.includes(this.filterText) ||
266
+ textContent.includes(this.filterText);
267
+ if (shouldShow)
268
+ item.removeAttribute('hidden');
269
+ else
270
+ item.setAttribute('hidden', '');
271
+ if (shouldShow) {
272
+ hasVisibleItems = true;
273
+ }
274
+ });
275
+ // If no items are visible, add the "no results found" item
276
+ if (!hasVisibleItems) {
277
+ const emptyItem = document.createElement('nv-fielddropdownitem');
278
+ emptyItem.setAttribute('data-empty', 'true');
279
+ emptyItem.setAttribute('disabled', 'true');
280
+ emptyItem.textContent = this.emptyResult;
281
+ (_a = this.el.querySelector('ul[slot="content"]')) === null || _a === void 0 ? void 0 : _a.appendChild(emptyItem);
282
+ }
283
+ }
284
+ /** Reset the filter and make all items visible. */
285
+ resetFilter() {
286
+ const items = Array.from(this.el.querySelectorAll('nv-fielddropdownitem'));
287
+ items.forEach(item => {
288
+ item.style.display = '';
289
+ });
290
+ }
291
+ updateHighlightedItem(items, index) {
292
+ items.forEach((item, i) => {
293
+ if (i === index) {
294
+ item.classList.add('highlighted');
295
+ item.focus();
296
+ item.scrollIntoView({ block: 'nearest' });
297
+ }
298
+ else {
299
+ item.classList.remove('highlighted');
300
+ }
301
+ });
302
+ }
303
+ updateSelectedItem(value) {
304
+ if (!value)
305
+ return;
306
+ const items = Array.from(this.el.querySelectorAll('nv-fielddropdownitem'));
307
+ const matchingItem = items.find(item => {
308
+ var _a;
309
+ const itemLabel = item.getAttribute('label');
310
+ const itemValue = item.getAttribute('value');
311
+ const itemText = (_a = item.textContent) === null || _a === void 0 ? void 0 : _a.trim();
312
+ return itemLabel === value || itemValue === value || itemText === value;
313
+ });
314
+ items.forEach(item => {
315
+ if (item === matchingItem) {
316
+ item.setAttribute('selected', '');
317
+ }
318
+ else {
319
+ item.removeAttribute('selected');
320
+ }
321
+ });
322
+ }
323
+ //#endregion METHODS
324
+ /****************************************************************************/
325
+ //#region LIFECYCLE
326
+ componentWillLoad() {
327
+ this.resetFilter();
328
+ if (this.filterable && this.filterText) {
329
+ this.filterItems();
330
+ }
331
+ if (this.options) {
332
+ this.handleOptionsChange(this.options);
333
+ }
334
+ }
335
+ componentDidLoad() {
336
+ if (this.value) {
337
+ this.updateSelectedItem(this.value);
338
+ }
339
+ if (this.inputElement) {
340
+ this.inputElement.value = this.getSelectedLabel();
341
+ }
342
+ }
343
+ //#endregion LIFECYCLE
344
+ /****************************************************************************/
345
+ //#region RENDER
346
+ render() {
347
+ return (index.h(index.Host, { key: 'fd9c415beb138bf85bdd914c6143b50a2f2330bf', role: "combobox", "aria-expanded": this.open.toString(), "aria-haspopup": "listbox", "aria-label": this.label }, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { key: '3bd9ea3ac7f1202882511ab6bf0d187975eaaaf6', htmlFor: this.inputId }, index.h("slot", { key: '0e33a34af113e622401e5d23843fc67afce8c7a0', name: "label" }, this.label))), index.h("nv-popover", { key: 'cf41abb986f71b746f7b83828eb69244e502626a', ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, index.h("div", { key: 'c030054877c24d5091bc9ea91f8b90182a5150b9', class: "input-wrapper", slot: "trigger" }, index.h("slot", { key: '974aa8736caa3112d2e17a6e6fc33d0271315303', name: "before-input" }), index.h("div", { key: '7b657cf2dd489e8e22ecd52403a9eba8193c1728', class: "input-container", onClick: this.handleInputContainerClick }, index.h("slot", { key: '26d55cabf26329cde6f7ac93464def081533dd7d', name: "leading-input" }), this.isFilterable || this.disabled || this.readonly ? (index.h("input", { "data-scope": "focusable", id: this.inputId, type: "search", ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.getSelectedLabel(), required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput, onFocus: this.handleInputFocus, onClick: this.handleInputFocus, onKeyDown: this.handleKeyDown })) : (index.h("p", { "data-scope": "focusable", id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClick, tabIndex: this.disabled ? -1 : 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocus }, this.getSelectedLabel() || this.value || this.placeholder)), this.isFilterable && this.filterText && this.open && (index.h("nv-iconbutton", { key: '4dab0dd29d016a68b94681893bd0367c2f2bbccb', name: "x", size: "md", emphasis: "lower", class: "clear-button", onClick: this.clearFilter, "aria-label": "Clear input" })), this.error && (index.h("nv-icon", { key: '94555a8f663a45ce5e744a2c4f42442ee725556f', name: "alert-circle", class: "validation", size: "md" })), index.h("nv-iconbutton", { key: 'c52dcc16864b6093cc7c1417d98506c9b4739f4b', "data-scope": "toggle-dropdown", name: this.open ? 'chevron-top' : 'chevron-down', size: "md", emphasis: "lower", "aria-label": this.open ? 'Hide dropdown' : 'Show dropdown', "aria-pressed": this.open.toString(), onClick: this.togglePopover, tabIndex: this.disabled ? -1 : 0 })), index.h("slot", { key: 'a78197668881b8fc5fd7522a3b2ebcb4e4d6c1cc', name: "after-input" })), index.h("div", { key: '161678718ea939874d27b800052f3ff2df94a07d', slot: "content" }, this.parsedOptions.length > 0 ? (index.h("ul", null, this.parsedOptions.map(option => (index.h("nv-fielddropdownitem", { label: option.label, value: option.value, disabled: option.disabled, selected: option.value === this.value }))))) : (index.h("slot", { name: "content" })))), (this.description ||
348
+ this.el.querySelector('[slot="description"]')) && (index.h("div", { key: 'b4ea5b9e6d12307201847c8b9979e7c77442c0a9', class: "description" }, index.h("slot", { key: '7162553aadfbeae787683a1fcf4ac7a1ca4788da', name: "description" }, this.description))), (this.errorDescription ||
349
+ this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: 'c96506582bd9c604490ce0d9c4a398ff70b7e814', hidden: !this.error, class: "error-description" }, index.h("slot", { key: '9069e068a0e1624344b248d68799ecf07f10c649', name: "error-description" }, this.errorDescription)))));
350
+ }
351
+ static get formAssociated() { return true; }
352
+ get el() { return index.getElement(this); }
353
+ static get watchers() { return {
354
+ "filterable": ["watchFilterableHandler"],
355
+ "value": ["watchValueHandler"],
356
+ "options": ["handleOptionsChange"]
357
+ }; }
358
+ };
359
+ NvFielddropdown.style = NvFielddropdownStyle0;
360
+
361
+ exports.nv_fielddropdown = NvFielddropdown;
@@ -0,0 +1,68 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-CIcUUomJ.js');
4
+ require('react');
5
+
6
+ const nvFielddropdownitemCss = "nv-fielddropdownitem{display:flex;gap:var(--spacing-2);flex-wrap:wrap;align-items:center;width:100%;padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x);font-weight:var(--menu-contextual-item-font-weight);font-size:var(--list-dropdown-font-size);line-height:var(--list-dropdown-line-height);color:var(--components-list-dropdown-item-label-default);border-radius:var(--list-dropdown-item-radius);transition:background-color 150ms ease-out, color 150ms ease-out;cursor:pointer}nv-fielddropdownitem:hover,nv-fielddropdownitem:focus,nv-fielddropdownitem:focus-within{background-color:var(--components-list-dropdown-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-fielddropdownitem[disabled]:not([disabled=false]){cursor:not-allowed;background-color:unset;color:var(--components-menu-contextual-item-content-disabled)}nv-fielddropdownitem .text-wrapper{display:flex;flex-grow:1;align-items:center;justify-content:space-between}nv-fielddropdownitem [data-scope=text]{flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}nv-fielddropdownitem nv-icon[data-scope=selected]{color:var(--components-list-dropdown-item-label-default);align-self:center;margin-left:auto}";
7
+ const NvFielddropdownitemStyle0 = nvFielddropdownitemCss;
8
+
9
+ const NvFielddropdownitem = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.dropdownItemSelected = index.createEvent(this, "dropdownItemSelected");
13
+ this.composed = false;
14
+ /****************************************************************************/
15
+ //#region PROPERTIES
16
+ /**
17
+ * Disables the item, preventing any user interaction.
18
+ */
19
+ this.disabled = false;
20
+ /**
21
+ * Indicates if the item is selected.
22
+ */
23
+ this.selected = false;
24
+ //#endregion EVENTS
25
+ /****************************************************************************/
26
+ //#region METHODS
27
+ this.handleSelected = () => {
28
+ if (this.disabled)
29
+ return;
30
+ this.dropdownItemSelected.emit({
31
+ label: this.label,
32
+ value: this.value,
33
+ });
34
+ };
35
+ }
36
+ handleKeyDown(event) {
37
+ var _a, _b;
38
+ if (event.target !== this.el)
39
+ return;
40
+ if (event.key === 'Enter' || event.key === ' ') {
41
+ event.preventDefault();
42
+ this.handleSelected();
43
+ (_b = (_a = this.el
44
+ .closest('nv-fielddropdown')) === null || _a === void 0 ? void 0 : _a.querySelector("[data-scope='focusable']")) === null || _b === void 0 ? void 0 : _b.focus();
45
+ }
46
+ }
47
+ //#endregion METHODS
48
+ /****************************************************************************/
49
+ //#region LIFECYCLE
50
+ componentWillLoad() {
51
+ var _a;
52
+ this.composed = Boolean(this.el.children.length);
53
+ if (!this.value) {
54
+ const fallback = (_a = this.label) !== null && _a !== void 0 ? _a : this.el.textContent;
55
+ this.value = fallback.replace(/\W+/g, ''); // Remove non-word characters
56
+ }
57
+ }
58
+ //#endregion LIFECYCLE
59
+ /****************************************************************************/
60
+ //#region RENDER
61
+ render() {
62
+ return (index.h(index.Host, { key: '8f867e8c456eae541561024d5194e1582504e85b', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, index.h("slot", { key: '2f26847b783458cde7a99d69269b0e15f381cdb8' }), !this.composed && (index.h("div", { key: '22229450f3e1492d1f71cbd9e89c6e0204cee201', class: "text-wrapper" }, index.h("span", { key: 'a5c691f3addf577acd848b6fe72c23388d116584', "data-scope": "text" }, this.label))), this.selected && (index.h("nv-icon", { key: '02232856ec60e9b741ced372a9d05def5d822cc6', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
63
+ }
64
+ get el() { return index.getElement(this); }
65
+ };
66
+ NvFielddropdownitem.style = NvFielddropdownitemStyle0;
67
+
68
+ exports.nv_fielddropdownitem = NvFielddropdownitem;
@@ -0,0 +1,68 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-BZCQTWfv.js');
4
+ require('react');
5
+
6
+ const nvFielddropdownitemCss = "nv-fielddropdownitem{display:flex;gap:var(--spacing-2);flex-wrap:wrap;align-items:center;width:100%;padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x);font-weight:var(--menu-contextual-item-font-weight);font-size:var(--list-dropdown-font-size);line-height:var(--list-dropdown-line-height);color:var(--components-list-dropdown-item-label-default);border-radius:var(--list-dropdown-item-radius);transition:background-color 150ms ease-out, color 150ms ease-out;cursor:pointer}nv-fielddropdownitem:hover,nv-fielddropdownitem:focus,nv-fielddropdownitem:focus-within{background-color:var(--components-list-dropdown-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-fielddropdownitem[disabled]:not([disabled=false]){cursor:not-allowed;background-color:unset;color:var(--components-menu-contextual-item-content-disabled)}nv-fielddropdownitem .text-wrapper{display:flex;flex-grow:1;align-items:center;justify-content:space-between}nv-fielddropdownitem [data-scope=text]{flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}nv-fielddropdownitem nv-icon[data-scope=selected]{color:var(--components-list-dropdown-item-label-default);align-self:center;margin-left:auto}";
7
+ const NvFielddropdownitemStyle0 = nvFielddropdownitemCss;
8
+
9
+ const NvFielddropdownitem = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.dropdownItemSelected = index.createEvent(this, "dropdownItemSelected");
13
+ this.composed = false;
14
+ /****************************************************************************/
15
+ //#region PROPERTIES
16
+ /**
17
+ * Disables the item, preventing any user interaction.
18
+ */
19
+ this.disabled = false;
20
+ /**
21
+ * Indicates if the item is selected.
22
+ */
23
+ this.selected = false;
24
+ //#endregion EVENTS
25
+ /****************************************************************************/
26
+ //#region METHODS
27
+ this.handleSelected = () => {
28
+ if (this.disabled)
29
+ return;
30
+ this.dropdownItemSelected.emit({
31
+ label: this.label,
32
+ value: this.value,
33
+ });
34
+ };
35
+ }
36
+ handleKeyDown(event) {
37
+ var _a, _b;
38
+ if (event.target !== this.el)
39
+ return;
40
+ if (event.key === 'Enter' || event.key === ' ') {
41
+ event.preventDefault();
42
+ this.handleSelected();
43
+ (_b = (_a = this.el
44
+ .closest('nv-fielddropdown')) === null || _a === void 0 ? void 0 : _a.querySelector("[data-scope='focusable']")) === null || _b === void 0 ? void 0 : _b.focus();
45
+ }
46
+ }
47
+ //#endregion METHODS
48
+ /****************************************************************************/
49
+ //#region LIFECYCLE
50
+ componentWillLoad() {
51
+ var _a;
52
+ this.composed = Boolean(this.el.children.length);
53
+ if (!this.value) {
54
+ const fallback = (_a = this.label) !== null && _a !== void 0 ? _a : this.el.textContent;
55
+ this.value = fallback.replace(/\W+/g, ''); // Remove non-word characters
56
+ }
57
+ }
58
+ //#endregion LIFECYCLE
59
+ /****************************************************************************/
60
+ //#region RENDER
61
+ render() {
62
+ return (index.h(index.Host, { key: 'acee05b9d46a503b8ca19acf9f96577f83686c38', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, index.h("slot", { key: '07eb6931adeb42c1bd9d83b58ef43d07eb0fd4df' }), !this.composed && (index.h("div", { key: '4a1c9d51f6d7e2ea3680ddd2294bc5a88c6a354b', class: "text-wrapper" }, index.h("span", { key: '6f13add04158044d4b3cd00b386ed0ed5cde87fc', "data-scope": "text" }, this.label))), this.selected && (index.h("nv-icon", { key: '88bfab2accd9b3bb8a2bb8fbbc6bafab8712432e', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
63
+ }
64
+ get el() { return index.getElement(this); }
65
+ };
66
+ NvFielddropdownitem.style = NvFielddropdownitemStyle0;
67
+
68
+ exports.nv_fielddropdownitem = NvFielddropdownitem;
@@ -0,0 +1,68 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-wDACGzKb.js');
4
+ require('react');
5
+
6
+ const nvFielddropdownitemCss = "nv-fielddropdownitem{display:flex;gap:var(--spacing-2);flex-wrap:wrap;align-items:center;width:100%;padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x);font-weight:var(--menu-contextual-item-font-weight);font-size:var(--list-dropdown-font-size);line-height:var(--list-dropdown-line-height);color:var(--components-list-dropdown-item-label-default);border-radius:var(--list-dropdown-item-radius);transition:background-color 150ms ease-out, color 150ms ease-out;cursor:pointer}nv-fielddropdownitem:hover,nv-fielddropdownitem:focus,nv-fielddropdownitem:focus-within{background-color:var(--components-list-dropdown-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-fielddropdownitem[disabled]:not([disabled=false]){cursor:not-allowed;background-color:unset;color:var(--components-menu-contextual-item-content-disabled)}nv-fielddropdownitem .text-wrapper{display:flex;flex-grow:1;align-items:center;justify-content:space-between}nv-fielddropdownitem [data-scope=text]{flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}nv-fielddropdownitem nv-icon[data-scope=selected]{color:var(--components-list-dropdown-item-label-default);align-self:center;margin-left:auto}";
7
+ const NvFielddropdownitemStyle0 = nvFielddropdownitemCss;
8
+
9
+ const NvFielddropdownitem = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.dropdownItemSelected = index.createEvent(this, "dropdownItemSelected");
13
+ this.composed = false;
14
+ /****************************************************************************/
15
+ //#region PROPERTIES
16
+ /**
17
+ * Disables the item, preventing any user interaction.
18
+ */
19
+ this.disabled = false;
20
+ /**
21
+ * Indicates if the item is selected.
22
+ */
23
+ this.selected = false;
24
+ //#endregion EVENTS
25
+ /****************************************************************************/
26
+ //#region METHODS
27
+ this.handleSelected = () => {
28
+ if (this.disabled)
29
+ return;
30
+ this.dropdownItemSelected.emit({
31
+ label: this.label,
32
+ value: this.value,
33
+ });
34
+ };
35
+ }
36
+ handleKeyDown(event) {
37
+ var _a, _b;
38
+ if (event.target !== this.el)
39
+ return;
40
+ if (event.key === 'Enter' || event.key === ' ') {
41
+ event.preventDefault();
42
+ this.handleSelected();
43
+ (_b = (_a = this.el
44
+ .closest('nv-fielddropdown')) === null || _a === void 0 ? void 0 : _a.querySelector("[data-scope='focusable']")) === null || _b === void 0 ? void 0 : _b.focus();
45
+ }
46
+ }
47
+ //#endregion METHODS
48
+ /****************************************************************************/
49
+ //#region LIFECYCLE
50
+ componentWillLoad() {
51
+ var _a;
52
+ this.composed = Boolean(this.el.children.length);
53
+ if (!this.value) {
54
+ const fallback = (_a = this.label) !== null && _a !== void 0 ? _a : this.el.textContent;
55
+ this.value = fallback.replace(/\W+/g, ''); // Remove non-word characters
56
+ }
57
+ }
58
+ //#endregion LIFECYCLE
59
+ /****************************************************************************/
60
+ //#region RENDER
61
+ render() {
62
+ return (index.h(index.Host, { key: '228a213b0a8acb108676e412ed2aa8bcd3f2e88d', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, index.h("slot", { key: '4578676f2a58e9a3a3a5173ff4659ca8e65755df' }), !this.composed && (index.h("div", { key: 'a4f670296e56319007852726fd5fa3dca1ea3d04', class: "text-wrapper" }, index.h("span", { key: '2b69bca3ee6e1d7e8db57befdfb57bd27c096658', "data-scope": "text" }, this.label))), this.selected && (index.h("nv-icon", { key: '869900dc55ef7e35550d9de1aea06478e90ba890', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
63
+ }
64
+ get el() { return index.getElement(this); }
65
+ };
66
+ NvFielddropdownitem.style = NvFielddropdownitemStyle0;
67
+
68
+ exports.nv_fielddropdownitem = NvFielddropdownitem;
@@ -0,0 +1,68 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-CDe7nrrW.js');
4
+ require('react');
5
+
6
+ const nvFielddropdownitemCss = "nv-fielddropdownitem{display:flex;gap:var(--spacing-2);flex-wrap:wrap;align-items:center;width:100%;padding:var(--list-dropdown-item-padding-y) var(--list-dropdown-item-padding-x);font-weight:var(--menu-contextual-item-font-weight);font-size:var(--list-dropdown-font-size);line-height:var(--list-dropdown-line-height);color:var(--components-list-dropdown-item-label-default);border-radius:var(--list-dropdown-item-radius);transition:background-color 150ms ease-out, color 150ms ease-out;cursor:pointer}nv-fielddropdownitem:hover,nv-fielddropdownitem:focus,nv-fielddropdownitem:focus-within{background-color:var(--components-list-dropdown-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-fielddropdownitem[disabled]:not([disabled=false]){cursor:not-allowed;background-color:unset;color:var(--components-menu-contextual-item-content-disabled)}nv-fielddropdownitem .text-wrapper{display:flex;flex-grow:1;align-items:center;justify-content:space-between}nv-fielddropdownitem [data-scope=text]{flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}nv-fielddropdownitem nv-icon[data-scope=selected]{color:var(--components-list-dropdown-item-label-default);align-self:center;margin-left:auto}";
7
+ const NvFielddropdownitemStyle0 = nvFielddropdownitemCss;
8
+
9
+ const NvFielddropdownitem = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.dropdownItemSelected = index.createEvent(this, "dropdownItemSelected");
13
+ this.composed = false;
14
+ /****************************************************************************/
15
+ //#region PROPERTIES
16
+ /**
17
+ * Disables the item, preventing any user interaction.
18
+ */
19
+ this.disabled = false;
20
+ /**
21
+ * Indicates if the item is selected.
22
+ */
23
+ this.selected = false;
24
+ //#endregion EVENTS
25
+ /****************************************************************************/
26
+ //#region METHODS
27
+ this.handleSelected = () => {
28
+ if (this.disabled)
29
+ return;
30
+ this.dropdownItemSelected.emit({
31
+ label: this.label,
32
+ value: this.value,
33
+ });
34
+ };
35
+ }
36
+ handleKeyDown(event) {
37
+ var _a, _b;
38
+ if (event.target !== this.el)
39
+ return;
40
+ if (event.key === 'Enter' || event.key === ' ') {
41
+ event.preventDefault();
42
+ this.handleSelected();
43
+ (_b = (_a = this.el
44
+ .closest('nv-fielddropdown')) === null || _a === void 0 ? void 0 : _a.querySelector("[data-scope='focusable']")) === null || _b === void 0 ? void 0 : _b.focus();
45
+ }
46
+ }
47
+ //#endregion METHODS
48
+ /****************************************************************************/
49
+ //#region LIFECYCLE
50
+ componentWillLoad() {
51
+ var _a;
52
+ this.composed = Boolean(this.el.children.length);
53
+ if (!this.value) {
54
+ const fallback = (_a = this.label) !== null && _a !== void 0 ? _a : this.el.textContent;
55
+ this.value = fallback.replace(/\W+/g, ''); // Remove non-word characters
56
+ }
57
+ }
58
+ //#endregion LIFECYCLE
59
+ /****************************************************************************/
60
+ //#region RENDER
61
+ render() {
62
+ return (index.h(index.Host, { key: '228a213b0a8acb108676e412ed2aa8bcd3f2e88d', role: "menuitem", tabindex: '-1', onClick: this.handleSelected }, index.h("slot", { key: '4578676f2a58e9a3a3a5173ff4659ca8e65755df' }), !this.composed && (index.h("div", { key: 'a4f670296e56319007852726fd5fa3dca1ea3d04', class: "text-wrapper" }, index.h("span", { key: '2b69bca3ee6e1d7e8db57befdfb57bd27c096658', "data-scope": "text" }, this.label))), this.selected && (index.h("nv-icon", { key: '869900dc55ef7e35550d9de1aea06478e90ba890', name: "check", "aria-hidden": "true", "data-scope": "selected" }))));
63
+ }
64
+ get el() { return index.getElement(this); }
65
+ };
66
+ NvFielddropdownitem.style = NvFielddropdownitemStyle0;
67
+
68
+ exports.nv_fielddropdownitem = NvFielddropdownitem;