@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.
- package/dist/cjs/index-BZCQTWfv.js +26372 -0
- package/dist/cjs/index-B_VOAJzk.js +26373 -0
- package/dist/cjs/index-CDe7nrrW.js +26373 -0
- package/dist/cjs/index-CEWbQ5nh.js +26373 -0
- package/dist/cjs/index-CIcUUomJ.js +26373 -0
- package/dist/cjs/index-CtI3SivD.js +26373 -0
- package/dist/cjs/index-wDACGzKb.js +26373 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/nv-alert.entry-B-P-Fgdo.js +173 -0
- package/dist/cjs/nv-alert.entry-B3NpZh1C.js +173 -0
- package/dist/cjs/nv-alert.entry-BU86GY-d.js +173 -0
- package/dist/cjs/nv-alert.entry-CwZcD170.js +173 -0
- package/dist/cjs/nv-alert.entry-CxSN1zpW.js +173 -0
- package/dist/cjs/nv-alert.entry-DsoqN5tQ.js +173 -0
- package/dist/cjs/nv-alert.entry-xuY-Lvuj.js +173 -0
- package/dist/cjs/nv-avatar.entry-CFgnor0-.js +67 -0
- package/dist/cjs/nv-avatar.entry-DJkpupVT.js +67 -0
- package/dist/cjs/nv-avatar.entry-DKXMQPOz.js +67 -0
- package/dist/cjs/nv-avatar.entry-DWOADxdQ.js +67 -0
- package/dist/cjs/nv-avatar.entry-DjyiGt07.js +67 -0
- package/dist/cjs/nv-avatar.entry-DuN1d3Vy.js +67 -0
- package/dist/cjs/nv-avatar.entry-yyLQEqI7.js +67 -0
- package/dist/cjs/nv-badge_2.entry-BFURAuBQ.js +195 -0
- package/dist/cjs/nv-badge_2.entry-BQXL0ZhP.js +195 -0
- package/dist/cjs/nv-badge_2.entry-CJQWS2xG.js +195 -0
- package/dist/cjs/nv-badge_2.entry-D0jeqYIQ.js +195 -0
- package/dist/cjs/nv-badge_2.entry-DKGHx4c8.js +194 -0
- package/dist/cjs/nv-badge_2.entry-Drgx-565.js +195 -0
- package/dist/cjs/nv-badge_2.entry-im1VnU5f.js +195 -0
- package/dist/cjs/nv-base.entry-9HF044Di.js +71 -0
- package/dist/cjs/nv-base.entry-BmY-1Lne.js +71 -0
- package/dist/cjs/nv-base.entry-BuxI7QmU.js +71 -0
- package/dist/cjs/nv-base.entry-CcaAXjnO.js +71 -0
- package/dist/cjs/nv-base.entry-Ch8ncPl0.js +71 -0
- package/dist/cjs/nv-base.entry-D7gUvPIG.js +71 -0
- package/dist/cjs/nv-base.entry-c723sI4Y.js +71 -0
- package/dist/cjs/nv-breadcrumb.entry-B9rOxsg_.js +45 -0
- package/dist/cjs/nv-breadcrumb.entry-BtM_AHRC.js +45 -0
- package/dist/cjs/nv-breadcrumb.entry-C-xHbSJw.js +45 -0
- package/dist/cjs/nv-breadcrumb.entry-CL9l0Wkr.js +45 -0
- package/dist/cjs/nv-breadcrumb.entry-CxGReUqZ.js +45 -0
- package/dist/cjs/nv-breadcrumb.entry-LYt0sALP.js +45 -0
- package/dist/cjs/nv-breadcrumb.entry-wy-P2BMg.js +45 -0
- package/dist/cjs/nv-breadcrumbs.entry-9LlUycIv.js +20 -0
- package/dist/cjs/nv-breadcrumbs.entry-B7CaTbBe.js +20 -0
- package/dist/cjs/nv-breadcrumbs.entry-BA-TnreZ.js +20 -0
- package/dist/cjs/nv-breadcrumbs.entry-CEmZ3yFi.js +20 -0
- package/dist/cjs/nv-breadcrumbs.entry-De5lsjQf.js +20 -0
- package/dist/cjs/nv-breadcrumbs.entry-_w38BddR.js +20 -0
- package/dist/cjs/nv-breadcrumbs.entry-ubxLcEUH.js +20 -0
- package/dist/cjs/nv-button.entry-B3rEQuGV.js +162 -0
- package/dist/cjs/nv-button.entry-B5-Wf9hh.js +162 -0
- package/dist/cjs/nv-button.entry-CBNfIn-r.js +162 -0
- package/dist/cjs/nv-button.entry-D-DPQDNM.js +162 -0
- package/dist/cjs/nv-button.entry-DHZX7KH4.js +162 -0
- package/dist/cjs/nv-button.entry-DLoECCSK.js +162 -0
- package/dist/cjs/nv-button.entry-Dk6DqHG2.js +162 -0
- package/dist/cjs/nv-calendar.entry-BeCCaAVE.js +1036 -0
- package/dist/cjs/nv-calendar.entry-DNyH8T5e.js +1036 -0
- package/dist/cjs/nv-calendar.entry-DSWhDnEC.js +1036 -0
- package/dist/cjs/nv-calendar.entry-DUHckAh3.js +1036 -0
- package/dist/cjs/nv-calendar.entry-NU1TumeS.js +1036 -0
- package/dist/cjs/nv-calendar.entry-UUE6v4YC.js +1036 -0
- package/dist/cjs/nv-calendar.entry-ZtfR2qOV.js +1036 -0
- package/dist/cjs/nv-col.entry-B5nCHhbO.js +37 -0
- package/dist/cjs/nv-col.entry-Bx1VZSMw.js +37 -0
- package/dist/cjs/nv-col.entry-C400BeEE.js +37 -0
- package/dist/cjs/nv-col.entry-CYjFAVMF.js +37 -0
- package/dist/cjs/nv-col.entry-DDEtfCv-.js +37 -0
- package/dist/cjs/nv-col.entry-DqzImLSJ.js +37 -0
- package/dist/cjs/nv-col.entry-DtYBQEJz.js +37 -0
- package/dist/cjs/nv-datagrid.entry-5VIvkJGL.js +3671 -0
- package/dist/cjs/nv-datagrid.entry-Ba9sfMQp.js +3671 -0
- package/dist/cjs/nv-datagrid.entry-Beehe_Sq.js +3671 -0
- package/dist/cjs/nv-datagrid.entry-CkD_jV75.js +3671 -0
- package/dist/cjs/nv-datagrid.entry-D6p67Pa6.js +3671 -0
- package/dist/cjs/nv-datagrid.entry-DKqScS8N.js +3671 -0
- package/dist/cjs/nv-datagrid.entry-ee865R4b.js +3671 -0
- package/dist/cjs/nv-datagridcolumn.entry-BeGXaBUe.js +18 -0
- package/dist/cjs/nv-datagridcolumn.entry-BodICzof.js +18 -0
- package/dist/cjs/nv-datagridcolumn.entry-C_FtSltZ.js +18 -0
- package/dist/cjs/nv-datagridcolumn.entry-D1cyTR_G.js +18 -0
- package/dist/cjs/nv-datagridcolumn.entry-DRE7BDkk.js +18 -0
- package/dist/cjs/nv-datagridcolumn.entry-Du6-7fjr.js +18 -0
- package/dist/cjs/nv-datagridcolumn.entry-N70Aen6Q.js +18 -0
- package/dist/cjs/nv-dialog.entry-BgHknrOx.js +784 -0
- package/dist/cjs/nv-dialog.entry-C1hg-EG1.js +784 -0
- package/dist/cjs/nv-dialog.entry-COv2do_O.js +784 -0
- package/dist/cjs/nv-dialog.entry-Ck2hU43g.js +784 -0
- package/dist/cjs/nv-dialog.entry-Cl8iLrCo.js +784 -0
- package/dist/cjs/nv-dialog.entry-Cy71tlWz.js +784 -0
- package/dist/cjs/nv-dialog.entry-DdAHZGzm.js +784 -0
- package/dist/cjs/nv-dialogfooter_2.entry-CXvA0O-2.js +134 -0
- package/dist/cjs/nv-dialogfooter_2.entry-Ck6adFfd.js +134 -0
- package/dist/cjs/nv-dialogfooter_2.entry-DHa0SYhR.js +134 -0
- package/dist/cjs/nv-dialogfooter_2.entry-DKvzkpt3.js +134 -0
- package/dist/cjs/nv-dialogfooter_2.entry-D_VuofBe.js +134 -0
- package/dist/cjs/nv-dialogfooter_2.entry-L5tHIb_T.js +134 -0
- package/dist/cjs/nv-dialogfooter_2.entry-kEa1K0n5.js +134 -0
- package/dist/cjs/nv-fieldcheckbox.entry-B4We4zG2.js +137 -0
- package/dist/cjs/nv-fieldcheckbox.entry-BmYyNV4r.js +137 -0
- package/dist/cjs/nv-fieldcheckbox.entry-CBsQsbIA.js +137 -0
- package/dist/cjs/nv-fieldcheckbox.entry-DTIebeJR.js +137 -0
- package/dist/cjs/nv-fieldcheckbox.entry-P--9IAJF.js +137 -0
- package/dist/cjs/nv-fieldcheckbox.entry-dBYg7CBU.js +137 -0
- package/dist/cjs/nv-fieldcheckbox.entry-dxhUZiEg.js +137 -0
- package/dist/cjs/nv-fielddate.entry-B53E-JaI.js +278 -0
- package/dist/cjs/nv-fielddate.entry-Bofdd2rE.js +278 -0
- package/dist/cjs/nv-fielddate.entry-CIo_61Dc.js +278 -0
- package/dist/cjs/nv-fielddate.entry-CekIFTA0.js +278 -0
- package/dist/cjs/nv-fielddate.entry-DgS0X1wI.js +278 -0
- package/dist/cjs/nv-fielddate.entry-Do69eqHA.js +278 -0
- package/dist/cjs/nv-fielddate.entry-NJ6RAqlG.js +278 -0
- package/dist/cjs/nv-fielddaterange.entry-BtPwfRw-.js +355 -0
- package/dist/cjs/nv-fielddaterange.entry-CxaBrZAX.js +355 -0
- package/dist/cjs/nv-fielddaterange.entry-D-6LjhjB.js +355 -0
- package/dist/cjs/nv-fielddaterange.entry-D0fq5KFb.js +355 -0
- package/dist/cjs/nv-fielddaterange.entry-D2dzD3rW.js +355 -0
- package/dist/cjs/nv-fielddaterange.entry-DTLKVIqg.js +355 -0
- package/dist/cjs/nv-fielddaterange.entry-w8WXPDuX.js +355 -0
- package/dist/cjs/nv-fielddropdown.entry-BAaPyGtB.js +361 -0
- package/dist/cjs/nv-fielddropdown.entry-C5kMWmPP.js +361 -0
- package/dist/cjs/nv-fielddropdown.entry-CX2Ycn2i.js +361 -0
- package/dist/cjs/nv-fielddropdown.entry-CZxQlRNa.js +361 -0
- package/dist/cjs/nv-fielddropdown.entry-DVl_Uy5A.js +361 -0
- package/dist/cjs/nv-fielddropdown.entry-akfp1Bcy.js +361 -0
- package/dist/cjs/nv-fielddropdown.entry-hHh_RDC4.js +361 -0
- package/dist/cjs/nv-fielddropdownitem.entry-BscNyhXz.js +68 -0
- package/dist/cjs/nv-fielddropdownitem.entry-CMWgXP_Z.js +68 -0
- package/dist/cjs/nv-fielddropdownitem.entry-CS1Ejbc9.js +68 -0
- package/dist/cjs/nv-fielddropdownitem.entry-CW4WMmSZ.js +68 -0
- package/dist/cjs/nv-fielddropdownitem.entry-CuQqsz4f.js +68 -0
- package/dist/cjs/nv-fielddropdownitem.entry-Dn2HJc1t.js +68 -0
- package/dist/cjs/nv-fielddropdownitem.entry-HK2I5pUG.js +68 -0
- package/dist/cjs/nv-fieldmultiselect.entry-5jdK36m6.js +1060 -0
- package/dist/cjs/nv-fieldmultiselect.entry-6o1yhNI5.js +1060 -0
- package/dist/cjs/nv-fieldmultiselect.entry-BGzYCJuF.js +1060 -0
- package/dist/cjs/nv-fieldmultiselect.entry-BN1ObPi8.js +1060 -0
- package/dist/cjs/nv-fieldmultiselect.entry-CuVEYN0v.js +1060 -0
- package/dist/cjs/nv-fieldmultiselect.entry-DHXJErt4.js +1060 -0
- package/dist/cjs/nv-fieldmultiselect.entry-DycRd14V.js +1060 -0
- package/dist/cjs/nv-fieldnumber.entry-BHhIsjLK.js +126 -0
- package/dist/cjs/nv-fieldnumber.entry-BklKxOFA.js +126 -0
- package/dist/cjs/nv-fieldnumber.entry-C8zJkL24.js +126 -0
- package/dist/cjs/nv-fieldnumber.entry-C9rKWY_M.js +126 -0
- package/dist/cjs/nv-fieldnumber.entry-CEmPQK-3.js +126 -0
- package/dist/cjs/nv-fieldnumber.entry-CLhjFlCj.js +126 -0
- package/dist/cjs/nv-fieldnumber.entry-_UiieYov.js +126 -0
- package/dist/cjs/nv-fieldpassword.entry-7lS0Msfg.js +115 -0
- package/dist/cjs/nv-fieldpassword.entry-B9-QFEsB.js +115 -0
- package/dist/cjs/nv-fieldpassword.entry-BIIoIKH4.js +115 -0
- package/dist/cjs/nv-fieldpassword.entry-BPhQxjsj.js +115 -0
- package/dist/cjs/nv-fieldpassword.entry-C5vG4jlh.js +115 -0
- package/dist/cjs/nv-fieldpassword.entry-C_jsHFJI.js +115 -0
- package/dist/cjs/nv-fieldpassword.entry-DZkGQwM8.js +115 -0
- package/dist/cjs/nv-fieldradio.entry-BgpmbG9E.js +102 -0
- package/dist/cjs/nv-fieldradio.entry-CXR4k3wf.js +102 -0
- package/dist/cjs/nv-fieldradio.entry-CnasQlEx.js +102 -0
- package/dist/cjs/nv-fieldradio.entry-DUDPigQb.js +102 -0
- package/dist/cjs/nv-fieldradio.entry-DiD7Luxv.js +102 -0
- package/dist/cjs/nv-fieldradio.entry-Ili2RVKl.js +102 -0
- package/dist/cjs/nv-fieldradio.entry-aRAaLwpK.js +102 -0
- package/dist/cjs/nv-fieldselect.entry-B94QXSEk.js +365 -0
- package/dist/cjs/nv-fieldselect.entry-BwtEjL08.js +365 -0
- package/dist/cjs/nv-fieldselect.entry-CFDqeR-D.js +365 -0
- package/dist/cjs/nv-fieldselect.entry-CJSu63o5.js +365 -0
- package/dist/cjs/nv-fieldselect.entry-CmN1R9ij.js +365 -0
- package/dist/cjs/nv-fieldselect.entry-CoDfr4ie.js +365 -0
- package/dist/cjs/nv-fieldselect.entry-DgmnHnOR.js +365 -0
- package/dist/cjs/nv-fieldtext.entry-B1TlZWjU.js +119 -0
- package/dist/cjs/nv-fieldtext.entry-BfQrX8ft.js +119 -0
- package/dist/cjs/nv-fieldtext.entry-BrUQu4OD.js +119 -0
- package/dist/cjs/nv-fieldtext.entry-CW6P-R-Q.js +119 -0
- package/dist/cjs/nv-fieldtext.entry-CyLJxDw6.js +119 -0
- package/dist/cjs/nv-fieldtext.entry-DDqDSJp3.js +119 -0
- package/dist/cjs/nv-fieldtext.entry-IeIHa3jf.js +119 -0
- package/dist/cjs/nv-fieldtextarea.entry-D86SKGIN.js +194 -0
- package/dist/cjs/nv-fieldtextarea.entry-DlFdCv_d.js +194 -0
- package/dist/cjs/nv-fieldtextarea.entry-DqzeITCG.js +194 -0
- package/dist/cjs/nv-fieldtextarea.entry-TI-bucN-.js +194 -0
- package/dist/cjs/nv-fieldtextarea.entry-qMX2O8cX.js +194 -0
- package/dist/cjs/nv-fieldtextarea.entry-tTnWQgE4.js +194 -0
- package/dist/cjs/nv-fieldtextarea.entry-v6VpnEuH.js +194 -0
- package/dist/cjs/nv-fieldtime.entry-CPyLyQfR.js +1011 -0
- package/dist/cjs/nv-fieldtime.entry-CYmcHY1D.js +1011 -0
- package/dist/cjs/nv-fieldtime.entry-DGP1X4wF.js +1011 -0
- package/dist/cjs/nv-fieldtime.entry-DLSuRrlr.js +1011 -0
- package/dist/cjs/nv-fieldtime.entry-Zbjbmm7_.js +1011 -0
- package/dist/cjs/nv-fieldtime.entry-eDVRT6te.js +1011 -0
- package/dist/cjs/nv-fieldtime.entry-j-Fliiqj.js +1011 -0
- package/dist/cjs/nv-icon.entry-B0Y3rgBQ.js +79 -0
- package/dist/cjs/nv-icon.entry-B_wtREWb.js +79 -0
- package/dist/cjs/nv-icon.entry-BfRAl2b6.js +79 -0
- package/dist/cjs/nv-icon.entry-CrKTCqY_.js +79 -0
- package/dist/cjs/nv-icon.entry-DRRmcXzh.js +79 -0
- package/dist/cjs/nv-icon.entry-Dlj1ko2i.js +79 -0
- package/dist/cjs/nv-icon.entry-S7WlK_lO.js +79 -0
- package/dist/cjs/nv-iconbutton_2.entry-B02iDUid.js +163 -0
- package/dist/cjs/nv-iconbutton_2.entry-C1Legk9t.js +163 -0
- package/dist/cjs/nv-iconbutton_2.entry-CUiW6MtK.js +163 -0
- package/dist/cjs/nv-iconbutton_2.entry-ClcvupMe.js +163 -0
- package/dist/cjs/nv-iconbutton_2.entry-D8MI5uzP.js +163 -0
- package/dist/cjs/nv-iconbutton_2.entry-D8hZ51H-.js +163 -0
- package/dist/cjs/nv-iconbutton_2.entry-QwaiOoYl.js +163 -0
- package/dist/cjs/nv-menu.entry-BfmYkdYY.js +227 -0
- package/dist/cjs/nv-menu.entry-CT98WIRF.js +227 -0
- package/dist/cjs/nv-menu.entry-CfERF478.js +227 -0
- package/dist/cjs/nv-menu.entry-Ci3I7PDt.js +227 -0
- package/dist/cjs/nv-menu.entry-DtLnsQW-.js +227 -0
- package/dist/cjs/nv-menu.entry-Kz5kGi2w.js +227 -0
- package/dist/cjs/nv-menu.entry-XdjjbAL6.js +227 -0
- package/dist/cjs/nv-menuitem.entry-C8nXPwP0.js +58 -0
- package/dist/cjs/nv-menuitem.entry-C9dsQqqN.js +58 -0
- package/dist/cjs/nv-menuitem.entry-Cedg0TCQ.js +58 -0
- package/dist/cjs/nv-menuitem.entry-CxCLeNsY.js +58 -0
- package/dist/cjs/nv-menuitem.entry-DkIG5z-x.js +58 -0
- package/dist/cjs/nv-menuitem.entry-bPnSDq_9.js +58 -0
- package/dist/cjs/nv-menuitem.entry-sRx1fD0O.js +58 -0
- package/dist/cjs/nv-popover.entry-BGXEOQM6.js +1960 -0
- package/dist/cjs/nv-popover.entry-C57rfYUn.js +1960 -0
- package/dist/cjs/nv-popover.entry-C6HFJJ-m.js +1960 -0
- package/dist/cjs/nv-popover.entry-CiGCCbn9.js +1960 -0
- package/dist/cjs/nv-popover.entry-CjTPZYkq.js +1960 -0
- package/dist/cjs/nv-popover.entry-CtO6pR6l.js +1960 -0
- package/dist/cjs/nv-popover.entry-Mo3DNUH6.js +1960 -0
- package/dist/cjs/nv-row.entry-BEgyuDR-.js +21 -0
- package/dist/cjs/nv-row.entry-BM_EcSp4.js +21 -0
- package/dist/cjs/nv-row.entry-B_7PiJA7.js +21 -0
- package/dist/cjs/nv-row.entry-Ca7LiDAy.js +21 -0
- package/dist/cjs/nv-row.entry-Cy9vd2iY.js +21 -0
- package/dist/cjs/nv-row.entry-DKoNhAcX.js +21 -0
- package/dist/cjs/nv-row.entry-OYGKTXhV.js +21 -0
- package/dist/cjs/nv-stack.entry-BNyPxECg.js +30 -0
- package/dist/cjs/nv-stack.entry-C8ZFDaKn.js +30 -0
- package/dist/cjs/nv-stack.entry-CLMAAbkw.js +30 -0
- package/dist/cjs/nv-stack.entry-DfRRFeEo.js +30 -0
- package/dist/cjs/nv-stack.entry-DiXvhuSS.js +30 -0
- package/dist/cjs/nv-stack.entry-lwhqS230.js +30 -0
- package/dist/cjs/nv-stack.entry-u3NjC31-.js +30 -0
- package/dist/cjs/nv-table.entry-BNy2ALll.js +338 -0
- package/dist/cjs/nv-table.entry-BPazUUGA.js +338 -0
- package/dist/cjs/nv-table.entry-COwgRxqz.js +338 -0
- package/dist/cjs/nv-table.entry-CTo8cqCN.js +338 -0
- package/dist/cjs/nv-table.entry-DzOGLNUx.js +338 -0
- package/dist/cjs/nv-table.entry-mEtRfake.js +338 -0
- package/dist/cjs/nv-table.entry-o525Lfea.js +338 -0
- package/dist/cjs/nv-tablecolumn.entry-BESdQMDh.js +18 -0
- package/dist/cjs/nv-tablecolumn.entry-CuEt5Wgn.js +18 -0
- package/dist/cjs/nv-tablecolumn.entry-D3I1dB1X.js +18 -0
- package/dist/cjs/nv-tablecolumn.entry-DvJF_QTE.js +18 -0
- package/dist/cjs/nv-tablecolumn.entry-DvO0JxdY.js +18 -0
- package/dist/cjs/nv-tablecolumn.entry-L4KLlHFu.js +18 -0
- package/dist/cjs/nv-tablecolumn.entry-vrmt1Y0L.js +18 -0
- package/dist/cjs/nv-toggle.entry-BIclNIeq.js +79 -0
- package/dist/cjs/nv-toggle.entry-Bv0DrF-x.js +79 -0
- package/dist/cjs/nv-toggle.entry-BxKZDHdI.js +79 -0
- package/dist/cjs/nv-toggle.entry-DYhnFucd.js +79 -0
- package/dist/cjs/nv-toggle.entry-PRWy57Ro.js +79 -0
- package/dist/cjs/nv-toggle.entry-fDIAyeVX.js +79 -0
- package/dist/cjs/nv-toggle.entry-yqg7e7Qc.js +79 -0
- package/dist/cjs/nv-tooltip.entry--TVfBopp.js +44 -0
- package/dist/cjs/nv-tooltip.entry-58RCazbO.js +44 -0
- package/dist/cjs/nv-tooltip.entry-BBJNnZmj.js +44 -0
- package/dist/cjs/nv-tooltip.entry-Bnu7xEl6.js +44 -0
- package/dist/cjs/nv-tooltip.entry-BrrSQyMx.js +44 -0
- package/dist/cjs/nv-tooltip.entry-BuSwME_F.js +44 -0
- package/dist/cjs/nv-tooltip.entry-ChQpdQn_.js +44 -0
- package/dist/generated/components.js +2 -2
- package/dist/types/generated/components.d.ts +2 -4
- package/package.json +1 -1
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-CtI3SivD.js');
|
|
4
|
+
var constants98e2dcc2 = require('./constants-98e2dcc2-C0SBCapP.js');
|
|
5
|
+
require('react');
|
|
6
|
+
|
|
7
|
+
const nvDialogfooterCss = "nv-dialogfooter{display:flex;padding:var(--dialog-footer-padding-top) var(--dialog-footer-padding-x) var(--dialog-footer-padding-bottom) var(--dialog-footer-padding-x);justify-content:flex-end;align-items:flex-end;gap:var(--dialog-footer-gap-y);align-self:stretch}";
|
|
8
|
+
const NvDialogfooterStyle0 = nvDialogfooterCss;
|
|
9
|
+
|
|
10
|
+
const NvDialogfooter = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.dialogCanceled = index.createEvent(this, "dialogCanceled");
|
|
14
|
+
this.dialogPrimaryClicked = index.createEvent(this, "dialogPrimaryClicked");
|
|
15
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
16
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
20
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
21
|
+
}
|
|
22
|
+
this.hasSlot = false;
|
|
23
|
+
/****************************************************************************/
|
|
24
|
+
//#region PROPERTIES
|
|
25
|
+
/**
|
|
26
|
+
* Disables the primary button, preventing user interaction.
|
|
27
|
+
*/
|
|
28
|
+
this.disabled = false;
|
|
29
|
+
/**
|
|
30
|
+
* Controls the visibility of the cancel button. When true, the cancel button is
|
|
31
|
+
* hidden.
|
|
32
|
+
*/
|
|
33
|
+
this.undismissable = false;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the leading icon for the primary button.
|
|
36
|
+
*/
|
|
37
|
+
this.leadingIcon = '';
|
|
38
|
+
/**
|
|
39
|
+
* Sets the trailing icon for the primary button.
|
|
40
|
+
*/
|
|
41
|
+
this.trailingIcon = '';
|
|
42
|
+
/**
|
|
43
|
+
* Sets the danger state for the primary button.
|
|
44
|
+
*/
|
|
45
|
+
this.danger = false;
|
|
46
|
+
/**
|
|
47
|
+
* Sets the label for the cancel button.
|
|
48
|
+
*/
|
|
49
|
+
this.cancelLabel = 'Cancel';
|
|
50
|
+
/**
|
|
51
|
+
* Sets the label for the primary button.
|
|
52
|
+
*/
|
|
53
|
+
this.primaryLabel = 'Primary';
|
|
54
|
+
/**
|
|
55
|
+
* Sets the type of the primary button.
|
|
56
|
+
*/
|
|
57
|
+
this.primaryButtonType = constants98e2dcc2.ButtonType.Button;
|
|
58
|
+
//#endregion EVENTS
|
|
59
|
+
/****************************************************************************/
|
|
60
|
+
//#region METHODS
|
|
61
|
+
/**
|
|
62
|
+
* Handles the primary action when the primary button is clicked.
|
|
63
|
+
* @param {Event} event - The click event.
|
|
64
|
+
*/
|
|
65
|
+
this.handlePrimary = (event) => {
|
|
66
|
+
event.stopPropagation();
|
|
67
|
+
this.dialogPrimaryClicked.emit();
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Handles the cancel action when the cancel button is clicked. This will close the dialog.
|
|
71
|
+
* @param {Event} event - The click event.
|
|
72
|
+
*/
|
|
73
|
+
this.handleCancel = (event) => {
|
|
74
|
+
event.stopPropagation();
|
|
75
|
+
this.dialogCanceled.emit();
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
//#endregion METHODS
|
|
79
|
+
/****************************************************************************/
|
|
80
|
+
//#region LIFECYCLE
|
|
81
|
+
componentWillLoad() {
|
|
82
|
+
// Check if there are any child elements that don't have a slot attribute
|
|
83
|
+
this.hasSlot = Array.from(this.el.childNodes).some(node => {
|
|
84
|
+
return (node.nodeType === Node.ELEMENT_NODE &&
|
|
85
|
+
!node.hasAttribute('slot'));
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
//#endregion LIFECYCLE
|
|
89
|
+
/****************************************************************************/
|
|
90
|
+
//#region RENDER
|
|
91
|
+
render() {
|
|
92
|
+
return (index.h(index.Host, { key: '11bfb772cb942d91363b9636f0baf10d33ce6bbd' }, !this.hasSlot ? (index.h(index.Fragment, null, !this.undismissable && (index.h("nv-button", { onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), index.h("nv-button", { onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (index.h("nv-icon", { slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (index.h("nv-icon", { slot: "trailing-icon", name: this.trailingIcon, size: "sm" }))))) : (index.h("slot", null))));
|
|
93
|
+
}
|
|
94
|
+
static get formAssociated() { return true; }
|
|
95
|
+
get el() { return index.getElement(this); }
|
|
96
|
+
};
|
|
97
|
+
NvDialogfooter.style = NvDialogfooterStyle0;
|
|
98
|
+
|
|
99
|
+
const nvDialogheaderCss = "nv-dialogheader{padding:var(--dialog-header-padding-top) var(--dialog-header-padding-x) var(--dialog-header-padding-bottom) var(--dialog-header-padding-x);justify-content:space-between;align-items:flex-start;align-self:stretch}nv-dialogheader .heading{color:var(--color-content-high-text);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--font-size-lg);font-style:normal;font-weight:500;line-height:var(--leading-px-6);letter-spacing:var(--letter-spacing-heading-xs)}nv-dialogheader .subheading{color:var(--color-content-low-text);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--font-size-sm);font-style:normal;font-weight:400;line-height:var(--line-height-sm);}";
|
|
100
|
+
const NvDialogheaderStyle0 = nvDialogheaderCss;
|
|
101
|
+
|
|
102
|
+
const NvDialogheader = class {
|
|
103
|
+
constructor(hostRef) {
|
|
104
|
+
index.registerInstance(this, hostRef);
|
|
105
|
+
this.hasSlot = false;
|
|
106
|
+
/****************************************************************************/
|
|
107
|
+
//#region PROPERTIES
|
|
108
|
+
/**
|
|
109
|
+
* Sets the heading text for the dialog.
|
|
110
|
+
*/
|
|
111
|
+
this.heading = 'Dialog Title';
|
|
112
|
+
}
|
|
113
|
+
//#endregion PROPERTIES
|
|
114
|
+
/****************************************************************************/
|
|
115
|
+
//#region LIFECYCLE
|
|
116
|
+
componentWillLoad() {
|
|
117
|
+
// Check if there are any child elements that don't have a slot attribute
|
|
118
|
+
this.hasSlot = Array.from(this.el.childNodes).some(node => {
|
|
119
|
+
return (node.nodeType === Node.ELEMENT_NODE &&
|
|
120
|
+
!node.hasAttribute('slot'));
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
//#endregion LIFECYCLE
|
|
124
|
+
/****************************************************************************/
|
|
125
|
+
//#region RENDER
|
|
126
|
+
render() {
|
|
127
|
+
return (index.h(index.Host, { key: '7658d8f0517e63b3688b938108e8c3a6df788a77' }, !this.hasSlot ? (index.h(index.Fragment, null, index.h("div", { class: "heading" }, this.heading), index.h("div", { class: "subheading" }, this.subheading))) : (index.h("slot", null))));
|
|
128
|
+
}
|
|
129
|
+
get el() { return index.getElement(this); }
|
|
130
|
+
};
|
|
131
|
+
NvDialogheader.style = NvDialogheaderStyle0;
|
|
132
|
+
|
|
133
|
+
exports.nv_dialogfooter = NvDialogfooter;
|
|
134
|
+
exports.nv_dialogheader = NvDialogheader;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-CIcUUomJ.js');
|
|
4
|
+
var constants98e2dcc2 = require('./constants-98e2dcc2-C0SBCapP.js');
|
|
5
|
+
require('react');
|
|
6
|
+
|
|
7
|
+
const nvDialogfooterCss = "nv-dialogfooter{display:flex;padding:var(--dialog-footer-padding-top) var(--dialog-footer-padding-x) var(--dialog-footer-padding-bottom) var(--dialog-footer-padding-x);justify-content:flex-end;align-items:flex-end;gap:var(--dialog-footer-gap-y);align-self:stretch}";
|
|
8
|
+
const NvDialogfooterStyle0 = nvDialogfooterCss;
|
|
9
|
+
|
|
10
|
+
const NvDialogfooter = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.dialogCanceled = index.createEvent(this, "dialogCanceled");
|
|
14
|
+
this.dialogPrimaryClicked = index.createEvent(this, "dialogPrimaryClicked");
|
|
15
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
16
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
20
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
21
|
+
}
|
|
22
|
+
this.hasSlot = false;
|
|
23
|
+
/****************************************************************************/
|
|
24
|
+
//#region PROPERTIES
|
|
25
|
+
/**
|
|
26
|
+
* Disables the primary button, preventing user interaction.
|
|
27
|
+
*/
|
|
28
|
+
this.disabled = false;
|
|
29
|
+
/**
|
|
30
|
+
* Controls the visibility of the cancel button. When true, the cancel button is
|
|
31
|
+
* hidden.
|
|
32
|
+
*/
|
|
33
|
+
this.undismissable = false;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the leading icon for the primary button.
|
|
36
|
+
*/
|
|
37
|
+
this.leadingIcon = '';
|
|
38
|
+
/**
|
|
39
|
+
* Sets the trailing icon for the primary button.
|
|
40
|
+
*/
|
|
41
|
+
this.trailingIcon = '';
|
|
42
|
+
/**
|
|
43
|
+
* Sets the danger state for the primary button.
|
|
44
|
+
*/
|
|
45
|
+
this.danger = false;
|
|
46
|
+
/**
|
|
47
|
+
* Sets the label for the cancel button.
|
|
48
|
+
*/
|
|
49
|
+
this.cancelLabel = 'Cancel';
|
|
50
|
+
/**
|
|
51
|
+
* Sets the label for the primary button.
|
|
52
|
+
*/
|
|
53
|
+
this.primaryLabel = 'Primary';
|
|
54
|
+
/**
|
|
55
|
+
* Sets the type of the primary button.
|
|
56
|
+
*/
|
|
57
|
+
this.primaryButtonType = constants98e2dcc2.ButtonType.Button;
|
|
58
|
+
//#endregion EVENTS
|
|
59
|
+
/****************************************************************************/
|
|
60
|
+
//#region METHODS
|
|
61
|
+
/**
|
|
62
|
+
* Handles the primary action when the primary button is clicked.
|
|
63
|
+
* @param {Event} event - The click event.
|
|
64
|
+
*/
|
|
65
|
+
this.handlePrimary = (event) => {
|
|
66
|
+
event.stopPropagation();
|
|
67
|
+
this.dialogPrimaryClicked.emit();
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Handles the cancel action when the cancel button is clicked. This will close the dialog.
|
|
71
|
+
* @param {Event} event - The click event.
|
|
72
|
+
*/
|
|
73
|
+
this.handleCancel = (event) => {
|
|
74
|
+
event.stopPropagation();
|
|
75
|
+
this.dialogCanceled.emit();
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
//#endregion METHODS
|
|
79
|
+
/****************************************************************************/
|
|
80
|
+
//#region LIFECYCLE
|
|
81
|
+
componentWillLoad() {
|
|
82
|
+
// Check if there are any child elements that don't have a slot attribute
|
|
83
|
+
this.hasSlot = Array.from(this.el.childNodes).some(node => {
|
|
84
|
+
return (node.nodeType === Node.ELEMENT_NODE &&
|
|
85
|
+
!node.hasAttribute('slot'));
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
//#endregion LIFECYCLE
|
|
89
|
+
/****************************************************************************/
|
|
90
|
+
//#region RENDER
|
|
91
|
+
render() {
|
|
92
|
+
return (index.h(index.Host, { key: 'eda5ae29872e57688e5557f17baa87ea6f0cab87' }, !this.hasSlot ? (index.h(index.Fragment, null, !this.undismissable && (index.h("nv-button", { onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), index.h("nv-button", { onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (index.h("nv-icon", { slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (index.h("nv-icon", { slot: "trailing-icon", name: this.trailingIcon, size: "sm" }))))) : (index.h("slot", null))));
|
|
93
|
+
}
|
|
94
|
+
static get formAssociated() { return true; }
|
|
95
|
+
get el() { return index.getElement(this); }
|
|
96
|
+
};
|
|
97
|
+
NvDialogfooter.style = NvDialogfooterStyle0;
|
|
98
|
+
|
|
99
|
+
const nvDialogheaderCss = "nv-dialogheader{padding:var(--dialog-header-padding-top) var(--dialog-header-padding-x) var(--dialog-header-padding-bottom) var(--dialog-header-padding-x);justify-content:space-between;align-items:flex-start;align-self:stretch}nv-dialogheader .heading{color:var(--color-content-high-text);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--font-size-lg);font-style:normal;font-weight:500;line-height:var(--leading-px-6);letter-spacing:var(--letter-spacing-heading-xs)}nv-dialogheader .subheading{color:var(--color-content-low-text);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--font-size-sm);font-style:normal;font-weight:400;line-height:var(--line-height-sm);}";
|
|
100
|
+
const NvDialogheaderStyle0 = nvDialogheaderCss;
|
|
101
|
+
|
|
102
|
+
const NvDialogheader = class {
|
|
103
|
+
constructor(hostRef) {
|
|
104
|
+
index.registerInstance(this, hostRef);
|
|
105
|
+
this.hasSlot = false;
|
|
106
|
+
/****************************************************************************/
|
|
107
|
+
//#region PROPERTIES
|
|
108
|
+
/**
|
|
109
|
+
* Sets the heading text for the dialog.
|
|
110
|
+
*/
|
|
111
|
+
this.heading = 'Dialog Title';
|
|
112
|
+
}
|
|
113
|
+
//#endregion PROPERTIES
|
|
114
|
+
/****************************************************************************/
|
|
115
|
+
//#region LIFECYCLE
|
|
116
|
+
componentWillLoad() {
|
|
117
|
+
// Check if there are any child elements that don't have a slot attribute
|
|
118
|
+
this.hasSlot = Array.from(this.el.childNodes).some(node => {
|
|
119
|
+
return (node.nodeType === Node.ELEMENT_NODE &&
|
|
120
|
+
!node.hasAttribute('slot'));
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
//#endregion LIFECYCLE
|
|
124
|
+
/****************************************************************************/
|
|
125
|
+
//#region RENDER
|
|
126
|
+
render() {
|
|
127
|
+
return (index.h(index.Host, { key: '539e18fe0cca582002a55fbf4a72f1dccdc09a06' }, !this.hasSlot ? (index.h(index.Fragment, null, index.h("div", { class: "heading" }, this.heading), index.h("div", { class: "subheading" }, this.subheading))) : (index.h("slot", null))));
|
|
128
|
+
}
|
|
129
|
+
get el() { return index.getElement(this); }
|
|
130
|
+
};
|
|
131
|
+
NvDialogheader.style = NvDialogheaderStyle0;
|
|
132
|
+
|
|
133
|
+
exports.nv_dialogfooter = NvDialogfooter;
|
|
134
|
+
exports.nv_dialogheader = NvDialogheader;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BZCQTWfv.js');
|
|
4
|
+
var constants98e2dcc2 = require('./constants-98e2dcc2-C0SBCapP.js');
|
|
5
|
+
require('react');
|
|
6
|
+
|
|
7
|
+
const nvDialogfooterCss = "nv-dialogfooter{display:flex;padding:var(--dialog-footer-padding-top) var(--dialog-footer-padding-x) var(--dialog-footer-padding-bottom) var(--dialog-footer-padding-x);justify-content:flex-end;align-items:flex-end;gap:var(--dialog-footer-gap-y);align-self:stretch}";
|
|
8
|
+
const NvDialogfooterStyle0 = nvDialogfooterCss;
|
|
9
|
+
|
|
10
|
+
const NvDialogfooter = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.dialogCanceled = index.createEvent(this, "dialogCanceled");
|
|
14
|
+
this.dialogPrimaryClicked = index.createEvent(this, "dialogPrimaryClicked");
|
|
15
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
16
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
20
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
21
|
+
}
|
|
22
|
+
this.hasSlot = false;
|
|
23
|
+
/****************************************************************************/
|
|
24
|
+
//#region PROPERTIES
|
|
25
|
+
/**
|
|
26
|
+
* Disables the primary button, preventing user interaction.
|
|
27
|
+
*/
|
|
28
|
+
this.disabled = false;
|
|
29
|
+
/**
|
|
30
|
+
* Controls the visibility of the cancel button. When true, the cancel button is
|
|
31
|
+
* hidden.
|
|
32
|
+
*/
|
|
33
|
+
this.undismissable = false;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the leading icon for the primary button.
|
|
36
|
+
*/
|
|
37
|
+
this.leadingIcon = '';
|
|
38
|
+
/**
|
|
39
|
+
* Sets the trailing icon for the primary button.
|
|
40
|
+
*/
|
|
41
|
+
this.trailingIcon = '';
|
|
42
|
+
/**
|
|
43
|
+
* Sets the danger state for the primary button.
|
|
44
|
+
*/
|
|
45
|
+
this.danger = false;
|
|
46
|
+
/**
|
|
47
|
+
* Sets the label for the cancel button.
|
|
48
|
+
*/
|
|
49
|
+
this.cancelLabel = 'Cancel';
|
|
50
|
+
/**
|
|
51
|
+
* Sets the label for the primary button.
|
|
52
|
+
*/
|
|
53
|
+
this.primaryLabel = 'Primary';
|
|
54
|
+
/**
|
|
55
|
+
* Sets the type of the primary button.
|
|
56
|
+
*/
|
|
57
|
+
this.primaryButtonType = constants98e2dcc2.ButtonType.Button;
|
|
58
|
+
//#endregion EVENTS
|
|
59
|
+
/****************************************************************************/
|
|
60
|
+
//#region METHODS
|
|
61
|
+
/**
|
|
62
|
+
* Handles the primary action when the primary button is clicked.
|
|
63
|
+
* @param {Event} event - The click event.
|
|
64
|
+
*/
|
|
65
|
+
this.handlePrimary = (event) => {
|
|
66
|
+
event.stopPropagation();
|
|
67
|
+
this.dialogPrimaryClicked.emit();
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Handles the cancel action when the cancel button is clicked. This will close the dialog.
|
|
71
|
+
* @param {Event} event - The click event.
|
|
72
|
+
*/
|
|
73
|
+
this.handleCancel = (event) => {
|
|
74
|
+
event.stopPropagation();
|
|
75
|
+
this.dialogCanceled.emit();
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
//#endregion METHODS
|
|
79
|
+
/****************************************************************************/
|
|
80
|
+
//#region LIFECYCLE
|
|
81
|
+
componentWillLoad() {
|
|
82
|
+
// Check if there are any child elements that don't have a slot attribute
|
|
83
|
+
this.hasSlot = Array.from(this.el.childNodes).some(node => {
|
|
84
|
+
return (node.nodeType === Node.ELEMENT_NODE &&
|
|
85
|
+
!node.hasAttribute('slot'));
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
//#endregion LIFECYCLE
|
|
89
|
+
/****************************************************************************/
|
|
90
|
+
//#region RENDER
|
|
91
|
+
render() {
|
|
92
|
+
return (index.h(index.Host, { key: '20d86d12b859505ed088fc21ee04d8ee1d9bbb81' }, !this.hasSlot ? (index.h(index.Fragment, null, !this.undismissable && (index.h("nv-button", { onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), index.h("nv-button", { onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (index.h("nv-icon", { slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (index.h("nv-icon", { slot: "trailing-icon", name: this.trailingIcon, size: "sm" }))))) : (index.h("slot", null))));
|
|
93
|
+
}
|
|
94
|
+
static get formAssociated() { return true; }
|
|
95
|
+
get el() { return index.getElement(this); }
|
|
96
|
+
};
|
|
97
|
+
NvDialogfooter.style = NvDialogfooterStyle0;
|
|
98
|
+
|
|
99
|
+
const nvDialogheaderCss = "nv-dialogheader{padding:var(--dialog-header-padding-top) var(--dialog-header-padding-x) var(--dialog-header-padding-bottom) var(--dialog-header-padding-x);justify-content:space-between;align-items:flex-start;align-self:stretch}nv-dialogheader .heading{color:var(--color-content-high-text);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--font-size-lg);font-style:normal;font-weight:500;line-height:var(--leading-px-6);letter-spacing:var(--letter-spacing-heading-xs)}nv-dialogheader .subheading{color:var(--color-content-low-text);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--font-size-sm);font-style:normal;font-weight:400;line-height:var(--line-height-sm);}";
|
|
100
|
+
const NvDialogheaderStyle0 = nvDialogheaderCss;
|
|
101
|
+
|
|
102
|
+
const NvDialogheader = class {
|
|
103
|
+
constructor(hostRef) {
|
|
104
|
+
index.registerInstance(this, hostRef);
|
|
105
|
+
this.hasSlot = false;
|
|
106
|
+
/****************************************************************************/
|
|
107
|
+
//#region PROPERTIES
|
|
108
|
+
/**
|
|
109
|
+
* Sets the heading text for the dialog.
|
|
110
|
+
*/
|
|
111
|
+
this.heading = 'Dialog Title';
|
|
112
|
+
}
|
|
113
|
+
//#endregion PROPERTIES
|
|
114
|
+
/****************************************************************************/
|
|
115
|
+
//#region LIFECYCLE
|
|
116
|
+
componentWillLoad() {
|
|
117
|
+
// Check if there are any child elements that don't have a slot attribute
|
|
118
|
+
this.hasSlot = Array.from(this.el.childNodes).some(node => {
|
|
119
|
+
return (node.nodeType === Node.ELEMENT_NODE &&
|
|
120
|
+
!node.hasAttribute('slot'));
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
//#endregion LIFECYCLE
|
|
124
|
+
/****************************************************************************/
|
|
125
|
+
//#region RENDER
|
|
126
|
+
render() {
|
|
127
|
+
return (index.h(index.Host, { key: '6840a5af95a0534339bc0682d829c33d7376a79a' }, !this.hasSlot ? (index.h(index.Fragment, null, index.h("div", { class: "heading" }, this.heading), index.h("div", { class: "subheading" }, this.subheading))) : (index.h("slot", null))));
|
|
128
|
+
}
|
|
129
|
+
get el() { return index.getElement(this); }
|
|
130
|
+
};
|
|
131
|
+
NvDialogheader.style = NvDialogheaderStyle0;
|
|
132
|
+
|
|
133
|
+
exports.nv_dialogfooter = NvDialogfooter;
|
|
134
|
+
exports.nv_dialogheader = NvDialogheader;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-wDACGzKb.js');
|
|
4
|
+
var constants98e2dcc2 = require('./constants-98e2dcc2-C0SBCapP.js');
|
|
5
|
+
require('react');
|
|
6
|
+
|
|
7
|
+
const nvDialogfooterCss = "nv-dialogfooter{display:flex;padding:var(--dialog-footer-padding-top) var(--dialog-footer-padding-x) var(--dialog-footer-padding-bottom) var(--dialog-footer-padding-x);justify-content:flex-end;align-items:flex-end;gap:var(--dialog-footer-gap-y);align-self:stretch}";
|
|
8
|
+
const NvDialogfooterStyle0 = nvDialogfooterCss;
|
|
9
|
+
|
|
10
|
+
const NvDialogfooter = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.dialogCanceled = index.createEvent(this, "dialogCanceled");
|
|
14
|
+
this.dialogPrimaryClicked = index.createEvent(this, "dialogPrimaryClicked");
|
|
15
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
16
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
20
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
21
|
+
}
|
|
22
|
+
this.hasSlot = false;
|
|
23
|
+
/****************************************************************************/
|
|
24
|
+
//#region PROPERTIES
|
|
25
|
+
/**
|
|
26
|
+
* Disables the primary button, preventing user interaction.
|
|
27
|
+
*/
|
|
28
|
+
this.disabled = false;
|
|
29
|
+
/**
|
|
30
|
+
* Controls the visibility of the cancel button. When true, the cancel button is
|
|
31
|
+
* hidden.
|
|
32
|
+
*/
|
|
33
|
+
this.undismissable = false;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the leading icon for the primary button.
|
|
36
|
+
*/
|
|
37
|
+
this.leadingIcon = '';
|
|
38
|
+
/**
|
|
39
|
+
* Sets the trailing icon for the primary button.
|
|
40
|
+
*/
|
|
41
|
+
this.trailingIcon = '';
|
|
42
|
+
/**
|
|
43
|
+
* Sets the danger state for the primary button.
|
|
44
|
+
*/
|
|
45
|
+
this.danger = false;
|
|
46
|
+
/**
|
|
47
|
+
* Sets the label for the cancel button.
|
|
48
|
+
*/
|
|
49
|
+
this.cancelLabel = 'Cancel';
|
|
50
|
+
/**
|
|
51
|
+
* Sets the label for the primary button.
|
|
52
|
+
*/
|
|
53
|
+
this.primaryLabel = 'Primary';
|
|
54
|
+
/**
|
|
55
|
+
* Sets the type of the primary button.
|
|
56
|
+
*/
|
|
57
|
+
this.primaryButtonType = constants98e2dcc2.ButtonType.Button;
|
|
58
|
+
//#endregion EVENTS
|
|
59
|
+
/****************************************************************************/
|
|
60
|
+
//#region METHODS
|
|
61
|
+
/**
|
|
62
|
+
* Handles the primary action when the primary button is clicked.
|
|
63
|
+
* @param {Event} event - The click event.
|
|
64
|
+
*/
|
|
65
|
+
this.handlePrimary = (event) => {
|
|
66
|
+
event.stopPropagation();
|
|
67
|
+
this.dialogPrimaryClicked.emit();
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Handles the cancel action when the cancel button is clicked. This will close the dialog.
|
|
71
|
+
* @param {Event} event - The click event.
|
|
72
|
+
*/
|
|
73
|
+
this.handleCancel = (event) => {
|
|
74
|
+
event.stopPropagation();
|
|
75
|
+
this.dialogCanceled.emit();
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
//#endregion METHODS
|
|
79
|
+
/****************************************************************************/
|
|
80
|
+
//#region LIFECYCLE
|
|
81
|
+
componentWillLoad() {
|
|
82
|
+
// Check if there are any child elements that don't have a slot attribute
|
|
83
|
+
this.hasSlot = Array.from(this.el.childNodes).some(node => {
|
|
84
|
+
return (node.nodeType === Node.ELEMENT_NODE &&
|
|
85
|
+
!node.hasAttribute('slot'));
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
//#endregion LIFECYCLE
|
|
89
|
+
/****************************************************************************/
|
|
90
|
+
//#region RENDER
|
|
91
|
+
render() {
|
|
92
|
+
return (index.h(index.Host, { key: '11bfb772cb942d91363b9636f0baf10d33ce6bbd' }, !this.hasSlot ? (index.h(index.Fragment, null, !this.undismissable && (index.h("nv-button", { onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), index.h("nv-button", { onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (index.h("nv-icon", { slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (index.h("nv-icon", { slot: "trailing-icon", name: this.trailingIcon, size: "sm" }))))) : (index.h("slot", null))));
|
|
93
|
+
}
|
|
94
|
+
static get formAssociated() { return true; }
|
|
95
|
+
get el() { return index.getElement(this); }
|
|
96
|
+
};
|
|
97
|
+
NvDialogfooter.style = NvDialogfooterStyle0;
|
|
98
|
+
|
|
99
|
+
const nvDialogheaderCss = "nv-dialogheader{padding:var(--dialog-header-padding-top) var(--dialog-header-padding-x) var(--dialog-header-padding-bottom) var(--dialog-header-padding-x);justify-content:space-between;align-items:flex-start;align-self:stretch}nv-dialogheader .heading{color:var(--color-content-high-text);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--font-size-lg);font-style:normal;font-weight:500;line-height:var(--leading-px-6);letter-spacing:var(--letter-spacing-heading-xs)}nv-dialogheader .subheading{color:var(--color-content-low-text);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--font-size-sm);font-style:normal;font-weight:400;line-height:var(--line-height-sm);}";
|
|
100
|
+
const NvDialogheaderStyle0 = nvDialogheaderCss;
|
|
101
|
+
|
|
102
|
+
const NvDialogheader = class {
|
|
103
|
+
constructor(hostRef) {
|
|
104
|
+
index.registerInstance(this, hostRef);
|
|
105
|
+
this.hasSlot = false;
|
|
106
|
+
/****************************************************************************/
|
|
107
|
+
//#region PROPERTIES
|
|
108
|
+
/**
|
|
109
|
+
* Sets the heading text for the dialog.
|
|
110
|
+
*/
|
|
111
|
+
this.heading = 'Dialog Title';
|
|
112
|
+
}
|
|
113
|
+
//#endregion PROPERTIES
|
|
114
|
+
/****************************************************************************/
|
|
115
|
+
//#region LIFECYCLE
|
|
116
|
+
componentWillLoad() {
|
|
117
|
+
// Check if there are any child elements that don't have a slot attribute
|
|
118
|
+
this.hasSlot = Array.from(this.el.childNodes).some(node => {
|
|
119
|
+
return (node.nodeType === Node.ELEMENT_NODE &&
|
|
120
|
+
!node.hasAttribute('slot'));
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
//#endregion LIFECYCLE
|
|
124
|
+
/****************************************************************************/
|
|
125
|
+
//#region RENDER
|
|
126
|
+
render() {
|
|
127
|
+
return (index.h(index.Host, { key: '7658d8f0517e63b3688b938108e8c3a6df788a77' }, !this.hasSlot ? (index.h(index.Fragment, null, index.h("div", { class: "heading" }, this.heading), index.h("div", { class: "subheading" }, this.subheading))) : (index.h("slot", null))));
|
|
128
|
+
}
|
|
129
|
+
get el() { return index.getElement(this); }
|
|
130
|
+
};
|
|
131
|
+
NvDialogheader.style = NvDialogheaderStyle0;
|
|
132
|
+
|
|
133
|
+
exports.nv_dialogfooter = NvDialogfooter;
|
|
134
|
+
exports.nv_dialogheader = NvDialogheader;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-CDe7nrrW.js');
|
|
4
|
+
var constants98e2dcc2 = require('./constants-98e2dcc2-C0SBCapP.js');
|
|
5
|
+
require('react');
|
|
6
|
+
|
|
7
|
+
const nvDialogfooterCss = "nv-dialogfooter{display:flex;padding:var(--dialog-footer-padding-top) var(--dialog-footer-padding-x) var(--dialog-footer-padding-bottom) var(--dialog-footer-padding-x);justify-content:flex-end;align-items:flex-end;gap:var(--dialog-footer-gap-y);align-self:stretch}";
|
|
8
|
+
const NvDialogfooterStyle0 = nvDialogfooterCss;
|
|
9
|
+
|
|
10
|
+
const NvDialogfooter = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.dialogCanceled = index.createEvent(this, "dialogCanceled");
|
|
14
|
+
this.dialogPrimaryClicked = index.createEvent(this, "dialogPrimaryClicked");
|
|
15
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
16
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
20
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
21
|
+
}
|
|
22
|
+
this.hasSlot = false;
|
|
23
|
+
/****************************************************************************/
|
|
24
|
+
//#region PROPERTIES
|
|
25
|
+
/**
|
|
26
|
+
* Disables the primary button, preventing user interaction.
|
|
27
|
+
*/
|
|
28
|
+
this.disabled = false;
|
|
29
|
+
/**
|
|
30
|
+
* Controls the visibility of the cancel button. When true, the cancel button is
|
|
31
|
+
* hidden.
|
|
32
|
+
*/
|
|
33
|
+
this.undismissable = false;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the leading icon for the primary button.
|
|
36
|
+
*/
|
|
37
|
+
this.leadingIcon = '';
|
|
38
|
+
/**
|
|
39
|
+
* Sets the trailing icon for the primary button.
|
|
40
|
+
*/
|
|
41
|
+
this.trailingIcon = '';
|
|
42
|
+
/**
|
|
43
|
+
* Sets the danger state for the primary button.
|
|
44
|
+
*/
|
|
45
|
+
this.danger = false;
|
|
46
|
+
/**
|
|
47
|
+
* Sets the label for the cancel button.
|
|
48
|
+
*/
|
|
49
|
+
this.cancelLabel = 'Cancel';
|
|
50
|
+
/**
|
|
51
|
+
* Sets the label for the primary button.
|
|
52
|
+
*/
|
|
53
|
+
this.primaryLabel = 'Primary';
|
|
54
|
+
/**
|
|
55
|
+
* Sets the type of the primary button.
|
|
56
|
+
*/
|
|
57
|
+
this.primaryButtonType = constants98e2dcc2.ButtonType.Button;
|
|
58
|
+
//#endregion EVENTS
|
|
59
|
+
/****************************************************************************/
|
|
60
|
+
//#region METHODS
|
|
61
|
+
/**
|
|
62
|
+
* Handles the primary action when the primary button is clicked.
|
|
63
|
+
* @param {Event} event - The click event.
|
|
64
|
+
*/
|
|
65
|
+
this.handlePrimary = (event) => {
|
|
66
|
+
event.stopPropagation();
|
|
67
|
+
this.dialogPrimaryClicked.emit();
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Handles the cancel action when the cancel button is clicked. This will close the dialog.
|
|
71
|
+
* @param {Event} event - The click event.
|
|
72
|
+
*/
|
|
73
|
+
this.handleCancel = (event) => {
|
|
74
|
+
event.stopPropagation();
|
|
75
|
+
this.dialogCanceled.emit();
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
//#endregion METHODS
|
|
79
|
+
/****************************************************************************/
|
|
80
|
+
//#region LIFECYCLE
|
|
81
|
+
componentWillLoad() {
|
|
82
|
+
// Check if there are any child elements that don't have a slot attribute
|
|
83
|
+
this.hasSlot = Array.from(this.el.childNodes).some(node => {
|
|
84
|
+
return (node.nodeType === Node.ELEMENT_NODE &&
|
|
85
|
+
!node.hasAttribute('slot'));
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
//#endregion LIFECYCLE
|
|
89
|
+
/****************************************************************************/
|
|
90
|
+
//#region RENDER
|
|
91
|
+
render() {
|
|
92
|
+
return (index.h(index.Host, { key: '11bfb772cb942d91363b9636f0baf10d33ce6bbd' }, !this.hasSlot ? (index.h(index.Fragment, null, !this.undismissable && (index.h("nv-button", { onClick: this.handleCancel, emphasis: "low", size: "sm" }, this.cancelLabel)), index.h("nv-button", { onClick: this.handlePrimary, disabled: this.disabled, danger: this.danger, size: "sm", emphasis: "high", form: this.form, type: this.primaryButtonType }, this.leadingIcon && (index.h("nv-icon", { slot: "leading-icon", name: this.leadingIcon, size: "sm" })), this.primaryLabel, this.trailingIcon && (index.h("nv-icon", { slot: "trailing-icon", name: this.trailingIcon, size: "sm" }))))) : (index.h("slot", null))));
|
|
93
|
+
}
|
|
94
|
+
static get formAssociated() { return true; }
|
|
95
|
+
get el() { return index.getElement(this); }
|
|
96
|
+
};
|
|
97
|
+
NvDialogfooter.style = NvDialogfooterStyle0;
|
|
98
|
+
|
|
99
|
+
const nvDialogheaderCss = "nv-dialogheader{padding:var(--dialog-header-padding-top) var(--dialog-header-padding-x) var(--dialog-header-padding-bottom) var(--dialog-header-padding-x);justify-content:space-between;align-items:flex-start;align-self:stretch}nv-dialogheader .heading{color:var(--color-content-high-text);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--font-size-lg);font-style:normal;font-weight:500;line-height:var(--leading-px-6);letter-spacing:var(--letter-spacing-heading-xs)}nv-dialogheader .subheading{color:var(--color-content-low-text);font-family:\"TT Norms Pro\", sans-serif;font-size:var(--font-size-sm);font-style:normal;font-weight:400;line-height:var(--line-height-sm);}";
|
|
100
|
+
const NvDialogheaderStyle0 = nvDialogheaderCss;
|
|
101
|
+
|
|
102
|
+
const NvDialogheader = class {
|
|
103
|
+
constructor(hostRef) {
|
|
104
|
+
index.registerInstance(this, hostRef);
|
|
105
|
+
this.hasSlot = false;
|
|
106
|
+
/****************************************************************************/
|
|
107
|
+
//#region PROPERTIES
|
|
108
|
+
/**
|
|
109
|
+
* Sets the heading text for the dialog.
|
|
110
|
+
*/
|
|
111
|
+
this.heading = 'Dialog Title';
|
|
112
|
+
}
|
|
113
|
+
//#endregion PROPERTIES
|
|
114
|
+
/****************************************************************************/
|
|
115
|
+
//#region LIFECYCLE
|
|
116
|
+
componentWillLoad() {
|
|
117
|
+
// Check if there are any child elements that don't have a slot attribute
|
|
118
|
+
this.hasSlot = Array.from(this.el.childNodes).some(node => {
|
|
119
|
+
return (node.nodeType === Node.ELEMENT_NODE &&
|
|
120
|
+
!node.hasAttribute('slot'));
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
//#endregion LIFECYCLE
|
|
124
|
+
/****************************************************************************/
|
|
125
|
+
//#region RENDER
|
|
126
|
+
render() {
|
|
127
|
+
return (index.h(index.Host, { key: '7658d8f0517e63b3688b938108e8c3a6df788a77' }, !this.hasSlot ? (index.h(index.Fragment, null, index.h("div", { class: "heading" }, this.heading), index.h("div", { class: "subheading" }, this.subheading))) : (index.h("slot", null))));
|
|
128
|
+
}
|
|
129
|
+
get el() { return index.getElement(this); }
|
|
130
|
+
};
|
|
131
|
+
NvDialogheader.style = NvDialogheaderStyle0;
|
|
132
|
+
|
|
133
|
+
exports.nv_dialogfooter = NvDialogfooter;
|
|
134
|
+
exports.nv_dialogheader = NvDialogheader;
|