@lightsparkdev/ui 1.0.10 → 1.0.11
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/CHANGELOG.md +12 -1
- package/dist/chunk-2466FZJC.js +15 -0
- package/dist/chunk-24PCED54.cjs +35 -0
- package/dist/{chunk-2F2YMUL5.js → chunk-2GSZZKB2.js} +3 -3
- package/dist/chunk-2I22MYIY.js +88 -0
- package/dist/chunk-2NURZSLX.js +26 -0
- package/dist/{chunk-RYS6JJEE.js → chunk-2SLOCUAM.js} +2 -2
- package/dist/chunk-2WMBDPXZ.cjs +44 -0
- package/dist/{chunk-ELKBW52S.js → chunk-2ZVOJA73.js} +19 -17
- package/dist/chunk-36SDWEWY.cjs +88 -0
- package/dist/{chunk-3VB55LWB.js → chunk-3NJYXJSP.js} +1 -1
- package/dist/chunk-3UCMIAB4.js +35 -0
- package/dist/chunk-3Z2MWTUG.js +26 -0
- package/dist/{chunk-F6ITVYPU.js → chunk-4B6TAJL6.js} +4 -4
- package/dist/{chunk-MZVYDXQ7.cjs → chunk-4BSVHCYX.cjs} +4 -4
- package/dist/{chunk-QE67LKK5.cjs → chunk-4HIPKMRH.cjs} +3 -3
- package/dist/{chunk-I3A4BTFM.js → chunk-4IR6IRNW.js} +3 -3
- package/dist/{chunk-TMB4SEV7.cjs → chunk-4JVJ3TUU.cjs} +11 -11
- package/dist/{chunk-XF2X7TOO.cjs → chunk-4L7SC64I.cjs} +7 -7
- package/dist/{chunk-5LEYZK7K.js → chunk-52LYEHC5.js} +1 -1
- package/dist/chunk-53ESFMFA.cjs +35 -0
- package/dist/chunk-54GVS2VF.js +26 -0
- package/dist/{chunk-YUALIPXR.cjs → chunk-54JF52UO.cjs} +9 -9
- package/dist/{chunk-WG6IF6MG.cjs → chunk-5ND3YDXQ.cjs} +4 -4
- package/dist/{chunk-UIYWFRXB.cjs → chunk-5X2T4XFD.cjs} +8 -8
- package/dist/chunk-5YAHKBG6.cjs +46 -0
- package/dist/chunk-65AUSAGM.js +26 -0
- package/dist/{chunk-B5DSZXP6.js → chunk-6B5ZLUMZ.js} +2 -2
- package/dist/{chunk-SZNCRT6T.cjs → chunk-6G6HCZJU.cjs} +6 -6
- package/dist/{chunk-HZFMTV5V.js → chunk-6NM6IXYH.js} +3 -3
- package/dist/{chunk-DCQM7IVK.cjs → chunk-6PYUHYIP.cjs} +4 -4
- package/dist/{chunk-WKRK5OVE.cjs → chunk-7EIZIKLR.cjs} +44 -25
- package/dist/chunk-7Q6ORFK3.cjs +35 -0
- package/dist/{chunk-WZJTXJM5.js → chunk-7SNXBUCU.js} +1 -1
- package/dist/chunk-7ZMAKSA7.js +35 -0
- package/dist/{chunk-IGNDJHKO.js → chunk-A35Y4ISY.js} +18 -34
- package/dist/{chunk-5MLMGZJG.cjs → chunk-A3WQPTLF.cjs} +2 -2
- package/dist/{chunk-TBB3GUOK.js → chunk-A5IQAGAS.js} +2 -2
- package/dist/{chunk-3V52MNZC.js → chunk-AISFIJCR.js} +1 -1
- package/dist/{chunk-MOEVMNK6.js → chunk-AJBJNU3D.js} +4 -4
- package/dist/chunk-AK7B5554.js +44 -0
- package/dist/chunk-ANBLLKL6.js +56 -0
- package/dist/{chunk-XRS4QU2A.cjs → chunk-AORXHQE3.cjs} +2 -2
- package/dist/{chunk-7LOKZM7V.cjs → chunk-APQWRIH6.cjs} +38 -41
- package/dist/{chunk-FFOE2R32.js → chunk-AQ4L3IR5.js} +1 -1
- package/dist/chunk-AZ6KLR75.js +35 -0
- package/dist/{chunk-KB4YCFWX.cjs → chunk-B5N2PM7E.cjs} +7 -7
- package/dist/{chunk-OBLAEHPT.cjs → chunk-B72V5HCX.cjs} +13 -13
- package/dist/{chunk-JPRA3J5C.cjs → chunk-BCPM2M3Y.cjs} +12 -12
- package/dist/{chunk-ATJPSJS5.js → chunk-BD3WZIGI.js} +5 -5
- package/dist/{chunk-ONCHRB4P.cjs → chunk-BEBCOJJR.cjs} +6 -6
- package/dist/{chunk-PXY7XXMI.js → chunk-BHBDIEBG.js} +5 -5
- package/dist/chunk-BSE5JREJ.cjs +35 -0
- package/dist/chunk-BVBV3IEA.js +26 -0
- package/dist/chunk-BVEHA6GI.js +24 -0
- package/dist/chunk-BYSPGS6B.js +26 -0
- package/dist/chunk-BYW654OI.js +35 -0
- package/dist/{chunk-DYTFVMD3.js → chunk-C4KD255H.js} +1 -1
- package/dist/chunk-C7EMB4JV.cjs +26 -0
- package/dist/{chunk-5YKEHMNB.js → chunk-CBEPI4BG.js} +2 -2
- package/dist/{chunk-HEXTPM3C.js → chunk-CD4D43OU.js} +1 -1
- package/dist/{chunk-B7GBVRFP.cjs → chunk-CIWPDNGP.cjs} +4 -4
- package/dist/chunk-CO6KDSEG.js +26 -0
- package/dist/{chunk-NCIBJJIE.js → chunk-CRNFNNH6.js} +1 -1
- package/dist/{chunk-MET4GBWC.js → chunk-CTLQZ57M.js} +1 -1
- package/dist/{chunk-HHD4D2CU.cjs → chunk-CVX3EIGJ.cjs} +10 -10
- package/dist/{chunk-ANXJRCTV.cjs → chunk-D2JGBOUE.cjs} +2 -2
- package/dist/{chunk-7JJQGMWT.cjs → chunk-DHL27UIK.cjs} +2 -2
- package/dist/chunk-DJF6JDR5.cjs +168 -0
- package/dist/{chunk-CBFA6RJW.cjs → chunk-DJGCES5L.cjs} +8 -8
- package/dist/{chunk-B3OYC2SZ.js → chunk-DJUJUVUY.js} +13 -13
- package/dist/{chunk-MQVRZOTQ.js → chunk-DLBPASW7.js} +1 -1
- package/dist/{chunk-LUA7C7Z6.js → chunk-DMGDCXCZ.js} +4 -4
- package/dist/{chunk-XHLL5XVN.cjs → chunk-DOP5TYRD.cjs} +4 -4
- package/dist/{chunk-NMBI5XXU.cjs → chunk-E2O6ZL3X.cjs} +13 -13
- package/dist/{chunk-KNBAVK6L.js → chunk-E6A3UWLO.js} +3 -3
- package/dist/chunk-ELDHCMGP.cjs +26 -0
- package/dist/{chunk-2KHMKDGF.js → chunk-EVYCZKU3.js} +1 -1
- package/dist/chunk-FC3TPOZG.cjs +26 -0
- package/dist/{chunk-MWHLGPKO.cjs → chunk-FDL4732L.cjs} +2 -2
- package/dist/{chunk-R4JQUMCP.js → chunk-FH6BM3M7.js} +2 -2
- package/dist/{chunk-U3FWVBZ3.cjs → chunk-FLFVAIIX.cjs} +5 -5
- package/dist/{chunk-YTMT3NY6.cjs → chunk-FMXFC73T.cjs} +6 -6
- package/dist/{chunk-4QK2V7YW.cjs → chunk-GB7P5OBZ.cjs} +2 -2
- package/dist/{chunk-NSA4FO4B.js → chunk-GEFRH7G5.js} +3 -3
- package/dist/{chunk-ETXGHZRA.js → chunk-GSUG7CDC.js} +2 -2
- package/dist/{chunk-GU4QMN7Z.cjs → chunk-GUUQ4PSE.cjs} +6 -6
- package/dist/{chunk-WKNYSBTF.cjs → chunk-GXP5ES4C.cjs} +2 -2
- package/dist/{chunk-625AYCBC.js → chunk-H2TSUAW4.js} +2 -2
- package/dist/chunk-HEPQ6OV4.cjs +26 -0
- package/dist/{chunk-LU5EBFVL.js → chunk-HF5DZZF7.js} +131 -64
- package/dist/{chunk-DYOWCUZ3.cjs → chunk-HHHQDM7Q.cjs} +7 -7
- package/dist/{chunk-I7MVMRCX.js → chunk-HLLTNMEO.js} +1 -1
- package/dist/{chunk-Z64EONUS.cjs → chunk-HRPJHMJB.cjs} +4 -4
- package/dist/{chunk-OVL3XQUI.cjs → chunk-HXWE42OU.cjs} +17 -17
- package/dist/{chunk-O42E7NAG.js → chunk-HYUF4RXZ.js} +29 -10
- package/dist/{chunk-WM2JR4O2.cjs → chunk-I57XFDUQ.cjs} +6 -6
- package/dist/{chunk-A7BCCSEC.js → chunk-I6TT5AG6.js} +72 -21
- package/dist/chunk-IKSMSSPR.cjs +26 -0
- package/dist/chunk-IRHZP2Z7.cjs +24 -0
- package/dist/{chunk-MJQOF3RS.cjs → chunk-IUVXBD5J.cjs} +8 -8
- package/dist/{chunk-AIP5ENLX.js → chunk-JHLQJQAH.js} +2 -2
- package/dist/{chunk-L2A4DODW.cjs → chunk-JQUCLILY.cjs} +15 -15
- package/dist/{chunk-YWI7HVJX.cjs → chunk-JWW7RK4L.cjs} +6 -6
- package/dist/{chunk-XKRDJQOZ.js → chunk-JXGWWKVC.js} +6 -6
- package/dist/{chunk-VVA3TL2D.js → chunk-JZ2MJO3Z.js} +1 -1
- package/dist/{chunk-7HGSAPSN.js → chunk-JZUJGCQ7.js} +4 -4
- package/dist/{chunk-THAT7M2K.cjs → chunk-K2AHQ6WF.cjs} +31 -31
- package/dist/{chunk-L2PEYHPD.js → chunk-K64CWNSI.js} +19 -19
- package/dist/{chunk-D5FJIN3D.js → chunk-KCCJEYLC.js} +5 -5
- package/dist/{chunk-G3FLE2PL.js → chunk-KIE5GR5E.js} +11 -11
- package/dist/{chunk-62K3RQJB.js → chunk-L23G6XLY.js} +1 -1
- package/dist/{chunk-NADZQTPB.js → chunk-L2APWDV2.js} +3 -3
- package/dist/chunk-L3U3VIEJ.cjs +15 -0
- package/dist/{chunk-EKGTEPQH.cjs → chunk-LE4SV6GH.cjs} +3 -3
- package/dist/chunk-LNWOD2YN.cjs +26 -0
- package/dist/{chunk-2C73WWPT.js → chunk-LQKIJF4I.js} +24 -27
- package/dist/{chunk-RTDZGU5J.js → chunk-M5QQFZEO.js} +6 -6
- package/dist/{chunk-JUGL45TE.cjs → chunk-MA4FRN33.cjs} +2 -2
- package/dist/{chunk-72JQQKA7.js → chunk-MNMGIPSQ.js} +3 -3
- package/dist/chunk-MPUHSMAP.js +35 -0
- package/dist/{chunk-AEL6DM2K.js → chunk-N5BFM67M.js} +4 -4
- package/dist/{chunk-NGSQ2OOV.js → chunk-NCLVA6JY.js} +12 -12
- package/dist/{chunk-RSTCESAL.js → chunk-NHRJSG5K.js} +3 -3
- package/dist/{chunk-4VRON4MF.cjs → chunk-NL2PRKWN.cjs} +7 -7
- package/dist/{chunk-LE5UZLTM.cjs → chunk-NPK4DLGQ.cjs} +12 -12
- package/dist/{chunk-NCQUX52Z.cjs → chunk-NTOIQXCS.cjs} +156 -89
- package/dist/{chunk-E2MVN4UE.cjs → chunk-NTVBNQYA.cjs} +4 -4
- package/dist/{chunk-HHTHXSBF.js → chunk-NVLTKMR6.js} +0 -3
- package/dist/{chunk-H7GCH36P.cjs → chunk-NXETPPGE.cjs} +2 -2
- package/dist/{chunk-6AHBVQ2G.cjs → chunk-O25QSADF.cjs} +2 -2
- package/dist/{chunk-4CFGJROV.cjs → chunk-O64MW4Z4.cjs} +28 -28
- package/dist/{chunk-DXQSKF7R.js → chunk-OAU5Z4HG.js} +1 -1
- package/dist/{chunk-DIMJISMH.cjs → chunk-OQEP7VDD.cjs} +4 -4
- package/dist/{chunk-XXXM6HSW.js → chunk-OVQKO5XJ.js} +1 -1
- package/dist/{chunk-SQEOBZOQ.cjs → chunk-PCIGHDWC.cjs} +30 -30
- package/dist/{chunk-SPZKZUAH.js → chunk-PGBN4QPX.js} +3 -3
- package/dist/{chunk-AQ27MNSE.cjs → chunk-PN4PN7RP.cjs} +50 -50
- package/dist/{chunk-WIPV62VC.cjs → chunk-PVABSHIC.cjs} +6 -6
- package/dist/chunk-PXZZG2CX.js +44 -0
- package/dist/{chunk-6IU4OQOC.cjs → chunk-Q3F7S3R3.cjs} +3 -3
- package/dist/{chunk-NCH72LUB.cjs → chunk-Q7C5LR6I.cjs} +2 -2
- package/dist/chunk-QBAOUYXX.cjs +26 -0
- package/dist/chunk-QEG4FMH4.cjs +56 -0
- package/dist/{chunk-TGVZCORB.cjs → chunk-QI5X3FXI.cjs} +44 -42
- package/dist/{chunk-7K2QTWCN.js → chunk-QLI53XXX.js} +2 -2
- package/dist/{chunk-IP233XPH.cjs → chunk-QNKAOYT3.cjs} +10 -10
- package/dist/{chunk-YHJTGE2Y.cjs → chunk-QWWNVICK.cjs} +4 -4
- package/dist/chunk-QYALA36I.js +35 -0
- package/dist/{chunk-PFLKL4U5.cjs → chunk-QZ7ENG5K.cjs} +15 -15
- package/dist/{chunk-SDDC5AVT.cjs → chunk-R7ZYIVAN.cjs} +0 -3
- package/dist/{chunk-C5EEHCIJ.cjs → chunk-RDNRIMXD.cjs} +10 -10
- package/dist/{chunk-SMVLBX2D.cjs → chunk-RSPUYVQM.cjs} +2 -2
- package/dist/{chunk-6P2AYPAD.js → chunk-S22LEIHN.js} +5 -5
- package/dist/{chunk-7H74ZBRC.js → chunk-S2VMVARY.js} +2 -2
- package/dist/chunk-SBPSQDLJ.js +35 -0
- package/dist/{chunk-5VRX24DR.js → chunk-SHGO6XJX.js} +1 -1
- package/dist/{chunk-URISHIUW.cjs → chunk-STR72UQI.cjs} +14 -14
- package/dist/{chunk-ZGJYMKB2.cjs → chunk-SUYSQ4TQ.cjs} +5 -5
- package/dist/{chunk-GEMBOYJD.cjs → chunk-SZSK5ISJ.cjs} +4 -4
- package/dist/{chunk-OVOZ4MWA.cjs → chunk-T5E6IHMM.cjs} +28 -28
- package/dist/{chunk-GU46BAEF.js → chunk-TGY3VJCU.js} +3 -3
- package/dist/chunk-THJRVECH.cjs +26 -0
- package/dist/{chunk-HJQIDDKT.js → chunk-TIX47F5U.js} +2 -2
- package/dist/{chunk-LOAEVVLR.cjs → chunk-TUNRKMDM.cjs} +29 -29
- package/dist/{chunk-QWBJBEYT.js → chunk-TWUVFR36.js} +4 -4
- package/dist/{chunk-R74ZB3VR.cjs → chunk-UCI3F7QY.cjs} +2 -2
- package/dist/chunk-UF2PXEAK.cjs +35 -0
- package/dist/{chunk-AXHFR6HR.js → chunk-UGHP4KVZ.js} +5 -5
- package/dist/chunk-UKPYD5GH.cjs +35 -0
- package/dist/{chunk-KEO4UBBQ.cjs → chunk-UL73AXJP.cjs} +4 -4
- package/dist/{chunk-JMIYMECJ.cjs → chunk-UMU7TYAN.cjs} +15 -15
- package/dist/chunk-UPMUOBZO.js +35 -0
- package/dist/{chunk-KSGW5YL2.js → chunk-UTST75JR.js} +5 -5
- package/dist/{chunk-L33DG5GN.cjs → chunk-V2BQLDTN.cjs} +2 -2
- package/dist/{chunk-SAI5MDK3.js → chunk-V3XAM4BL.js} +4 -4
- package/dist/{chunk-GPWAK4HM.js → chunk-V64EMQHF.js} +2 -2
- package/dist/{chunk-LFIZVZWX.js → chunk-VAQBWNQQ.js} +7 -7
- package/dist/{chunk-37HQ4WOA.js → chunk-VJDXK2I4.js} +2 -2
- package/dist/{chunk-IKR6723M.cjs → chunk-VVPSBX5O.cjs} +9 -9
- package/dist/{chunk-UTSRM2EL.js → chunk-WN7T7ZQ2.js} +1 -1
- package/dist/{chunk-4EK5RAZS.cjs → chunk-WVBMQP6O.cjs} +2 -2
- package/dist/{chunk-YRD2SMIO.js → chunk-WWDJ5DBH.js} +3 -3
- package/dist/chunk-X73K6SFU.cjs +26 -0
- package/dist/{chunk-LZLRG4BO.cjs → chunk-XDJTWJ4J.cjs} +6 -6
- package/dist/{chunk-2MIU5D22.cjs → chunk-XF4WFJD3.cjs} +4 -4
- package/dist/chunk-XLENEI5B.cjs +35 -0
- package/dist/chunk-XNFMMEBE.cjs +35 -0
- package/dist/{chunk-D5AXHK6H.js → chunk-XPEO5N3R.js} +2 -2
- package/dist/{chunk-GSETAASM.cjs → chunk-XPNAJ5IA.cjs} +4 -4
- package/dist/{chunk-VFDFLLP7.js → chunk-XSE73A6Q.js} +10 -10
- package/dist/{chunk-OP2GXTL3.js → chunk-XWH5OMCO.js} +1 -1
- package/dist/chunk-Y4TAGTN4.cjs +26 -0
- package/dist/chunk-Y6QN5UOT.cjs +44 -0
- package/dist/{chunk-D7U3OZEA.js → chunk-Y7W6NEED.js} +14 -14
- package/dist/{chunk-YZM4ALKD.js → chunk-YBJVTNAP.js} +1 -1
- package/dist/chunk-YHVYNPPK.js +26 -0
- package/dist/chunk-YLERYYWF.js +26 -0
- package/dist/{chunk-VASG2BKI.js → chunk-YQP6BIJN.js} +4 -4
- package/dist/chunk-YU5VK6IK.js +26 -0
- package/dist/{chunk-ISYVFILW.js → chunk-ZEIIKOBF.js} +6 -6
- package/dist/{chunk-7MHIAUWU.js → chunk-ZPYKQFT2.js} +5 -5
- package/dist/{chunk-JKR3MA6Q.js → chunk-ZQ5CXXIE.js} +2 -2
- package/dist/{chunk-PW6MUX7N.cjs → chunk-ZSOF6RUS.cjs} +5 -5
- package/dist/{chunk-55FMRU2M.cjs → chunk-ZTMV67QK.cjs} +8 -8
- package/dist/components/Badge.cjs +30 -15
- package/dist/components/Badge.d.cts +24 -8
- package/dist/components/Badge.d.ts +24 -8
- package/dist/components/Badge.js +29 -14
- package/dist/components/Banner/Banner.cjs +29 -14
- package/dist/components/Banner/Banner.d.cts +20 -4
- package/dist/components/Banner/Banner.d.ts +20 -4
- package/dist/components/Banner/Banner.js +28 -13
- package/dist/components/BlockAlert.cjs +30 -15
- package/dist/components/BlockAlert.js +29 -14
- package/dist/components/Button.cjs +29 -15
- package/dist/components/Button.d.cts +6 -6
- package/dist/components/Button.d.ts +6 -6
- package/dist/components/Button.js +28 -14
- package/dist/components/ButtonRow.cjs +31 -17
- package/dist/components/ButtonRow.d.cts +4 -3
- package/dist/components/ButtonRow.d.ts +4 -3
- package/dist/components/ButtonRow.js +30 -16
- package/dist/components/CardForm/CardForm.cjs +45 -33
- package/dist/components/CardForm/CardForm.d.cts +22 -6
- package/dist/components/CardForm/CardForm.d.ts +22 -6
- package/dist/components/CardForm/CardForm.js +44 -32
- package/dist/components/CardForm/CardFormCodeInput.cjs +11 -10
- package/dist/components/CardForm/CardFormCodeInput.js +10 -9
- package/dist/components/CardPage.cjs +33 -19
- package/dist/components/CardPage.js +32 -18
- package/dist/components/Checkbox.cjs +30 -15
- package/dist/components/Checkbox.d.cts +19 -3
- package/dist/components/Checkbox.d.ts +19 -3
- package/dist/components/Checkbox.js +29 -14
- package/dist/components/ClipboardTextField.cjs +26 -10
- package/dist/components/ClipboardTextField.d.cts +5 -8
- package/dist/components/ClipboardTextField.d.ts +5 -8
- package/dist/components/ClipboardTextField.js +25 -9
- package/dist/components/CodeBlock.cjs +13 -12
- package/dist/components/CodeBlock.js +12 -11
- package/dist/components/CodeInput/CodeInput.cjs +10 -9
- package/dist/components/CodeInput/CodeInput.js +9 -8
- package/dist/components/CodeInput/SingleCodeInput.cjs +9 -8
- package/dist/components/CodeInput/SingleCodeInput.js +8 -7
- package/dist/components/Collapsible.cjs +10 -9
- package/dist/components/Collapsible.js +9 -8
- package/dist/components/CommaNumberInput.cjs +36 -22
- package/dist/components/CommaNumberInput.d.cts +3 -5
- package/dist/components/CommaNumberInput.d.ts +3 -5
- package/dist/components/CommaNumberInput.js +35 -21
- package/dist/components/ContentTable.cjs +9 -8
- package/dist/components/ContentTable.js +8 -7
- package/dist/components/CopyToClipboardButton.cjs +11 -10
- package/dist/components/CopyToClipboardButton.js +10 -9
- package/dist/components/CurrencyAmount.cjs +25 -9
- package/dist/components/CurrencyAmount.d.cts +25 -9
- package/dist/components/CurrencyAmount.d.ts +25 -9
- package/dist/components/CurrencyAmount.js +24 -8
- package/dist/components/DataManagerTable/BooleanFilter.cjs +33 -19
- package/dist/components/DataManagerTable/BooleanFilter.js +32 -18
- package/dist/components/DataManagerTable/DataManagerTable.cjs +59 -47
- package/dist/components/DataManagerTable/DataManagerTable.d.cts +4 -3
- package/dist/components/DataManagerTable/DataManagerTable.d.ts +4 -3
- package/dist/components/DataManagerTable/DataManagerTable.js +58 -46
- package/dist/components/DataManagerTable/DateFilter.cjs +42 -30
- package/dist/components/DataManagerTable/DateFilter.js +41 -29
- package/dist/components/DataManagerTable/DateWidget.cjs +31 -17
- package/dist/components/DataManagerTable/DateWidget.js +30 -16
- package/dist/components/DataManagerTable/EnumFilter.cjs +37 -24
- package/dist/components/DataManagerTable/EnumFilter.js +36 -23
- package/dist/components/DataManagerTable/Filter.cjs +30 -16
- package/dist/components/DataManagerTable/Filter.js +29 -15
- package/dist/components/DataManagerTable/IdFilter.cjs +40 -28
- package/dist/components/DataManagerTable/IdFilter.js +39 -27
- package/dist/components/DataManagerTable/Popover.cjs +30 -16
- package/dist/components/DataManagerTable/Popover.js +29 -15
- package/dist/components/DataManagerTable/StringFilter.cjs +40 -28
- package/dist/components/DataManagerTable/StringFilter.js +39 -27
- package/dist/components/Drawer.cjs +30 -16
- package/dist/components/Drawer.js +29 -15
- package/dist/components/Dropdown.cjs +27 -11
- package/dist/components/Dropdown.d.cts +5 -4
- package/dist/components/Dropdown.d.ts +5 -4
- package/dist/components/Dropdown.js +26 -10
- package/dist/components/FileInput.cjs +15 -14
- package/dist/components/FileInput.js +14 -13
- package/dist/components/GradientCardHeader.cjs +9 -8
- package/dist/components/GradientCardHeader.js +8 -7
- package/dist/components/Icon/Icon.cjs +8 -7
- package/dist/components/Icon/Icon.d.cts +7 -6
- package/dist/components/Icon/Icon.d.ts +7 -6
- package/dist/components/Icon/Icon.js +7 -6
- package/dist/components/IconWithCircleBackground.cjs +26 -10
- package/dist/components/IconWithCircleBackground.js +25 -9
- package/dist/components/InfoIconTooltip.cjs +30 -15
- package/dist/components/InfoIconTooltip.d.cts +21 -5
- package/dist/components/InfoIconTooltip.d.ts +21 -5
- package/dist/components/InfoIconTooltip.js +29 -14
- package/dist/components/LightsparkProvider.cjs +8 -7
- package/dist/components/LightsparkProvider.js +7 -6
- package/dist/components/Loading.cjs +9 -8
- package/dist/components/Loading.js +8 -7
- package/dist/components/Modal.cjs +39 -27
- package/dist/components/Modal.d.cts +21 -5
- package/dist/components/Modal.d.ts +21 -5
- package/dist/components/Modal.js +38 -26
- package/dist/components/PageSection/PageSection.cjs +39 -26
- package/dist/components/PageSection/PageSection.d.cts +2 -1
- package/dist/components/PageSection/PageSection.d.ts +2 -1
- package/dist/components/PageSection/PageSection.js +38 -25
- package/dist/components/PageSection/PageSectionNav.cjs +33 -18
- package/dist/components/PageSection/PageSectionNav.js +32 -17
- package/dist/components/PendingValue.cjs +30 -15
- package/dist/components/PendingValue.d.cts +26 -5
- package/dist/components/PendingValue.d.ts +26 -5
- package/dist/components/PendingValue.js +29 -14
- package/dist/components/PhoneInput.cjs +36 -22
- package/dist/components/PhoneInput.d.cts +5 -8
- package/dist/components/PhoneInput.d.ts +5 -8
- package/dist/components/PhoneInput.js +35 -21
- package/dist/components/Pill.cjs +12 -11
- package/dist/components/Pill.js +11 -10
- package/dist/components/ProgressBar.cjs +7 -6
- package/dist/components/ProgressBar.js +6 -5
- package/dist/components/QRCode.cjs +10 -9
- package/dist/components/QRCode.js +9 -8
- package/dist/components/QRReaderButton.cjs +32 -18
- package/dist/components/QRReaderButton.js +31 -17
- package/dist/components/Radio.cjs +30 -16
- package/dist/components/Radio.js +29 -15
- package/dist/components/ReadClipboardButton.cjs +39 -25
- package/dist/components/ReadClipboardButton.js +38 -24
- package/dist/components/SatoshiInput.cjs +39 -25
- package/dist/components/SatoshiInput.d.cts +3 -5
- package/dist/components/SatoshiInput.d.ts +3 -5
- package/dist/components/SatoshiInput.js +38 -24
- package/dist/components/SatoshiInputLabel.cjs +32 -18
- package/dist/components/SatoshiInputLabel.js +31 -17
- package/dist/components/SecretContainer.cjs +12 -11
- package/dist/components/SecretContainer.js +11 -10
- package/dist/components/SecretInput.cjs +36 -22
- package/dist/components/SecretInput.d.cts +3 -5
- package/dist/components/SecretInput.d.ts +3 -5
- package/dist/components/SecretInput.js +35 -21
- package/dist/components/Select.cjs +11 -10
- package/dist/components/Select.js +10 -9
- package/dist/components/SidePanel.cjs +9 -8
- package/dist/components/SidePanel.js +8 -7
- package/dist/components/StatusIndicator.cjs +8 -7
- package/dist/components/StatusIndicator.js +7 -6
- package/dist/components/Table/Table.cjs +34 -19
- package/dist/components/Table/Table.d.cts +4 -3
- package/dist/components/Table/Table.d.ts +4 -3
- package/dist/components/Table/Table.js +33 -18
- package/dist/components/Table/TableEmptyState.cjs +7 -6
- package/dist/components/Table/TableEmptyState.js +6 -5
- package/dist/components/TextArea.cjs +9 -8
- package/dist/components/TextArea.js +8 -7
- package/dist/components/TextButton.cjs +32 -17
- package/dist/components/TextButton.d.cts +19 -3
- package/dist/components/TextButton.d.ts +19 -3
- package/dist/components/TextButton.js +31 -16
- package/dist/components/TextIconAligner.cjs +30 -15
- package/dist/components/TextIconAligner.d.cts +20 -4
- package/dist/components/TextIconAligner.d.ts +20 -4
- package/dist/components/TextIconAligner.js +29 -14
- package/dist/components/TextInput.cjs +35 -21
- package/dist/components/TextInput.d.cts +3 -5
- package/dist/components/TextInput.d.ts +3 -5
- package/dist/components/TextInput.js +34 -20
- package/dist/components/Toasts.cjs +31 -16
- package/dist/components/Toasts.d.cts +21 -5
- package/dist/components/Toasts.d.ts +21 -5
- package/dist/components/Toasts.js +30 -15
- package/dist/components/Toggle.cjs +8 -7
- package/dist/components/Toggle.js +7 -6
- package/dist/components/Tooltip.cjs +7 -6
- package/dist/components/Tooltip.js +6 -5
- package/dist/components/UnstyledButton.cjs +7 -6
- package/dist/components/UnstyledButton.js +6 -5
- package/dist/components/documentation/AnchorLinkHeader.cjs +16 -19
- package/dist/components/documentation/AnchorLinkHeader.d.cts +4 -5
- package/dist/components/documentation/AnchorLinkHeader.d.ts +4 -5
- package/dist/components/documentation/AnchorLinkHeader.js +15 -18
- package/dist/components/documentation/DocsBodyParagraph.cjs +9 -134
- package/dist/components/documentation/DocsBodyParagraph.d.cts +5 -7
- package/dist/components/documentation/DocsBodyParagraph.d.ts +5 -7
- package/dist/components/documentation/DocsBodyParagraph.js +8 -133
- package/dist/components/documentation/DocsBodyStrongParagraph.cjs +9 -134
- package/dist/components/documentation/DocsBodyStrongParagraph.d.cts +5 -7
- package/dist/components/documentation/DocsBodyStrongParagraph.d.ts +5 -7
- package/dist/components/documentation/DocsBodyStrongParagraph.js +8 -133
- package/dist/components/documentation/DocsHeadline.cjs +10 -135
- package/dist/components/documentation/DocsHeadline.d.cts +4 -5
- package/dist/components/documentation/DocsHeadline.d.ts +4 -5
- package/dist/components/documentation/DocsHeadline.js +9 -134
- package/dist/components/documentation/Video.cjs +7 -6
- package/dist/components/documentation/Video.js +5 -4
- package/dist/components/documentation/index.cjs +16 -19
- package/dist/components/documentation/index.d.cts +4 -5
- package/dist/components/documentation/index.d.ts +4 -5
- package/dist/components/documentation/index.js +15 -18
- package/dist/components/index.cjs +96 -84
- package/dist/components/index.d.cts +21 -5
- package/dist/components/index.d.ts +21 -5
- package/dist/components/index.js +95 -83
- package/dist/components/typography/Article.cjs +21 -24
- package/dist/components/typography/Article.js +20 -23
- package/dist/components/typography/Body.cjs +29 -17
- package/dist/components/typography/Body.d.cts +27 -15
- package/dist/components/typography/Body.d.ts +27 -15
- package/dist/components/typography/Body.js +30 -18
- package/dist/components/typography/BodyStrong.cjs +29 -17
- package/dist/components/typography/BodyStrong.d.cts +28 -13
- package/dist/components/typography/BodyStrong.d.ts +28 -13
- package/dist/components/typography/BodyStrong.js +30 -18
- package/dist/components/typography/Code.cjs +29 -17
- package/dist/components/typography/Code.d.cts +30 -6
- package/dist/components/typography/Code.d.ts +30 -6
- package/dist/components/typography/Code.js +30 -18
- package/dist/components/typography/Display.cjs +29 -20
- package/dist/components/typography/Display.d.cts +30 -6
- package/dist/components/typography/Display.d.ts +30 -6
- package/dist/components/typography/Display.js +30 -21
- package/dist/components/typography/Headline.cjs +29 -24
- package/dist/components/typography/Headline.d.cts +30 -6
- package/dist/components/typography/Headline.d.ts +30 -6
- package/dist/components/typography/Headline.js +30 -25
- package/dist/components/typography/Label.cjs +29 -17
- package/dist/components/typography/Label.d.cts +28 -13
- package/dist/components/typography/Label.d.ts +28 -13
- package/dist/components/typography/Label.js +30 -18
- package/dist/components/typography/LabelModerate.cjs +29 -17
- package/dist/components/typography/LabelModerate.d.cts +30 -6
- package/dist/components/typography/LabelModerate.d.ts +30 -6
- package/dist/components/typography/LabelModerate.js +30 -18
- package/dist/components/typography/LabelStrong.cjs +29 -17
- package/dist/components/typography/LabelStrong.d.cts +30 -6
- package/dist/components/typography/LabelStrong.d.ts +30 -6
- package/dist/components/typography/LabelStrong.js +30 -18
- package/dist/components/typography/Overline.cjs +29 -17
- package/dist/components/typography/Overline.d.cts +30 -6
- package/dist/components/typography/Overline.d.ts +30 -6
- package/dist/components/typography/Overline.js +30 -18
- package/dist/components/typography/Title.cjs +29 -17
- package/dist/components/typography/Title.d.cts +30 -6
- package/dist/components/typography/Title.d.ts +30 -6
- package/dist/components/typography/Title.js +28 -16
- package/dist/components/typography/base/Body.cjs +23 -0
- package/dist/components/typography/base/Body.d.cts +154 -0
- package/dist/components/typography/base/Body.d.ts +154 -0
- package/dist/components/typography/base/Body.js +23 -0
- package/dist/components/typography/base/BodyStrong.cjs +23 -0
- package/dist/components/typography/base/BodyStrong.d.cts +154 -0
- package/dist/components/typography/base/BodyStrong.d.ts +154 -0
- package/dist/components/typography/base/BodyStrong.js +23 -0
- package/dist/components/typography/base/Code.cjs +23 -0
- package/dist/components/typography/base/Code.d.cts +154 -0
- package/dist/components/typography/base/Code.d.ts +154 -0
- package/dist/components/typography/base/Code.js +23 -0
- package/dist/components/typography/base/Display.cjs +28 -0
- package/dist/components/typography/base/Display.d.cts +156 -0
- package/dist/components/typography/base/Display.d.ts +156 -0
- package/dist/components/typography/base/Display.js +28 -0
- package/dist/components/typography/base/Headline.cjs +30 -0
- package/dist/components/typography/base/Headline.d.cts +157 -0
- package/dist/components/typography/base/Headline.d.ts +157 -0
- package/dist/components/typography/base/Headline.js +30 -0
- package/dist/components/typography/base/Label.cjs +23 -0
- package/dist/components/typography/base/Label.d.cts +154 -0
- package/dist/components/typography/base/Label.d.ts +154 -0
- package/dist/components/typography/base/Label.js +23 -0
- package/dist/components/typography/base/LabelModerate.cjs +23 -0
- package/dist/components/typography/base/LabelModerate.d.cts +154 -0
- package/dist/components/typography/base/LabelModerate.d.ts +154 -0
- package/dist/components/typography/base/LabelModerate.js +23 -0
- package/dist/components/typography/base/LabelStrong.cjs +23 -0
- package/dist/components/typography/base/LabelStrong.d.cts +154 -0
- package/dist/components/typography/base/LabelStrong.d.ts +154 -0
- package/dist/components/typography/base/LabelStrong.js +23 -0
- package/dist/components/typography/base/Overline.cjs +23 -0
- package/dist/components/typography/base/Overline.d.cts +154 -0
- package/dist/components/typography/base/Overline.d.ts +154 -0
- package/dist/components/typography/base/Overline.js +23 -0
- package/dist/components/typography/base/Title.cjs +23 -0
- package/dist/components/typography/base/Title.d.cts +154 -0
- package/dist/components/typography/base/Title.d.ts +154 -0
- package/dist/components/typography/base/Title.js +23 -0
- package/dist/components/typography/base/getPropDefaults.cjs +8 -0
- package/dist/components/typography/base/getPropDefaults.d.cts +142 -0
- package/dist/components/typography/base/getPropDefaults.d.ts +142 -0
- package/dist/components/typography/base/getPropDefaults.js +8 -0
- package/dist/components/typography/index.cjs +66 -38
- package/dist/components/typography/index.d.cts +29 -5
- package/dist/components/typography/index.d.ts +29 -5
- package/dist/components/typography/index.js +75 -47
- package/dist/components/typography/renderTypography.cjs +26 -2
- package/dist/components/typography/renderTypography.d.cts +34 -12
- package/dist/components/typography/renderTypography.d.ts +34 -12
- package/dist/components/typography/renderTypography.js +27 -3
- package/dist/components/typography/types.d.cts +33 -9
- package/dist/components/typography/types.d.ts +33 -9
- package/dist/components/typography/typographyStyles.d.cts +5 -8
- package/dist/components/typography/typographyStyles.d.ts +5 -8
- package/dist/router.cjs +24 -3
- package/dist/router.d.cts +56 -9
- package/dist/router.d.ts +56 -9
- package/dist/router.js +23 -2
- package/dist/styles/common.cjs +6 -5
- package/dist/styles/common.d.cts +2 -1
- package/dist/styles/common.d.ts +2 -1
- package/dist/styles/common.js +5 -4
- package/dist/styles/fields.cjs +8 -7
- package/dist/styles/fields.d.cts +3 -5
- package/dist/styles/fields.d.ts +3 -5
- package/dist/styles/fields.js +7 -6
- package/dist/styles/global.cjs +7 -6
- package/dist/styles/global.d.cts +2 -1
- package/dist/styles/global.d.ts +2 -1
- package/dist/styles/global.js +6 -5
- package/dist/styles/themeDefaults/buttons.cjs +2 -2
- package/dist/styles/themeDefaults/buttons.d.cts +2 -1
- package/dist/styles/themeDefaults/buttons.d.ts +2 -1
- package/dist/styles/themeDefaults/buttons.js +1 -1
- package/dist/styles/themeDefaults/cardForm.cjs +9 -0
- package/dist/styles/themeDefaults/cardForm.d.cts +55 -0
- package/dist/styles/themeDefaults/cardForm.d.ts +55 -0
- package/dist/styles/themeDefaults/cardForm.js +9 -0
- package/dist/styles/themes.cjs +5 -4
- package/dist/styles/themes.d.cts +2 -1
- package/dist/styles/themes.d.ts +2 -1
- package/dist/styles/themes.js +4 -3
- package/dist/styles/tokens/typography.cjs +2 -2
- package/dist/styles/tokens/typography.js +1 -1
- package/dist/styles/type.cjs +8 -7
- package/dist/styles/type.d.cts +2 -1
- package/dist/styles/type.d.ts +2 -1
- package/dist/styles/type.js +7 -6
- package/dist/styles/typography.cjs +6 -5
- package/dist/styles/typography.d.cts +2 -1
- package/dist/styles/typography.d.ts +2 -1
- package/dist/styles/typography.js +5 -4
- package/dist/styles/utils.cjs +7 -6
- package/dist/styles/utils.js +6 -5
- package/dist/{themes-ewqUKrgr.d.ts → themes-CPjoocoh.d.ts} +101 -6
- package/dist/{themes-yD4K014U.d.cts → themes-FxGdiei4.d.cts} +101 -6
- package/dist/utils/NextLink.cjs +25 -3
- package/dist/utils/NextLink.d.cts +18 -9
- package/dist/utils/NextLink.d.ts +18 -9
- package/dist/utils/NextLink.js +24 -2
- package/dist/utils/toReactNodes/nodes.d.cts +54 -7
- package/dist/utils/toReactNodes/nodes.d.ts +54 -7
- package/dist/utils/toReactNodes/setReactNodesTypography.cjs +29 -14
- package/dist/utils/toReactNodes/setReactNodesTypography.d.cts +22 -6
- package/dist/utils/toReactNodes/setReactNodesTypography.d.ts +22 -6
- package/dist/utils/toReactNodes/setReactNodesTypography.js +28 -13
- package/dist/utils/toReactNodes/stringToNodes.cjs +7 -0
- package/dist/utils/toReactNodes/stringToNodes.d.cts +5 -0
- package/dist/utils/toReactNodes/stringToNodes.d.ts +5 -0
- package/dist/utils/toReactNodes/stringToNodes.js +7 -0
- package/dist/utils/toReactNodes/toReactNodes.cjs +28 -13
- package/dist/utils/toReactNodes/toReactNodes.d.cts +21 -5
- package/dist/utils/toReactNodes/toReactNodes.d.ts +21 -5
- package/dist/utils/toReactNodes/toReactNodes.js +27 -12
- package/package.json +2 -2
- package/dist/chunk-2G552RN7.js +0 -59
- package/dist/chunk-54VI7M4H.js +0 -50
- package/dist/chunk-6RG56RES.cjs +0 -49
- package/dist/chunk-73ETEREG.js +0 -36
- package/dist/chunk-7D5HL6WZ.js +0 -49
- package/dist/chunk-DILTUDQN.js +0 -86
- package/dist/chunk-DISSWFSS.cjs +0 -62
- package/dist/chunk-E5ARGCTH.cjs +0 -49
- package/dist/chunk-EMMXUHGF.js +0 -49
- package/dist/chunk-GCUAIBB5.js +0 -51
- package/dist/chunk-GDLQ54TN.cjs +0 -41
- package/dist/chunk-HOMUFDUQ.js +0 -49
- package/dist/chunk-MDAXRWPT.cjs +0 -50
- package/dist/chunk-OCULQS4S.cjs +0 -51
- package/dist/chunk-OLDUIEBR.cjs +0 -49
- package/dist/chunk-OYWYTUJD.js +0 -49
- package/dist/chunk-RRPNFKNW.cjs +0 -59
- package/dist/chunk-SEOJ475Z.cjs +0 -86
- package/dist/chunk-UUBFMN76.js +0 -49
- package/dist/chunk-W3PPZLB6.cjs +0 -49
- package/dist/chunk-W5GHORWN.cjs +0 -49
- package/dist/chunk-WC66SYZ7.cjs +0 -117
- package/dist/chunk-WRZUCCQD.cjs +0 -36
- package/dist/chunk-WY2D7I5O.js +0 -49
- package/dist/chunk-XSMF72UT.js +0 -41
- package/dist/chunk-ZPJOE4AS.cjs +0 -49
- package/dist/components/typography/typographyMap.cjs +0 -186
- package/dist/components/typography/typographyMap.d.cts +0 -132
- package/dist/components/typography/typographyMap.d.ts +0 -132
- package/dist/components/typography/typographyMap.js +0 -186
- package/dist/router-Bz3Q1Loj.d.cts +0 -226
- package/dist/router-DcvQVNci.d.ts +0 -226
- package/dist/utils/toReactNodes/toReactNodesBase.cjs +0 -140
- package/dist/utils/toReactNodes/toReactNodesBase.d.cts +0 -132
- package/dist/utils/toReactNodes/toReactNodesBase.d.ts +0 -132
- package/dist/utils/toReactNodes/toReactNodesBase.js +0 -140
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk-VI6WTKMV.js";
|
|
8
8
|
import {
|
|
9
9
|
rootFontSizePx
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
getFontColor
|
|
13
|
-
} from "./chunk-O42E7NAG.js";
|
|
10
|
+
} from "./chunk-YBJVTNAP.js";
|
|
14
11
|
import {
|
|
15
12
|
isString
|
|
16
13
|
} from "./chunk-EDN2QDCB.js";
|
|
14
|
+
import {
|
|
15
|
+
getFontColor
|
|
16
|
+
} from "./chunk-HYUF4RXZ.js";
|
|
17
17
|
|
|
18
18
|
// src/components/Icon/Icon.tsx
|
|
19
19
|
import styled from "@emotion/styled";
|
|
@@ -24,15 +24,15 @@ function Icon({
|
|
|
24
24
|
width,
|
|
25
25
|
tutorialStep,
|
|
26
26
|
id,
|
|
27
|
-
mr = 0,
|
|
28
|
-
ml = 0,
|
|
27
|
+
mr: mrProp = 0,
|
|
28
|
+
ml: mlProp = 0,
|
|
29
29
|
color = void 0,
|
|
30
30
|
verticalAlign = "middle"
|
|
31
31
|
}) {
|
|
32
32
|
const IconComponent = icons_exports[name] || null;
|
|
33
33
|
const w = parseFloat((width / rootFontSizePx).toFixed(2));
|
|
34
|
-
const
|
|
35
|
-
const
|
|
34
|
+
const mr = typeof mrProp === "number" ? `${parseFloat((mrProp / rootFontSizePx).toFixed(2))}em` : mrProp;
|
|
35
|
+
const ml = typeof mlProp === "number" ? `${parseFloat((mlProp / rootFontSizePx).toFixed(2))}em` : mlProp;
|
|
36
36
|
const va = typeof verticalAlign === "string" ? verticalAlign : parseFloat((verticalAlign / rootFontSizePx).toFixed(2));
|
|
37
37
|
return /* @__PURE__ */ jsx(
|
|
38
38
|
IconContainer,
|
|
@@ -40,8 +40,8 @@ function Icon({
|
|
|
40
40
|
id,
|
|
41
41
|
className,
|
|
42
42
|
w,
|
|
43
|
-
mr
|
|
44
|
-
ml
|
|
43
|
+
mr,
|
|
44
|
+
ml,
|
|
45
45
|
verticalAlign: va,
|
|
46
46
|
fontColor: color,
|
|
47
47
|
"data-tutorial-tip": tutorialStep == null ? void 0 : tutorialStep.toString(),
|
|
@@ -56,8 +56,8 @@ var IconContainer = styled.span`
|
|
|
56
56
|
width: ${w}em;
|
|
57
57
|
/* ensure no shrink in flex containers: */
|
|
58
58
|
min-width: ${w}em;
|
|
59
|
-
${mr ? `margin-right: ${mr}
|
|
60
|
-
${ml ? `margin-left: ${ml}
|
|
59
|
+
${mr ? `margin-right: ${mr};` : ""}
|
|
60
|
+
${ml ? `margin-left: ${ml};` : ""}
|
|
61
61
|
`}
|
|
62
62
|
|
|
63
63
|
vertical-align: ${({ verticalAlign }) => isString(verticalAlign) ? verticalAlign : `${verticalAlign}em`};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Tooltip
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EVYCZKU3.js";
|
|
4
4
|
import {
|
|
5
5
|
toReactNodes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2I22MYIY.js";
|
|
7
7
|
import {
|
|
8
8
|
Icon
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NCLVA6JY.js";
|
|
10
10
|
|
|
11
11
|
// src/components/InfoIconTooltip.tsx
|
|
12
12
|
import { Fragment } from "react";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkQ7C5LR6Icjs = require('./chunk-Q7C5LR6I.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk36SDWEWYcjs = require('./chunk-36SDWEWY.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkUMU7TYANcjs = require('./chunk-UMU7TYAN.cjs');
|
|
10
10
|
|
|
11
11
|
// src/components/TextIconAligner.tsx
|
|
12
12
|
var _jsxruntime = require('@emotion/react/jsx-runtime');
|
|
@@ -27,13 +27,13 @@ function TextIconAligner({
|
|
|
27
27
|
text: defaultTypography,
|
|
28
28
|
nextLink: defaultTypography
|
|
29
29
|
};
|
|
30
|
-
const nodesWithTypography =
|
|
30
|
+
const nodesWithTypography = _chunkQ7C5LR6Icjs.setDefaultReactNodesTypography.call(void 0,
|
|
31
31
|
contentProp,
|
|
32
32
|
defaultTypographyMap
|
|
33
33
|
);
|
|
34
|
-
const content =
|
|
34
|
+
const content = _chunk36SDWEWYcjs.toReactNodes.call(void 0, nodesWithTypography);
|
|
35
35
|
const leftIconNode = leftIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36
|
-
|
|
36
|
+
_chunkUMU7TYANcjs.Icon,
|
|
37
37
|
{
|
|
38
38
|
name: leftIcon.name,
|
|
39
39
|
width: leftIcon.width ? leftIcon.width : 12,
|
|
@@ -42,7 +42,7 @@ function TextIconAligner({
|
|
|
42
42
|
}
|
|
43
43
|
) : null;
|
|
44
44
|
const rightIconNode = rightIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
45
|
-
|
|
45
|
+
_chunkUMU7TYANcjs.Icon,
|
|
46
46
|
{
|
|
47
47
|
name: rightIcon.name,
|
|
48
48
|
width: rightIcon.width ? rightIcon.width : 12,
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkBCPM2M3Ycjs = require('./chunk-BCPM2M3Y.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkZU72XWNEcjs = require('./chunk-ZU72XWNE.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkUMU7TYANcjs = require('./chunk-UMU7TYAN.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunk7EIZIKLRcjs = require('./chunk-7EIZIKLR.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
@@ -49,24 +49,24 @@ function Select(_a) {
|
|
|
49
49
|
const styles = {
|
|
50
50
|
container: (styles2, state) => {
|
|
51
51
|
return _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, styles2), {
|
|
52
|
-
width:
|
|
53
|
-
maxWidth:
|
|
52
|
+
width: _chunkBCPM2M3Ycjs.fieldWidth,
|
|
53
|
+
maxWidth: _chunkBCPM2M3Ycjs.maxFieldWidth,
|
|
54
54
|
zIndex: _chunkZU72XWNEcjs.z.select
|
|
55
55
|
});
|
|
56
56
|
},
|
|
57
57
|
control: (styles2, state) => {
|
|
58
58
|
return _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, styles2), {
|
|
59
59
|
transition: "none",
|
|
60
|
-
padding: state.menuIsOpen || state.isFocused ? `${
|
|
60
|
+
padding: state.menuIsOpen || state.isFocused ? `${_chunkBCPM2M3Ycjs.textInputPaddingPx - 1}px` : _chunkBCPM2M3Ycjs.textInputPadding,
|
|
61
61
|
boxShadow: "none",
|
|
62
62
|
background: theme.bg,
|
|
63
63
|
minHeight: 0,
|
|
64
64
|
fontSize: 14,
|
|
65
65
|
borderWidth: state.menuIsOpen || state.isFocused ? "2px" : "1px",
|
|
66
66
|
"&:hover": {
|
|
67
|
-
borderColor: state.menuIsOpen ?
|
|
67
|
+
borderColor: state.menuIsOpen ? _chunkBCPM2M3Ycjs.textInputBorderColorFocused.call(void 0, { theme }) : _chunkBCPM2M3Ycjs.textInputBorderColor.call(void 0, { theme })
|
|
68
68
|
},
|
|
69
|
-
borderColor: state.menuIsOpen || state.isFocused ?
|
|
69
|
+
borderColor: state.menuIsOpen || state.isFocused ? _chunkBCPM2M3Ycjs.textInputBorderColorFocused.call(void 0, { theme }) : _chunkBCPM2M3Ycjs.textInputBorderColor.call(void 0, { theme })
|
|
70
70
|
});
|
|
71
71
|
},
|
|
72
72
|
indicatorsContainer: (styles2) => _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, styles2), {
|
|
@@ -89,13 +89,13 @@ function Select(_a) {
|
|
|
89
89
|
option: (styles2, props) => {
|
|
90
90
|
const optionStyles = getOptionStyles ? getOptionStyles(styles2, props) : {};
|
|
91
91
|
return _chunkYM5JDZDQcjs.__spreadValues.call(void 0, _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, styles2), {
|
|
92
|
-
color: props.isFocused ?
|
|
92
|
+
color: props.isFocused ? _chunk7EIZIKLRcjs.getColor.call(void 0, theme, _chunkBCPM2M3Ycjs.defaultTextInputTypography.color) : props.isDisabled ? _chunkBCPM2M3Ycjs.textInputPlaceholderColor.call(void 0, { theme }) : _chunk7EIZIKLRcjs.getColor.call(void 0, theme, _chunkBCPM2M3Ycjs.defaultTextInputTypography.color),
|
|
93
93
|
fontWeight: 600,
|
|
94
94
|
cursor: "pointer",
|
|
95
|
-
backgroundColor: props.isFocused ?
|
|
95
|
+
backgroundColor: props.isFocused ? _chunk7EIZIKLRcjs.themeOr.call(void 0, theme.c05Neutral, theme.c2Neutral)({ theme }) : theme.bg,
|
|
96
96
|
WebkitTapHighlightColor: theme.c1Neutral,
|
|
97
97
|
"&:active": {
|
|
98
|
-
backgroundColor:
|
|
98
|
+
backgroundColor: _chunk7EIZIKLRcjs.themeOr.call(void 0,
|
|
99
99
|
theme.c05Neutral,
|
|
100
100
|
theme.c5Neutral
|
|
101
101
|
)({ theme })
|
|
@@ -134,7 +134,7 @@ function Select(_a) {
|
|
|
134
134
|
menuPortalTarget: document.body,
|
|
135
135
|
ref: selectRef,
|
|
136
136
|
components: {
|
|
137
|
-
DropdownIndicator: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
137
|
+
DropdownIndicator: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUMU7TYANcjs.Icon, { name: "Chevron", width: 16 })
|
|
138
138
|
// Option: (option) => {
|
|
139
139
|
// return <div>Option</div>;
|
|
140
140
|
// },
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNPK4DLGQcjs = require('./chunk-NPK4DLGQ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkHEPQ6OV4cjs = require('./chunk-HEPQ6OV4.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkB5N2PM7Ecjs = require('./chunk-B5N2PM7E.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkRDNRIMXDcjs = require('./chunk-RDNRIMXD.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkO64MW4Z4cjs = require('./chunk-O64MW4Z4.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkDOP5TYRDcjs = require('./chunk-DOP5TYRD.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkBCPM2M3Ycjs = require('./chunk-BCPM2M3Y.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunk54JF52UOcjs = require('./chunk-54JF52UO.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkQ3F7S3R3cjs = require('./chunk-Q3F7S3R3.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkAPQWRIH6cjs = require('./chunk-APQWRIH6.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkFDL4732Lcjs = require('./chunk-FDL4732L.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkUL73AXJPcjs = require('./chunk-UL73AXJP.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkQ7C5LR6Icjs = require('./chunk-Q7C5LR6I.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var
|
|
43
|
+
var _chunk36SDWEWYcjs = require('./chunk-36SDWEWY.cjs');
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
var _chunk4WKQPWLIcjs = require('./chunk-4WKQPWLI.cjs');
|
|
@@ -50,17 +50,24 @@ var _chunk4WKQPWLIcjs = require('./chunk-4WKQPWLI.cjs');
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
var
|
|
53
|
+
var _chunkOQEP7VDDcjs = require('./chunk-OQEP7VDD.cjs');
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
var
|
|
56
|
+
var _chunk4HIPKMRHcjs = require('./chunk-4HIPKMRH.cjs');
|
|
57
|
+
|
|
57
58
|
|
|
59
|
+
var _chunk7EIZIKLRcjs = require('./chunk-7EIZIKLR.cjs');
|
|
58
60
|
|
|
59
|
-
|
|
61
|
+
|
|
62
|
+
var _chunkKW3JYLRIcjs = require('./chunk-KW3JYLRI.cjs');
|
|
60
63
|
|
|
61
64
|
|
|
62
65
|
var _chunkCFG65CGCcjs = require('./chunk-CFG65CGC.cjs');
|
|
63
66
|
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
var _chunkYM5JDZDQcjs = require('./chunk-YM5JDZDQ.cjs');
|
|
70
|
+
|
|
64
71
|
// src/components/CardForm/CardForm.tsx
|
|
65
72
|
var _react = require('@emotion/react');
|
|
66
73
|
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
@@ -104,24 +111,65 @@ var descriptionTypography = {
|
|
|
104
111
|
}
|
|
105
112
|
}
|
|
106
113
|
};
|
|
107
|
-
function resolveProps(args) {
|
|
108
|
-
const
|
|
109
|
-
const
|
|
110
|
-
const
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
const
|
|
117
|
-
|
|
114
|
+
function resolveProps(args, theme) {
|
|
115
|
+
const paddingY = resolveCardFormProp(void 0, args.kind, "paddingY", theme);
|
|
116
|
+
const paddingX = resolveCardFormProp(void 0, args.kind, "paddingX", theme);
|
|
117
|
+
const textAlign = resolveCardFormProp(
|
|
118
|
+
args.textAlign,
|
|
119
|
+
args.kind,
|
|
120
|
+
"textAlign",
|
|
121
|
+
theme
|
|
122
|
+
);
|
|
123
|
+
const shadow = resolveCardFormProp(args.shadow, args.kind, "shadow", theme);
|
|
124
|
+
const borderRadius = resolveCardFormProp(
|
|
125
|
+
void 0,
|
|
126
|
+
args.kind,
|
|
127
|
+
"borderRadius",
|
|
128
|
+
theme
|
|
129
|
+
);
|
|
130
|
+
const borderWidth = resolveCardFormProp(
|
|
131
|
+
void 0,
|
|
132
|
+
args.kind,
|
|
133
|
+
"borderWidth",
|
|
134
|
+
theme
|
|
135
|
+
);
|
|
136
|
+
const borderColor = resolveCardFormProp(
|
|
137
|
+
void 0,
|
|
138
|
+
args.kind,
|
|
139
|
+
"borderColor",
|
|
140
|
+
theme
|
|
141
|
+
);
|
|
142
|
+
const backgroundColor = resolveCardFormProp(
|
|
143
|
+
void 0,
|
|
144
|
+
args.kind,
|
|
145
|
+
"backgroundColor",
|
|
146
|
+
theme
|
|
147
|
+
);
|
|
148
|
+
const smBackgroundColor = resolveCardFormProp(
|
|
149
|
+
void 0,
|
|
150
|
+
args.kind,
|
|
151
|
+
"smBackgroundColor",
|
|
152
|
+
theme
|
|
153
|
+
);
|
|
154
|
+
const smBorderWidth = resolveCardFormProp(
|
|
155
|
+
void 0,
|
|
156
|
+
args.kind,
|
|
157
|
+
"smBorderWidth",
|
|
158
|
+
theme
|
|
159
|
+
);
|
|
160
|
+
const props = {
|
|
118
161
|
paddingY,
|
|
119
162
|
paddingX,
|
|
120
163
|
shadow,
|
|
121
164
|
borderRadius,
|
|
122
|
-
|
|
123
|
-
|
|
165
|
+
borderColor,
|
|
166
|
+
borderWidth,
|
|
167
|
+
textAlign,
|
|
168
|
+
backgroundColor,
|
|
169
|
+
smBackgroundColor,
|
|
170
|
+
smBorderWidth
|
|
124
171
|
};
|
|
172
|
+
return props;
|
|
125
173
|
}
|
|
126
174
|
function CardForm({
|
|
127
175
|
children,
|
|
@@ -136,10 +184,26 @@ function CardForm({
|
|
|
136
184
|
hasChildForm,
|
|
137
185
|
wide = false,
|
|
138
186
|
kind = "primary",
|
|
187
|
+
shadow: shadowProp,
|
|
139
188
|
textAlign: textAlignProp,
|
|
140
189
|
belowFormContent
|
|
141
190
|
}) {
|
|
142
|
-
const
|
|
191
|
+
const theme = _react.useTheme.call(void 0, );
|
|
192
|
+
const {
|
|
193
|
+
paddingY,
|
|
194
|
+
paddingX,
|
|
195
|
+
shadow,
|
|
196
|
+
borderRadius,
|
|
197
|
+
borderWidth,
|
|
198
|
+
borderColor,
|
|
199
|
+
textAlign,
|
|
200
|
+
backgroundColor,
|
|
201
|
+
smBackgroundColor,
|
|
202
|
+
smBorderWidth
|
|
203
|
+
} = resolveProps(
|
|
204
|
+
{ kind, textAlign: textAlignProp, shadow: shadowProp },
|
|
205
|
+
theme
|
|
206
|
+
);
|
|
143
207
|
const onSubmitForm = _react3.useCallback.call(void 0,
|
|
144
208
|
(e) => {
|
|
145
209
|
e.preventDefault();
|
|
@@ -152,12 +216,12 @@ function CardForm({
|
|
|
152
216
|
},
|
|
153
217
|
[onSubmit, disabled]
|
|
154
218
|
);
|
|
155
|
-
const formattedDescription = description ?
|
|
156
|
-
const belowFormContentNodes = belowFormContent ?
|
|
219
|
+
const formattedDescription = description ? _chunkQ7C5LR6Icjs.toReactNodesWithTypographyMap.call(void 0, description, descriptionTypography[kind]) : null;
|
|
220
|
+
const belowFormContentNodes = belowFormContent ? _chunk36SDWEWYcjs.toReactNodes.call(void 0, belowFormContent) : null;
|
|
157
221
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardFormContent, { children: [
|
|
158
222
|
topContent,
|
|
159
223
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardHeadline, { hasTopContent: Boolean(topContent), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
160
|
-
|
|
224
|
+
_chunkHEPQ6OV4cjs.Headline,
|
|
161
225
|
{
|
|
162
226
|
content: [
|
|
163
227
|
title,
|
|
@@ -169,34 +233,21 @@ function CardForm({
|
|
|
169
233
|
formattedDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardFormSubtitle, { children: formattedDescription }),
|
|
170
234
|
children
|
|
171
235
|
] });
|
|
236
|
+
const commonProps = {
|
|
237
|
+
wide,
|
|
238
|
+
shadow,
|
|
239
|
+
borderRadius,
|
|
240
|
+
borderWidth,
|
|
241
|
+
borderColor,
|
|
242
|
+
textAlign,
|
|
243
|
+
paddingX,
|
|
244
|
+
paddingY,
|
|
245
|
+
backgroundColor,
|
|
246
|
+
smBackgroundColor,
|
|
247
|
+
smBorderWidth
|
|
248
|
+
};
|
|
172
249
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardFormContainer, { children: [
|
|
173
|
-
hasChildForm ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
174
|
-
StyledCardFormDiv,
|
|
175
|
-
{
|
|
176
|
-
wide,
|
|
177
|
-
shadow,
|
|
178
|
-
borderRadius,
|
|
179
|
-
border,
|
|
180
|
-
textAlign,
|
|
181
|
-
paddingY,
|
|
182
|
-
paddingX,
|
|
183
|
-
children: content
|
|
184
|
-
}
|
|
185
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
186
|
-
StyledCardForm,
|
|
187
|
-
{
|
|
188
|
-
wide,
|
|
189
|
-
onSubmit: onSubmitForm,
|
|
190
|
-
shadow,
|
|
191
|
-
borderRadius,
|
|
192
|
-
border,
|
|
193
|
-
textAlign,
|
|
194
|
-
paddingY,
|
|
195
|
-
paddingX,
|
|
196
|
-
noValidate: true,
|
|
197
|
-
children: content
|
|
198
|
-
}
|
|
199
|
-
),
|
|
250
|
+
hasChildForm ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledCardFormDiv, _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, {}, commonProps), { children: content })) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledCardForm, _chunkYM5JDZDQcjs.__spreadProps.call(void 0, _chunkYM5JDZDQcjs.__spreadValues.call(void 0, { onSubmit: onSubmitForm, noValidate: true }, commonProps), { children: content })),
|
|
200
251
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, BelowCardFormContent, { children: belowFormContentNodes })
|
|
201
252
|
] });
|
|
202
253
|
}
|
|
@@ -229,7 +280,7 @@ var CardFormButtonRow = _styled2.default.div`
|
|
|
229
280
|
justify === "center" ? "center" : "left"
|
|
230
281
|
)};
|
|
231
282
|
margin-top: 32px;
|
|
232
|
-
${
|
|
283
|
+
${_chunkAPQWRIH6cjs.ButtonSelector.call(void 0, "* + ")} {
|
|
233
284
|
margin-left: 10px;
|
|
234
285
|
}
|
|
235
286
|
|
|
@@ -240,16 +291,16 @@ var CardFormButtonRow = _styled2.default.div`
|
|
|
240
291
|
var fieldLabelMarginPx = 12;
|
|
241
292
|
var CardFormFieldLabel = _styled2.default.label`
|
|
242
293
|
display: block;
|
|
243
|
-
margin-top: ${
|
|
294
|
+
margin-top: ${_chunkBCPM2M3Ycjs.inputSpacingPx}px;
|
|
244
295
|
color: ${({ theme }) => theme.text};
|
|
245
|
-
font-size: ${
|
|
296
|
+
font-size: ${_chunkQ3F7S3R3cjs.pxToRems.call(void 0, 14)};
|
|
246
297
|
font-weight: 700;
|
|
247
298
|
& + * {
|
|
248
299
|
margin-top: ${fieldLabelMarginPx}px;
|
|
249
300
|
}
|
|
250
301
|
`;
|
|
251
302
|
function CardFormDataFieldValue({ text }) {
|
|
252
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledCardFormDataFieldValue, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
303
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StyledCardFormDataFieldValue, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDNRIMXDcjs.ClipboardTextField, { value: text, icon: true, iconSide: "right" }) });
|
|
253
304
|
}
|
|
254
305
|
var StyledCardFormDataFieldValue = _styled2.default.div`
|
|
255
306
|
margin-top: 4px;
|
|
@@ -283,12 +334,12 @@ var formInset = ({ wide, paddingX, paddingY }) => _react.css`
|
|
|
283
334
|
padding: 0;
|
|
284
335
|
`)}
|
|
285
336
|
|
|
286
|
-
${
|
|
337
|
+
${_chunkOQEP7VDDcjs.standardContentInset.smCSS}
|
|
287
338
|
|
|
288
339
|
& ${CardFormFullWidth}, & ${CardFormFullTopContent} {
|
|
289
340
|
${_chunkKW3JYLRIcjs.bp.sm(`
|
|
290
|
-
width: calc(100% + ${
|
|
291
|
-
margin-left: -${
|
|
341
|
+
width: calc(100% + ${_chunkOQEP7VDDcjs.standardContentInset.smPx * 2}px);
|
|
342
|
+
margin-left: -${_chunkOQEP7VDDcjs.standardContentInset.smPx}px;
|
|
292
343
|
`)}
|
|
293
344
|
|
|
294
345
|
${_chunkKW3JYLRIcjs.bp.minSm(`
|
|
@@ -308,22 +359,30 @@ var StyledCardFormStyle = ({
|
|
|
308
359
|
wide,
|
|
309
360
|
shadow,
|
|
310
361
|
borderRadius,
|
|
311
|
-
|
|
362
|
+
borderWidth,
|
|
363
|
+
borderColor,
|
|
312
364
|
textAlign,
|
|
313
365
|
paddingX,
|
|
314
|
-
paddingY
|
|
366
|
+
paddingY,
|
|
367
|
+
backgroundColor,
|
|
368
|
+
smBackgroundColor,
|
|
369
|
+
smBorderWidth
|
|
315
370
|
}) => {
|
|
316
371
|
return _react.css`
|
|
317
372
|
${formInset({ wide, paddingX, paddingY })}
|
|
318
|
-
${shadow === "soft" ?
|
|
373
|
+
${shadow === "soft" ? _chunkOQEP7VDDcjs.standardCardShadow : shadow === "hard" ? _chunkOQEP7VDDcjs.standardCardShadowHard : ""}
|
|
319
374
|
|
|
320
|
-
background-color: ${theme.bg};
|
|
321
375
|
position: relative;
|
|
322
376
|
height: 100%;
|
|
323
|
-
|
|
377
|
+
border-style: solid;
|
|
378
|
+
border-width: ${borderWidth}px;
|
|
379
|
+
border-color: ${_chunk7EIZIKLRcjs.getColor.call(void 0, theme, borderColor)};
|
|
380
|
+
background-color: ${_chunk7EIZIKLRcjs.getColor.call(void 0, theme, backgroundColor)};
|
|
324
381
|
|
|
325
382
|
${_chunkKW3JYLRIcjs.bp.sm(`
|
|
326
383
|
box-shadow: none;
|
|
384
|
+
background-color: ${_chunk7EIZIKLRcjs.getColor.call(void 0, theme, smBackgroundColor)};
|
|
385
|
+
border-width: ${smBorderWidth}px;
|
|
327
386
|
`)}
|
|
328
387
|
|
|
329
388
|
${_chunkKW3JYLRIcjs.bp.minSm(`
|
|
@@ -338,40 +397,40 @@ var StyledCardFormStyle = ({
|
|
|
338
397
|
margin-top: 40px !important;
|
|
339
398
|
}
|
|
340
399
|
|
|
341
|
-
${CardFormButtonRow}, ${
|
|
342
|
-
${
|
|
400
|
+
${CardFormButtonRow}, ${_chunk54JF52UOcjs.StyledButtonRow} {
|
|
401
|
+
${_chunkAPQWRIH6cjs.ButtonSelector.call(void 0, )} {
|
|
343
402
|
margin-top: 0;
|
|
344
403
|
}
|
|
345
404
|
}
|
|
346
405
|
|
|
347
|
-
${
|
|
348
|
-
margin-top: ${
|
|
406
|
+
${_chunkNPK4DLGQcjs.StyledSelect}, ${_chunkDOP5TYRDcjs.ToggleContainer} {
|
|
407
|
+
margin-top: ${_chunkBCPM2M3Ycjs.inputSpacingPx}px;
|
|
349
408
|
}
|
|
350
409
|
|
|
351
410
|
${CardFormFieldLabel} {
|
|
352
|
-
margin-top: ${
|
|
411
|
+
margin-top: ${_chunkBCPM2M3Ycjs.inputSpacingPx}px;
|
|
353
412
|
|
|
354
|
-
& + ${
|
|
413
|
+
& + ${_chunkNPK4DLGQcjs.StyledSelect} {
|
|
355
414
|
margin-top: ${fieldLabelMarginPx}px;
|
|
356
415
|
}
|
|
357
416
|
}
|
|
358
417
|
|
|
359
|
-
${
|
|
418
|
+
${_chunkO64MW4Z4cjs.TextInputHalfRow} > ${_chunkNPK4DLGQcjs.StyledSelect} {
|
|
360
419
|
margin-top: 0;
|
|
361
420
|
}
|
|
362
421
|
|
|
363
|
-
${
|
|
422
|
+
${_chunkFDL4732Lcjs.LoadingWrapper} {
|
|
364
423
|
margin: 32px 0;
|
|
365
424
|
* + * {
|
|
366
425
|
margin-top: 0;
|
|
367
426
|
}
|
|
368
427
|
}
|
|
369
428
|
|
|
370
|
-
${
|
|
429
|
+
${_chunkAPQWRIH6cjs.ButtonSelector.call(void 0, )} ${_chunkFDL4732Lcjs.LoadingWrapper} {
|
|
371
430
|
margin: 0;
|
|
372
431
|
}
|
|
373
432
|
|
|
374
|
-
${
|
|
433
|
+
${_chunkB5N2PM7Ecjs.StyledFileInput} {
|
|
375
434
|
margin-top: 16px;
|
|
376
435
|
}
|
|
377
436
|
|
|
@@ -380,8 +439,8 @@ var StyledCardFormStyle = ({
|
|
|
380
439
|
margin-top: 24px;
|
|
381
440
|
}
|
|
382
441
|
|
|
383
|
-
& > ${
|
|
384
|
-
${
|
|
442
|
+
& > ${_chunkAPQWRIH6cjs.ButtonSelector.call(void 0, )} {
|
|
443
|
+
${_chunkBCPM2M3Ycjs.formButtonTopMarginStyle}
|
|
385
444
|
}
|
|
386
445
|
}
|
|
387
446
|
`;
|
|
@@ -405,9 +464,9 @@ function CardFormTextWithLink({
|
|
|
405
464
|
to
|
|
406
465
|
}) {
|
|
407
466
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { css: { marginTop: "16px", fontWeight: "600" }, children: [
|
|
408
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { css:
|
|
467
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { css: _chunkOQEP7VDDcjs.mcBold, children: text }),
|
|
409
468
|
" ",
|
|
410
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
469
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4HIPKMRHcjs.Link, { to, children: toText })
|
|
411
470
|
] });
|
|
412
471
|
}
|
|
413
472
|
function CardFormCheckboxParagraph({
|
|
@@ -416,7 +475,7 @@ function CardFormCheckboxParagraph({
|
|
|
416
475
|
checked
|
|
417
476
|
}) {
|
|
418
477
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, StyledCardFormCheckboxParagraph, { children: [
|
|
419
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
478
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUL73AXJPcjs.Checkbox, { checked, onChange, alignItems: "flex-start" }),
|
|
420
479
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardFormCheckboxParagraphText, { onClick: () => onChange(!checked), children })
|
|
421
480
|
] });
|
|
422
481
|
}
|
|
@@ -436,7 +495,7 @@ var CardFormOption = ({
|
|
|
436
495
|
] });
|
|
437
496
|
var StyledCardFormOption = _styled2.default.div`
|
|
438
497
|
border: ${({ theme, selected }) => `${selected ? `2px solid ${theme.info}` : `1px solid ${theme.c1Neutral}`}`};
|
|
439
|
-
${
|
|
498
|
+
${_chunkOQEP7VDDcjs.standardBorderRadius.call(void 0, 8)}
|
|
440
499
|
cursor: pointer;
|
|
441
500
|
margin-top: 10px;
|
|
442
501
|
padding: ${({ selected }) => selected ? "15px" : "16px"};
|
|
@@ -448,6 +507,14 @@ var CardFormOptionDescription = _styled2.default.p`
|
|
|
448
507
|
color: ${_chunkCFG65CGCcjs.colors.gray40};
|
|
449
508
|
margin: 6px 0 0;
|
|
450
509
|
`;
|
|
510
|
+
function resolveCardFormProp(prop, kind, defaultKey, theme) {
|
|
511
|
+
var _a;
|
|
512
|
+
return (
|
|
513
|
+
/** props may be unset for a given kind but theme defaults always exist,
|
|
514
|
+
* so this will always resolve a value: */
|
|
515
|
+
prop || ((_a = theme.cardForm.kinds[kind]) == null ? void 0 : _a[defaultKey]) || theme.cardForm[defaultKey]
|
|
516
|
+
);
|
|
517
|
+
}
|
|
451
518
|
|
|
452
519
|
|
|
453
520
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkBCPM2M3Ycjs = require('./chunk-BCPM2M3Y.cjs');
|
|
6
6
|
|
|
7
7
|
// src/components/TextArea.tsx
|
|
8
8
|
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
|
|
@@ -24,7 +24,7 @@ function TextArea({
|
|
|
24
24
|
readOnly = false
|
|
25
25
|
}) {
|
|
26
26
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
27
|
-
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27
|
+
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBCPM2M3Ycjs.Label, { children: label }),
|
|
28
28
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29
29
|
StyledTextArea,
|
|
30
30
|
{
|
|
@@ -40,11 +40,11 @@ function TextArea({
|
|
|
40
40
|
readOnly
|
|
41
41
|
}
|
|
42
42
|
),
|
|
43
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBCPM2M3Ycjs.InputSubtext, { text: error || hint })
|
|
44
44
|
] });
|
|
45
45
|
}
|
|
46
46
|
var StyledTextArea = _styled2.default.textarea`
|
|
47
|
-
${
|
|
47
|
+
${_chunkBCPM2M3Ycjs.textInputStyle}
|
|
48
48
|
resize: none;
|
|
49
49
|
min-height: ${({ minHeight }) => typeof minHeight === "number" ? `${minHeight}px` : "initial"};
|
|
50
50
|
`;
|