@particle-academy/react-fancy 6.7.2 → 6.9.0
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 +44 -1
- package/dist/{Card-CuRZivBz.d.cts → Card-D0sp2T1V.d.cts} +6 -1
- package/dist/{Card-CuRZivBz.d.ts → Card-D0sp2T1V.d.ts} +6 -1
- package/dist/accordion-panel.cjs +7 -7
- package/dist/accordion-panel.js +1 -1
- package/dist/accordion.cjs +3 -3
- package/dist/accordion.js +1 -1
- package/dist/autocomplete.cjs +4 -3
- package/dist/autocomplete.js +3 -2
- package/dist/avatar.cjs +2 -2
- package/dist/avatar.js +1 -1
- package/dist/breadcrumbs.cjs +2 -2
- package/dist/breadcrumbs.js +1 -1
- package/dist/button.cjs +3 -3
- package/dist/button.d.cts +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/button.js +1 -1
- package/dist/calendar.cjs +2 -2
- package/dist/calendar.js +1 -1
- package/dist/callout.cjs +2 -2
- package/dist/callout.js +1 -1
- package/dist/card.cjs +7 -7
- package/dist/card.d.cts +2 -2
- package/dist/card.d.ts +2 -2
- package/dist/card.js +1 -1
- package/dist/carousel.cjs +7 -7
- package/dist/carousel.js +1 -1
- package/dist/chart.cjs +2 -2
- package/dist/chart.js +1 -1
- package/dist/chat-drawer.cjs +2 -2
- package/dist/chat-drawer.js +1 -1
- package/dist/chat-thread.cjs +7 -7
- package/dist/chat-thread.js +5 -5
- package/dist/checkbox-group.cjs +5 -5
- package/dist/checkbox-group.js +4 -4
- package/dist/checkbox.cjs +3 -3
- package/dist/checkbox.js +2 -2
- package/dist/{chunk-B4YV2V7G.cjs → chunk-2DX3PNXU.cjs} +3 -3
- package/dist/{chunk-B4YV2V7G.cjs.map → chunk-2DX3PNXU.cjs.map} +1 -1
- package/dist/{chunk-KPRSRWNM.js → chunk-2I7VNCBZ.js} +3 -3
- package/dist/{chunk-KPRSRWNM.js.map → chunk-2I7VNCBZ.js.map} +1 -1
- package/dist/{chunk-WMANILKC.cjs → chunk-2UYQ34RJ.cjs} +7 -7
- package/dist/chunk-2UYQ34RJ.cjs.map +1 -0
- package/dist/chunk-36IC3NDN.cjs +21 -0
- package/dist/chunk-36IC3NDN.cjs.map +1 -0
- package/dist/{chunk-LFC2DL6H.cjs → chunk-3BBEVHSP.cjs} +14 -9
- package/dist/chunk-3BBEVHSP.cjs.map +1 -0
- package/dist/{chunk-2O5UXH5R.cjs → chunk-3EZ6UPXS.cjs} +10 -10
- package/dist/chunk-3EZ6UPXS.cjs.map +1 -0
- package/dist/{chunk-XBFTO64U.cjs → chunk-3KJN3GTB.cjs} +4 -4
- package/dist/{chunk-XBFTO64U.cjs.map → chunk-3KJN3GTB.cjs.map} +1 -1
- package/dist/{chunk-37D5PYEF.js → chunk-3O3ZWWLG.js} +17 -4
- package/dist/chunk-3O3ZWWLG.js.map +1 -0
- package/dist/{chunk-5PHPJL7Z.js → chunk-4EQ336PQ.js} +4 -4
- package/dist/{chunk-5PHPJL7Z.js.map → chunk-4EQ336PQ.js.map} +1 -1
- package/dist/{chunk-EENHSMV2.js → chunk-4L3MGQAR.js} +6 -6
- package/dist/{chunk-EENHSMV2.js.map → chunk-4L3MGQAR.js.map} +1 -1
- package/dist/{chunk-QGY5FPVM.js → chunk-54NB3T3Q.js} +6 -4
- package/dist/chunk-54NB3T3Q.js.map +1 -0
- package/dist/{chunk-FRWOWDGX.js → chunk-5FA6V7JF.js} +3 -3
- package/dist/{chunk-FRWOWDGX.js.map → chunk-5FA6V7JF.js.map} +1 -1
- package/dist/{chunk-UUEAFG6V.js → chunk-5NJF7SQX.js} +6 -6
- package/dist/{chunk-UUEAFG6V.js.map → chunk-5NJF7SQX.js.map} +1 -1
- package/dist/{chunk-ZGDOWJKL.cjs → chunk-5NTFXQ4K.cjs} +6 -6
- package/dist/{chunk-ZGDOWJKL.cjs.map → chunk-5NTFXQ4K.cjs.map} +1 -1
- package/dist/{chunk-CQ7QXZLR.cjs → chunk-5SVZX6WF.cjs} +4 -4
- package/dist/chunk-5SVZX6WF.cjs.map +1 -0
- package/dist/{chunk-JY7HPFOE.cjs → chunk-6B2GMKE4.cjs} +5 -5
- package/dist/{chunk-JY7HPFOE.cjs.map → chunk-6B2GMKE4.cjs.map} +1 -1
- package/dist/{chunk-GSMD5NK5.js → chunk-6BCXGP2T.js} +7 -7
- package/dist/{chunk-GSMD5NK5.js.map → chunk-6BCXGP2T.js.map} +1 -1
- package/dist/{chunk-CVDL6C2O.cjs → chunk-6EPM5JG7.cjs} +3 -3
- package/dist/{chunk-CVDL6C2O.cjs.map → chunk-6EPM5JG7.cjs.map} +1 -1
- package/dist/{chunk-FVQO75KY.cjs → chunk-6GOPFKGC.cjs} +10 -4
- package/dist/chunk-6GOPFKGC.cjs.map +1 -0
- package/dist/{chunk-QTS4Q2NK.js → chunk-6RXEWM3V.js} +4 -3
- package/dist/chunk-6RXEWM3V.js.map +1 -0
- package/dist/{chunk-TLRFXSPA.cjs → chunk-73REG7KM.cjs} +13 -13
- package/dist/{chunk-TLRFXSPA.cjs.map → chunk-73REG7KM.cjs.map} +1 -1
- package/dist/{chunk-MI57NAKF.js → chunk-7B3Z4NVM.js} +6 -5
- package/dist/chunk-7B3Z4NVM.js.map +1 -0
- package/dist/{chunk-J2BWXCES.js → chunk-7GRIO5AZ.js} +3 -3
- package/dist/{chunk-J2BWXCES.js.map → chunk-7GRIO5AZ.js.map} +1 -1
- package/dist/{chunk-V5JTTLJP.cjs → chunk-7K2C744H.cjs} +3 -3
- package/dist/{chunk-V5JTTLJP.cjs.map → chunk-7K2C744H.cjs.map} +1 -1
- package/dist/{chunk-AJPYGRLA.cjs → chunk-7NRG77U5.cjs} +12 -4
- package/dist/chunk-7NRG77U5.cjs.map +1 -0
- package/dist/{chunk-GDF6XTHC.js → chunk-7OUBFO4D.js} +7 -5
- package/dist/chunk-7OUBFO4D.js.map +1 -0
- package/dist/{chunk-6H7ZN23X.cjs → chunk-7PK3OUKR.cjs} +6 -6
- package/dist/{chunk-6H7ZN23X.cjs.map → chunk-7PK3OUKR.cjs.map} +1 -1
- package/dist/{chunk-EUVWYDFN.js → chunk-AE6ICNJR.js} +14 -9
- package/dist/chunk-AE6ICNJR.js.map +1 -0
- package/dist/{chunk-YJXP6AOL.cjs → chunk-AF33UCTN.cjs} +4 -4
- package/dist/{chunk-YJXP6AOL.cjs.map → chunk-AF33UCTN.cjs.map} +1 -1
- package/dist/{chunk-PM5I5ZHK.cjs → chunk-AFFR7HHZ.cjs} +8 -7
- package/dist/chunk-AFFR7HHZ.cjs.map +1 -0
- package/dist/{chunk-F4OYQ2XZ.js → chunk-AR5DLM4K.js} +9 -6
- package/dist/chunk-AR5DLM4K.js.map +1 -0
- package/dist/{chunk-DJB3N4G3.cjs → chunk-AVGZ4PPC.cjs} +9 -9
- package/dist/{chunk-DJB3N4G3.cjs.map → chunk-AVGZ4PPC.cjs.map} +1 -1
- package/dist/{chunk-RANTYGKW.js → chunk-AXW55PQG.js} +3 -3
- package/dist/chunk-AXW55PQG.js.map +1 -0
- package/dist/{chunk-OASSZI6M.cjs → chunk-AZ5DWOQY.cjs} +5 -4
- package/dist/chunk-AZ5DWOQY.cjs.map +1 -0
- package/dist/{chunk-NSJBVV7R.js → chunk-BPTCMI3E.js} +21 -10
- package/dist/chunk-BPTCMI3E.js.map +1 -0
- package/dist/{chunk-PDVU2PXR.js → chunk-BQENLOEV.js} +10 -10
- package/dist/chunk-BQENLOEV.js.map +1 -0
- package/dist/{chunk-25HRO7HQ.cjs → chunk-BYMOPR7P.cjs} +7 -7
- package/dist/chunk-BYMOPR7P.cjs.map +1 -0
- package/dist/{chunk-FKZB27OM.cjs → chunk-C6EVRWXZ.cjs} +11 -8
- package/dist/chunk-C6EVRWXZ.cjs.map +1 -0
- package/dist/{chunk-GTS3QA7M.js → chunk-CO2NEUFK.js} +5 -5
- package/dist/chunk-CO2NEUFK.js.map +1 -0
- package/dist/{chunk-ESCIXKFT.js → chunk-D6NISIKV.js} +17 -7
- package/dist/chunk-D6NISIKV.js.map +1 -0
- package/dist/{chunk-MRZXTL46.cjs → chunk-DFROB5TW.cjs} +20 -20
- package/dist/{chunk-MRZXTL46.cjs.map → chunk-DFROB5TW.cjs.map} +1 -1
- package/dist/{chunk-KFA7B6WP.cjs → chunk-DPPDZOMY.cjs} +17 -7
- package/dist/chunk-DPPDZOMY.cjs.map +1 -0
- package/dist/{chunk-BXPLERIJ.js → chunk-DW2PHLOA.js} +5 -4
- package/dist/chunk-DW2PHLOA.js.map +1 -0
- package/dist/{chunk-BYO5RUDE.cjs → chunk-DXLPBLNC.cjs} +6 -5
- package/dist/chunk-DXLPBLNC.cjs.map +1 -0
- package/dist/{chunk-5WQ6FPSP.js → chunk-E2AEU5SP.js} +4 -4
- package/dist/{chunk-5WQ6FPSP.js.map → chunk-E2AEU5SP.js.map} +1 -1
- package/dist/{chunk-3QCAOD2W.cjs → chunk-EC4ZYZNK.cjs} +3 -3
- package/dist/{chunk-3QCAOD2W.cjs.map → chunk-EC4ZYZNK.cjs.map} +1 -1
- package/dist/{chunk-KXYMMNNV.js → chunk-EDIX6EXQ.js} +20 -20
- package/dist/{chunk-KXYMMNNV.js.map → chunk-EDIX6EXQ.js.map} +1 -1
- package/dist/{chunk-KOAMRCSC.cjs → chunk-ETUDUDSL.cjs} +14 -11
- package/dist/chunk-ETUDUDSL.cjs.map +1 -0
- package/dist/{chunk-LY3RQB3H.js → chunk-F3U4AVGF.js} +3 -3
- package/dist/{chunk-LY3RQB3H.js.map → chunk-F3U4AVGF.js.map} +1 -1
- package/dist/{chunk-AE53RKWR.cjs → chunk-FF5G3E76.cjs} +407 -22
- package/dist/chunk-FF5G3E76.cjs.map +1 -0
- package/dist/{chunk-WNWEC5OU.cjs → chunk-FKHYJ5IC.cjs} +3 -3
- package/dist/{chunk-WNWEC5OU.cjs.map → chunk-FKHYJ5IC.cjs.map} +1 -1
- package/dist/{chunk-QP6VNKLW.cjs → chunk-FNPII6TF.cjs} +9 -5
- package/dist/chunk-FNPII6TF.cjs.map +1 -0
- package/dist/{chunk-JY2RC6I4.js → chunk-FQCLJZZS.js} +13 -10
- package/dist/chunk-FQCLJZZS.js.map +1 -0
- package/dist/{chunk-EQ7G5F6K.js → chunk-FRUHEDZN.js} +3 -3
- package/dist/{chunk-EQ7G5F6K.js.map → chunk-FRUHEDZN.js.map} +1 -1
- package/dist/{chunk-BJL3VDRK.cjs → chunk-FY2WDVKF.cjs} +3 -3
- package/dist/{chunk-BJL3VDRK.cjs.map → chunk-FY2WDVKF.cjs.map} +1 -1
- package/dist/{chunk-SKMORSBO.cjs → chunk-FZQWFDUV.cjs} +5 -5
- package/dist/chunk-FZQWFDUV.cjs.map +1 -0
- package/dist/{chunk-HNJXBMHI.cjs → chunk-G5MDMQVQ.cjs} +40 -39
- package/dist/chunk-G5MDMQVQ.cjs.map +1 -0
- package/dist/{chunk-4DL2U23D.cjs → chunk-GE2ZGE3A.cjs} +21 -13
- package/dist/chunk-GE2ZGE3A.cjs.map +1 -0
- package/dist/{chunk-THMFLRDW.cjs → chunk-GE6TSA3M.cjs} +17 -17
- package/dist/{chunk-THMFLRDW.cjs.map → chunk-GE6TSA3M.cjs.map} +1 -1
- package/dist/{chunk-MQ6VGG62.js → chunk-GJWNZMJT.js} +14 -11
- package/dist/chunk-GJWNZMJT.js.map +1 -0
- package/dist/{chunk-5TP642UT.js → chunk-GODJVIIO.js} +12 -11
- package/dist/chunk-GODJVIIO.js.map +1 -0
- package/dist/{chunk-RLE5WYY6.js → chunk-GZSRKBYI.js} +406 -24
- package/dist/chunk-GZSRKBYI.js.map +1 -0
- package/dist/{chunk-FR4RHVPR.js → chunk-H7IQVCTX.js} +6 -4
- package/dist/chunk-H7IQVCTX.js.map +1 -0
- package/dist/{chunk-KOTUFZJ6.cjs → chunk-H7OTLGRD.cjs} +14 -11
- package/dist/chunk-H7OTLGRD.cjs.map +1 -0
- package/dist/{chunk-K5MQZTDW.cjs → chunk-HKLBCA5X.cjs} +4 -4
- package/dist/{chunk-K5MQZTDW.cjs.map → chunk-HKLBCA5X.cjs.map} +1 -1
- package/dist/{chunk-5QKQXM5V.cjs → chunk-HYU46SOE.cjs} +5 -5
- package/dist/{chunk-5QKQXM5V.cjs.map → chunk-HYU46SOE.cjs.map} +1 -1
- package/dist/{chunk-X2A3NAJW.js → chunk-I65KXHYL.js} +4 -4
- package/dist/chunk-I65KXHYL.js.map +1 -0
- package/dist/{chunk-USWQAMI3.js → chunk-IF6EITB5.js} +3 -3
- package/dist/{chunk-USWQAMI3.js.map → chunk-IF6EITB5.js.map} +1 -1
- package/dist/{chunk-DXZCKDYS.js → chunk-IG2UDCBA.js} +9 -9
- package/dist/chunk-IG2UDCBA.js.map +1 -0
- package/dist/{chunk-YQZB5Z7C.cjs → chunk-INC35VEE.cjs} +3 -2
- package/dist/chunk-INC35VEE.cjs.map +1 -0
- package/dist/{chunk-AQ4DZT4Y.cjs → chunk-ISAHWGMD.cjs} +6 -6
- package/dist/{chunk-AQ4DZT4Y.cjs.map → chunk-ISAHWGMD.cjs.map} +1 -1
- package/dist/{chunk-PJNUGSKI.js → chunk-IYG436ZY.js} +26 -25
- package/dist/chunk-IYG436ZY.js.map +1 -0
- package/dist/{chunk-Z4UXLQSK.cjs → chunk-JDFJK5GO.cjs} +16 -16
- package/dist/chunk-JDFJK5GO.cjs.map +1 -0
- package/dist/{chunk-MAZEX4EZ.cjs → chunk-JQIFCWNZ.cjs} +13 -13
- package/dist/{chunk-MAZEX4EZ.cjs.map → chunk-JQIFCWNZ.cjs.map} +1 -1
- package/dist/{chunk-MKGWHSNV.cjs → chunk-JV2HEOCB.cjs} +5 -4
- package/dist/chunk-JV2HEOCB.cjs.map +1 -0
- package/dist/{chunk-GDH43QH6.js → chunk-KAKKZDCE.js} +6 -6
- package/dist/{chunk-GDH43QH6.js.map → chunk-KAKKZDCE.js.map} +1 -1
- package/dist/{chunk-DJYG7DXS.js → chunk-KDRBUF5S.js} +4 -4
- package/dist/chunk-KDRBUF5S.js.map +1 -0
- package/dist/{chunk-ZVDW2VX5.cjs → chunk-KGSL6SVX.cjs} +3 -3
- package/dist/chunk-KGSL6SVX.cjs.map +1 -0
- package/dist/{chunk-YAPGHVBZ.js → chunk-KRECSPD3.js} +4 -4
- package/dist/{chunk-YAPGHVBZ.js.map → chunk-KRECSPD3.js.map} +1 -1
- package/dist/{chunk-NPSKZ7ZB.cjs → chunk-L5NDZEL6.cjs} +12 -12
- package/dist/{chunk-NPSKZ7ZB.cjs.map → chunk-L5NDZEL6.cjs.map} +1 -1
- package/dist/{chunk-UE3QO7R3.js → chunk-LAQT5FFV.js} +3 -3
- package/dist/{chunk-UE3QO7R3.js.map → chunk-LAQT5FFV.js.map} +1 -1
- package/dist/{chunk-YH75G6SP.cjs → chunk-LHHELLMT.cjs} +3 -3
- package/dist/{chunk-YH75G6SP.cjs.map → chunk-LHHELLMT.cjs.map} +1 -1
- package/dist/{chunk-UK6BGM74.cjs → chunk-LREJ7AV2.cjs} +17 -4
- package/dist/chunk-LREJ7AV2.cjs.map +1 -0
- package/dist/{chunk-Y3QAEF2P.cjs → chunk-LVNCNMKD.cjs} +9 -7
- package/dist/chunk-LVNCNMKD.cjs.map +1 -0
- package/dist/{chunk-UZCR7DK5.js → chunk-LXEOBSEZ.js} +3 -3
- package/dist/{chunk-UZCR7DK5.js.map → chunk-LXEOBSEZ.js.map} +1 -1
- package/dist/{chunk-HLI6RB5V.cjs → chunk-M5ER3Y5I.cjs} +32 -31
- package/dist/chunk-M5ER3Y5I.cjs.map +1 -0
- package/dist/{chunk-CEFK54WP.cjs → chunk-MDAI54AG.cjs} +7 -5
- package/dist/chunk-MDAI54AG.cjs.map +1 -0
- package/dist/{chunk-WE5WGVVX.js → chunk-MKDTXMCE.js} +3 -3
- package/dist/{chunk-WE5WGVVX.js.map → chunk-MKDTXMCE.js.map} +1 -1
- package/dist/{chunk-SXXDTW7S.js → chunk-NETUI353.js} +10 -4
- package/dist/chunk-NETUI353.js.map +1 -0
- package/dist/{chunk-XHUV3VSM.cjs → chunk-NIFHAFKK.cjs} +3 -3
- package/dist/{chunk-XHUV3VSM.cjs.map → chunk-NIFHAFKK.cjs.map} +1 -1
- package/dist/{chunk-LKN7FYW6.js → chunk-NW2LQRUP.js} +4 -4
- package/dist/chunk-NW2LQRUP.js.map +1 -0
- package/dist/{chunk-ONHT2PDW.cjs → chunk-NWP5EGSR.cjs} +3 -3
- package/dist/{chunk-ONHT2PDW.cjs.map → chunk-NWP5EGSR.cjs.map} +1 -1
- package/dist/{chunk-RSLZL6VP.js → chunk-OBA2LR4I.js} +3 -3
- package/dist/chunk-OBA2LR4I.js.map +1 -0
- package/dist/{chunk-VSTUGU7W.js → chunk-PIYQPXLT.js} +8 -8
- package/dist/{chunk-VSTUGU7W.js.map → chunk-PIYQPXLT.js.map} +1 -1
- package/dist/{chunk-WX5XYDVN.js → chunk-PZTFGPQJ.js} +3 -3
- package/dist/{chunk-WX5XYDVN.js.map → chunk-PZTFGPQJ.js.map} +1 -1
- package/dist/{chunk-4GPH7HOR.js → chunk-Q4CNEHVN.js} +3 -3
- package/dist/{chunk-4GPH7HOR.js.map → chunk-Q4CNEHVN.js.map} +1 -1
- package/dist/{chunk-I2VAGZXY.cjs → chunk-Q62RDKRA.cjs} +11 -11
- package/dist/{chunk-I2VAGZXY.cjs.map → chunk-Q62RDKRA.cjs.map} +1 -1
- package/dist/{chunk-QF7CD4JH.cjs → chunk-Q7XL37T3.cjs} +5 -5
- package/dist/{chunk-QF7CD4JH.cjs.map → chunk-Q7XL37T3.cjs.map} +1 -1
- package/dist/{chunk-XZOBGKZL.cjs → chunk-QAM6N3VG.cjs} +6 -5
- package/dist/chunk-QAM6N3VG.cjs.map +1 -0
- package/dist/{chunk-BLOX7MRO.js → chunk-QE7KXMUZ.js} +3 -3
- package/dist/{chunk-BLOX7MRO.js.map → chunk-QE7KXMUZ.js.map} +1 -1
- package/dist/{chunk-ZPBKRJMH.js → chunk-QEJBMXRQ.js} +7 -7
- package/dist/chunk-QEJBMXRQ.js.map +1 -0
- package/dist/{chunk-PCNJJVTF.cjs → chunk-QMZK7SRS.cjs} +3 -3
- package/dist/chunk-QMZK7SRS.cjs.map +1 -0
- package/dist/{chunk-TFX4LL7V.js → chunk-QSRYTWQN.js} +3 -2
- package/dist/chunk-QSRYTWQN.js.map +1 -0
- package/dist/{chunk-Z7SQMQTF.cjs → chunk-QU6HZH6V.cjs} +21 -10
- package/dist/chunk-QU6HZH6V.cjs.map +1 -0
- package/dist/{chunk-GR2WKBER.js → chunk-QUZOGRZS.js} +4 -3
- package/dist/chunk-QUZOGRZS.js.map +1 -0
- package/dist/{chunk-WGRLNXNB.js → chunk-R3PCZSBQ.js} +3 -3
- package/dist/{chunk-WGRLNXNB.js.map → chunk-R3PCZSBQ.js.map} +1 -1
- package/dist/{chunk-EZZKHMR4.js → chunk-R6O6SLXK.js} +3 -3
- package/dist/{chunk-EZZKHMR4.js.map → chunk-R6O6SLXK.js.map} +1 -1
- package/dist/{chunk-5EW47IH7.js → chunk-RCTPN5QK.js} +9 -7
- package/dist/chunk-RCTPN5QK.js.map +1 -0
- package/dist/{chunk-JSD6IEBW.js → chunk-RFTDMQ56.js} +3 -3
- package/dist/{chunk-JSD6IEBW.js.map → chunk-RFTDMQ56.js.map} +1 -1
- package/dist/{chunk-6PRXG7L6.js → chunk-RSB2P3JK.js} +4 -4
- package/dist/{chunk-6PRXG7L6.js.map → chunk-RSB2P3JK.js.map} +1 -1
- package/dist/{chunk-2G6TIX5Q.cjs → chunk-RVBA4LEB.cjs} +13 -13
- package/dist/{chunk-2G6TIX5Q.cjs.map → chunk-RVBA4LEB.cjs.map} +1 -1
- package/dist/{chunk-UVUBV4VZ.js → chunk-S2ID4NNQ.js} +6 -6
- package/dist/{chunk-UVUBV4VZ.js.map → chunk-S2ID4NNQ.js.map} +1 -1
- package/dist/{chunk-TMQF2CRN.js → chunk-S4JQPOBR.js} +7 -7
- package/dist/chunk-S4JQPOBR.js.map +1 -0
- package/dist/{chunk-ETNQ4AEQ.cjs → chunk-S6TVSQDT.cjs} +5 -5
- package/dist/{chunk-ETNQ4AEQ.cjs.map → chunk-S6TVSQDT.cjs.map} +1 -1
- package/dist/{chunk-SSCW67KA.cjs → chunk-SD6YAMDH.cjs} +4 -4
- package/dist/chunk-SD6YAMDH.cjs.map +1 -0
- package/dist/{chunk-MLZGGAXQ.js → chunk-SOIGBPK6.js} +21 -13
- package/dist/chunk-SOIGBPK6.js.map +1 -0
- package/dist/{chunk-7QENPLOP.cjs → chunk-TQDZZIOW.cjs} +5 -5
- package/dist/{chunk-7QENPLOP.cjs.map → chunk-TQDZZIOW.cjs.map} +1 -1
- package/dist/{chunk-MPCZUZ4O.cjs → chunk-U4KUW3RK.cjs} +19 -15
- package/dist/chunk-U4KUW3RK.cjs.map +1 -0
- package/dist/{chunk-AZQXPI5S.js → chunk-UBLMYH6C.js} +3 -3
- package/dist/{chunk-AZQXPI5S.js.map → chunk-UBLMYH6C.js.map} +1 -1
- package/dist/{chunk-P53432AK.cjs → chunk-UIBAIWUR.cjs} +4 -4
- package/dist/{chunk-P53432AK.cjs.map → chunk-UIBAIWUR.cjs.map} +1 -1
- package/dist/{chunk-KKYILQTG.cjs → chunk-UORN3Z7R.cjs} +7 -7
- package/dist/{chunk-KKYILQTG.cjs.map → chunk-UORN3Z7R.cjs.map} +1 -1
- package/dist/{chunk-UXYFM2XT.cjs → chunk-UQABXIQV.cjs} +6 -4
- package/dist/chunk-UQABXIQV.cjs.map +1 -0
- package/dist/chunk-US5R36TQ.js +17 -0
- package/dist/chunk-US5R36TQ.js.map +1 -0
- package/dist/{chunk-CS2ZYMYP.js → chunk-UZZJJ3HJ.js} +3 -3
- package/dist/{chunk-CS2ZYMYP.js.map → chunk-UZZJJ3HJ.js.map} +1 -1
- package/dist/{chunk-Y7RGUUTS.cjs → chunk-V3EKI3VV.cjs} +3 -3
- package/dist/{chunk-Y7RGUUTS.cjs.map → chunk-V3EKI3VV.cjs.map} +1 -1
- package/dist/{chunk-U4Y7ZXME.js → chunk-V64XIPYG.js} +6 -6
- package/dist/{chunk-U4Y7ZXME.js.map → chunk-V64XIPYG.js.map} +1 -1
- package/dist/{chunk-RWU2MFUL.js → chunk-VGUAIFGE.js} +5 -4
- package/dist/chunk-VGUAIFGE.js.map +1 -0
- package/dist/{chunk-LIVC3WUU.cjs → chunk-VH34IZ7R.cjs} +3 -3
- package/dist/{chunk-LIVC3WUU.cjs.map → chunk-VH34IZ7R.cjs.map} +1 -1
- package/dist/{chunk-WNUAGRQN.cjs → chunk-VOAC5OKY.cjs} +4 -4
- package/dist/chunk-VOAC5OKY.cjs.map +1 -0
- package/dist/{chunk-H7ELUIF6.cjs → chunk-W53SZTPX.cjs} +10 -10
- package/dist/{chunk-H7ELUIF6.cjs.map → chunk-W53SZTPX.cjs.map} +1 -1
- package/dist/{chunk-4FH2JHUY.js → chunk-WAEOIEDI.js} +5 -5
- package/dist/{chunk-4FH2JHUY.js.map → chunk-WAEOIEDI.js.map} +1 -1
- package/dist/{chunk-ICMLLZKZ.js → chunk-WJE7UX2G.js} +4 -4
- package/dist/{chunk-ICMLLZKZ.js.map → chunk-WJE7UX2G.js.map} +1 -1
- package/dist/{chunk-DTOIO42M.js → chunk-WLRKE4HC.js} +9 -5
- package/dist/chunk-WLRKE4HC.js.map +1 -0
- package/dist/{chunk-7ZCNZUZK.cjs → chunk-WOURDD4U.cjs} +4 -4
- package/dist/{chunk-7ZCNZUZK.cjs.map → chunk-WOURDD4U.cjs.map} +1 -1
- package/dist/{chunk-OTM7RL2L.js → chunk-WSU36HJM.js} +4 -4
- package/dist/{chunk-OTM7RL2L.js.map → chunk-WSU36HJM.js.map} +1 -1
- package/dist/{chunk-TAYJSIOP.js → chunk-X4NXS42J.js} +5 -5
- package/dist/{chunk-TAYJSIOP.js.map → chunk-X4NXS42J.js.map} +1 -1
- package/dist/{chunk-2UTN3EFK.js → chunk-XALAQZCD.js} +5 -5
- package/dist/{chunk-2UTN3EFK.js.map → chunk-XALAQZCD.js.map} +1 -1
- package/dist/{chunk-RZUYCZ5D.cjs → chunk-XCFBMHQD.cjs} +6 -4
- package/dist/chunk-XCFBMHQD.cjs.map +1 -0
- package/dist/{chunk-NZHVDWOM.cjs → chunk-XEI5JG7C.cjs} +3 -3
- package/dist/{chunk-NZHVDWOM.cjs.map → chunk-XEI5JG7C.cjs.map} +1 -1
- package/dist/{chunk-O3F6DYWR.cjs → chunk-XG6J5MOK.cjs} +3 -3
- package/dist/{chunk-O3F6DYWR.cjs.map → chunk-XG6J5MOK.cjs.map} +1 -1
- package/dist/{chunk-J2DI6RMR.cjs → chunk-XGGAAG74.cjs} +14 -11
- package/dist/chunk-XGGAAG74.cjs.map +1 -0
- package/dist/{chunk-GVMWJ4NI.js → chunk-XH24BGEK.js} +6 -6
- package/dist/{chunk-GVMWJ4NI.js.map → chunk-XH24BGEK.js.map} +1 -1
- package/dist/{chunk-3S5ED522.js → chunk-XO4GHRA2.js} +11 -8
- package/dist/chunk-XO4GHRA2.js.map +1 -0
- package/dist/{chunk-O5ORO2RX.cjs → chunk-XQF4HCOV.cjs} +13 -11
- package/dist/chunk-XQF4HCOV.cjs.map +1 -0
- package/dist/{chunk-VZTXUYPM.cjs → chunk-XT4WBBCD.cjs} +20 -20
- package/dist/chunk-XT4WBBCD.cjs.map +1 -0
- package/dist/{chunk-Z44A7NPD.cjs → chunk-YBBBX5H2.cjs} +40 -39
- package/dist/chunk-YBBBX5H2.cjs.map +1 -0
- package/dist/{chunk-IUCYRQ4J.js → chunk-YPYZZLZ5.js} +5 -5
- package/dist/{chunk-IUCYRQ4J.js.map → chunk-YPYZZLZ5.js.map} +1 -1
- package/dist/{chunk-NVXTHTJI.js → chunk-YTWMIVRI.js} +10 -10
- package/dist/chunk-YTWMIVRI.js.map +1 -0
- package/dist/{chunk-WZAKEJDL.js → chunk-YZW7HQXH.js} +13 -11
- package/dist/chunk-YZW7HQXH.js.map +1 -0
- package/dist/{chunk-AYBKPAI2.cjs → chunk-Z5MNYYUJ.cjs} +3 -3
- package/dist/{chunk-AYBKPAI2.cjs.map → chunk-Z5MNYYUJ.cjs.map} +1 -1
- package/dist/{chunk-GOE36IXL.js → chunk-Z6M3UELD.js} +3 -3
- package/dist/{chunk-GOE36IXL.js.map → chunk-Z6M3UELD.js.map} +1 -1
- package/dist/{chunk-PXZRYL5I.js → chunk-ZBXJDQXN.js} +12 -4
- package/dist/chunk-ZBXJDQXN.js.map +1 -0
- package/dist/{chunk-M5SEYDSS.cjs → chunk-ZDHLEHYR.cjs} +6 -6
- package/dist/{chunk-M5SEYDSS.cjs.map → chunk-ZDHLEHYR.cjs.map} +1 -1
- package/dist/{chunk-SCGTO3PX.js → chunk-ZHTK4IPQ.js} +3 -3
- package/dist/{chunk-SCGTO3PX.js.map → chunk-ZHTK4IPQ.js.map} +1 -1
- package/dist/{chunk-QF2FODTG.js → chunk-ZL5QVNKG.js} +10 -6
- package/dist/chunk-ZL5QVNKG.js.map +1 -0
- package/dist/{chunk-6GVOW3UL.js → chunk-ZUJVGHFW.js} +12 -11
- package/dist/chunk-ZUJVGHFW.js.map +1 -0
- package/dist/code-block.cjs +4 -4
- package/dist/code-block.js +3 -3
- package/dist/code-view.cjs +2 -2
- package/dist/code-view.js +1 -1
- package/dist/command.cjs +3 -3
- package/dist/command.js +1 -1
- package/dist/composer.cjs +7 -6
- package/dist/composer.js +5 -4
- package/dist/content-renderer.cjs +6 -6
- package/dist/content-renderer.js +3 -3
- package/dist/context-menu.cjs +4 -3
- package/dist/context-menu.d.cts +2 -0
- package/dist/context-menu.d.ts +2 -0
- package/dist/context-menu.js +2 -1
- package/dist/date-picker.cjs +5 -5
- package/dist/date-picker.js +4 -4
- package/dist/drawer.cjs +3 -3
- package/dist/drawer.d.cts +10 -4
- package/dist/drawer.d.ts +10 -4
- package/dist/drawer.js +1 -1
- package/dist/dropdown.cjs +5 -4
- package/dist/dropdown.js +3 -2
- package/dist/editor.cjs +9 -8
- package/dist/editor.js +7 -6
- package/dist/emoji-select.cjs +2 -2
- package/dist/emoji-select.js +1 -1
- package/dist/eyebrow.cjs +2 -2
- package/dist/eyebrow.js +1 -1
- package/dist/faux-client.cjs +2 -2
- package/dist/faux-client.js +1 -1
- package/dist/field.cjs +3 -3
- package/dist/field.js +2 -2
- package/dist/file-browser.cjs +6 -5
- package/dist/file-browser.js +2 -1
- package/dist/file-upload.cjs +3 -3
- package/dist/file-upload.js +1 -1
- package/dist/image-viewer.cjs +3 -3
- package/dist/image-viewer.js +2 -2
- package/dist/index-list.cjs +2 -2
- package/dist/index-list.js +1 -1
- package/dist/index.cjs +222 -209
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +20 -2
- package/dist/index.d.ts +20 -2
- package/dist/index.js +78 -77
- package/dist/index.js.map +1 -1
- package/dist/input-tag.cjs +7 -6
- package/dist/input-tag.d.cts +6 -2
- package/dist/input-tag.d.ts +6 -2
- package/dist/input-tag.js +2 -1
- package/dist/input.cjs +10 -9
- package/dist/input.js +9 -8
- package/dist/inputs.cjs +32 -31
- package/dist/inputs.js +19 -18
- package/dist/json-editor.cjs +27 -26
- package/dist/json-editor.js +16 -15
- package/dist/magic-wand.cjs +8 -8
- package/dist/magic-wand.js +7 -7
- package/dist/marquee.cjs +2 -2
- package/dist/marquee.js +1 -1
- package/dist/media-viewer.cjs +5 -5
- package/dist/media-viewer.js +4 -4
- package/dist/menu.cjs +3 -3
- package/dist/menu.js +1 -1
- package/dist/mobile-menu.cjs +5 -4
- package/dist/mobile-menu.d.cts +2 -1
- package/dist/mobile-menu.d.ts +2 -1
- package/dist/mobile-menu.js +3 -2
- package/dist/mode.cjs +3 -3
- package/dist/mode.js +2 -2
- package/dist/multi-switch.cjs +6 -5
- package/dist/multi-switch.js +5 -4
- package/dist/number-field.cjs +11 -10
- package/dist/number-field.js +10 -9
- package/dist/otp-input.cjs +3 -2
- package/dist/otp-input.js +2 -1
- package/dist/pagination.cjs +2 -2
- package/dist/pagination.js +1 -1
- package/dist/paste-pills.cjs +17 -16
- package/dist/paste-pills.js +4 -3
- package/dist/pdf-viewer.cjs +3 -3
- package/dist/pdf-viewer.js +2 -2
- package/dist/popover.cjs +5 -4
- package/dist/popover.js +3 -2
- package/dist/profile.cjs +3 -3
- package/dist/profile.js +2 -2
- package/dist/progress.cjs +2 -2
- package/dist/progress.js +1 -1
- package/dist/prompt-input.cjs +10 -9
- package/dist/prompt-input.js +7 -6
- package/dist/qr-code.cjs +19 -4
- package/dist/qr-code.d.cts +221 -2
- package/dist/qr-code.d.ts +221 -2
- package/dist/qr-code.js +4 -1
- package/dist/radio-group.cjs +5 -5
- package/dist/radio-group.js +4 -4
- package/dist/reason-tag.cjs +6 -5
- package/dist/reason-tag.js +5 -4
- package/dist/reorderable-grid.cjs +4 -3
- package/dist/reorderable-grid.js +2 -1
- package/dist/resizable-panels.cjs +3 -2
- package/dist/resizable-panels.js +2 -1
- package/dist/select.cjs +8 -7
- package/dist/select.js +7 -6
- package/dist/separator.cjs +2 -2
- package/dist/separator.js +1 -1
- package/dist/sidebar.cjs +6 -5
- package/dist/sidebar.js +4 -3
- package/dist/slider.cjs +5 -5
- package/dist/slider.js +4 -4
- package/dist/stat-list.cjs +2 -2
- package/dist/stat-list.d.cts +5 -2
- package/dist/stat-list.d.ts +5 -2
- package/dist/stat-list.js +1 -1
- package/dist/stepper.cjs +3 -2
- package/dist/stepper.js +2 -1
- package/dist/styles.css +24 -0
- package/dist/styles.css.map +1 -1
- package/dist/switch.cjs +3 -3
- package/dist/switch.js +2 -2
- package/dist/table.cjs +11 -11
- package/dist/table.js +1 -1
- package/dist/tabs.cjs +4 -3
- package/dist/tabs.js +2 -1
- package/dist/textarea.cjs +6 -6
- package/dist/textarea.js +5 -5
- package/dist/time-grid.cjs +3 -2
- package/dist/time-grid.js +2 -1
- package/dist/time-picker.cjs +2 -2
- package/dist/time-picker.js +1 -1
- package/dist/timeline.cjs +4 -4
- package/dist/timeline.js +1 -1
- package/dist/toast.cjs +4 -3
- package/dist/toast.d.cts +6 -2
- package/dist/toast.d.ts +6 -2
- package/dist/toast.js +2 -1
- package/dist/tooltip.cjs +4 -3
- package/dist/tooltip.js +3 -2
- package/dist/tree-nav.cjs +3 -3
- package/dist/tree-nav.js +1 -1
- package/docs/Dropdown.md +1 -1
- package/docs/InputTag.md +1 -1
- package/docs/MobileMenu.md +2 -2
- package/docs/Popover.md +1 -1
- package/docs/QrCode.md +108 -0
- package/docs/ReorderableGrid.md +2 -0
- package/docs/ResizablePanels.md +2 -0
- package/docs/Toast.md +2 -2
- package/package.json +1 -1
- package/dist/chunk-25HRO7HQ.cjs.map +0 -1
- package/dist/chunk-2O5UXH5R.cjs.map +0 -1
- package/dist/chunk-37D5PYEF.js.map +0 -1
- package/dist/chunk-3S5ED522.js.map +0 -1
- package/dist/chunk-4DL2U23D.cjs.map +0 -1
- package/dist/chunk-5EW47IH7.js.map +0 -1
- package/dist/chunk-5TP642UT.js.map +0 -1
- package/dist/chunk-6GVOW3UL.js.map +0 -1
- package/dist/chunk-AE53RKWR.cjs.map +0 -1
- package/dist/chunk-AJPYGRLA.cjs.map +0 -1
- package/dist/chunk-BXPLERIJ.js.map +0 -1
- package/dist/chunk-BYO5RUDE.cjs.map +0 -1
- package/dist/chunk-CEFK54WP.cjs.map +0 -1
- package/dist/chunk-CQ7QXZLR.cjs.map +0 -1
- package/dist/chunk-DJYG7DXS.js.map +0 -1
- package/dist/chunk-DTOIO42M.js.map +0 -1
- package/dist/chunk-DXZCKDYS.js.map +0 -1
- package/dist/chunk-ESCIXKFT.js.map +0 -1
- package/dist/chunk-EUVWYDFN.js.map +0 -1
- package/dist/chunk-F4OYQ2XZ.js.map +0 -1
- package/dist/chunk-FKZB27OM.cjs.map +0 -1
- package/dist/chunk-FR4RHVPR.js.map +0 -1
- package/dist/chunk-FVQO75KY.cjs.map +0 -1
- package/dist/chunk-GDF6XTHC.js.map +0 -1
- package/dist/chunk-GR2WKBER.js.map +0 -1
- package/dist/chunk-GTS3QA7M.js.map +0 -1
- package/dist/chunk-HLI6RB5V.cjs.map +0 -1
- package/dist/chunk-HNJXBMHI.cjs.map +0 -1
- package/dist/chunk-J2DI6RMR.cjs.map +0 -1
- package/dist/chunk-JY2RC6I4.js.map +0 -1
- package/dist/chunk-KFA7B6WP.cjs.map +0 -1
- package/dist/chunk-KOAMRCSC.cjs.map +0 -1
- package/dist/chunk-KOTUFZJ6.cjs.map +0 -1
- package/dist/chunk-LFC2DL6H.cjs.map +0 -1
- package/dist/chunk-LKN7FYW6.js.map +0 -1
- package/dist/chunk-MI57NAKF.js.map +0 -1
- package/dist/chunk-MKGWHSNV.cjs.map +0 -1
- package/dist/chunk-MLZGGAXQ.js.map +0 -1
- package/dist/chunk-MPCZUZ4O.cjs.map +0 -1
- package/dist/chunk-MQ6VGG62.js.map +0 -1
- package/dist/chunk-NSJBVV7R.js.map +0 -1
- package/dist/chunk-NVXTHTJI.js.map +0 -1
- package/dist/chunk-O5ORO2RX.cjs.map +0 -1
- package/dist/chunk-OASSZI6M.cjs.map +0 -1
- package/dist/chunk-PCNJJVTF.cjs.map +0 -1
- package/dist/chunk-PDVU2PXR.js.map +0 -1
- package/dist/chunk-PJNUGSKI.js.map +0 -1
- package/dist/chunk-PM5I5ZHK.cjs.map +0 -1
- package/dist/chunk-PXZRYL5I.js.map +0 -1
- package/dist/chunk-QF2FODTG.js.map +0 -1
- package/dist/chunk-QGY5FPVM.js.map +0 -1
- package/dist/chunk-QP6VNKLW.cjs.map +0 -1
- package/dist/chunk-QTS4Q2NK.js.map +0 -1
- package/dist/chunk-RANTYGKW.js.map +0 -1
- package/dist/chunk-RLE5WYY6.js.map +0 -1
- package/dist/chunk-RSLZL6VP.js.map +0 -1
- package/dist/chunk-RWU2MFUL.js.map +0 -1
- package/dist/chunk-RZUYCZ5D.cjs.map +0 -1
- package/dist/chunk-SKMORSBO.cjs.map +0 -1
- package/dist/chunk-SSCW67KA.cjs.map +0 -1
- package/dist/chunk-SXXDTW7S.js.map +0 -1
- package/dist/chunk-TFX4LL7V.js.map +0 -1
- package/dist/chunk-TMQF2CRN.js.map +0 -1
- package/dist/chunk-UK6BGM74.cjs.map +0 -1
- package/dist/chunk-UXYFM2XT.cjs.map +0 -1
- package/dist/chunk-VZTXUYPM.cjs.map +0 -1
- package/dist/chunk-WMANILKC.cjs.map +0 -1
- package/dist/chunk-WNUAGRQN.cjs.map +0 -1
- package/dist/chunk-WZAKEJDL.js.map +0 -1
- package/dist/chunk-X2A3NAJW.js.map +0 -1
- package/dist/chunk-XZOBGKZL.cjs.map +0 -1
- package/dist/chunk-Y3QAEF2P.cjs.map +0 -1
- package/dist/chunk-YQZB5Z7C.cjs.map +0 -1
- package/dist/chunk-Z44A7NPD.cjs.map +0 -1
- package/dist/chunk-Z4UXLQSK.cjs.map +0 -1
- package/dist/chunk-Z7SQMQTF.cjs.map +0 -1
- package/dist/chunk-ZPBKRJMH.js.map +0 -1
- package/dist/chunk-ZVDW2VX5.cjs.map +0 -1
package/dist/qr-code.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { SVGAttributes } from 'react';
|
|
2
|
+
import { SVGAttributes, HTMLAttributes } from 'react';
|
|
3
|
+
import { S as Size } from './types-DJI492iY.cjs';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* ISO/IEC 18004 table data for the QR encoder. **Data, not logic** — kept in
|
|
@@ -220,4 +221,222 @@ interface QrCodeProps extends Omit<SVGAttributes<SVGSVGElement>, "children" | "v
|
|
|
220
221
|
*/
|
|
221
222
|
declare const QrCode: react.ForwardRefExoticComponent<QrCodeProps & react.RefAttributes<SVGSVGElement>>;
|
|
222
223
|
|
|
223
|
-
|
|
224
|
+
/** What a person can do with a code. Each renders one `Button`. */
|
|
225
|
+
type QrCodeAction = "download-svg" | "download-png" | "share" | "print";
|
|
226
|
+
/**
|
|
227
|
+
* How an action ended.
|
|
228
|
+
*
|
|
229
|
+
* - `done`: the file was handed to the browser, the share sheet completed, the
|
|
230
|
+
* value was copied, or the print dialog was opened.
|
|
231
|
+
* - `cancelled`: the person dismissed the share sheet. Not an error.
|
|
232
|
+
* - `failed`: nothing happened that the person asked for; `error` says why.
|
|
233
|
+
*/
|
|
234
|
+
type QrCodeActionOutcome = "done" | "cancelled" | "failed";
|
|
235
|
+
/** One action, reported. Plain JSON, so it can go straight to an agent or a log. */
|
|
236
|
+
interface QrCodeActionEvent {
|
|
237
|
+
action: QrCodeAction;
|
|
238
|
+
outcome: QrCodeActionOutcome;
|
|
239
|
+
/** For `share`: whether the Web Share sheet or the clipboard carried it. */
|
|
240
|
+
via?: "share" | "clipboard";
|
|
241
|
+
/** For a download: the file name the browser was given. */
|
|
242
|
+
fileName?: string;
|
|
243
|
+
/** For `failed`: the reason, as text. */
|
|
244
|
+
error?: string;
|
|
245
|
+
}
|
|
246
|
+
/** Visible button text and the announcements read out after each action. */
|
|
247
|
+
interface QrCodePanelLabels {
|
|
248
|
+
downloadSvg: string;
|
|
249
|
+
downloadPng: string;
|
|
250
|
+
share: string;
|
|
251
|
+
/** The share button's text where Web Share is absent and a web link is copied. */
|
|
252
|
+
copyLink: string;
|
|
253
|
+
/** The same, for a value that is not a web link. */
|
|
254
|
+
copy: string;
|
|
255
|
+
print: string;
|
|
256
|
+
downloaded: string;
|
|
257
|
+
shared: string;
|
|
258
|
+
copied: string;
|
|
259
|
+
printing: string;
|
|
260
|
+
failed: string;
|
|
261
|
+
}
|
|
262
|
+
interface QrCodePanelProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "onChange"> {
|
|
263
|
+
/** What the code carries. Any string; see `QrCode`'s `value`. */
|
|
264
|
+
value: string;
|
|
265
|
+
/**
|
|
266
|
+
* What the code is FOR, e.g. "Your sign-up link". Required. Names the code,
|
|
267
|
+
* the group around it, the SVG file's `<title>`, the print page's title,
|
|
268
|
+
* and the share sheet's title unless `shareTitle` is set.
|
|
269
|
+
*/
|
|
270
|
+
label: string;
|
|
271
|
+
/** Rendered size of the code in pixels. Default 192. */
|
|
272
|
+
size?: number;
|
|
273
|
+
errorCorrection?: QrErrorCorrection;
|
|
274
|
+
quietZone?: number;
|
|
275
|
+
/**
|
|
276
|
+
* Module colour. Default `#000000`, on screen as well as in files.
|
|
277
|
+
*
|
|
278
|
+
* The panel does NOT inherit text colour the way a bare `<QrCode>` does: a
|
|
279
|
+
* code must be dark on light to scan, so the panel pins black on white in
|
|
280
|
+
* dark mode too. Black on white is 21:1, past WCAG AAA's 7:1.
|
|
281
|
+
*/
|
|
282
|
+
foreground?: string;
|
|
283
|
+
/** Background, quiet zone included. Default `#ffffff`, in both colour schemes. */
|
|
284
|
+
background?: string;
|
|
285
|
+
mode?: QrMode;
|
|
286
|
+
version?: number;
|
|
287
|
+
/**
|
|
288
|
+
* Which actions to offer, in order. Default all four:
|
|
289
|
+
* `["download-svg", "download-png", "share", "print"]`. `[]` renders none.
|
|
290
|
+
*/
|
|
291
|
+
actions?: readonly QrCodeAction[];
|
|
292
|
+
/**
|
|
293
|
+
* Show the value as selectable text under the code, and on the printed page.
|
|
294
|
+
* Default `false`, because not every value is meant to be read out: a WiFi
|
|
295
|
+
* block carries a password. Turn it on for a link or a reference a person
|
|
296
|
+
* might type instead of scanning.
|
|
297
|
+
*/
|
|
298
|
+
showValue?: boolean;
|
|
299
|
+
/** Download file name, without extension. Sanitised. Default `"qr-code"`. */
|
|
300
|
+
fileName?: string;
|
|
301
|
+
/** PNG pixels per module, a whole number. Default 10. */
|
|
302
|
+
pngScale?: number;
|
|
303
|
+
/** Share sheet title. Default `label`. */
|
|
304
|
+
shareTitle?: string;
|
|
305
|
+
/** Printed width of the code in millimetres. Default 50. */
|
|
306
|
+
printSizeMm?: number;
|
|
307
|
+
/**
|
|
308
|
+
* Size of the action buttons. Default `"lg"`, which is 44px tall: WCAG
|
|
309
|
+
* 2.5.5's AAA target size. Smaller sizes still meet AA's 24px (2.5.8).
|
|
310
|
+
*/
|
|
311
|
+
buttonSize?: Size;
|
|
312
|
+
/** Button text and announcements, for translation. Partial; the rest default. */
|
|
313
|
+
labels?: Partial<QrCodePanelLabels>;
|
|
314
|
+
/** Called once per action, with how it ended. */
|
|
315
|
+
onAction?: (event: QrCodeActionEvent) => void;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* A QR code with what a person does with one: download it as SVG or PNG,
|
|
320
|
+
* share it (the Web Share sheet, or a copy where there is none), print it, and
|
|
321
|
+
* read the value as text.
|
|
322
|
+
*
|
|
323
|
+
* ## Why a panel, and not props on `<QrCode>`
|
|
324
|
+
*
|
|
325
|
+
* `<QrCode>` is an `<svg>`: it drops into a label template, a PDF, a canvas or
|
|
326
|
+
* a badge and draws a code, nothing else. Buttons, a live region and a print
|
|
327
|
+
* frame inside an `<svg>` would be invalid markup, and making it a `<div>`
|
|
328
|
+
* would break every caller that styles or measures it as an image. So the
|
|
329
|
+
* actions compose AROUND it, the way `Card` composes its sections, and the
|
|
330
|
+
* file formats are separate functions (`qrCodeSvg`, `qrCodePng`) that a host
|
|
331
|
+
* or an agent can call without rendering anything.
|
|
332
|
+
*
|
|
333
|
+
* ## The code tile is light in dark mode too
|
|
334
|
+
*
|
|
335
|
+
* The panel draws black modules on a white tile, quiet zone included, in both
|
|
336
|
+
* colour schemes. A QR code is read by contrast between dark modules and a
|
|
337
|
+
* LIGHT surround; most scanners do not read an inverted code, and the quiet
|
|
338
|
+
* zone must be the light colour for the finder patterns to be found. A dark
|
|
339
|
+
* page around a white tile is fine. Black on white is 21:1, past WCAG AAA.
|
|
340
|
+
*
|
|
341
|
+
* ## Accessibility
|
|
342
|
+
*
|
|
343
|
+
* - The group is named by `label`, and so is the code inside it (`role="img"`).
|
|
344
|
+
* - `showValue` puts the value on screen as selectable text, because a code is
|
|
345
|
+
* unusable to anyone who cannot point a second device at the screen.
|
|
346
|
+
* - Every action is a react-fancy `Button` with a visible text label, in the
|
|
347
|
+
* tab order, operable by Enter and Space, with the kit's `focus-visible`
|
|
348
|
+
* ring. Default size `lg` is 44px tall, WCAG 2.5.5's AAA target size.
|
|
349
|
+
* - What each action did is announced through a polite `role="status"`.
|
|
350
|
+
*
|
|
351
|
+
* @example
|
|
352
|
+
* ```tsx
|
|
353
|
+
* <QrCodePanel
|
|
354
|
+
* value="https://example.com/r/AbC123"
|
|
355
|
+
* label="Your sign-up link"
|
|
356
|
+
* showValue
|
|
357
|
+
* fileName="sign-up-link"
|
|
358
|
+
* onAction={(event) => console.log(event)}
|
|
359
|
+
* />
|
|
360
|
+
* ```
|
|
361
|
+
*/
|
|
362
|
+
declare const QrCodePanel: react.ForwardRefExoticComponent<QrCodePanelProps & react.RefAttributes<HTMLDivElement>>;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Files of a QR code: a standalone SVG and a PNG.
|
|
366
|
+
*
|
|
367
|
+
* Both are drawn from {@link modulePath}, the builder `<QrCode>` uses on
|
|
368
|
+
* screen, so a downloaded file carries exactly the modules the person saw.
|
|
369
|
+
*
|
|
370
|
+
* ## A file is always opaque
|
|
371
|
+
*
|
|
372
|
+
* On screen a code can inherit its colours: `currentColor` modules on a
|
|
373
|
+
* `transparent` background take whatever the page puts behind them. A file has
|
|
374
|
+
* no page behind it. A PNG with a transparent background opens dark-on-dark in
|
|
375
|
+
* every image viewer with a dark theme, and dark-on-dark does not scan. So in
|
|
376
|
+
* a file, `transparent` (or no background) becomes white and `currentColor`
|
|
377
|
+
* becomes black. Explicit colours are kept as given: choosing a dark
|
|
378
|
+
* background is the caller's decision, and the docs say what it costs.
|
|
379
|
+
*/
|
|
380
|
+
interface QrCodeFileOptions {
|
|
381
|
+
/**
|
|
382
|
+
* What the code is FOR, e.g. "Your sign-up link". Written into the SVG as
|
|
383
|
+
* its `<title>` and accessible name, so the file still says what it is when
|
|
384
|
+
* it is opened, attached or printed somewhere else. Required, as on
|
|
385
|
+
* `<QrCode>`.
|
|
386
|
+
*/
|
|
387
|
+
label: string;
|
|
388
|
+
errorCorrection?: QrErrorCorrection;
|
|
389
|
+
mode?: QrMode;
|
|
390
|
+
version?: number;
|
|
391
|
+
/** Modules of quiet zone. Default 4, the standard's minimum. */
|
|
392
|
+
quietZone?: number;
|
|
393
|
+
/** Module colour. Default and `currentColor` both mean `#000000`. */
|
|
394
|
+
foreground?: string;
|
|
395
|
+
/** Background colour. Default and `transparent` both mean `#ffffff`. */
|
|
396
|
+
background?: string;
|
|
397
|
+
}
|
|
398
|
+
interface QrCodeSvgOptions extends QrCodeFileOptions {
|
|
399
|
+
/** Width and height in pixels. Default: ten pixels per module. */
|
|
400
|
+
size?: number;
|
|
401
|
+
}
|
|
402
|
+
interface QrCodePngOptions extends QrCodeFileOptions {
|
|
403
|
+
/**
|
|
404
|
+
* Pixels per module, rounded DOWN to a whole number. Default 10.
|
|
405
|
+
*
|
|
406
|
+
* Whole numbers only, because a module drawn across a fraction of a pixel
|
|
407
|
+
* gets a blurred edge, and a scanner reading a blurred edge guesses. Clamped
|
|
408
|
+
* to at least 1, and down so the image is at most 8192 pixels a side.
|
|
409
|
+
*/
|
|
410
|
+
scale?: number;
|
|
411
|
+
/**
|
|
412
|
+
* The canvas to draw on. Default: a new `<canvas>`. Pass one to draw where
|
|
413
|
+
* there is no `document` (an `OffscreenCanvas` will not do: it has no
|
|
414
|
+
* `toBlob`) or to inspect the drawing in a test.
|
|
415
|
+
*/
|
|
416
|
+
canvas?: HTMLCanvasElement;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* A QR code as a standalone SVG document, with an XML declaration, a
|
|
420
|
+
* `<title>`, an accessible name and an opaque background.
|
|
421
|
+
*
|
|
422
|
+
* @throws RangeError when the value cannot fit, exactly as `encodeQr` does,
|
|
423
|
+
* and as cheaply: an impossible value is refused from its length alone.
|
|
424
|
+
*/
|
|
425
|
+
declare function qrCodeSvg(value: string, options: QrCodeSvgOptions): string;
|
|
426
|
+
/**
|
|
427
|
+
* A QR code as a PNG, drawn on a canvas from the same path data as the SVG.
|
|
428
|
+
*
|
|
429
|
+
* It does not load the SVG into an `<img>` first. That route needs a `blob:`
|
|
430
|
+
* or `data:` image, which a Content Security Policy of `img-src 'self'`
|
|
431
|
+
* blocks, and the download would then fail on exactly the sites careful
|
|
432
|
+
* enough to set one. `Path2D` takes the SVG path string directly, so the
|
|
433
|
+
* geometry is the SVG's and nothing is fetched.
|
|
434
|
+
*
|
|
435
|
+
* The background is painted over the whole canvas, quiet zone included, before
|
|
436
|
+
* any module. Each colour is set over a known default first: a canvas ignores
|
|
437
|
+
* a colour it cannot parse and keeps the previous one, so an unreadable
|
|
438
|
+
* background would otherwise inherit black and produce a black square.
|
|
439
|
+
*/
|
|
440
|
+
declare function qrCodePng(value: string, options: QrCodePngOptions): Promise<Blob>;
|
|
441
|
+
|
|
442
|
+
export { type EncodeOptions, QrCode, type QrCodeAction, type QrCodeActionEvent, type QrCodeActionOutcome, type QrCodeFileOptions, QrCodePanel, type QrCodePanelLabels, type QrCodePanelProps, type QrCodePngOptions, type QrCodeProps, type QrCodeSvgOptions, type QrErrorCorrection, type QrMode, type QrSymbol, encodeQr, qrCodePng, qrCodeSvg, selectMode };
|
package/dist/qr-code.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { SVGAttributes } from 'react';
|
|
2
|
+
import { SVGAttributes, HTMLAttributes } from 'react';
|
|
3
|
+
import { S as Size } from './types-DJI492iY.js';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* ISO/IEC 18004 table data for the QR encoder. **Data, not logic** — kept in
|
|
@@ -220,4 +221,222 @@ interface QrCodeProps extends Omit<SVGAttributes<SVGSVGElement>, "children" | "v
|
|
|
220
221
|
*/
|
|
221
222
|
declare const QrCode: react.ForwardRefExoticComponent<QrCodeProps & react.RefAttributes<SVGSVGElement>>;
|
|
222
223
|
|
|
223
|
-
|
|
224
|
+
/** What a person can do with a code. Each renders one `Button`. */
|
|
225
|
+
type QrCodeAction = "download-svg" | "download-png" | "share" | "print";
|
|
226
|
+
/**
|
|
227
|
+
* How an action ended.
|
|
228
|
+
*
|
|
229
|
+
* - `done`: the file was handed to the browser, the share sheet completed, the
|
|
230
|
+
* value was copied, or the print dialog was opened.
|
|
231
|
+
* - `cancelled`: the person dismissed the share sheet. Not an error.
|
|
232
|
+
* - `failed`: nothing happened that the person asked for; `error` says why.
|
|
233
|
+
*/
|
|
234
|
+
type QrCodeActionOutcome = "done" | "cancelled" | "failed";
|
|
235
|
+
/** One action, reported. Plain JSON, so it can go straight to an agent or a log. */
|
|
236
|
+
interface QrCodeActionEvent {
|
|
237
|
+
action: QrCodeAction;
|
|
238
|
+
outcome: QrCodeActionOutcome;
|
|
239
|
+
/** For `share`: whether the Web Share sheet or the clipboard carried it. */
|
|
240
|
+
via?: "share" | "clipboard";
|
|
241
|
+
/** For a download: the file name the browser was given. */
|
|
242
|
+
fileName?: string;
|
|
243
|
+
/** For `failed`: the reason, as text. */
|
|
244
|
+
error?: string;
|
|
245
|
+
}
|
|
246
|
+
/** Visible button text and the announcements read out after each action. */
|
|
247
|
+
interface QrCodePanelLabels {
|
|
248
|
+
downloadSvg: string;
|
|
249
|
+
downloadPng: string;
|
|
250
|
+
share: string;
|
|
251
|
+
/** The share button's text where Web Share is absent and a web link is copied. */
|
|
252
|
+
copyLink: string;
|
|
253
|
+
/** The same, for a value that is not a web link. */
|
|
254
|
+
copy: string;
|
|
255
|
+
print: string;
|
|
256
|
+
downloaded: string;
|
|
257
|
+
shared: string;
|
|
258
|
+
copied: string;
|
|
259
|
+
printing: string;
|
|
260
|
+
failed: string;
|
|
261
|
+
}
|
|
262
|
+
interface QrCodePanelProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "onChange"> {
|
|
263
|
+
/** What the code carries. Any string; see `QrCode`'s `value`. */
|
|
264
|
+
value: string;
|
|
265
|
+
/**
|
|
266
|
+
* What the code is FOR, e.g. "Your sign-up link". Required. Names the code,
|
|
267
|
+
* the group around it, the SVG file's `<title>`, the print page's title,
|
|
268
|
+
* and the share sheet's title unless `shareTitle` is set.
|
|
269
|
+
*/
|
|
270
|
+
label: string;
|
|
271
|
+
/** Rendered size of the code in pixels. Default 192. */
|
|
272
|
+
size?: number;
|
|
273
|
+
errorCorrection?: QrErrorCorrection;
|
|
274
|
+
quietZone?: number;
|
|
275
|
+
/**
|
|
276
|
+
* Module colour. Default `#000000`, on screen as well as in files.
|
|
277
|
+
*
|
|
278
|
+
* The panel does NOT inherit text colour the way a bare `<QrCode>` does: a
|
|
279
|
+
* code must be dark on light to scan, so the panel pins black on white in
|
|
280
|
+
* dark mode too. Black on white is 21:1, past WCAG AAA's 7:1.
|
|
281
|
+
*/
|
|
282
|
+
foreground?: string;
|
|
283
|
+
/** Background, quiet zone included. Default `#ffffff`, in both colour schemes. */
|
|
284
|
+
background?: string;
|
|
285
|
+
mode?: QrMode;
|
|
286
|
+
version?: number;
|
|
287
|
+
/**
|
|
288
|
+
* Which actions to offer, in order. Default all four:
|
|
289
|
+
* `["download-svg", "download-png", "share", "print"]`. `[]` renders none.
|
|
290
|
+
*/
|
|
291
|
+
actions?: readonly QrCodeAction[];
|
|
292
|
+
/**
|
|
293
|
+
* Show the value as selectable text under the code, and on the printed page.
|
|
294
|
+
* Default `false`, because not every value is meant to be read out: a WiFi
|
|
295
|
+
* block carries a password. Turn it on for a link or a reference a person
|
|
296
|
+
* might type instead of scanning.
|
|
297
|
+
*/
|
|
298
|
+
showValue?: boolean;
|
|
299
|
+
/** Download file name, without extension. Sanitised. Default `"qr-code"`. */
|
|
300
|
+
fileName?: string;
|
|
301
|
+
/** PNG pixels per module, a whole number. Default 10. */
|
|
302
|
+
pngScale?: number;
|
|
303
|
+
/** Share sheet title. Default `label`. */
|
|
304
|
+
shareTitle?: string;
|
|
305
|
+
/** Printed width of the code in millimetres. Default 50. */
|
|
306
|
+
printSizeMm?: number;
|
|
307
|
+
/**
|
|
308
|
+
* Size of the action buttons. Default `"lg"`, which is 44px tall: WCAG
|
|
309
|
+
* 2.5.5's AAA target size. Smaller sizes still meet AA's 24px (2.5.8).
|
|
310
|
+
*/
|
|
311
|
+
buttonSize?: Size;
|
|
312
|
+
/** Button text and announcements, for translation. Partial; the rest default. */
|
|
313
|
+
labels?: Partial<QrCodePanelLabels>;
|
|
314
|
+
/** Called once per action, with how it ended. */
|
|
315
|
+
onAction?: (event: QrCodeActionEvent) => void;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* A QR code with what a person does with one: download it as SVG or PNG,
|
|
320
|
+
* share it (the Web Share sheet, or a copy where there is none), print it, and
|
|
321
|
+
* read the value as text.
|
|
322
|
+
*
|
|
323
|
+
* ## Why a panel, and not props on `<QrCode>`
|
|
324
|
+
*
|
|
325
|
+
* `<QrCode>` is an `<svg>`: it drops into a label template, a PDF, a canvas or
|
|
326
|
+
* a badge and draws a code, nothing else. Buttons, a live region and a print
|
|
327
|
+
* frame inside an `<svg>` would be invalid markup, and making it a `<div>`
|
|
328
|
+
* would break every caller that styles or measures it as an image. So the
|
|
329
|
+
* actions compose AROUND it, the way `Card` composes its sections, and the
|
|
330
|
+
* file formats are separate functions (`qrCodeSvg`, `qrCodePng`) that a host
|
|
331
|
+
* or an agent can call without rendering anything.
|
|
332
|
+
*
|
|
333
|
+
* ## The code tile is light in dark mode too
|
|
334
|
+
*
|
|
335
|
+
* The panel draws black modules on a white tile, quiet zone included, in both
|
|
336
|
+
* colour schemes. A QR code is read by contrast between dark modules and a
|
|
337
|
+
* LIGHT surround; most scanners do not read an inverted code, and the quiet
|
|
338
|
+
* zone must be the light colour for the finder patterns to be found. A dark
|
|
339
|
+
* page around a white tile is fine. Black on white is 21:1, past WCAG AAA.
|
|
340
|
+
*
|
|
341
|
+
* ## Accessibility
|
|
342
|
+
*
|
|
343
|
+
* - The group is named by `label`, and so is the code inside it (`role="img"`).
|
|
344
|
+
* - `showValue` puts the value on screen as selectable text, because a code is
|
|
345
|
+
* unusable to anyone who cannot point a second device at the screen.
|
|
346
|
+
* - Every action is a react-fancy `Button` with a visible text label, in the
|
|
347
|
+
* tab order, operable by Enter and Space, with the kit's `focus-visible`
|
|
348
|
+
* ring. Default size `lg` is 44px tall, WCAG 2.5.5's AAA target size.
|
|
349
|
+
* - What each action did is announced through a polite `role="status"`.
|
|
350
|
+
*
|
|
351
|
+
* @example
|
|
352
|
+
* ```tsx
|
|
353
|
+
* <QrCodePanel
|
|
354
|
+
* value="https://example.com/r/AbC123"
|
|
355
|
+
* label="Your sign-up link"
|
|
356
|
+
* showValue
|
|
357
|
+
* fileName="sign-up-link"
|
|
358
|
+
* onAction={(event) => console.log(event)}
|
|
359
|
+
* />
|
|
360
|
+
* ```
|
|
361
|
+
*/
|
|
362
|
+
declare const QrCodePanel: react.ForwardRefExoticComponent<QrCodePanelProps & react.RefAttributes<HTMLDivElement>>;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Files of a QR code: a standalone SVG and a PNG.
|
|
366
|
+
*
|
|
367
|
+
* Both are drawn from {@link modulePath}, the builder `<QrCode>` uses on
|
|
368
|
+
* screen, so a downloaded file carries exactly the modules the person saw.
|
|
369
|
+
*
|
|
370
|
+
* ## A file is always opaque
|
|
371
|
+
*
|
|
372
|
+
* On screen a code can inherit its colours: `currentColor` modules on a
|
|
373
|
+
* `transparent` background take whatever the page puts behind them. A file has
|
|
374
|
+
* no page behind it. A PNG with a transparent background opens dark-on-dark in
|
|
375
|
+
* every image viewer with a dark theme, and dark-on-dark does not scan. So in
|
|
376
|
+
* a file, `transparent` (or no background) becomes white and `currentColor`
|
|
377
|
+
* becomes black. Explicit colours are kept as given: choosing a dark
|
|
378
|
+
* background is the caller's decision, and the docs say what it costs.
|
|
379
|
+
*/
|
|
380
|
+
interface QrCodeFileOptions {
|
|
381
|
+
/**
|
|
382
|
+
* What the code is FOR, e.g. "Your sign-up link". Written into the SVG as
|
|
383
|
+
* its `<title>` and accessible name, so the file still says what it is when
|
|
384
|
+
* it is opened, attached or printed somewhere else. Required, as on
|
|
385
|
+
* `<QrCode>`.
|
|
386
|
+
*/
|
|
387
|
+
label: string;
|
|
388
|
+
errorCorrection?: QrErrorCorrection;
|
|
389
|
+
mode?: QrMode;
|
|
390
|
+
version?: number;
|
|
391
|
+
/** Modules of quiet zone. Default 4, the standard's minimum. */
|
|
392
|
+
quietZone?: number;
|
|
393
|
+
/** Module colour. Default and `currentColor` both mean `#000000`. */
|
|
394
|
+
foreground?: string;
|
|
395
|
+
/** Background colour. Default and `transparent` both mean `#ffffff`. */
|
|
396
|
+
background?: string;
|
|
397
|
+
}
|
|
398
|
+
interface QrCodeSvgOptions extends QrCodeFileOptions {
|
|
399
|
+
/** Width and height in pixels. Default: ten pixels per module. */
|
|
400
|
+
size?: number;
|
|
401
|
+
}
|
|
402
|
+
interface QrCodePngOptions extends QrCodeFileOptions {
|
|
403
|
+
/**
|
|
404
|
+
* Pixels per module, rounded DOWN to a whole number. Default 10.
|
|
405
|
+
*
|
|
406
|
+
* Whole numbers only, because a module drawn across a fraction of a pixel
|
|
407
|
+
* gets a blurred edge, and a scanner reading a blurred edge guesses. Clamped
|
|
408
|
+
* to at least 1, and down so the image is at most 8192 pixels a side.
|
|
409
|
+
*/
|
|
410
|
+
scale?: number;
|
|
411
|
+
/**
|
|
412
|
+
* The canvas to draw on. Default: a new `<canvas>`. Pass one to draw where
|
|
413
|
+
* there is no `document` (an `OffscreenCanvas` will not do: it has no
|
|
414
|
+
* `toBlob`) or to inspect the drawing in a test.
|
|
415
|
+
*/
|
|
416
|
+
canvas?: HTMLCanvasElement;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* A QR code as a standalone SVG document, with an XML declaration, a
|
|
420
|
+
* `<title>`, an accessible name and an opaque background.
|
|
421
|
+
*
|
|
422
|
+
* @throws RangeError when the value cannot fit, exactly as `encodeQr` does,
|
|
423
|
+
* and as cheaply: an impossible value is refused from its length alone.
|
|
424
|
+
*/
|
|
425
|
+
declare function qrCodeSvg(value: string, options: QrCodeSvgOptions): string;
|
|
426
|
+
/**
|
|
427
|
+
* A QR code as a PNG, drawn on a canvas from the same path data as the SVG.
|
|
428
|
+
*
|
|
429
|
+
* It does not load the SVG into an `<img>` first. That route needs a `blob:`
|
|
430
|
+
* or `data:` image, which a Content Security Policy of `img-src 'self'`
|
|
431
|
+
* blocks, and the download would then fail on exactly the sites careful
|
|
432
|
+
* enough to set one. `Path2D` takes the SVG path string directly, so the
|
|
433
|
+
* geometry is the SVG's and nothing is fetched.
|
|
434
|
+
*
|
|
435
|
+
* The background is painted over the whole canvas, quiet zone included, before
|
|
436
|
+
* any module. Each colour is set over a known default first: a canvas ignores
|
|
437
|
+
* a colour it cannot parse and keeps the previous one, so an unreadable
|
|
438
|
+
* background would otherwise inherit black and produce a black square.
|
|
439
|
+
*/
|
|
440
|
+
declare function qrCodePng(value: string, options: QrCodePngOptions): Promise<Blob>;
|
|
441
|
+
|
|
442
|
+
export { type EncodeOptions, QrCode, type QrCodeAction, type QrCodeActionEvent, type QrCodeActionOutcome, type QrCodeFileOptions, QrCodePanel, type QrCodePanelLabels, type QrCodePanelProps, type QrCodePngOptions, type QrCodeProps, type QrCodeSvgOptions, type QrErrorCorrection, type QrMode, type QrSymbol, encodeQr, qrCodePng, qrCodeSvg, selectMode };
|
package/dist/qr-code.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
export { QrCode, encodeQr, selectMode } from './chunk-
|
|
1
|
+
export { QrCode, QrCodePanel, encodeQr, qrCodePng, qrCodeSvg, selectMode } from './chunk-GZSRKBYI.js';
|
|
2
|
+
import './chunk-Q4CNEHVN.js';
|
|
3
|
+
import './chunk-45BBNJQD.js';
|
|
4
|
+
import './chunk-J3A4Z2P7.js';
|
|
2
5
|
import './chunk-MMW2JGKZ.js';
|
|
3
6
|
//# sourceMappingURL=qr-code.js.map
|
|
4
7
|
//# sourceMappingURL=qr-code.js.map
|
package/dist/radio-group.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
3
|
+
var chunkW53SZTPX_cjs = require('./chunk-W53SZTPX.cjs');
|
|
4
|
+
require('./chunk-UIBAIWUR.cjs');
|
|
5
|
+
require('./chunk-Q7XL37T3.cjs');
|
|
6
|
+
require('./chunk-XG6J5MOK.cjs');
|
|
7
7
|
require('./chunk-KJ22KE56.cjs');
|
|
8
8
|
require('./chunk-L3V3BYVS.cjs');
|
|
9
9
|
require('./chunk-SNHU2AI4.cjs');
|
|
@@ -13,7 +13,7 @@ require('./chunk-ZU5Q77OT.cjs');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "RadioGroup", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkW53SZTPX_cjs.RadioGroup; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=radio-group.cjs.map
|
|
19
19
|
//# sourceMappingURL=radio-group.cjs.map
|
package/dist/radio-group.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { RadioGroup } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
export { RadioGroup } from './chunk-WAEOIEDI.js';
|
|
2
|
+
import './chunk-PZTFGPQJ.js';
|
|
3
|
+
import './chunk-E2AEU5SP.js';
|
|
4
|
+
import './chunk-IF6EITB5.js';
|
|
5
5
|
import './chunk-OL53XYHF.js';
|
|
6
6
|
import './chunk-NRXK42LO.js';
|
|
7
7
|
import './chunk-EDYAXGUM.js';
|
package/dist/reason-tag.cjs
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkQ62RDKRA_cjs = require('./chunk-Q62RDKRA.cjs');
|
|
4
|
+
require('./chunk-JV2HEOCB.cjs');
|
|
5
5
|
require('./chunk-MKHYENKR.cjs');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-XGGAAG74.cjs');
|
|
7
|
+
require('./chunk-36IC3NDN.cjs');
|
|
7
8
|
require('./chunk-TI7D4QDM.cjs');
|
|
8
9
|
require('./chunk-57FQGQJK.cjs');
|
|
9
10
|
require('./chunk-OUYC6EIL.cjs');
|
|
10
11
|
require('./chunk-M5MUGSON.cjs');
|
|
11
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-XEI5JG7C.cjs');
|
|
12
13
|
require('./chunk-XCZZVRBY.cjs');
|
|
13
14
|
require('./chunk-MXWR3T3N.cjs');
|
|
14
15
|
require('./chunk-ZU5Q77OT.cjs');
|
|
@@ -17,7 +18,7 @@ require('./chunk-ZU5Q77OT.cjs');
|
|
|
17
18
|
|
|
18
19
|
Object.defineProperty(exports, "ReasonTag", {
|
|
19
20
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkQ62RDKRA_cjs.ReasonTag; }
|
|
21
22
|
});
|
|
22
23
|
//# sourceMappingURL=reason-tag.cjs.map
|
|
23
24
|
//# sourceMappingURL=reason-tag.cjs.map
|
package/dist/reason-tag.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
export { ReasonTag } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { ReasonTag } from './chunk-6BCXGP2T.js';
|
|
2
|
+
import './chunk-6RXEWM3V.js';
|
|
3
3
|
import './chunk-5VMILVWD.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-GJWNZMJT.js';
|
|
5
|
+
import './chunk-US5R36TQ.js';
|
|
5
6
|
import './chunk-RBCMKPBX.js';
|
|
6
7
|
import './chunk-RGANGU7X.js';
|
|
7
8
|
import './chunk-YX6FTJ6N.js';
|
|
8
9
|
import './chunk-LQ4ICCN2.js';
|
|
9
|
-
import './chunk-
|
|
10
|
+
import './chunk-Q4CNEHVN.js';
|
|
10
11
|
import './chunk-45BBNJQD.js';
|
|
11
12
|
import './chunk-J3A4Z2P7.js';
|
|
12
13
|
import './chunk-MMW2JGKZ.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFNPII6TF_cjs = require('./chunk-FNPII6TF.cjs');
|
|
4
4
|
require('./chunk-I27K6NLX.cjs');
|
|
5
|
+
require('./chunk-36IC3NDN.cjs');
|
|
5
6
|
require('./chunk-OUYC6EIL.cjs');
|
|
6
7
|
require('./chunk-SNHU2AI4.cjs');
|
|
7
8
|
require('./chunk-ZU5Q77OT.cjs');
|
|
@@ -10,11 +11,11 @@ require('./chunk-ZU5Q77OT.cjs');
|
|
|
10
11
|
|
|
11
12
|
Object.defineProperty(exports, "ReorderableGrid", {
|
|
12
13
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkFNPII6TF_cjs.ReorderableGrid; }
|
|
14
15
|
});
|
|
15
16
|
Object.defineProperty(exports, "moveItem", {
|
|
16
17
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkFNPII6TF_cjs.moveItem; }
|
|
18
19
|
});
|
|
19
20
|
//# sourceMappingURL=reorderable-grid.cjs.map
|
|
20
21
|
//# sourceMappingURL=reorderable-grid.cjs.map
|
package/dist/reorderable-grid.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { ReorderableGrid, moveItem } from './chunk-
|
|
1
|
+
export { ReorderableGrid, moveItem } from './chunk-WLRKE4HC.js';
|
|
2
2
|
import './chunk-SV5BW3IA.js';
|
|
3
|
+
import './chunk-US5R36TQ.js';
|
|
3
4
|
import './chunk-YX6FTJ6N.js';
|
|
4
5
|
import './chunk-EDYAXGUM.js';
|
|
5
6
|
import './chunk-MMW2JGKZ.js';
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkMDAI54AG_cjs = require('./chunk-MDAI54AG.cjs');
|
|
4
|
+
require('./chunk-36IC3NDN.cjs');
|
|
4
5
|
require('./chunk-ZU5Q77OT.cjs');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
Object.defineProperty(exports, "ResizablePanels", {
|
|
9
10
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkMDAI54AG_cjs.ResizablePanels; }
|
|
11
12
|
});
|
|
12
13
|
//# sourceMappingURL=resizable-panels.cjs.map
|
|
13
14
|
//# sourceMappingURL=resizable-panels.cjs.map
|
package/dist/resizable-panels.js
CHANGED
package/dist/select.cjs
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./chunk-HXLSEBAL.cjs');
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
4
|
+
var chunkM5ER3Y5I_cjs = require('./chunk-M5ER3Y5I.cjs');
|
|
5
|
+
require('./chunk-DFROB5TW.cjs');
|
|
6
|
+
require('./chunk-UIBAIWUR.cjs');
|
|
7
|
+
require('./chunk-Q7XL37T3.cjs');
|
|
8
|
+
require('./chunk-XG6J5MOK.cjs');
|
|
9
9
|
require('./chunk-6V44RRSB.cjs');
|
|
10
10
|
require('./chunk-MKHYENKR.cjs');
|
|
11
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-XGGAAG74.cjs');
|
|
12
|
+
require('./chunk-36IC3NDN.cjs');
|
|
12
13
|
require('./chunk-TI7D4QDM.cjs');
|
|
13
14
|
require('./chunk-KJ22KE56.cjs');
|
|
14
15
|
require('./chunk-L3V3BYVS.cjs');
|
|
@@ -20,7 +21,7 @@ require('./chunk-ZU5Q77OT.cjs');
|
|
|
20
21
|
|
|
21
22
|
Object.defineProperty(exports, "Select", {
|
|
22
23
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkM5ER3Y5I_cjs.Select; }
|
|
24
25
|
});
|
|
25
26
|
//# sourceMappingURL=select.cjs.map
|
|
26
27
|
//# sourceMappingURL=select.cjs.map
|
package/dist/select.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import './chunk-GNHQVPZP.js';
|
|
2
|
-
export { Select } from './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
2
|
+
export { Select } from './chunk-ZUJVGHFW.js';
|
|
3
|
+
import './chunk-EDIX6EXQ.js';
|
|
4
|
+
import './chunk-PZTFGPQJ.js';
|
|
5
|
+
import './chunk-E2AEU5SP.js';
|
|
6
|
+
import './chunk-IF6EITB5.js';
|
|
7
7
|
import './chunk-S42OGG43.js';
|
|
8
8
|
import './chunk-5VMILVWD.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-GJWNZMJT.js';
|
|
10
|
+
import './chunk-US5R36TQ.js';
|
|
10
11
|
import './chunk-RBCMKPBX.js';
|
|
11
12
|
import './chunk-OL53XYHF.js';
|
|
12
13
|
import './chunk-NRXK42LO.js';
|