@nova-design-system/nova-react 3.0.0-beta.44 → 3.0.0-beta.46
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.
- package/dist/cjs/{index-wDACGzKb.js → index-BgDhK4Po.js} +183 -171
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/{nv-alert.entry-BVY_rxey.js → nv-alert.entry-C9DnCn0Q.js} +1 -1
- package/dist/cjs/{nv-avatar.entry-CFgnor0-.js → nv-avatar.entry-Cj_bK7KY.js} +1 -1
- package/dist/cjs/{nv-badge_2.entry-BFURAuBQ.js → nv-badge_2.entry-H664ASUM.js} +5 -5
- package/dist/cjs/{nv-base.entry-9HF044Di.js → nv-base.entry-DdLnS1hF.js} +1 -1
- package/dist/cjs/{nv-breadcrumb.entry-CL9l0Wkr.js → nv-breadcrumb.entry-BOyjRSxM.js} +2 -2
- package/dist/cjs/{nv-breadcrumbs.entry-9LlUycIv.js → nv-breadcrumbs.entry-DkffTj6Z.js} +1 -1
- package/dist/cjs/{nv-button.entry-B3rEQuGV.js → nv-button.entry-Dv4bG9oE.js} +6 -4
- package/dist/cjs/{nv-calendar.entry-DSWhDnEC.js → nv-calendar.entry-DSoKDy9Q.js} +1 -1
- package/dist/cjs/{nv-col.entry-DDEtfCv-.js → nv-col.entry-CGNiCKta.js} +1 -1
- package/dist/cjs/{nv-datagrid.entry-5VIvkJGL.js → nv-datagrid.entry-YSL7aTz5.js} +67 -7
- package/dist/cjs/nv-datagridcolumn.entry-7whgB5iS.js +22 -0
- package/dist/cjs/{nv-dialog.entry-BgHknrOx.js → nv-dialog.entry-CLANnPw3.js} +17 -13
- package/dist/cjs/{nv-dialogfooter_2.entry-CXvA0O-2.js → nv-dialogfooter_2.entry-cHevwuGs.js} +1 -1
- package/dist/cjs/{nv-fieldcheckbox.entry-DTIebeJR.js → nv-fieldcheckbox.entry-BV8M8SyS.js} +2 -2
- package/dist/cjs/{nv-fielddate.entry-CIo_61Dc.js → nv-fielddate.entry--KEcXuio.js} +1 -1
- package/dist/cjs/{nv-fielddaterange.entry-D0fq5KFb.js → nv-fielddaterange.entry-Bctzvr40.js} +1 -1
- package/dist/cjs/{nv-fielddropdown.entry-BAaPyGtB.js → nv-fielddropdown.entry-DJPARQ0F.js} +4 -10
- package/dist/cjs/{nv-fielddropdownitem.entry-CW4WMmSZ.js → nv-fielddropdownitem.entry-DAlnhF7-.js} +1 -1
- package/dist/cjs/{nv-fieldmultiselect.entry-BGzYCJuF.js → nv-fieldmultiselect.entry-DDKtC-sR.js} +10 -65
- package/dist/cjs/{nv-fieldnumber.entry-C8zJkL24.js → nv-fieldnumber.entry-FzcOQMWp.js} +1 -1
- package/dist/cjs/{nv-fieldpassword.entry-7lS0Msfg.js → nv-fieldpassword.entry-ZgJKgEWo.js} +10 -8
- package/dist/cjs/{nv-fieldradio.entry-BgpmbG9E.js → nv-fieldradio.entry-B6vwI0oH.js} +1 -1
- package/dist/cjs/{nv-fieldselect.entry-CFDqeR-D.js → nv-fieldselect.entry-Dpb1RR2D.js} +2 -2
- package/dist/cjs/{nv-fieldtext.entry-DDqDSJp3.js → nv-fieldtext.entry-WhMFksEn.js} +1 -1
- package/dist/cjs/{nv-fieldtextarea.entry-DqzeITCG.js → nv-fieldtextarea.entry-Cpqi_pE7.js} +1 -1
- package/dist/cjs/{nv-fieldtime.entry-CPyLyQfR.js → nv-fieldtime.entry-BApGHC9K.js} +1 -1
- package/dist/cjs/{nv-icon.entry-B0Y3rgBQ.js → nv-icon.entry-DTbgrNDQ.js} +1 -1
- package/dist/cjs/{nv-iconbutton_2.entry-B02iDUid.js → nv-iconbutton_2.entry-D5Wjr6mr.js} +1 -1
- package/dist/cjs/{nv-menu.entry-BfmYkdYY.js → nv-menu.entry-4P44Bom1.js} +4 -4
- package/dist/cjs/{nv-menuitem.entry-Cedg0TCQ.js → nv-menuitem.entry-pYkLIeY9.js} +1 -1
- package/dist/cjs/{nv-popover.entry-C57rfYUn.js → nv-popover.entry-DJzEjs-d.js} +12 -10
- package/dist/cjs/{nv-row.entry-Ca7LiDAy.js → nv-row.entry-AQGhBTGs.js} +1 -1
- package/dist/cjs/{nv-stack.entry-BNyPxECg.js → nv-stack.entry-Bb6k4Yob.js} +1 -1
- package/dist/cjs/{nv-table.entry-DzOGLNUx.js → nv-table.entry-C4DY5CRF.js} +1 -1
- package/dist/cjs/{nv-tablecolumn.entry-BDCw_45v.js → nv-tablecolumn.entry-jJAoHJnt.js} +1 -1
- package/dist/cjs/{nv-toggle.entry-BIclNIeq.js → nv-toggle.entry-P76L0fsx.js} +2 -2
- package/dist/cjs/{nv-tooltip.entry--TVfBopp.js → nv-tooltip.entry-DC7XngcD.js} +1 -1
- package/dist/generated/components.js +1 -1
- package/dist/types/generated/components.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/index-BZCQTWfv.js +0 -26372
- package/dist/cjs/index-B_VOAJzk.js +0 -26373
- package/dist/cjs/index-C8UfzrMI.js +0 -26405
- package/dist/cjs/index-CDe7nrrW.js +0 -26373
- package/dist/cjs/index-CEWbQ5nh.js +0 -26373
- package/dist/cjs/index-CIcUUomJ.js +0 -26373
- package/dist/cjs/index-CinzsZ8D.js +0 -26405
- package/dist/cjs/index-CtI3SivD.js +0 -26373
- package/dist/cjs/nv-alert.entry-8esWDUyU.js +0 -173
- package/dist/cjs/nv-alert.entry-B-P-Fgdo.js +0 -173
- package/dist/cjs/nv-alert.entry-B3NpZh1C.js +0 -173
- package/dist/cjs/nv-alert.entry-BU86GY-d.js +0 -173
- package/dist/cjs/nv-alert.entry-CwZcD170.js +0 -173
- package/dist/cjs/nv-alert.entry-CxSN1zpW.js +0 -173
- package/dist/cjs/nv-alert.entry-DsoqN5tQ.js +0 -173
- package/dist/cjs/nv-alert.entry-xuY-Lvuj.js +0 -173
- package/dist/cjs/nv-avatar.entry-CO6bt4k6.js +0 -67
- package/dist/cjs/nv-avatar.entry-DJkpupVT.js +0 -67
- package/dist/cjs/nv-avatar.entry-DKXMQPOz.js +0 -67
- package/dist/cjs/nv-avatar.entry-DWOADxdQ.js +0 -67
- package/dist/cjs/nv-avatar.entry-DjyiGt07.js +0 -67
- package/dist/cjs/nv-avatar.entry-DuN1d3Vy.js +0 -67
- package/dist/cjs/nv-avatar.entry-pREKtiv2.js +0 -67
- package/dist/cjs/nv-avatar.entry-yyLQEqI7.js +0 -67
- package/dist/cjs/nv-badge_2.entry-BQXL0ZhP.js +0 -195
- package/dist/cjs/nv-badge_2.entry-CJQWS2xG.js +0 -195
- package/dist/cjs/nv-badge_2.entry-D0jeqYIQ.js +0 -195
- package/dist/cjs/nv-badge_2.entry-DKGHx4c8.js +0 -194
- package/dist/cjs/nv-badge_2.entry-Drgx-565.js +0 -195
- package/dist/cjs/nv-badge_2.entry-im1VnU5f.js +0 -195
- package/dist/cjs/nv-badge_2.entry-wDuiCwys.js +0 -195
- package/dist/cjs/nv-badge_2.entry-xfXsesV0.js +0 -195
- package/dist/cjs/nv-base.entry-BO-6krwg.js +0 -71
- package/dist/cjs/nv-base.entry-BmY-1Lne.js +0 -71
- package/dist/cjs/nv-base.entry-BuxI7QmU.js +0 -71
- package/dist/cjs/nv-base.entry-CcaAXjnO.js +0 -71
- package/dist/cjs/nv-base.entry-Ch8ncPl0.js +0 -71
- package/dist/cjs/nv-base.entry-D7gUvPIG.js +0 -71
- package/dist/cjs/nv-base.entry-DwtTXK_n.js +0 -71
- package/dist/cjs/nv-base.entry-c723sI4Y.js +0 -71
- package/dist/cjs/nv-breadcrumb.entry-B0hIeE83.js +0 -45
- package/dist/cjs/nv-breadcrumb.entry-B9rOxsg_.js +0 -45
- package/dist/cjs/nv-breadcrumb.entry-BtM_AHRC.js +0 -45
- package/dist/cjs/nv-breadcrumb.entry-C-xHbSJw.js +0 -45
- package/dist/cjs/nv-breadcrumb.entry-CxGReUqZ.js +0 -45
- package/dist/cjs/nv-breadcrumb.entry-DTwjCmMI.js +0 -45
- package/dist/cjs/nv-breadcrumb.entry-LYt0sALP.js +0 -45
- package/dist/cjs/nv-breadcrumb.entry-wy-P2BMg.js +0 -45
- package/dist/cjs/nv-breadcrumbs.entry-B7CaTbBe.js +0 -20
- package/dist/cjs/nv-breadcrumbs.entry-BA-TnreZ.js +0 -20
- package/dist/cjs/nv-breadcrumbs.entry-CEmZ3yFi.js +0 -20
- package/dist/cjs/nv-breadcrumbs.entry-Cq0LsIFs.js +0 -20
- package/dist/cjs/nv-breadcrumbs.entry-De5lsjQf.js +0 -20
- package/dist/cjs/nv-breadcrumbs.entry-_w38BddR.js +0 -20
- package/dist/cjs/nv-breadcrumbs.entry-jn5hRjpQ.js +0 -20
- package/dist/cjs/nv-breadcrumbs.entry-ubxLcEUH.js +0 -20
- package/dist/cjs/nv-button.entry-B5-Wf9hh.js +0 -162
- package/dist/cjs/nv-button.entry-CBNfIn-r.js +0 -162
- package/dist/cjs/nv-button.entry-D-DPQDNM.js +0 -162
- package/dist/cjs/nv-button.entry-DHZX7KH4.js +0 -162
- package/dist/cjs/nv-button.entry-DLoECCSK.js +0 -162
- package/dist/cjs/nv-button.entry-DaSGnB1L.js +0 -162
- package/dist/cjs/nv-button.entry-Dk6DqHG2.js +0 -162
- package/dist/cjs/nv-button.entry-DxzA6-My.js +0 -162
- package/dist/cjs/nv-calendar.entry-BC6NDsVl.js +0 -1036
- package/dist/cjs/nv-calendar.entry-BeCCaAVE.js +0 -1036
- package/dist/cjs/nv-calendar.entry-DKz-iBnp.js +0 -1036
- package/dist/cjs/nv-calendar.entry-DNyH8T5e.js +0 -1036
- package/dist/cjs/nv-calendar.entry-DUHckAh3.js +0 -1036
- package/dist/cjs/nv-calendar.entry-NU1TumeS.js +0 -1036
- package/dist/cjs/nv-calendar.entry-UUE6v4YC.js +0 -1036
- package/dist/cjs/nv-calendar.entry-ZtfR2qOV.js +0 -1036
- package/dist/cjs/nv-col.entry-B5nCHhbO.js +0 -37
- package/dist/cjs/nv-col.entry-Bx1VZSMw.js +0 -37
- package/dist/cjs/nv-col.entry-C400BeEE.js +0 -37
- package/dist/cjs/nv-col.entry-CYjFAVMF.js +0 -37
- package/dist/cjs/nv-col.entry-DNUY559i.js +0 -37
- package/dist/cjs/nv-col.entry-DqzImLSJ.js +0 -37
- package/dist/cjs/nv-col.entry-DtYBQEJz.js +0 -37
- package/dist/cjs/nv-col.entry-X7jkNThH.js +0 -37
- package/dist/cjs/nv-datagrid.entry-Ba9sfMQp.js +0 -3671
- package/dist/cjs/nv-datagrid.entry-Beehe_Sq.js +0 -3671
- package/dist/cjs/nv-datagrid.entry-CkD_jV75.js +0 -3671
- package/dist/cjs/nv-datagrid.entry-Cp8RCSEv.js +0 -3671
- package/dist/cjs/nv-datagrid.entry-D6p67Pa6.js +0 -3671
- package/dist/cjs/nv-datagrid.entry-DKqScS8N.js +0 -3671
- package/dist/cjs/nv-datagrid.entry-DL-Fyo4l.js +0 -3671
- package/dist/cjs/nv-datagrid.entry-ee865R4b.js +0 -3671
- package/dist/cjs/nv-datagridcolumn.entry-BeGXaBUe.js +0 -18
- package/dist/cjs/nv-datagridcolumn.entry-BodICzof.js +0 -18
- package/dist/cjs/nv-datagridcolumn.entry-CR9_1fsZ.js +0 -18
- package/dist/cjs/nv-datagridcolumn.entry-C_FtSltZ.js +0 -18
- package/dist/cjs/nv-datagridcolumn.entry-CyTG5E7M.js +0 -18
- package/dist/cjs/nv-datagridcolumn.entry-D1cyTR_G.js +0 -18
- package/dist/cjs/nv-datagridcolumn.entry-DRE7BDkk.js +0 -18
- package/dist/cjs/nv-datagridcolumn.entry-Du6-7fjr.js +0 -18
- package/dist/cjs/nv-datagridcolumn.entry-N70Aen6Q.js +0 -18
- package/dist/cjs/nv-dialog.entry-BjTJ5FFL.js +0 -784
- package/dist/cjs/nv-dialog.entry-C1hg-EG1.js +0 -784
- package/dist/cjs/nv-dialog.entry-COv2do_O.js +0 -784
- package/dist/cjs/nv-dialog.entry-Ck2hU43g.js +0 -784
- package/dist/cjs/nv-dialog.entry-Cl8iLrCo.js +0 -784
- package/dist/cjs/nv-dialog.entry-Cy71tlWz.js +0 -784
- package/dist/cjs/nv-dialog.entry-DdAHZGzm.js +0 -784
- package/dist/cjs/nv-dialog.entry-Do_uALC6.js +0 -784
- package/dist/cjs/nv-dialogfooter_2.entry-Ck6adFfd.js +0 -134
- package/dist/cjs/nv-dialogfooter_2.entry-DHa0SYhR.js +0 -134
- package/dist/cjs/nv-dialogfooter_2.entry-DJ8qS9q6.js +0 -134
- package/dist/cjs/nv-dialogfooter_2.entry-DJkKzEgO.js +0 -134
- package/dist/cjs/nv-dialogfooter_2.entry-DKvzkpt3.js +0 -134
- package/dist/cjs/nv-dialogfooter_2.entry-D_VuofBe.js +0 -134
- package/dist/cjs/nv-dialogfooter_2.entry-L5tHIb_T.js +0 -134
- package/dist/cjs/nv-dialogfooter_2.entry-kEa1K0n5.js +0 -134
- package/dist/cjs/nv-fieldcheckbox.entry-B4We4zG2.js +0 -137
- package/dist/cjs/nv-fieldcheckbox.entry-BmYyNV4r.js +0 -137
- package/dist/cjs/nv-fieldcheckbox.entry-C0DmeqXD.js +0 -137
- package/dist/cjs/nv-fieldcheckbox.entry-CBsQsbIA.js +0 -137
- package/dist/cjs/nv-fieldcheckbox.entry-DoGQX-5D.js +0 -137
- package/dist/cjs/nv-fieldcheckbox.entry-P--9IAJF.js +0 -137
- package/dist/cjs/nv-fieldcheckbox.entry-dBYg7CBU.js +0 -137
- package/dist/cjs/nv-fieldcheckbox.entry-dxhUZiEg.js +0 -137
- package/dist/cjs/nv-fielddate.entry-B53E-JaI.js +0 -278
- package/dist/cjs/nv-fielddate.entry-Bofdd2rE.js +0 -278
- package/dist/cjs/nv-fielddate.entry-CekIFTA0.js +0 -278
- package/dist/cjs/nv-fielddate.entry-D-PjbYaA.js +0 -278
- package/dist/cjs/nv-fielddate.entry-DRX2mfZL.js +0 -278
- package/dist/cjs/nv-fielddate.entry-DgS0X1wI.js +0 -278
- package/dist/cjs/nv-fielddate.entry-Do69eqHA.js +0 -278
- package/dist/cjs/nv-fielddate.entry-NJ6RAqlG.js +0 -278
- package/dist/cjs/nv-fielddaterange.entry-BrC5jKLp.js +0 -355
- package/dist/cjs/nv-fielddaterange.entry-BtPwfRw-.js +0 -355
- package/dist/cjs/nv-fielddaterange.entry-CxaBrZAX.js +0 -355
- package/dist/cjs/nv-fielddaterange.entry-D-6LjhjB.js +0 -355
- package/dist/cjs/nv-fielddaterange.entry-D2dzD3rW.js +0 -355
- package/dist/cjs/nv-fielddaterange.entry-DTLKVIqg.js +0 -355
- package/dist/cjs/nv-fielddaterange.entry-ka3JiDvT.js +0 -355
- package/dist/cjs/nv-fielddaterange.entry-w8WXPDuX.js +0 -355
- package/dist/cjs/nv-fielddropdown.entry-C5kMWmPP.js +0 -361
- package/dist/cjs/nv-fielddropdown.entry-CX2Ycn2i.js +0 -361
- package/dist/cjs/nv-fielddropdown.entry-CZxQlRNa.js +0 -361
- package/dist/cjs/nv-fielddropdown.entry-DUAKFYgw.js +0 -391
- package/dist/cjs/nv-fielddropdown.entry-DVl_Uy5A.js +0 -361
- package/dist/cjs/nv-fielddropdown.entry-MsUR1kVe.js +0 -391
- package/dist/cjs/nv-fielddropdown.entry-akfp1Bcy.js +0 -361
- package/dist/cjs/nv-fielddropdown.entry-hHh_RDC4.js +0 -361
- package/dist/cjs/nv-fielddropdownitem.entry-BsbvJERH.js +0 -70
- package/dist/cjs/nv-fielddropdownitem.entry-BscNyhXz.js +0 -68
- package/dist/cjs/nv-fielddropdownitem.entry-CMWgXP_Z.js +0 -68
- package/dist/cjs/nv-fielddropdownitem.entry-CS1Ejbc9.js +0 -68
- package/dist/cjs/nv-fielddropdownitem.entry-CuQqsz4f.js +0 -68
- package/dist/cjs/nv-fielddropdownitem.entry-DRM-Zljt.js +0 -70
- package/dist/cjs/nv-fielddropdownitem.entry-Dn2HJc1t.js +0 -68
- package/dist/cjs/nv-fielddropdownitem.entry-HK2I5pUG.js +0 -68
- package/dist/cjs/nv-fieldmultiselect.entry-5jdK36m6.js +0 -1060
- package/dist/cjs/nv-fieldmultiselect.entry-6o1yhNI5.js +0 -1060
- package/dist/cjs/nv-fieldmultiselect.entry-BN1ObPi8.js +0 -1060
- package/dist/cjs/nv-fieldmultiselect.entry-CuVEYN0v.js +0 -1060
- package/dist/cjs/nv-fieldmultiselect.entry-DFr-ZICs.js +0 -1060
- package/dist/cjs/nv-fieldmultiselect.entry-DHXJErt4.js +0 -1060
- package/dist/cjs/nv-fieldmultiselect.entry-Dr8FfT_W.js +0 -1060
- package/dist/cjs/nv-fieldmultiselect.entry-DycRd14V.js +0 -1060
- package/dist/cjs/nv-fieldnumber.entry-BHhIsjLK.js +0 -126
- package/dist/cjs/nv-fieldnumber.entry-BklKxOFA.js +0 -126
- package/dist/cjs/nv-fieldnumber.entry-C9rKWY_M.js +0 -126
- package/dist/cjs/nv-fieldnumber.entry-CEmPQK-3.js +0 -126
- package/dist/cjs/nv-fieldnumber.entry-CLhjFlCj.js +0 -126
- package/dist/cjs/nv-fieldnumber.entry-DZsM1vmO.js +0 -126
- package/dist/cjs/nv-fieldnumber.entry-_UiieYov.js +0 -126
- package/dist/cjs/nv-fieldnumber.entry-ezdDvJh_.js +0 -126
- package/dist/cjs/nv-fieldpassword.entry-B9-QFEsB.js +0 -115
- package/dist/cjs/nv-fieldpassword.entry-BIIoIKH4.js +0 -115
- package/dist/cjs/nv-fieldpassword.entry-BPhQxjsj.js +0 -115
- package/dist/cjs/nv-fieldpassword.entry-Biw__M2W.js +0 -115
- package/dist/cjs/nv-fieldpassword.entry-C5vG4jlh.js +0 -115
- package/dist/cjs/nv-fieldpassword.entry-C_jsHFJI.js +0 -115
- package/dist/cjs/nv-fieldpassword.entry-D4a8SnGr.js +0 -115
- package/dist/cjs/nv-fieldpassword.entry-DZkGQwM8.js +0 -115
- package/dist/cjs/nv-fieldradio.entry-CXR4k3wf.js +0 -102
- package/dist/cjs/nv-fieldradio.entry-CnasQlEx.js +0 -102
- package/dist/cjs/nv-fieldradio.entry-Co7WX2vI.js +0 -102
- package/dist/cjs/nv-fieldradio.entry-DUDPigQb.js +0 -102
- package/dist/cjs/nv-fieldradio.entry-DiD7Luxv.js +0 -102
- package/dist/cjs/nv-fieldradio.entry-Ili2RVKl.js +0 -102
- package/dist/cjs/nv-fieldradio.entry-ZL7KgEZ7.js +0 -102
- package/dist/cjs/nv-fieldradio.entry-aRAaLwpK.js +0 -102
- package/dist/cjs/nv-fieldselect.entry-B94QXSEk.js +0 -365
- package/dist/cjs/nv-fieldselect.entry-BwtEjL08.js +0 -365
- package/dist/cjs/nv-fieldselect.entry-CJSu63o5.js +0 -365
- package/dist/cjs/nv-fieldselect.entry-CmN1R9ij.js +0 -365
- package/dist/cjs/nv-fieldselect.entry-CoDfr4ie.js +0 -365
- package/dist/cjs/nv-fieldselect.entry-D6eRsM9T.js +0 -365
- package/dist/cjs/nv-fieldselect.entry-DgmnHnOR.js +0 -365
- package/dist/cjs/nv-fieldselect.entry-sTbv_flF.js +0 -365
- package/dist/cjs/nv-fieldtext.entry-B1TlZWjU.js +0 -119
- package/dist/cjs/nv-fieldtext.entry-BfQrX8ft.js +0 -119
- package/dist/cjs/nv-fieldtext.entry-BrUQu4OD.js +0 -119
- package/dist/cjs/nv-fieldtext.entry-CW6P-R-Q.js +0 -119
- package/dist/cjs/nv-fieldtext.entry-CyLJxDw6.js +0 -119
- package/dist/cjs/nv-fieldtext.entry-DKdxC2cG.js +0 -119
- package/dist/cjs/nv-fieldtext.entry-DRPCH6Sf.js +0 -119
- package/dist/cjs/nv-fieldtext.entry-IeIHa3jf.js +0 -119
- package/dist/cjs/nv-fieldtextarea.entry-BwJCUiVW.js +0 -194
- package/dist/cjs/nv-fieldtextarea.entry-D86SKGIN.js +0 -194
- package/dist/cjs/nv-fieldtextarea.entry-Dc_TGlmI.js +0 -194
- package/dist/cjs/nv-fieldtextarea.entry-DlFdCv_d.js +0 -194
- package/dist/cjs/nv-fieldtextarea.entry-TI-bucN-.js +0 -194
- package/dist/cjs/nv-fieldtextarea.entry-qMX2O8cX.js +0 -194
- package/dist/cjs/nv-fieldtextarea.entry-tTnWQgE4.js +0 -194
- package/dist/cjs/nv-fieldtextarea.entry-v6VpnEuH.js +0 -194
- package/dist/cjs/nv-fieldtime.entry-CXRtpWt1.js +0 -1011
- package/dist/cjs/nv-fieldtime.entry-CYmcHY1D.js +0 -1011
- package/dist/cjs/nv-fieldtime.entry-DGP1X4wF.js +0 -1011
- package/dist/cjs/nv-fieldtime.entry-DLSuRrlr.js +0 -1011
- package/dist/cjs/nv-fieldtime.entry-Zbjbmm7_.js +0 -1011
- package/dist/cjs/nv-fieldtime.entry-eDVRT6te.js +0 -1011
- package/dist/cjs/nv-fieldtime.entry-j-Fliiqj.js +0 -1011
- package/dist/cjs/nv-fieldtime.entry-uU-IET2k.js +0 -1011
- package/dist/cjs/nv-icon.entry-B_wtREWb.js +0 -79
- package/dist/cjs/nv-icon.entry-BfRAl2b6.js +0 -79
- package/dist/cjs/nv-icon.entry-CrKTCqY_.js +0 -79
- package/dist/cjs/nv-icon.entry-DRRmcXzh.js +0 -79
- package/dist/cjs/nv-icon.entry-Dlj1ko2i.js +0 -79
- package/dist/cjs/nv-icon.entry-S7WlK_lO.js +0 -79
- package/dist/cjs/nv-icon.entry-iipuvT3D.js +0 -79
- package/dist/cjs/nv-icon.entry-xltjoSa2.js +0 -79
- package/dist/cjs/nv-iconbutton_2.entry-BsXvYbCi.js +0 -163
- package/dist/cjs/nv-iconbutton_2.entry-C1Legk9t.js +0 -163
- package/dist/cjs/nv-iconbutton_2.entry-CUiW6MtK.js +0 -163
- package/dist/cjs/nv-iconbutton_2.entry-ClcvupMe.js +0 -163
- package/dist/cjs/nv-iconbutton_2.entry-D8MI5uzP.js +0 -163
- package/dist/cjs/nv-iconbutton_2.entry-D8hZ51H-.js +0 -163
- package/dist/cjs/nv-iconbutton_2.entry-Dx4usGkY.js +0 -163
- package/dist/cjs/nv-iconbutton_2.entry-QwaiOoYl.js +0 -163
- package/dist/cjs/nv-menu.entry-CT98WIRF.js +0 -227
- package/dist/cjs/nv-menu.entry-CfERF478.js +0 -227
- package/dist/cjs/nv-menu.entry-Ci3I7PDt.js +0 -227
- package/dist/cjs/nv-menu.entry-D3qvf_0H.js +0 -227
- package/dist/cjs/nv-menu.entry-DFEYw_KZ.js +0 -227
- package/dist/cjs/nv-menu.entry-DtLnsQW-.js +0 -227
- package/dist/cjs/nv-menu.entry-Kz5kGi2w.js +0 -227
- package/dist/cjs/nv-menu.entry-XdjjbAL6.js +0 -227
- package/dist/cjs/nv-menuitem.entry-3t6TixM7.js +0 -58
- package/dist/cjs/nv-menuitem.entry-BeTXOtir.js +0 -58
- package/dist/cjs/nv-menuitem.entry-C8nXPwP0.js +0 -58
- package/dist/cjs/nv-menuitem.entry-C9dsQqqN.js +0 -58
- package/dist/cjs/nv-menuitem.entry-CxCLeNsY.js +0 -58
- package/dist/cjs/nv-menuitem.entry-DkIG5z-x.js +0 -58
- package/dist/cjs/nv-menuitem.entry-bPnSDq_9.js +0 -58
- package/dist/cjs/nv-menuitem.entry-sRx1fD0O.js +0 -58
- package/dist/cjs/nv-popover.entry-BGXEOQM6.js +0 -1960
- package/dist/cjs/nv-popover.entry-Bv6kuTK_.js +0 -1960
- package/dist/cjs/nv-popover.entry-C6HFJJ-m.js +0 -1960
- package/dist/cjs/nv-popover.entry-CiGCCbn9.js +0 -1960
- package/dist/cjs/nv-popover.entry-CjTPZYkq.js +0 -1960
- package/dist/cjs/nv-popover.entry-CtO6pR6l.js +0 -1960
- package/dist/cjs/nv-popover.entry-Mo3DNUH6.js +0 -1960
- package/dist/cjs/nv-popover.entry-Zt25YeAv.js +0 -1960
- package/dist/cjs/nv-row.entry-BEgyuDR-.js +0 -21
- package/dist/cjs/nv-row.entry-BM_EcSp4.js +0 -21
- package/dist/cjs/nv-row.entry-BPK1Li7w.js +0 -21
- package/dist/cjs/nv-row.entry-B_7PiJA7.js +0 -21
- package/dist/cjs/nv-row.entry-Bwzlub3i.js +0 -21
- package/dist/cjs/nv-row.entry-Cy9vd2iY.js +0 -21
- package/dist/cjs/nv-row.entry-DKoNhAcX.js +0 -21
- package/dist/cjs/nv-row.entry-OYGKTXhV.js +0 -21
- package/dist/cjs/nv-stack.entry-ByaO-0TJ.js +0 -30
- package/dist/cjs/nv-stack.entry-C8ZFDaKn.js +0 -30
- package/dist/cjs/nv-stack.entry-CLMAAbkw.js +0 -30
- package/dist/cjs/nv-stack.entry-DfRRFeEo.js +0 -30
- package/dist/cjs/nv-stack.entry-DiXvhuSS.js +0 -30
- package/dist/cjs/nv-stack.entry-bhess4lQ.js +0 -30
- package/dist/cjs/nv-stack.entry-lwhqS230.js +0 -30
- package/dist/cjs/nv-stack.entry-u3NjC31-.js +0 -30
- package/dist/cjs/nv-table.entry-BNy2ALll.js +0 -338
- package/dist/cjs/nv-table.entry-BPazUUGA.js +0 -338
- package/dist/cjs/nv-table.entry-C7Hd57Iq.js +0 -338
- package/dist/cjs/nv-table.entry-COwgRxqz.js +0 -338
- package/dist/cjs/nv-table.entry-CTo8cqCN.js +0 -338
- package/dist/cjs/nv-table.entry-D3U4dFcw.js +0 -338
- package/dist/cjs/nv-table.entry-mEtRfake.js +0 -338
- package/dist/cjs/nv-table.entry-o525Lfea.js +0 -338
- package/dist/cjs/nv-tablecolumn.entry-BESdQMDh.js +0 -18
- package/dist/cjs/nv-tablecolumn.entry-BzwWPlLf.js +0 -18
- package/dist/cjs/nv-tablecolumn.entry-CuEt5Wgn.js +0 -18
- package/dist/cjs/nv-tablecolumn.entry-D3I1dB1X.js +0 -18
- package/dist/cjs/nv-tablecolumn.entry-DvJF_QTE.js +0 -18
- package/dist/cjs/nv-tablecolumn.entry-DvO0JxdY.js +0 -18
- package/dist/cjs/nv-tablecolumn.entry-L4KLlHFu.js +0 -18
- package/dist/cjs/nv-tablecolumn.entry-vrmt1Y0L.js +0 -18
- package/dist/cjs/nv-toggle.entry-BTqGH_H0.js +0 -79
- package/dist/cjs/nv-toggle.entry-Bv0DrF-x.js +0 -79
- package/dist/cjs/nv-toggle.entry-BxKZDHdI.js +0 -79
- package/dist/cjs/nv-toggle.entry-DXpNGkbz.js +0 -79
- package/dist/cjs/nv-toggle.entry-DYhnFucd.js +0 -79
- package/dist/cjs/nv-toggle.entry-PRWy57Ro.js +0 -79
- package/dist/cjs/nv-toggle.entry-fDIAyeVX.js +0 -79
- package/dist/cjs/nv-toggle.entry-yqg7e7Qc.js +0 -79
- package/dist/cjs/nv-tooltip.entry-58RCazbO.js +0 -44
- package/dist/cjs/nv-tooltip.entry-BBJNnZmj.js +0 -44
- package/dist/cjs/nv-tooltip.entry-BDZfrLHv.js +0 -44
- package/dist/cjs/nv-tooltip.entry-Bnu7xEl6.js +0 -44
- package/dist/cjs/nv-tooltip.entry-BrrSQyMx.js +0 -44
- package/dist/cjs/nv-tooltip.entry-BuSwME_F.js +0 -44
- package/dist/cjs/nv-tooltip.entry-ChQpdQn_.js +0 -44
- package/dist/cjs/nv-tooltip.entry-CvCZZV88.js +0 -44
package/dist/cjs/{nv-fieldmultiselect.entry-BGzYCJuF.js → nv-fieldmultiselect.entry-DDKtC-sR.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BgDhK4Po.js');
|
|
4
4
|
var v4A79185f4 = require('./v4-a79185f4-2n0dOd_Y.js');
|
|
5
5
|
require('react');
|
|
6
6
|
|
|
@@ -79,10 +79,6 @@ const NvFieldmultiselect = class {
|
|
|
79
79
|
* The text entered by the user for filtering multiselect items.
|
|
80
80
|
*/
|
|
81
81
|
this.filterText = '';
|
|
82
|
-
/**
|
|
83
|
-
* Determines whether the multiselect is filterable.
|
|
84
|
-
*/
|
|
85
|
-
this.isFilterable = this.filterable;
|
|
86
82
|
/**
|
|
87
83
|
* Delay in milliseconds before the search is triggered when typing in the filter input.
|
|
88
84
|
* @default 300
|
|
@@ -101,7 +97,7 @@ const NvFieldmultiselect = class {
|
|
|
101
97
|
* element.
|
|
102
98
|
*/
|
|
103
99
|
this.autofocus = false;
|
|
104
|
-
/**
|
|
100
|
+
/**
|
|
105
101
|
* Handle badge close for options mode.
|
|
106
102
|
*/
|
|
107
103
|
this.handleBadgeCloseOptions = () => {
|
|
@@ -141,7 +137,6 @@ const NvFieldmultiselect = class {
|
|
|
141
137
|
if (this.isHandlingEscape) {
|
|
142
138
|
return;
|
|
143
139
|
}
|
|
144
|
-
this.open = false;
|
|
145
140
|
this.filterText = '';
|
|
146
141
|
// Only reorder based on the mode
|
|
147
142
|
if (this.modeState === 'options') {
|
|
@@ -163,7 +158,6 @@ const NvFieldmultiselect = class {
|
|
|
163
158
|
if (!this.el.contains(document.activeElement)) {
|
|
164
159
|
// Close the popover without affecting the divider
|
|
165
160
|
this.open = false;
|
|
166
|
-
this.popoverElement.hide();
|
|
167
161
|
// Reset filter if needed
|
|
168
162
|
if (this.filterable) {
|
|
169
163
|
this.filterText = '';
|
|
@@ -183,7 +177,6 @@ const NvFieldmultiselect = class {
|
|
|
183
177
|
const target = event.target;
|
|
184
178
|
if (target.tagName === 'P' || target.tagName === 'SPAN') {
|
|
185
179
|
this.open = true;
|
|
186
|
-
this.popoverElement.show();
|
|
187
180
|
const inputContainer = this.el.querySelector('.input-container');
|
|
188
181
|
if (inputContainer) {
|
|
189
182
|
inputContainer.classList.add('focus-within');
|
|
@@ -205,7 +198,6 @@ const NvFieldmultiselect = class {
|
|
|
205
198
|
const target = event.target;
|
|
206
199
|
if (target.tagName === 'P' || target.tagName === 'SPAN') {
|
|
207
200
|
this.open = true;
|
|
208
|
-
this.popoverElement.show();
|
|
209
201
|
const inputContainer = this.el.querySelector('.input-container');
|
|
210
202
|
if (inputContainer) {
|
|
211
203
|
inputContainer.classList.add('focus-within');
|
|
@@ -287,7 +279,6 @@ const NvFieldmultiselect = class {
|
|
|
287
279
|
if (!this.el.contains(document.activeElement)) {
|
|
288
280
|
// Close the popover without affecting the divider
|
|
289
281
|
this.open = false;
|
|
290
|
-
this.popoverElement.hide();
|
|
291
282
|
// Reset filter if needed
|
|
292
283
|
if (this.filterable) {
|
|
293
284
|
this.filterText = '';
|
|
@@ -303,16 +294,7 @@ const NvFieldmultiselect = class {
|
|
|
303
294
|
if (this.disabled || this.readonly) {
|
|
304
295
|
return;
|
|
305
296
|
}
|
|
306
|
-
|
|
307
|
-
this.handlePopoverClose();
|
|
308
|
-
}
|
|
309
|
-
else {
|
|
310
|
-
this.open = true;
|
|
311
|
-
this.popoverElement.show();
|
|
312
|
-
if (!this.filterable) {
|
|
313
|
-
this.focusFirstItem();
|
|
314
|
-
}
|
|
315
|
-
}
|
|
297
|
+
this.open = !this.open;
|
|
316
298
|
};
|
|
317
299
|
/**
|
|
318
300
|
* Toggle the multiselect popover for slots mode.
|
|
@@ -321,16 +303,7 @@ const NvFieldmultiselect = class {
|
|
|
321
303
|
if (this.disabled || this.readonly) {
|
|
322
304
|
return;
|
|
323
305
|
}
|
|
324
|
-
|
|
325
|
-
this.handlePopoverClose();
|
|
326
|
-
}
|
|
327
|
-
else {
|
|
328
|
-
this.open = true;
|
|
329
|
-
this.popoverElement.show();
|
|
330
|
-
if (!this.filterable) {
|
|
331
|
-
this.focusFirstItem();
|
|
332
|
-
}
|
|
333
|
-
}
|
|
306
|
+
this.open = !this.open;
|
|
334
307
|
};
|
|
335
308
|
//#endregion METHODS
|
|
336
309
|
/****************************************************************************/
|
|
@@ -340,14 +313,14 @@ const NvFieldmultiselect = class {
|
|
|
340
313
|
* @returns {any} The JSX for options mode
|
|
341
314
|
*/
|
|
342
315
|
this.renderOptionsMode = () => {
|
|
343
|
-
return (index.h(index.Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { htmlFor: this.inputId }, index.h("slot", { name: "label" }, this.label))), index.h("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, index.h("div", { class: "input-wrapper-multiselect", slot: "trigger" }, index.h("slot", { name: "before-input" }), index.h("div", { class: "input-container-multiselect" }, index.h("slot", { name: "leading-input" }), index.h("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0,
|
|
316
|
+
return (index.h(index.Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { htmlFor: this.inputId }, index.h("slot", { name: "label" }, this.label))), index.h("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, index.h("div", { class: "input-wrapper-multiselect", slot: "trigger" }, index.h("slot", { name: "before-input" }), index.h("div", { class: "input-container-multiselect" }, index.h("slot", { name: "leading-input" }), this.selectedValues.length > 0 && (index.h("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0, label: `${this.selectedValues.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.selectedValues.length} ${this.badgeLabel} items`, onCloseClicked: this.handleBadgeCloseOptions })), this.filterable || this.disabled || this.readonly ? (index.h("input", { type: "text", id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.value, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputOptions, onFocus: this.handleInputFocusOptions, onBlur: this.handleInputBlurOptions, onKeyDown: this.handleKeyDown })) : (index.h("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickOptions, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusOptions, role: "combobox", "aria-expanded": this.open }, index.h("span", null, this.value || this.placeholder))), this.error && (index.h("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), index.h("nv-iconbutton", { "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.togglePopoverOptions })), index.h("slot", { name: "after-input" })), index.h("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, index.h("ul", { role: "content" }, this.parsedOptions.map(option => (index.h("nv-fielddropdownitemcheck", { label: option.label, description: option.description, value: option.value, checked: this.selectedValues.includes(option.value), disabled: option.disabled }))), index.h("hr", { class: "multiselect-divider", style: { display: 'none' } })))), this.renderDescriptions()));
|
|
344
317
|
};
|
|
345
318
|
/**
|
|
346
319
|
* Renders the component in slots mode
|
|
347
320
|
* @returns {any} The JSX for slots mode
|
|
348
321
|
*/
|
|
349
322
|
this.renderSlotsMode = () => {
|
|
350
|
-
return (index.h(index.Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { htmlFor: this.inputId }, index.h("slot", { name: "label" }, this.label))), index.h("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, index.h("div", { class: "input-wrapper-multiselect", slot: "trigger" }, index.h("slot", { name: "before-input" }), index.h("div", { class: "input-container-multiselect", onClick: this.handleInputContainerClickSlots }, index.h("slot", { name: "leading-input" }), index.h("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0,
|
|
323
|
+
return (index.h(index.Host, null, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { htmlFor: this.inputId }, index.h("slot", { name: "label" }, this.label))), index.h("nv-popover", { ref: el => (this.popoverElement = el), triggerMode: "controlled", placement: "bottom-start", open: this.open }, index.h("div", { class: "input-wrapper-multiselect", slot: "trigger" }, index.h("slot", { name: "before-input" }), index.h("div", { class: "input-container-multiselect", onClick: this.handleInputContainerClickSlots }, index.h("slot", { name: "leading-input" }), this.selectedValues.length > 0 && (index.h("nv-badge", { slot: "leading-input", "prevent-auto-close": true, color: "10", dismissible: this.selectedValues.length > 0, label: `${this.selectedValues.length} ${this.badgeLabel}`, "aria-label": `Clear all ${this.selectedValues.length} ${this.badgeLabel} items`, onCloseClicked: this.handleBadgeCloseSlots })), this.filterable || this.disabled || this.readonly ? (index.h("input", { id: this.inputId, ref: e => (this.inputElement = e), autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, value: this.value, required: this.required, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInputSlots, onFocus: this.handleInputFocusSlots, onBlur: this.handleInputBlurSlots, onKeyDown: this.handleKeyDown })) : (index.h("p", { id: this.inputId, class: "non-filterable-text", onClick: this.handleInputContainerClickSlots, tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocusSlots, role: "combobox", "aria-expanded": this.open }, index.h("span", null, this.value || this.placeholder))), this.error && (index.h("nv-icon", { name: "alert-circle", class: "validation", size: "md" })), index.h("nv-iconbutton", { "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.togglePopoverSlots })), index.h("slot", { name: "after-input" })), index.h("div", { slot: "content", role: "listbox", "aria-multiselectable": "true", style: { 'max-height': this.maxHeight, 'overflow-y': 'auto' } }, index.h("slot", { name: "content" }))), this.renderDescriptions()));
|
|
351
324
|
};
|
|
352
325
|
}
|
|
353
326
|
//#endregion PROPERTIES
|
|
@@ -368,14 +341,6 @@ const NvFieldmultiselect = class {
|
|
|
368
341
|
if (this.modeState === 'options') {
|
|
369
342
|
this.handleOptionsChange(this.options);
|
|
370
343
|
}
|
|
371
|
-
// Add the listener for the hide event
|
|
372
|
-
requestAnimationFrame(() => {
|
|
373
|
-
if (this.popoverElement) {
|
|
374
|
-
this.popoverElement.addEventListener('hide', () => {
|
|
375
|
-
this.handlePopoverClose();
|
|
376
|
-
});
|
|
377
|
-
}
|
|
378
|
-
});
|
|
379
344
|
// Specific initialization for slots mode
|
|
380
345
|
if (this.modeState === 'slots') {
|
|
381
346
|
Promise.resolve().then(() => {
|
|
@@ -419,12 +384,6 @@ const NvFieldmultiselect = class {
|
|
|
419
384
|
*/
|
|
420
385
|
disconnectedCallback() {
|
|
421
386
|
document.removeEventListener('click', this.handleClickOutside.bind(this));
|
|
422
|
-
// Remove the listener for the hide event
|
|
423
|
-
if (this.popoverElement) {
|
|
424
|
-
this.popoverElement.removeEventListener('hide', () => {
|
|
425
|
-
this.handlePopoverClose();
|
|
426
|
-
});
|
|
427
|
-
}
|
|
428
387
|
}
|
|
429
388
|
/**
|
|
430
389
|
* Emitted when the input loses focus.
|
|
@@ -434,15 +393,13 @@ const NvFieldmultiselect = class {
|
|
|
434
393
|
// Update the open state of popover
|
|
435
394
|
this.open = event.detail;
|
|
436
395
|
if (this.open) {
|
|
396
|
+
// Filter items only if there is filter text
|
|
437
397
|
if (this.filterText) {
|
|
438
398
|
this.filterItems();
|
|
439
399
|
}
|
|
440
400
|
}
|
|
441
|
-
else if (this.modeState === 'options') {
|
|
442
|
-
this.reorderOptionsContent();
|
|
443
|
-
}
|
|
444
401
|
else {
|
|
445
|
-
this.
|
|
402
|
+
this.handlePopoverClose();
|
|
446
403
|
}
|
|
447
404
|
}
|
|
448
405
|
/**
|
|
@@ -520,14 +477,6 @@ const NvFieldmultiselect = class {
|
|
|
520
477
|
// Handle value change and update the corresponding multiselect item if it exists
|
|
521
478
|
this.setInitialSelection();
|
|
522
479
|
}
|
|
523
|
-
/**
|
|
524
|
-
* Emitted when the filterable property changes.
|
|
525
|
-
* @param {boolean} newValue - The new value of the filterable property.
|
|
526
|
-
*/
|
|
527
|
-
watchFilterableHandler(newValue) {
|
|
528
|
-
this.isFilterable = newValue;
|
|
529
|
-
this.filterable = newValue;
|
|
530
|
-
}
|
|
531
480
|
// Add a listener for the slot content
|
|
532
481
|
handleSlotChange(event) {
|
|
533
482
|
// Check: we only want to reorder if it's the "content" slot
|
|
@@ -866,8 +815,7 @@ const NvFieldmultiselect = class {
|
|
|
866
815
|
(this.inputElement && this.inputElement.contains(event.target))) {
|
|
867
816
|
return;
|
|
868
817
|
}
|
|
869
|
-
|
|
870
|
-
this.handlePopoverClose();
|
|
818
|
+
this.open = false;
|
|
871
819
|
}
|
|
872
820
|
/**
|
|
873
821
|
* Handle keyboard events & arrow key navigation.
|
|
@@ -879,7 +827,6 @@ const NvFieldmultiselect = class {
|
|
|
879
827
|
if (!this.open) {
|
|
880
828
|
if (event.key === 'ArrowDown') {
|
|
881
829
|
this.open = true;
|
|
882
|
-
this.popoverElement.show();
|
|
883
830
|
// Focus on the first item if the list is not filterable
|
|
884
831
|
if (!this.filterable) {
|
|
885
832
|
requestAnimationFrame(() => {
|
|
@@ -942,7 +889,6 @@ const NvFieldmultiselect = class {
|
|
|
942
889
|
setTimeout(() => {
|
|
943
890
|
this.isHandlingEscape = false;
|
|
944
891
|
this.open = false;
|
|
945
|
-
this.popoverElement.hide();
|
|
946
892
|
}, 150);
|
|
947
893
|
if (this.inputElement) {
|
|
948
894
|
this.inputElement.blur();
|
|
@@ -1051,8 +997,7 @@ const NvFieldmultiselect = class {
|
|
|
1051
997
|
get el() { return index.getElement(this); }
|
|
1052
998
|
static get watchers() { return {
|
|
1053
999
|
"options": ["handleOptionsChange"],
|
|
1054
|
-
"value": ["watchValueHandler"]
|
|
1055
|
-
"filterable": ["watchFilterableHandler"]
|
|
1000
|
+
"value": ["watchValueHandler"]
|
|
1056
1001
|
}; }
|
|
1057
1002
|
};
|
|
1058
1003
|
NvFieldmultiselect.style = NvFieldmultiselectStyle0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BgDhK4Po.js');
|
|
4
4
|
var v4A79185f4 = require('./v4-a79185f4-2n0dOd_Y.js');
|
|
5
5
|
require('react');
|
|
6
6
|
|
|
@@ -68,10 +68,6 @@ const NvFieldpassword = class {
|
|
|
68
68
|
* Show/hide the password programmatically.
|
|
69
69
|
*/
|
|
70
70
|
this.showPassword = false;
|
|
71
|
-
/**
|
|
72
|
-
* Defines whether the password is visible or not.
|
|
73
|
-
*/
|
|
74
|
-
this.showPasswordState = this.showPassword;
|
|
75
71
|
/**
|
|
76
72
|
* Applies focus to the input field as soon as the component is mounted. This
|
|
77
73
|
* is equivalent to setting the native autofocus attribute on an <input>
|
|
@@ -98,11 +94,17 @@ const NvFieldpassword = class {
|
|
|
98
94
|
}
|
|
99
95
|
//#endregion METHODS
|
|
100
96
|
/****************************************************************************/
|
|
97
|
+
//#region LIFECYCLE
|
|
98
|
+
componentWillLoad() {
|
|
99
|
+
this.showPasswordState = this.showPassword;
|
|
100
|
+
}
|
|
101
|
+
//#endregion LIFECYCLE
|
|
102
|
+
/****************************************************************************/
|
|
101
103
|
//#region RENDER
|
|
102
104
|
render() {
|
|
103
|
-
return (index.h(index.Host, { key: '
|
|
104
|
-
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '
|
|
105
|
-
this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: '
|
|
105
|
+
return (index.h(index.Host, { key: '79c87deb52017b4500b695a513dc4100e7359d97' }, (this.label || this.el.querySelector('[slot="label"]')) && (index.h("label", { key: 'bd4785278a21ea61de41ed694e429228286f853b', htmlFor: this.inputId }, index.h("slot", { key: '7c3cd8188e35aa00c0377ffdefb1d5e9c380ac59', name: "label" }, this.label))), index.h("div", { key: '61f0e04b056ba1b08e9e3ede89d5975b4549705f', class: "input-wrapper" }, index.h("slot", { key: '96070a1d584277de90962700a9e6764f0bd36a38', name: "before-input" }), index.h("div", { key: 'ea04afadccfb828f5d081b1f30ef3d4619659b80', class: "input-container", onClick: this.handleInputContainerClick }, index.h("slot", { key: 'cfd54cbdf3d9d03c31cdd781491097cc6db405bd', name: "leading-input" }), index.h("input", { key: '04bf191014aef621d314973d531533ffa50d8b2f', id: this.inputId, ref: e => (this.inputElement = e), autofocus: this.autofocus, autocomplete: this.autocomplete, placeholder: this.placeholder, name: this.name, type: this.showPasswordState ? 'text' : 'password', inputMode: this.mode, value: this.value, required: this.required, maxlength: this.maxlength, minlength: this.minlength, pattern: this.pattern, disabled: this.disabled, readOnly: this.readonly, onInput: this.handleInput }), (this.success || this.error) && (index.h("nv-icon", { key: 'b2e57a5f496bda92dbb877850e67ffb921a288df', name: this.success ? 'circle-check' : 'alert-circle', class: "validation", size: "md" })), !this.hidePasswordIcon && (index.h("nv-iconbutton", { key: '2664cbcbfd7aa04a5292a6821fa79a1cb12e1578', name: this.showPasswordState ? 'eye' : 'eye-off', size: "md", emphasis: "lower", onClick: this.togglePasswordVisibility, "aria-label": this.showPasswordState ? 'Hide password' : 'Show password', "aria-pressed": this.showPasswordState.toString() }))), index.h("slot", { key: '959a8d098548c85db4b1a8f9c0d2d8a8cdc5e386', name: "after-input" })), (this.description ||
|
|
106
|
+
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: 'c7b85cb8d2f1f42d133e9937bccb8d3edd9d1cf8', class: "description" }, index.h("slot", { key: 'fd41c7389e871ad4d57df283f9872c6964176bb3', name: "description" }, this.description))), (this.errorDescription ||
|
|
107
|
+
this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: '014db98dbf132a493b8842ffcc45ced808e9f52c', hidden: !this.error, class: "error-description" }, index.h("slot", { key: '3909a8e0ac73dae4731e23806875f26bfb2185ff', name: "error-description" }, this.errorDescription)))));
|
|
106
108
|
}
|
|
107
109
|
static get formAssociated() { return true; }
|
|
108
110
|
get el() { return index.getElement(this); }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BgDhK4Po.js');
|
|
4
4
|
var v4A79185f4 = require('./v4-a79185f4-2n0dOd_Y.js');
|
|
5
5
|
require('react');
|
|
6
6
|
|
|
@@ -347,7 +347,7 @@ const NvFieldselect = class {
|
|
|
347
347
|
? `${this.inputId}-error`
|
|
348
348
|
: `${this.inputId}-description` })), index.h("select", { key: '9a8b48a7a41522b09b65a5c76b7e861b5d6eef49', id: this.inputId, ref: el => (this.selectElement = el), name: this.name, autofocus: this.autofocus, disabled: this.disabled, required: this.required, multiple: this.multiple, onChange: this.handleSelectChange, class: this.internalReadonly ? 'hidden' : '', "aria-label": this.label, "aria-describedby": this.error
|
|
349
349
|
? `${this.inputId}-error`
|
|
350
|
-
: `${this.inputId}-description` }, this.parsedOptions.length > 0 ? (this.parsedOptions.map(option => (index.h("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (index.h("slot", null))), index.h("div", { key: '7ecac0a159ca2b4925b8a940c80f8aef94a2ca1d', class: "select-icons" }, this.error && (index.h("nv-icon", { key: 'fd3d75a5c621a49f45550d9596f4910ef01a56b2', name: "alert-circle", class: "validation", size: "md" })), this.success && (index.h("nv-icon", { key: '45b3e11a48f5f700ac9c21ba276ee9c93640d0d9', name: "circle-check", class: "validation", size: "md" })), !this.multiple && (index.h("nv-iconbutton", { key: '07171fbe1fc88f4c7af0513ed718376ce1a1aeb3', name: "chevron-down", size: "md", emphasis: "lower",
|
|
350
|
+
: `${this.inputId}-description` }, this.parsedOptions.length > 0 ? (this.parsedOptions.map(option => (index.h("option", { value: option.value, selected: option.selected, disabled: option.disabled }, option.label)))) : (index.h("slot", null))), index.h("div", { key: '7ecac0a159ca2b4925b8a940c80f8aef94a2ca1d', class: "select-icons" }, this.error && (index.h("nv-icon", { key: 'fd3d75a5c621a49f45550d9596f4910ef01a56b2', name: "alert-circle", class: "validation", size: "md" })), this.success && (index.h("nv-icon", { key: '45b3e11a48f5f700ac9c21ba276ee9c93640d0d9', name: "circle-check", class: "validation", size: "md" })), !this.multiple && (index.h("nv-iconbutton", { key: '07171fbe1fc88f4c7af0513ed718376ce1a1aeb3', name: "chevron-down", size: "md", emphasis: "lower", tabindex: -1 })))), index.h("slot", { key: '096bf49c55359062fc790d31660b331a5988ad22', name: "after-input" })), (this.description ||
|
|
351
351
|
this.el.querySelector('[slot="description"]')) && (index.h("div", { key: '7b292eeb3a1ca29b7cb1b631926b591183ab50fc', class: "description", id: `${this.inputId}-description` }, index.h("slot", { key: 'a2fdc1929f7aa2571cd11d01e2c1ed165afb856c', name: "description" }, this.description))), (this.errorDescription ||
|
|
352
352
|
this.el.querySelector('[slot="error-description"]')) && (index.h("div", { key: '3d189e87ff7cee9a43ccad85c6e84fcdb3343f1f', class: "error-description", id: `${this.inputId}-error` }, index.h("slot", { key: '515059b75c8e2c1e600a28124135cbd7af87ccbf', name: "error-description" }, this.errorDescription)))));
|
|
353
353
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BgDhK4Po.js');
|
|
4
4
|
require('react');
|
|
5
5
|
|
|
6
6
|
const nvMenuCss = "nv-menuitem{display:flex;align-items:center;max-width:300px;width:100vw;font-size:var(--menu-contextual-item-font-size);font-weight:var(--menu-contextual-item-font-weight);color:var(--components-menu-contextual-item-content);border-radius:var(--menu-contextual-item-radius);gap:var(--menu-contextual-item-gap-x);padding:var(--menu-contextual-item-padding-y) var(--menu-contextual-item-padding-x);transition:background-color 150ms ease-out;cursor:pointer}nv-menuitem:hover,nv-menuitem:focus,nv-menuitem:focus-within{background-color:var(--components-menu-contextual-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-menuitem *{pointer-events:none}nv-menuitem kbd{color:var(--components-menu-contextual-item-shortcut)}nv-menuitem [data-scope=text]{margin-right:auto}nv-menuitem[disabled]:not([disabled=false]){cursor:unset;background-color:unset;color:var(--components-menu-contextual-item-content-disabled)}nv-menu{display:inline-block;position:relative}nv-menu:has([fluid]:not([fluid=false])){display:block}nv-menu nv-popover{display:unset}nv-menu nv-popover [data-scope=popover]{background-color:transparent !important;padding:0 !important}nv-menu [slot=content]{padding:var(--menu-contextual-padding-y) var(--menu-contextual-padding-x);border-radius:var(--menu-contextual-radius);gap:var(--menu-contextual-gap-y);background-color:var(--components-menu-contextual-background);border-color:var(--components-menu-contextual-border);display:flex;flex-direction:column}nv-menu nv-menu[open]:not([open=false])>nv-menuitem{background-color:var(--components-menu-contextual-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-menu hr{display:block;margin:var(--menu-contextual-divider-padding-top) var(--menu-contextual-divider-padding-x) var(--menu-contextual-divider-padding-bottom) var(--menu-contextual-divider-padding-x)}";
|
|
@@ -29,8 +29,8 @@ const NvMenu = class {
|
|
|
29
29
|
*/
|
|
30
30
|
this.disableCloseOnSelect = false;
|
|
31
31
|
/**
|
|
32
|
-
* Decides where the menu shows up next to the button it
|
|
33
|
-
* below, to the sides). If there isn
|
|
32
|
+
* Decides where the menu shows up next to the button it's linked to (above,
|
|
33
|
+
* below, to the sides). If there isn't enough room, it will adjust its
|
|
34
34
|
* position on the axis to fit on the screen, so users can always see it.
|
|
35
35
|
*/
|
|
36
36
|
this.placement = 'bottom-end';
|
|
@@ -215,7 +215,7 @@ const NvMenu = class {
|
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
217
|
render() {
|
|
218
|
-
return (index.h(index.Host, { key: '
|
|
218
|
+
return (index.h(index.Host, { key: '8334eee36cadee43d5d78d227841b43da86a46c6' }, index.h("slot", { key: 'a4f260a9161dc239eabfc9c43178b1394721f37d', name: "trigger" }), index.h("nv-popover", { key: '6f163bc5c02afba3af1e9bb43cf3b6bfec1e9374', ref: el => (this.popoverElement = el), triggerMode: "click", triggerElement: this.triggerElement, placement: this.placement, nested: this.nested, open: this.open }, this.parsedItems.length > 0 ? (index.h("ul", { slot: "content" }, this.renderMenuItems(this.parsedItems))) : (index.h("slot", { name: "content" })))));
|
|
219
219
|
}
|
|
220
220
|
get el() { return index.getElement(this); }
|
|
221
221
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BgDhK4Po.js');
|
|
4
4
|
require('react');
|
|
5
5
|
|
|
6
6
|
const nvMenuitemCss = "nv-menuitem{display:flex;align-items:center;max-width:300px;width:100vw;font-size:var(--menu-contextual-item-font-size);font-weight:var(--menu-contextual-item-font-weight);color:var(--components-menu-contextual-item-content);border-radius:var(--menu-contextual-item-radius);gap:var(--menu-contextual-item-gap-x);padding:var(--menu-contextual-item-padding-y) var(--menu-contextual-item-padding-x);transition:background-color 150ms ease-out;cursor:pointer}nv-menuitem:hover,nv-menuitem:focus,nv-menuitem:focus-within{background-color:var(--components-menu-contextual-item-background-hover);color:var(--components-menu-contextual-item-content-hover)}nv-menuitem *{pointer-events:none}nv-menuitem kbd{color:var(--components-menu-contextual-item-shortcut)}nv-menuitem [data-scope=text]{margin-right:auto}nv-menuitem[disabled]:not([disabled=false]){cursor:unset;background-color:unset;color:var(--components-menu-contextual-item-content-disabled)}";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BgDhK4Po.js');
|
|
4
4
|
var fade_animation2a077983 = require('./fade.animation-2a077983-aKN0EDTo.js');
|
|
5
5
|
var events_utilsFe1d907f = require('./events.utils-fe1d907f-01N__3wY.js');
|
|
6
6
|
require('react');
|
|
@@ -1715,9 +1715,11 @@ const NvPopover = class {
|
|
|
1715
1715
|
return;
|
|
1716
1716
|
if ((_a = this.triggerElement) === null || _a === void 0 ? void 0 : _a.contains(event.target))
|
|
1717
1717
|
return;
|
|
1718
|
-
this.
|
|
1718
|
+
this.open = false;
|
|
1719
1719
|
};
|
|
1720
|
-
this.clickEvents = [
|
|
1720
|
+
this.clickEvents = [
|
|
1721
|
+
['click', () => (this.open = !this.open)],
|
|
1722
|
+
];
|
|
1721
1723
|
this.outsideClickEvents = [
|
|
1722
1724
|
['click', this.handleClickOutside],
|
|
1723
1725
|
['touchstart', this.handleClickOutside],
|
|
@@ -1727,28 +1729,28 @@ const NvPopover = class {
|
|
|
1727
1729
|
'focus',
|
|
1728
1730
|
() => {
|
|
1729
1731
|
clearTimeout(this.hideTimeout);
|
|
1730
|
-
this.showTimeout = setTimeout(() => this.
|
|
1732
|
+
this.showTimeout = setTimeout(() => (this.open = true), this.enterDelay);
|
|
1731
1733
|
},
|
|
1732
1734
|
],
|
|
1733
1735
|
[
|
|
1734
1736
|
'blur',
|
|
1735
1737
|
() => {
|
|
1736
1738
|
clearTimeout(this.showTimeout);
|
|
1737
|
-
this.hideTimeout = setTimeout(() => this.
|
|
1739
|
+
this.hideTimeout = setTimeout(() => (this.open = false), 50);
|
|
1738
1740
|
},
|
|
1739
1741
|
],
|
|
1740
1742
|
[
|
|
1741
1743
|
'mouseenter',
|
|
1742
1744
|
() => {
|
|
1743
1745
|
clearTimeout(this.hideTimeout);
|
|
1744
|
-
this.showTimeout = setTimeout(() => this.
|
|
1746
|
+
this.showTimeout = setTimeout(() => (this.open = true), this.enterDelay);
|
|
1745
1747
|
},
|
|
1746
1748
|
],
|
|
1747
1749
|
[
|
|
1748
1750
|
'mouseleave',
|
|
1749
1751
|
() => {
|
|
1750
1752
|
clearTimeout(this.showTimeout);
|
|
1751
|
-
this.hideTimeout = setTimeout(() => this.
|
|
1753
|
+
this.hideTimeout = setTimeout(() => (this.open = false), 100);
|
|
1752
1754
|
},
|
|
1753
1755
|
],
|
|
1754
1756
|
];
|
|
@@ -1757,7 +1759,7 @@ const NvPopover = class {
|
|
|
1757
1759
|
'keydown',
|
|
1758
1760
|
(e) => {
|
|
1759
1761
|
if (e.key === 'Escape') {
|
|
1760
|
-
this.
|
|
1762
|
+
this.open = false;
|
|
1761
1763
|
}
|
|
1762
1764
|
},
|
|
1763
1765
|
],
|
|
@@ -1867,7 +1869,7 @@ const NvPopover = class {
|
|
|
1867
1869
|
return;
|
|
1868
1870
|
// This popover should close when another one is opened.
|
|
1869
1871
|
if (event.target !== this.el && event.detail === true)
|
|
1870
|
-
this.
|
|
1872
|
+
this.open = false;
|
|
1871
1873
|
}
|
|
1872
1874
|
async handleOpenChange(open) {
|
|
1873
1875
|
// Prevent multiple animations from running at the same time.
|
|
@@ -1948,7 +1950,7 @@ const NvPopover = class {
|
|
|
1948
1950
|
/****************************************************************************/
|
|
1949
1951
|
//#region RENDER
|
|
1950
1952
|
render() {
|
|
1951
|
-
return (index.h(index.Host, { key: '
|
|
1953
|
+
return (index.h(index.Host, { key: 'efab8d78e1163d23e197ca04786b9f99f248ce05' }, index.h("slot", { key: 'b8197a385e5d9cda08d6b3e0232c052fb7238d01', name: "trigger" }), index.h("div", { key: '480c3cc8352bc833216cd64c8bfcf75ba9c79130', "data-scope": "popover", hidden: true, ref: el => (this.popoverElement = el) }, this.hasArrow && (index.h("div", { key: '8b1b10a15427ef05bc267460161e4a53be4cc3d1', "data-scope": "arrow", ref: el => (this.arrowElement = el) })), index.h("slot", { key: '8c9a8708a36fae6cac5e533b5c1a3128d7375195', name: "content" }))));
|
|
1952
1954
|
}
|
|
1953
1955
|
get el() { return index.getElement(this); }
|
|
1954
1956
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BgDhK4Po.js');
|
|
4
4
|
require('react');
|
|
5
5
|
|
|
6
6
|
const nvRowCss = "nv-row{display:flex;flex-wrap:wrap;margin-right:calc(var(--spacing-4) * -1);margin-left:calc(var(--spacing-4) * -1);row-gap:var(--spacing-4)}";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BgDhK4Po.js');
|
|
4
4
|
var clsx297c1ffe = require('./clsx-297c1ffe-BtxeOLZW.js');
|
|
5
5
|
var v4A79185f4 = require('./v4-a79185f4-2n0dOd_Y.js');
|
|
6
6
|
require('react');
|
|
7
7
|
|
|
8
|
-
const nvToggleCss = "nv-toggle{display:inline-flex;align-items:flex-start;gap:var(--form-gap-x);position:relative}nv-toggle:not([disabled],[readonly]) input,nv-toggle:not([disabled],[readonly]) label{cursor:pointer}nv-toggle.label-placement-before{flex-direction:row-reverse}nv-toggle[disabled]{opacity:0.5}nv-toggle label{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-toggle .input-container{position:relative;color:var(--components-form-shape-foreground-default)}nv-toggle .input-container:has(input[type=checkbox]:disabled:not([readonly])){color:var(--components-form-shape-foreground-disabled)}nv-toggle .input-container input[type=checkbox]{appearance:none;position:relative;display:flex;width:var(--form-toggle-width);height:var(--form-toggle-height);flex-direction:column;align-items:flex-start;border-radius:var(--form-toggle-radius);border-width:var(--form-toggle-border-width);border-style:solid;border-color:var(--components-form-field-border-default);background:var(--components-form-field-background-default)}nv-toggle .input-container input[type=checkbox]::after{content:\"\";display:block;width:var(--form-toggle-switch-dot-default);height:var(--form-toggle-switch-dot-default);background-color:var(--components-form-shape-foreground-switch-dot);border-radius:var(--radius-rounded-full);position:absolute;top:50%;left:25%;transform:translate(-50%, -50%)}nv-toggle .input-container input[type=checkbox]:hover{border-color:var(--components-form-field-border-hover)}nv-toggle .input-container input[type=checkbox]:focus{border-color:var(--components-form-field-border-default)}nv-toggle .input-container input[type=checkbox]:focus,nv-toggle .input-container input[type=checkbox]:focus-within{outline:none}nv-toggle .input-container input[type=checkbox]:focus-visible,nv-toggle .input-container input[type=checkbox]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-toggle .input-container input[type=checkbox]:checked{background:var(--components-form-field-background-checked);border-color:var(--components-form-field-background-checked)}nv-toggle .input-container input[type=checkbox]:checked::after{content:\"\";display:block;width:var(--form-toggle-switch-dot-default);height:var(--form-toggle-switch-dot-default);background-color:var(--components-form-shape-foreground-default);border-radius:var(--radius-rounded-full);position:absolute;top:50%;left:75%;transform:translate(-50%, -50%)}nv-toggle .input-container input[type=checkbox]:checked:focus{background:var(--components-form-field-background-checked);border-color:var(--components-form-field-border-focus)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]){box-shadow:unset;background:var(--components-form-field-background-disabled);border-color:var(--components-form-field-border-default)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]):checked::after{background-color:var(--components-form-shape-foreground-disabled)}nv-toggle .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;font-weight:450;line-height:var(--form-description-line-height)}nv-toggle .text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}";
|
|
8
|
+
const nvToggleCss = "nv-toggle{display:inline-flex;align-items:flex-start;gap:var(--form-gap-x);position:relative}nv-toggle:not([disabled],[readonly]) input,nv-toggle:not([disabled],[readonly]) label{cursor:pointer}nv-toggle.label-placement-before{flex-direction:row-reverse}nv-toggle[disabled]{opacity:0.5}nv-toggle label{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-toggle label.visually-hidden{position:absolute;padding:0;border:0;overflow:hidden;white-space:nowrap;width:1px;height:1px;margin:-1px;clip:rect(0, 0, 0, 0)}nv-toggle .input-container{position:relative;color:var(--components-form-shape-foreground-default)}nv-toggle .input-container:has(input[type=checkbox]:disabled:not([readonly])){color:var(--components-form-shape-foreground-disabled)}nv-toggle .input-container input[type=checkbox]{appearance:none;position:relative;display:flex;width:var(--form-toggle-width);height:var(--form-toggle-height);flex-direction:column;align-items:flex-start;border-radius:var(--form-toggle-radius);border-width:var(--form-toggle-border-width);border-style:solid;border-color:var(--components-form-field-border-default);background:var(--components-form-field-background-default)}nv-toggle .input-container input[type=checkbox]::after{content:\"\";display:block;width:var(--form-toggle-switch-dot-default);height:var(--form-toggle-switch-dot-default);background-color:var(--components-form-shape-foreground-switch-dot);border-radius:var(--radius-rounded-full);position:absolute;top:50%;left:25%;transform:translate(-50%, -50%)}nv-toggle .input-container input[type=checkbox]:hover{border-color:var(--components-form-field-border-hover)}nv-toggle .input-container input[type=checkbox]:focus{border-color:var(--components-form-field-border-default)}nv-toggle .input-container input[type=checkbox]:focus,nv-toggle .input-container input[type=checkbox]:focus-within{outline:none}nv-toggle .input-container input[type=checkbox]:focus-visible,nv-toggle .input-container input[type=checkbox]:has(:focus-visible){outline:calc(var(--focus-outline-stroke) * 1) solid var(--color-focus-brand);outline-offset:calc(var(--focus-outline-offset) * 1)}nv-toggle .input-container input[type=checkbox]:checked{background:var(--components-form-field-background-checked);border-color:var(--components-form-field-background-checked)}nv-toggle .input-container input[type=checkbox]:checked::after{content:\"\";display:block;width:var(--form-toggle-switch-dot-default);height:var(--form-toggle-switch-dot-default);background-color:var(--components-form-shape-foreground-default);border-radius:var(--radius-rounded-full);position:absolute;top:50%;left:75%;transform:translate(-50%, -50%)}nv-toggle .input-container input[type=checkbox]:checked:focus{background:var(--components-form-field-background-checked);border-color:var(--components-form-field-border-focus)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]){box-shadow:unset;background:var(--components-form-field-background-disabled);border-color:var(--components-form-field-border-default)}nv-toggle .input-container input[type=checkbox]:disabled:not([readonly]):checked::after{background-color:var(--components-form-shape-foreground-disabled)}nv-toggle .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;font-weight:450;line-height:var(--form-description-line-height)}nv-toggle .text-container{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0}";
|
|
9
9
|
const NvToggleStyle0 = nvToggleCss;
|
|
10
10
|
|
|
11
11
|
const NvToggle = class {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BgDhK4Po.js');
|
|
4
4
|
require('react');
|
|
5
5
|
|
|
6
6
|
const nvTooltipCss = "nv-tooltip{display:inline-block;position:relative}nv-tooltip:has([fluid]:not([fluid=false])){display:block}nv-tooltip [data-scope=popover]{background:var(--components-tooltip-background);color:var(--components-tooltip-text);font-weight:var(--font-weight-medium-emphasis);padding:var(--tooltip-padding-y) var(--tooltip-padding-x);font-size:var(--tooltip-font-size);border-radius:var(--tooltip-radius);border:none;box-shadow:0px var(--shadow-y-axis-lg-1) var(--shadow-blur-lg-1) var(--shadow-spread-lg-1) var(--shadow-color-opacity-1), 0px var(--shadow-y-axis-lg-2) var(--shadow-blur-lg-2) var(--shadow-spread-lg-2) var(--shadow-color-opacity-2)}nv-tooltip [data-scope=popover] [data-scope=arrow]{background:var(--components-tooltip-background);box-shadow:none;border:none}";
|
|
@@ -133,7 +133,7 @@ export const NvDialog = createComponent({
|
|
|
133
133
|
tagName: 'nv-dialog',
|
|
134
134
|
elementClass: NvDialogElement,
|
|
135
135
|
react: React,
|
|
136
|
-
events: {
|
|
136
|
+
events: { onOpenChanged: 'openChanged' },
|
|
137
137
|
defineCustomElement: defineNvDialog
|
|
138
138
|
});
|
|
139
139
|
export const NvDialogfooter = createComponent({
|
|
@@ -76,7 +76,7 @@ export declare const NvDatagrid: StencilReactComponent<NvDatagridElement, NvData
|
|
|
76
76
|
type NvDatagridcolumnEvents = NonNullable<unknown>;
|
|
77
77
|
export declare const NvDatagridcolumn: StencilReactComponent<NvDatagridcolumnElement, NvDatagridcolumnEvents>;
|
|
78
78
|
type NvDialogEvents = {
|
|
79
|
-
|
|
79
|
+
onOpenChanged: EventName<CustomEvent<boolean>>;
|
|
80
80
|
};
|
|
81
81
|
export declare const NvDialog: StencilReactComponent<NvDialogElement, NvDialogEvents>;
|
|
82
82
|
type NvDialogfooterEvents = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nova-design-system/nova-react",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.46",
|
|
4
4
|
"description": "Nova is a design system created by Elia Group to empower creators to efficiently build solutions that people love to use.",
|
|
5
5
|
"author": "Elia Group",
|
|
6
6
|
"homepage": "https://nova.eliagroup.io",
|