@dsfrkit/react 0.1.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/README.md +115 -0
- package/dist/artwork-B3QGyilb.d.mts +156 -0
- package/dist/artwork-B3QGyilb.d.ts +156 -0
- package/dist/artwork-CW2iQ_23.d.mts +171 -0
- package/dist/artwork-CW2iQ_23.d.ts +171 -0
- package/dist/chunk-23I7BDV6.mjs +39 -0
- package/dist/chunk-24DYKVTR.mjs +144 -0
- package/dist/chunk-2BB27XUW.mjs +65 -0
- package/dist/chunk-2BJMVHYD.mjs +137 -0
- package/dist/chunk-2EW2GCGT.mjs +137 -0
- package/dist/chunk-2HZIFFGX.mjs +144 -0
- package/dist/chunk-2LHWW7HN.mjs +114 -0
- package/dist/chunk-2LXQNL5D.mjs +113 -0
- package/dist/chunk-2NH3AUHW.mjs +79 -0
- package/dist/chunk-2PJ4EU56.mjs +203 -0
- package/dist/chunk-2QH4KMWT.mjs +8 -0
- package/dist/chunk-2RNER4KC.mjs +144 -0
- package/dist/chunk-2U3S73BF.mjs +8 -0
- package/dist/chunk-2V722J6M.mjs +8 -0
- package/dist/chunk-37CO3FHD.mjs +125 -0
- package/dist/chunk-3BTPUF5K.mjs +144 -0
- package/dist/chunk-3GBCT2U3.mjs +156 -0
- package/dist/chunk-3HHH4GMH.mjs +110 -0
- package/dist/chunk-3IMYMASJ.mjs +194 -0
- package/dist/chunk-3J555ZVB.mjs +122 -0
- package/dist/chunk-3JFXRCOL.mjs +1 -0
- package/dist/chunk-3JUY36HV.mjs +127 -0
- package/dist/chunk-3THML6BJ.mjs +22 -0
- package/dist/chunk-3VPGNSKX.mjs +834 -0
- package/dist/chunk-3YSDF6VX.mjs +221 -0
- package/dist/chunk-43XOENR2.mjs +53 -0
- package/dist/chunk-43ZFDH2Q.mjs +122 -0
- package/dist/chunk-44UGQHBU.mjs +166 -0
- package/dist/chunk-474LZSO7.mjs +122 -0
- package/dist/chunk-4KCVV4LR.mjs +156 -0
- package/dist/chunk-4LGWCPN4.mjs +92 -0
- package/dist/chunk-4LVHKND5.mjs +129 -0
- package/dist/chunk-4NU2XZIG.mjs +137 -0
- package/dist/chunk-4PA73RZ4.mjs +221 -0
- package/dist/chunk-4UBXW6O2.mjs +63 -0
- package/dist/chunk-4ZFM6M7C.mjs +127 -0
- package/dist/chunk-52BJN7DC.mjs +504 -0
- package/dist/chunk-53M2BTB5.mjs +22 -0
- package/dist/chunk-552MR22F.mjs +93 -0
- package/dist/chunk-57DNFR54.mjs +92 -0
- package/dist/chunk-5FHDLYYI.mjs +200 -0
- package/dist/chunk-5I2Y5M2K.mjs +514 -0
- package/dist/chunk-5IJLRY6P.mjs +504 -0
- package/dist/chunk-5IQADW3H.mjs +82 -0
- package/dist/chunk-5MEHDSPX.mjs +137 -0
- package/dist/chunk-5OYV672H.mjs +122 -0
- package/dist/chunk-5TQ2XLQH.mjs +91 -0
- package/dist/chunk-5WNMRXFG.mjs +137 -0
- package/dist/chunk-5ZBE6TNA.mjs +137 -0
- package/dist/chunk-5ZNBGCHW.mjs +105 -0
- package/dist/chunk-6AVQRAR3.mjs +729 -0
- package/dist/chunk-6BGCPIW7.mjs +127 -0
- package/dist/chunk-6BOEMNY4.mjs +94 -0
- package/dist/chunk-6FCPWBF2.mjs +137 -0
- package/dist/chunk-6HDE47EI.mjs +141 -0
- package/dist/chunk-6OSSG7EX.mjs +291 -0
- package/dist/chunk-6U5FC3RG.mjs +85 -0
- package/dist/chunk-6XZ4GBJ6.mjs +83 -0
- package/dist/chunk-6YGKYFPL.mjs +137 -0
- package/dist/chunk-6Z77GLN6.mjs +72 -0
- package/dist/chunk-6ZP4SKO6.mjs +144 -0
- package/dist/chunk-6ZWOOE2S.mjs +60 -0
- package/dist/chunk-762QFXXR.mjs +141 -0
- package/dist/chunk-76L74JUY.mjs +115 -0
- package/dist/chunk-76VC5YPU.mjs +113 -0
- package/dist/chunk-7BWEILU6.mjs +95 -0
- package/dist/chunk-7DGUHXUB.mjs +156 -0
- package/dist/chunk-7DTPT7EQ.mjs +220 -0
- package/dist/chunk-7FDDD5IV.mjs +203 -0
- package/dist/chunk-7H6WDKNO.mjs +141 -0
- package/dist/chunk-7KDRU2XY.mjs +145 -0
- package/dist/chunk-7QZTUZPL.mjs +137 -0
- package/dist/chunk-7REZ747L.mjs +122 -0
- package/dist/chunk-7RV4WZVM.mjs +203 -0
- package/dist/chunk-7VT2ZJBR.mjs +122 -0
- package/dist/chunk-7XPLI6X6.mjs +129 -0
- package/dist/chunk-7XYNKZWU.mjs +32 -0
- package/dist/chunk-A5OCX7PW.mjs +141 -0
- package/dist/chunk-A734PEYB.mjs +20 -0
- package/dist/chunk-ACBEJHSN.mjs +89 -0
- package/dist/chunk-ADRORWCA.mjs +95 -0
- package/dist/chunk-AGELEW5Q.mjs +121 -0
- package/dist/chunk-AGFBCPPH.mjs +78 -0
- package/dist/chunk-AHDHVUSU.mjs +105 -0
- package/dist/chunk-AKXX5JM5.mjs +122 -0
- package/dist/chunk-AM2FMPVS.mjs +299 -0
- package/dist/chunk-AMLQ6RI2.mjs +72 -0
- package/dist/chunk-ARTXTVIX.mjs +156 -0
- package/dist/chunk-ARZVIKN2.mjs +114 -0
- package/dist/chunk-ATLMREKL.mjs +117 -0
- package/dist/chunk-AVN6NSOQ.mjs +504 -0
- package/dist/chunk-AWOTVASU.mjs +82 -0
- package/dist/chunk-AZWGY2SR.mjs +101 -0
- package/dist/chunk-B5T4EO6N.mjs +122 -0
- package/dist/chunk-BDPEOSAY.mjs +80 -0
- package/dist/chunk-BHUY7ML7.mjs +95 -0
- package/dist/chunk-BMGFO5X6.mjs +127 -0
- package/dist/chunk-BRDUOWC4.mjs +385 -0
- package/dist/chunk-BRX2NAAS.mjs +52 -0
- package/dist/chunk-BTFAMY6E.mjs +65 -0
- package/dist/chunk-C4BBQTZ3.mjs +20 -0
- package/dist/chunk-CEFGBZXZ.mjs +165 -0
- package/dist/chunk-CF6SPRDA.mjs +56 -0
- package/dist/chunk-CIOYPW7H.mjs +137 -0
- package/dist/chunk-CVGHZFZK.mjs +117 -0
- package/dist/chunk-D4XAI2WD.mjs +65 -0
- package/dist/chunk-DAECVI5O.mjs +113 -0
- package/dist/chunk-DD7O3SCJ.mjs +144 -0
- package/dist/chunk-DDQTQ7Z2.mjs +172 -0
- package/dist/chunk-DGYJH7JG.mjs +259 -0
- package/dist/chunk-DLRDFCPW.mjs +60 -0
- package/dist/chunk-DN67LFQR.mjs +81 -0
- package/dist/chunk-DOXA63UH.mjs +504 -0
- package/dist/chunk-DSU6MKPW.mjs +137 -0
- package/dist/chunk-DTK5B22N.mjs +65 -0
- package/dist/chunk-DTOWE2MA.mjs +89 -0
- package/dist/chunk-DUXLKXFH.mjs +91 -0
- package/dist/chunk-DW62DTCF.mjs +87 -0
- package/dist/chunk-DWGELT6B.mjs +21 -0
- package/dist/chunk-DX4476KH.mjs +831 -0
- package/dist/chunk-E63ZEQE4.mjs +732 -0
- package/dist/chunk-EA3TIJMP.mjs +196 -0
- package/dist/chunk-EA5VCJ4G.mjs +85 -0
- package/dist/chunk-EAZ6NHW3.mjs +141 -0
- package/dist/chunk-EBDDPXU3.mjs +122 -0
- package/dist/chunk-ELEGVKVJ.mjs +122 -0
- package/dist/chunk-EX3RF7CE.mjs +294 -0
- package/dist/chunk-EXL24QAL.mjs +95 -0
- package/dist/chunk-F3W67E3Q.mjs +22 -0
- package/dist/chunk-F4A4IDZT.mjs +116 -0
- package/dist/chunk-FA7MQI6D.mjs +36 -0
- package/dist/chunk-FDFTH2OA.mjs +90 -0
- package/dist/chunk-FDRHBZZC.mjs +144 -0
- package/dist/chunk-FG3S54WT.mjs +211 -0
- package/dist/chunk-FI3PDDER.mjs +122 -0
- package/dist/chunk-FIXSMDQ7.mjs +141 -0
- package/dist/chunk-FK6JIEEN.mjs +516 -0
- package/dist/chunk-FL5D63D7.mjs +71 -0
- package/dist/chunk-FMWN44M7.mjs +92 -0
- package/dist/chunk-FNJYYQWC.mjs +60 -0
- package/dist/chunk-FNW7PJBZ.mjs +64 -0
- package/dist/chunk-FNWRRTCO.mjs +39 -0
- package/dist/chunk-FW4K4W3K.mjs +141 -0
- package/dist/chunk-GERPY3SW.mjs +63 -0
- package/dist/chunk-GKDVJ2TL.mjs +95 -0
- package/dist/chunk-GLRU4LYS.mjs +504 -0
- package/dist/chunk-GVW4A5MT.mjs +60 -0
- package/dist/chunk-GXJ5KSWO.mjs +165 -0
- package/dist/chunk-GZGPV2GH.mjs +122 -0
- package/dist/chunk-H3MN7LXP.mjs +36 -0
- package/dist/chunk-H7FFO2UX.mjs +121 -0
- package/dist/chunk-H7PNKXKX.mjs +56 -0
- package/dist/chunk-HAAWMTFK.mjs +98 -0
- package/dist/chunk-HFWOG3A4.mjs +137 -0
- package/dist/chunk-HGZHZHVX.mjs +47 -0
- package/dist/chunk-HP6JAQYJ.mjs +94 -0
- package/dist/chunk-HU4E64GQ.mjs +71 -0
- package/dist/chunk-HVKU5XVM.mjs +53 -0
- package/dist/chunk-HXQU5KQU.mjs +95 -0
- package/dist/chunk-IFYYNQ45.mjs +58 -0
- package/dist/chunk-IHMJCY2Z.mjs +87 -0
- package/dist/chunk-IHWNEZFG.mjs +36 -0
- package/dist/chunk-IM6BEVG6.mjs +71 -0
- package/dist/chunk-INM7YQKC.mjs +127 -0
- package/dist/chunk-IOD6W4YR.mjs +127 -0
- package/dist/chunk-IRDSRZ6X.mjs +62 -0
- package/dist/chunk-ITVUL6I2.mjs +98 -0
- package/dist/chunk-JAJOT3LV.mjs +87 -0
- package/dist/chunk-JAWTBRNS.mjs +122 -0
- package/dist/chunk-JR35S45U.mjs +22 -0
- package/dist/chunk-JWP5ZC5R.mjs +122 -0
- package/dist/chunk-JXBXEIER.mjs +126 -0
- package/dist/chunk-KCTGBTKI.mjs +145 -0
- package/dist/chunk-KEVX5SBT.mjs +221 -0
- package/dist/chunk-KFCM7PTR.mjs +98 -0
- package/dist/chunk-KIIWOL5Y.mjs +144 -0
- package/dist/chunk-KJ22LZMS.mjs +122 -0
- package/dist/chunk-KLJX3KQD.mjs +291 -0
- package/dist/chunk-KLMBFT3I.mjs +137 -0
- package/dist/chunk-KQPVSMIE.mjs +119 -0
- package/dist/chunk-KSK2RMP2.mjs +91 -0
- package/dist/chunk-KVVAUT3G.mjs +104 -0
- package/dist/chunk-KYKGI5BT.mjs +29 -0
- package/dist/chunk-L56KCHUI.mjs +116 -0
- package/dist/chunk-L65SLADH.mjs +137 -0
- package/dist/chunk-LASIEVVD.mjs +185 -0
- package/dist/chunk-LCTUVPNY.mjs +297 -0
- package/dist/chunk-LNHBVSNL.mjs +60 -0
- package/dist/chunk-LO5DFSJW.mjs +145 -0
- package/dist/chunk-LZRZUFF7.mjs +145 -0
- package/dist/chunk-M2LTIUBU.mjs +122 -0
- package/dist/chunk-M3KPXPDL.mjs +29 -0
- package/dist/chunk-M4PKDGE6.mjs +84 -0
- package/dist/chunk-M5SSDTTI.mjs +144 -0
- package/dist/chunk-MEJPZHAU.mjs +137 -0
- package/dist/chunk-ML7LO7IA.mjs +117 -0
- package/dist/chunk-MMILCSIS.mjs +228 -0
- package/dist/chunk-MNRZGIJQ.mjs +71 -0
- package/dist/chunk-MR6L2TFX.mjs +108 -0
- package/dist/chunk-MSNX3AR7.mjs +77 -0
- package/dist/chunk-MTLKC5UG.mjs +52 -0
- package/dist/chunk-MVEJMLQV.mjs +121 -0
- package/dist/chunk-MXMPDB4C.mjs +115 -0
- package/dist/chunk-N4RS42JQ.mjs +95 -0
- package/dist/chunk-N57TKKRF.mjs +156 -0
- package/dist/chunk-NF7PDBLJ.mjs +137 -0
- package/dist/chunk-NFEGQZI6.mjs +137 -0
- package/dist/chunk-NFXJSDUN.mjs +141 -0
- package/dist/chunk-NIWPLXZV.mjs +156 -0
- package/dist/chunk-NLA4YXGL.mjs +514 -0
- package/dist/chunk-NMLAW5NT.mjs +122 -0
- package/dist/chunk-NR66XXLN.mjs +156 -0
- package/dist/chunk-NRMIWRV6.mjs +297 -0
- package/dist/chunk-NWFMBDRM.mjs +24 -0
- package/dist/chunk-NXDYVTFV.mjs +122 -0
- package/dist/chunk-O42L54HQ.mjs +64 -0
- package/dist/chunk-O6DX3UFY.mjs +144 -0
- package/dist/chunk-O6H6FK6Y.mjs +137 -0
- package/dist/chunk-OD2MYXSX.mjs +117 -0
- package/dist/chunk-OHDAB5RA.mjs +514 -0
- package/dist/chunk-OIVUFVD4.mjs +122 -0
- package/dist/chunk-OKNSXEYQ.mjs +23 -0
- package/dist/chunk-OODDZ36D.mjs +221 -0
- package/dist/chunk-OPSBOV67.mjs +103 -0
- package/dist/chunk-OR2S4A6H.mjs +95 -0
- package/dist/chunk-OSLWGGF7.mjs +206 -0
- package/dist/chunk-OTBJ3BDC.mjs +137 -0
- package/dist/chunk-OZ37V2CL.mjs +116 -0
- package/dist/chunk-OZVAPU5J.mjs +127 -0
- package/dist/chunk-P2PN6HBO.mjs +95 -0
- package/dist/chunk-P3RTX23Z.mjs +133 -0
- package/dist/chunk-P5JZQIOK.mjs +103 -0
- package/dist/chunk-P7R26T3Z.mjs +145 -0
- package/dist/chunk-PGTGRJXX.mjs +122 -0
- package/dist/chunk-POBPYPUF.mjs +112 -0
- package/dist/chunk-PWUDSGHY.mjs +503 -0
- package/dist/chunk-PYQP4S3P.mjs +121 -0
- package/dist/chunk-Q4X44C4L.mjs +144 -0
- package/dist/chunk-QADKEWBW.mjs +91 -0
- package/dist/chunk-QEJXAPVP.mjs +193 -0
- package/dist/chunk-QEXXBZLP.mjs +137 -0
- package/dist/chunk-QFDUI4JF.mjs +137 -0
- package/dist/chunk-QIRIOLSQ.mjs +36 -0
- package/dist/chunk-QKZKXMDP.mjs +116 -0
- package/dist/chunk-QM44OKQB.mjs +110 -0
- package/dist/chunk-QUDEY3ZC.mjs +184 -0
- package/dist/chunk-QXBXBOPT.mjs +14 -0
- package/dist/chunk-R3HLKKGQ.mjs +200 -0
- package/dist/chunk-R7Q3PWPD.mjs +138 -0
- package/dist/chunk-RE55YFSX.mjs +70 -0
- package/dist/chunk-RH2JCZ3S.mjs +144 -0
- package/dist/chunk-RIHKQMJZ.mjs +71 -0
- package/dist/chunk-RLESRYZ7.mjs +141 -0
- package/dist/chunk-RN7K57U3.mjs +108 -0
- package/dist/chunk-RPZ6KAGN.mjs +156 -0
- package/dist/chunk-RSK73346.mjs +507 -0
- package/dist/chunk-RSYSJQNC.mjs +156 -0
- package/dist/chunk-RVYMEMGV.mjs +141 -0
- package/dist/chunk-RWQEGPN3.mjs +47 -0
- package/dist/chunk-RXUR5LHG.mjs +221 -0
- package/dist/chunk-RZCB3IFV.mjs +151 -0
- package/dist/chunk-RZJMZDH6.mjs +24 -0
- package/dist/chunk-S6BMBKPF.mjs +108 -0
- package/dist/chunk-S6BOOCIS.mjs +82 -0
- package/dist/chunk-S72JYZ34.mjs +205 -0
- package/dist/chunk-SAMWUGZH.mjs +200 -0
- package/dist/chunk-SF72OO5J.mjs +141 -0
- package/dist/chunk-SGES2MH4.mjs +141 -0
- package/dist/chunk-SH42XLB3.mjs +126 -0
- package/dist/chunk-SHZX3OGO.mjs +89 -0
- package/dist/chunk-SJLOQ3VX.mjs +113 -0
- package/dist/chunk-SJSM5PK5.mjs +110 -0
- package/dist/chunk-SUCVL4AR.mjs +127 -0
- package/dist/chunk-SZOFVBTZ.mjs +9 -0
- package/dist/chunk-SZPASZJ7.mjs +137 -0
- package/dist/chunk-T26S5SRN.mjs +52 -0
- package/dist/chunk-TAPPN5PM.mjs +72 -0
- package/dist/chunk-TCLGXTVU.mjs +221 -0
- package/dist/chunk-TFWWQZZK.mjs +89 -0
- package/dist/chunk-TGMDRDFD.mjs +127 -0
- package/dist/chunk-THEZTSDO.mjs +122 -0
- package/dist/chunk-TNHL4DWX.mjs +116 -0
- package/dist/chunk-TNKFYE4G.mjs +30 -0
- package/dist/chunk-TR24H7UQ.mjs +95 -0
- package/dist/chunk-TTMH3FVZ.mjs +119 -0
- package/dist/chunk-TTQCH2X2.mjs +113 -0
- package/dist/chunk-TXZDAPDU.mjs +129 -0
- package/dist/chunk-TY4VNBLX.mjs +137 -0
- package/dist/chunk-U3P6M5T4.mjs +127 -0
- package/dist/chunk-U6OTBZMO.mjs +507 -0
- package/dist/chunk-UB6RKUH5.mjs +89 -0
- package/dist/chunk-UDUTTGR5.mjs +89 -0
- package/dist/chunk-UENEQHEN.mjs +506 -0
- package/dist/chunk-UGGMZF3C.mjs +87 -0
- package/dist/chunk-UMB7ZMKX.mjs +122 -0
- package/dist/chunk-UNL4F3FH.mjs +122 -0
- package/dist/chunk-UOP3WPZG.mjs +60 -0
- package/dist/chunk-UPBRQJAU.mjs +512 -0
- package/dist/chunk-UPPVJWBO.mjs +116 -0
- package/dist/chunk-UYFHSIC7.mjs +81 -0
- package/dist/chunk-UZJQAAOZ.mjs +108 -0
- package/dist/chunk-V2JDJALG.mjs +125 -0
- package/dist/chunk-V2YC7EE6.mjs +122 -0
- package/dist/chunk-V3UXNKVL.mjs +122 -0
- package/dist/chunk-V5FP5GDQ.mjs +95 -0
- package/dist/chunk-VCHYQYFB.mjs +503 -0
- package/dist/chunk-VJEJD4DF.mjs +52 -0
- package/dist/chunk-VL4PZ5RI.mjs +113 -0
- package/dist/chunk-VNGGNO3R.mjs +32 -0
- package/dist/chunk-VNWV6LZP.mjs +38 -0
- package/dist/chunk-VOQEOCHD.mjs +511 -0
- package/dist/chunk-VW33ORR4.mjs +301 -0
- package/dist/chunk-VZ6VFS3D.mjs +109 -0
- package/dist/chunk-W3SECUBG.mjs +14 -0
- package/dist/chunk-W5OZFHOX.mjs +193 -0
- package/dist/chunk-WCSWQVFA.mjs +96 -0
- package/dist/chunk-WELBZQP2.mjs +137 -0
- package/dist/chunk-WGJWOF4K.mjs +122 -0
- package/dist/chunk-WJUBYR25.mjs +122 -0
- package/dist/chunk-WKSLZG4X.mjs +122 -0
- package/dist/chunk-WO4BCKRI.mjs +145 -0
- package/dist/chunk-WRJ47AVE.mjs +136 -0
- package/dist/chunk-WWAEK25T.mjs +92 -0
- package/dist/chunk-X3N6PDZV.mjs +71 -0
- package/dist/chunk-X437NODC.mjs +122 -0
- package/dist/chunk-X4FBB2TI.mjs +32 -0
- package/dist/chunk-XAJVDNFJ.mjs +119 -0
- package/dist/chunk-XGIDLCZI.mjs +137 -0
- package/dist/chunk-XGPUTXJT.mjs +122 -0
- package/dist/chunk-XHSCOABH.mjs +138 -0
- package/dist/chunk-XRM6FF22.mjs +61 -0
- package/dist/chunk-XTG2CB35.mjs +122 -0
- package/dist/chunk-XX22JBNI.mjs +139 -0
- package/dist/chunk-Y2W5252F.mjs +515 -0
- package/dist/chunk-Y3UMAK4V.mjs +141 -0
- package/dist/chunk-Y4M4BHVP.mjs +106 -0
- package/dist/chunk-Y5TUAI6V.mjs +127 -0
- package/dist/chunk-Y6F7EJOV.mjs +129 -0
- package/dist/chunk-YCITYGTH.mjs +20 -0
- package/dist/chunk-YD3HHOXQ.mjs +120 -0
- package/dist/chunk-YE3IUCBS.mjs +81 -0
- package/dist/chunk-YG2I4KKR.mjs +156 -0
- package/dist/chunk-YQGPAXSD.mjs +24 -0
- package/dist/chunk-YSAEDU4W.mjs +137 -0
- package/dist/chunk-YSZMXNWH.mjs +30 -0
- package/dist/chunk-YW3ZBLND.mjs +8 -0
- package/dist/chunk-YZC2FQVP.mjs +78 -0
- package/dist/chunk-Z3MPWBBS.mjs +109 -0
- package/dist/chunk-Z3NBRL3F.mjs +108 -0
- package/dist/chunk-ZF5BUSKM.mjs +122 -0
- package/dist/chunk-ZF5CW4JH.mjs +91 -0
- package/dist/chunk-ZFUAZYLA.mjs +20 -0
- package/dist/chunk-ZJ7EMTGD.mjs +83 -0
- package/dist/chunk-ZPBOEUI7.mjs +56 -0
- package/dist/chunk-ZPFY4R5H.mjs +514 -0
- package/dist/chunk-ZRUMMJPO.mjs +127 -0
- package/dist/chunk-ZTLWJFDN.mjs +110 -0
- package/dist/chunk-ZVMW2BJZ.mjs +206 -0
- package/dist/components/dashboard/index.d.mts +135 -0
- package/dist/components/dashboard/index.d.ts +135 -0
- package/dist/components/dashboard/index.js +260 -0
- package/dist/components/dashboard/index.mjs +228 -0
- package/dist/components/layout/index.d.mts +2 -0
- package/dist/components/layout/index.d.ts +2 -0
- package/dist/components/layout/index.js +2 -0
- package/dist/components/layout/index.mjs +1 -0
- package/dist/components/navigation/index.d.mts +261 -0
- package/dist/components/navigation/index.d.ts +261 -0
- package/dist/components/navigation/index.js +552 -0
- package/dist/components/navigation/index.mjs +3 -0
- package/dist/components/ui/accordion.d.mts +37 -0
- package/dist/components/ui/accordion.d.ts +37 -0
- package/dist/components/ui/accordion.js +120 -0
- package/dist/components/ui/accordion.mjs +2 -0
- package/dist/components/ui/alert.d.mts +49 -0
- package/dist/components/ui/alert.d.ts +49 -0
- package/dist/components/ui/alert.js +149 -0
- package/dist/components/ui/alert.mjs +2 -0
- package/dist/components/ui/artwork.d.mts +2 -0
- package/dist/components/ui/artwork.d.ts +2 -0
- package/dist/components/ui/artwork.js +950 -0
- package/dist/components/ui/artwork.mjs +3 -0
- package/dist/components/ui/avatar.d.mts +36 -0
- package/dist/components/ui/avatar.d.ts +36 -0
- package/dist/components/ui/avatar.js +231 -0
- package/dist/components/ui/avatar.mjs +3 -0
- package/dist/components/ui/badge.d.mts +32 -0
- package/dist/components/ui/badge.d.ts +32 -0
- package/dist/components/ui/badge.js +119 -0
- package/dist/components/ui/badge.mjs +2 -0
- package/dist/components/ui/box.d.mts +8 -0
- package/dist/components/ui/box.d.ts +8 -0
- package/dist/components/ui/box.js +41 -0
- package/dist/components/ui/box.mjs +2 -0
- package/dist/components/ui/breadcrumb.d.mts +57 -0
- package/dist/components/ui/breadcrumb.d.ts +57 -0
- package/dist/components/ui/breadcrumb.js +162 -0
- package/dist/components/ui/breadcrumb.mjs +3 -0
- package/dist/components/ui/button-group.d.mts +54 -0
- package/dist/components/ui/button-group.d.ts +54 -0
- package/dist/components/ui/button-group.js +113 -0
- package/dist/components/ui/button-group.mjs +2 -0
- package/dist/components/ui/button.d.mts +38 -0
- package/dist/components/ui/button.d.ts +38 -0
- package/dist/components/ui/button.js +149 -0
- package/dist/components/ui/button.mjs +2 -0
- package/dist/components/ui/calendar.d.mts +15 -0
- package/dist/components/ui/calendar.d.ts +15 -0
- package/dist/components/ui/calendar.js +282 -0
- package/dist/components/ui/calendar.mjs +3 -0
- package/dist/components/ui/callout.d.mts +32 -0
- package/dist/components/ui/callout.d.ts +32 -0
- package/dist/components/ui/callout.js +93 -0
- package/dist/components/ui/callout.mjs +2 -0
- package/dist/components/ui/card.d.mts +63 -0
- package/dist/components/ui/card.d.ts +63 -0
- package/dist/components/ui/card.js +112 -0
- package/dist/components/ui/card.mjs +2 -0
- package/dist/components/ui/checkbox.d.mts +37 -0
- package/dist/components/ui/checkbox.d.ts +37 -0
- package/dist/components/ui/checkbox.js +132 -0
- package/dist/components/ui/checkbox.mjs +2 -0
- package/dist/components/ui/code.d.mts +9 -0
- package/dist/components/ui/code.d.ts +9 -0
- package/dist/components/ui/code.js +57 -0
- package/dist/components/ui/code.mjs +2 -0
- package/dist/components/ui/command.d.mts +85 -0
- package/dist/components/ui/command.d.ts +85 -0
- package/dist/components/ui/command.js +243 -0
- package/dist/components/ui/command.mjs +3 -0
- package/dist/components/ui/consent.d.mts +8 -0
- package/dist/components/ui/consent.d.ts +8 -0
- package/dist/components/ui/consent.js +68 -0
- package/dist/components/ui/consent.mjs +2 -0
- package/dist/components/ui/container.d.mts +9 -0
- package/dist/components/ui/container.d.ts +9 -0
- package/dist/components/ui/container.js +59 -0
- package/dist/components/ui/container.mjs +2 -0
- package/dist/components/ui/data-list.d.mts +13 -0
- package/dist/components/ui/data-list.d.ts +13 -0
- package/dist/components/ui/data-list.js +79 -0
- package/dist/components/ui/data-list.mjs +2 -0
- package/dist/components/ui/dropdown-menu.d.mts +30 -0
- package/dist/components/ui/dropdown-menu.d.ts +30 -0
- package/dist/components/ui/dropdown-menu.js +213 -0
- package/dist/components/ui/dropdown-menu.mjs +2 -0
- package/dist/components/ui/flex.d.mts +12 -0
- package/dist/components/ui/flex.d.ts +12 -0
- package/dist/components/ui/flex.js +79 -0
- package/dist/components/ui/flex.mjs +2 -0
- package/dist/components/ui/follow.d.mts +9 -0
- package/dist/components/ui/follow.d.ts +9 -0
- package/dist/components/ui/follow.js +63 -0
- package/dist/components/ui/follow.mjs +2 -0
- package/dist/components/ui/grid.d.mts +12 -0
- package/dist/components/ui/grid.d.ts +12 -0
- package/dist/components/ui/grid.js +92 -0
- package/dist/components/ui/grid.mjs +2 -0
- package/dist/components/ui/heading.d.mts +11 -0
- package/dist/components/ui/heading.d.ts +11 -0
- package/dist/components/ui/heading.js +63 -0
- package/dist/components/ui/heading.mjs +2 -0
- package/dist/components/ui/highlight.d.mts +27 -0
- package/dist/components/ui/highlight.d.ts +27 -0
- package/dist/components/ui/highlight.js +74 -0
- package/dist/components/ui/highlight.mjs +2 -0
- package/dist/components/ui/hover-card.d.mts +8 -0
- package/dist/components/ui/hover-card.d.ts +8 -0
- package/dist/components/ui/hover-card.js +52 -0
- package/dist/components/ui/hover-card.mjs +2 -0
- package/dist/components/ui/indicator.d.mts +32 -0
- package/dist/components/ui/indicator.d.ts +32 -0
- package/dist/components/ui/indicator.js +88 -0
- package/dist/components/ui/indicator.mjs +2 -0
- package/dist/components/ui/input-otp.d.mts +37 -0
- package/dist/components/ui/input-otp.d.ts +37 -0
- package/dist/components/ui/input-otp.js +94 -0
- package/dist/components/ui/input-otp.mjs +2 -0
- package/dist/components/ui/input.d.mts +74 -0
- package/dist/components/ui/input.d.ts +74 -0
- package/dist/components/ui/input.js +416 -0
- package/dist/components/ui/input.mjs +2 -0
- package/dist/components/ui/kbd.d.mts +8 -0
- package/dist/components/ui/kbd.d.ts +8 -0
- package/dist/components/ui/kbd.js +51 -0
- package/dist/components/ui/kbd.mjs +2 -0
- package/dist/components/ui/link.d.mts +56 -0
- package/dist/components/ui/link.d.ts +56 -0
- package/dist/components/ui/link.js +150 -0
- package/dist/components/ui/link.mjs +3 -0
- package/dist/components/ui/logo.d.mts +58 -0
- package/dist/components/ui/logo.d.ts +58 -0
- package/dist/components/ui/logo.js +225 -0
- package/dist/components/ui/logo.mjs +2 -0
- package/dist/components/ui/modal.d.mts +34 -0
- package/dist/components/ui/modal.d.ts +34 -0
- package/dist/components/ui/modal.js +153 -0
- package/dist/components/ui/modal.mjs +2 -0
- package/dist/components/ui/notice.d.mts +56 -0
- package/dist/components/ui/notice.d.ts +56 -0
- package/dist/components/ui/notice.js +126 -0
- package/dist/components/ui/notice.mjs +2 -0
- package/dist/components/ui/pagination.d.mts +100 -0
- package/dist/components/ui/pagination.d.ts +100 -0
- package/dist/components/ui/pagination.js +248 -0
- package/dist/components/ui/pagination.mjs +3 -0
- package/dist/components/ui/pictograms.d.mts +2 -0
- package/dist/components/ui/pictograms.d.ts +2 -0
- package/dist/components/ui/pictograms.js +924 -0
- package/dist/components/ui/pictograms.mjs +1 -0
- package/dist/components/ui/popover.d.mts +9 -0
- package/dist/components/ui/popover.d.ts +9 -0
- package/dist/components/ui/popover.js +54 -0
- package/dist/components/ui/popover.mjs +2 -0
- package/dist/components/ui/progress.d.mts +16 -0
- package/dist/components/ui/progress.d.ts +16 -0
- package/dist/components/ui/progress.js +99 -0
- package/dist/components/ui/progress.mjs +2 -0
- package/dist/components/ui/quote.d.mts +41 -0
- package/dist/components/ui/quote.d.ts +41 -0
- package/dist/components/ui/quote.js +91 -0
- package/dist/components/ui/quote.mjs +2 -0
- package/dist/components/ui/radio.d.mts +32 -0
- package/dist/components/ui/radio.d.ts +32 -0
- package/dist/components/ui/radio.js +111 -0
- package/dist/components/ui/radio.mjs +2 -0
- package/dist/components/ui/range.d.mts +27 -0
- package/dist/components/ui/range.d.ts +27 -0
- package/dist/components/ui/range.js +137 -0
- package/dist/components/ui/range.mjs +2 -0
- package/dist/components/ui/section.d.mts +9 -0
- package/dist/components/ui/section.d.ts +9 -0
- package/dist/components/ui/section.js +56 -0
- package/dist/components/ui/section.mjs +2 -0
- package/dist/components/ui/select.d.mts +27 -0
- package/dist/components/ui/select.d.ts +27 -0
- package/dist/components/ui/select.js +222 -0
- package/dist/components/ui/select.mjs +2 -0
- package/dist/components/ui/separator.d.mts +6 -0
- package/dist/components/ui/separator.d.ts +6 -0
- package/dist/components/ui/separator.js +49 -0
- package/dist/components/ui/separator.mjs +2 -0
- package/dist/components/ui/sheet.d.mts +29 -0
- package/dist/components/ui/sheet.d.ts +29 -0
- package/dist/components/ui/sheet.js +140 -0
- package/dist/components/ui/sheet.mjs +2 -0
- package/dist/components/ui/skeleton.d.mts +13 -0
- package/dist/components/ui/skeleton.d.ts +13 -0
- package/dist/components/ui/skeleton.js +28 -0
- package/dist/components/ui/skeleton.mjs +2 -0
- package/dist/components/ui/stepper.d.mts +36 -0
- package/dist/components/ui/stepper.d.ts +36 -0
- package/dist/components/ui/stepper.js +98 -0
- package/dist/components/ui/stepper.mjs +2 -0
- package/dist/components/ui/table.d.mts +20 -0
- package/dist/components/ui/table.d.ts +20 -0
- package/dist/components/ui/table.js +121 -0
- package/dist/components/ui/table.mjs +2 -0
- package/dist/components/ui/tabs.d.mts +18 -0
- package/dist/components/ui/tabs.d.ts +18 -0
- package/dist/components/ui/tabs.js +126 -0
- package/dist/components/ui/tabs.mjs +2 -0
- package/dist/components/ui/tag.d.mts +61 -0
- package/dist/components/ui/tag.d.ts +61 -0
- package/dist/components/ui/tag.js +328 -0
- package/dist/components/ui/tag.mjs +2 -0
- package/dist/components/ui/text.d.mts +11 -0
- package/dist/components/ui/text.d.ts +11 -0
- package/dist/components/ui/text.js +66 -0
- package/dist/components/ui/text.mjs +2 -0
- package/dist/components/ui/theme-artwork.d.mts +22 -0
- package/dist/components/ui/theme-artwork.d.ts +22 -0
- package/dist/components/ui/theme-artwork.js +158 -0
- package/dist/components/ui/theme-artwork.mjs +2 -0
- package/dist/components/ui/theme-toggle.d.mts +23 -0
- package/dist/components/ui/theme-toggle.d.ts +23 -0
- package/dist/components/ui/theme-toggle.js +567 -0
- package/dist/components/ui/theme-toggle.mjs +9 -0
- package/dist/components/ui/tile.d.mts +57 -0
- package/dist/components/ui/tile.d.ts +57 -0
- package/dist/components/ui/tile.js +248 -0
- package/dist/components/ui/tile.mjs +2 -0
- package/dist/components/ui/toast.d.mts +18 -0
- package/dist/components/ui/toast.d.ts +18 -0
- package/dist/components/ui/toast.js +141 -0
- package/dist/components/ui/toast.mjs +2 -0
- package/dist/components/ui/toaster.d.mts +8 -0
- package/dist/components/ui/toaster.d.ts +8 -0
- package/dist/components/ui/toaster.js +263 -0
- package/dist/components/ui/toaster.mjs +4 -0
- package/dist/components/ui/toggle.d.mts +39 -0
- package/dist/components/ui/toggle.d.ts +39 -0
- package/dist/components/ui/toggle.js +156 -0
- package/dist/components/ui/toggle.mjs +2 -0
- package/dist/components/ui/tooltip.d.mts +26 -0
- package/dist/components/ui/tooltip.d.ts +26 -0
- package/dist/components/ui/tooltip.js +85 -0
- package/dist/components/ui/tooltip.mjs +2 -0
- package/dist/components/ui/translate.d.mts +36 -0
- package/dist/components/ui/translate.d.ts +36 -0
- package/dist/components/ui/translate.js +191 -0
- package/dist/components/ui/translate.mjs +2 -0
- package/dist/components/ui/upload.d.mts +37 -0
- package/dist/components/ui/upload.d.ts +37 -0
- package/dist/components/ui/upload.js +89 -0
- package/dist/components/ui/upload.mjs +2 -0
- package/dist/components/ui/use-toast.d.mts +49 -0
- package/dist/components/ui/use-toast.d.ts +49 -0
- package/dist/components/ui/use-toast.js +142 -0
- package/dist/components/ui/use-toast.mjs +1 -0
- package/dist/hooks/index.d.mts +40 -0
- package/dist/hooks/index.d.ts +40 -0
- package/dist/hooks/index.js +87 -0
- package/dist/hooks/index.mjs +2 -0
- package/dist/i18n/index.d.mts +160 -0
- package/dist/i18n/index.d.ts +160 -0
- package/dist/i18n/index.js +228 -0
- package/dist/i18n/index.mjs +191 -0
- package/dist/index.d.mts +96 -0
- package/dist/index.d.ts +96 -0
- package/dist/index.js +7183 -0
- package/dist/index.mjs +67 -0
- package/dist/primitives/index.d.mts +30 -0
- package/dist/primitives/index.d.ts +30 -0
- package/dist/primitives/index.js +48 -0
- package/dist/primitives/index.mjs +1 -0
- package/dist/providers/index.d.mts +155 -0
- package/dist/providers/index.d.ts +155 -0
- package/dist/providers/index.js +203 -0
- package/dist/providers/index.mjs +3 -0
- package/dist/theme-provider-DQSD5lrW.d.mts +82 -0
- package/dist/theme-provider-DQSD5lrW.d.ts +82 -0
- package/dist/theme-script-BIZ1PX7u.d.mts +75 -0
- package/dist/theme-script-BIZ1PX7u.d.ts +75 -0
- package/package.json +120 -0
- package/src/components/navigation/footer.tsx +173 -0
- package/src/components/navigation/header.tsx +236 -0
- package/src/components/navigation/index.ts +29 -0
- package/src/components/navigation/nav-link.tsx +135 -0
- package/src/components/navigation/navigation.tsx +336 -0
- package/src/components/navigation/skip-links.tsx +75 -0
- package/src/components/ui/accordion.test.tsx +56 -0
- package/src/components/ui/accordion.tsx +150 -0
- package/src/components/ui/alert.test.tsx +58 -0
- package/src/components/ui/alert.tsx +181 -0
- package/src/components/ui/artwork.tsx +166 -0
- package/src/components/ui/avatar.tsx +198 -0
- package/src/components/ui/badge.test.tsx +44 -0
- package/src/components/ui/badge.tsx +144 -0
- package/src/components/ui/box.tsx +17 -0
- package/src/components/ui/breadcrumb.tsx +189 -0
- package/src/components/ui/button-group.tsx +146 -0
- package/src/components/ui/button.test.tsx +56 -0
- package/src/components/ui/button.tsx +160 -0
- package/src/components/ui/calendar.tsx +159 -0
- package/src/components/ui/callout.test.tsx +36 -0
- package/src/components/ui/callout.tsx +131 -0
- package/src/components/ui/card.tsx +151 -0
- package/src/components/ui/checkbox.test.tsx +38 -0
- package/src/components/ui/checkbox.tsx +142 -0
- package/src/components/ui/code.tsx +33 -0
- package/src/components/ui/command.tsx +162 -0
- package/src/components/ui/consent.tsx +46 -0
- package/src/components/ui/container.tsx +35 -0
- package/src/components/ui/data-list.tsx +59 -0
- package/src/components/ui/dropdown-menu.tsx +226 -0
- package/src/components/ui/flex.tsx +62 -0
- package/src/components/ui/follow.tsx +52 -0
- package/src/components/ui/grid.tsx +75 -0
- package/src/components/ui/heading.tsx +42 -0
- package/src/components/ui/highlight.tsx +71 -0
- package/src/components/ui/hover-card.tsx +29 -0
- package/src/components/ui/indicator.tsx +108 -0
- package/src/components/ui/input-otp.tsx +85 -0
- package/src/components/ui/input.tsx +508 -0
- package/src/components/ui/kbd.tsx +26 -0
- package/src/components/ui/link.tsx +191 -0
- package/src/components/ui/logo.tsx +298 -0
- package/src/components/ui/modal.tsx +176 -0
- package/src/components/ui/notice.tsx +157 -0
- package/src/components/ui/pagination.tsx +348 -0
- package/src/components/ui/pictograms.ts +1197 -0
- package/src/components/ui/popover.tsx +33 -0
- package/src/components/ui/progress.tsx +79 -0
- package/src/components/ui/quote.tsx +132 -0
- package/src/components/ui/radio.test.tsx +48 -0
- package/src/components/ui/radio.tsx +126 -0
- package/src/components/ui/range.tsx +156 -0
- package/src/components/ui/section.tsx +32 -0
- package/src/components/ui/select.tsx +257 -0
- package/src/components/ui/separator.tsx +26 -0
- package/src/components/ui/sheet.tsx +137 -0
- package/src/components/ui/skeleton.tsx +26 -0
- package/src/components/ui/stepper.tsx +124 -0
- package/src/components/ui/table.tsx +158 -0
- package/src/components/ui/tabs.tsx +118 -0
- package/src/components/ui/tag.tsx +406 -0
- package/src/components/ui/text.tsx +45 -0
- package/src/components/ui/theme-artwork.tsx +122 -0
- package/src/components/ui/theme-toggle.tsx +154 -0
- package/src/components/ui/tile.tsx +337 -0
- package/src/components/ui/toast.tsx +140 -0
- package/src/components/ui/toaster.tsx +35 -0
- package/src/components/ui/toggle.tsx +187 -0
- package/src/components/ui/tooltip.tsx +96 -0
- package/src/components/ui/translate.tsx +203 -0
- package/src/components/ui/upload.tsx +118 -0
- package/src/components/ui/use-toast.ts +185 -0
- package/src/hooks/index.ts +10 -0
- package/src/hooks/use-media-query.ts +74 -0
- package/src/hooks/use-theme.ts +5 -0
- package/src/i18n/index.ts +35 -0
- package/src/i18n/provider.tsx +82 -0
- package/src/i18n/strings.ts +196 -0
- package/src/i18n/types.ts +95 -0
- package/src/index.ts +348 -0
- package/src/lib/utils.ts +10 -0
- package/src/primitives/index.ts +8 -0
- package/src/primitives/polymorphic.tsx +52 -0
- package/src/providers/index.ts +20 -0
- package/src/providers/router-provider.tsx +99 -0
- package/src/providers/theme-provider.tsx +218 -0
- package/src/providers/theme-script.tsx +135 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Variants du lien DSFR
|
|
7
|
+
* Conforme au design system : https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/lien
|
|
8
|
+
*/
|
|
9
|
+
declare const linkVariants: (props?: ({
|
|
10
|
+
variant?: "default" | "muted" | "destructive" | "inverted" | null | undefined;
|
|
11
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
12
|
+
underline?: "none" | "always" | "hover" | null | undefined;
|
|
13
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
14
|
+
interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, VariantProps<typeof linkVariants> {
|
|
15
|
+
/**
|
|
16
|
+
* Si true, rend le composant enfant au lieu d'un <a>
|
|
17
|
+
* Utile pour l'intégration avec les routeurs (Next.js, React Router, TanStack Router)
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```tsx
|
|
21
|
+
* // Avec Next.js Link
|
|
22
|
+
* <Link asChild>
|
|
23
|
+
* <NextLink href="/about">À propos</NextLink>
|
|
24
|
+
* </Link>
|
|
25
|
+
*
|
|
26
|
+
* // Avec React Router
|
|
27
|
+
* <Link asChild>
|
|
28
|
+
* <RouterLink to="/about">À propos</RouterLink>
|
|
29
|
+
* </Link>
|
|
30
|
+
*
|
|
31
|
+
* // Avec TanStack Router
|
|
32
|
+
* <Link asChild>
|
|
33
|
+
* <TanStackLink to="/about">À propos</TanStackLink>
|
|
34
|
+
* </Link>
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
asChild?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Si true, ouvre le lien dans un nouvel onglet avec rel="noopener noreferrer"
|
|
40
|
+
*/
|
|
41
|
+
external?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Affiche une icône externe à côté du lien
|
|
44
|
+
*/
|
|
45
|
+
showExternalIcon?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Contrôle le soulignement du lien
|
|
48
|
+
* - `always` : toujours souligné (défaut, recommandé a11y WCAG 1.4.1)
|
|
49
|
+
* - `hover` : souligné au hover uniquement (style DSFR natif)
|
|
50
|
+
* - `none` : jamais souligné
|
|
51
|
+
*/
|
|
52
|
+
underline?: 'always' | 'hover' | 'none';
|
|
53
|
+
}
|
|
54
|
+
declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
55
|
+
|
|
56
|
+
export { Link, type LinkProps, linkVariants };
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var reactSlot = require('@radix-ui/react-slot');
|
|
4
|
+
var classVarianceAuthority = require('class-variance-authority');
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var clsx = require('clsx');
|
|
7
|
+
var tailwindMerge = require('tailwind-merge');
|
|
8
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
9
|
+
|
|
10
|
+
function _interopNamespace(e) {
|
|
11
|
+
if (e && e.__esModule) return e;
|
|
12
|
+
var n = Object.create(null);
|
|
13
|
+
if (e) {
|
|
14
|
+
Object.keys(e).forEach(function (k) {
|
|
15
|
+
if (k !== 'default') {
|
|
16
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
17
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return e[k]; }
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
n.default = e;
|
|
25
|
+
return Object.freeze(n);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
29
|
+
|
|
30
|
+
function cn(...inputs) {
|
|
31
|
+
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
32
|
+
}
|
|
33
|
+
var RouterContext = React__namespace.createContext(null);
|
|
34
|
+
function useRouter() {
|
|
35
|
+
return React__namespace.useContext(RouterContext);
|
|
36
|
+
}
|
|
37
|
+
var linkVariants = classVarianceAuthority.cva(
|
|
38
|
+
"inline-flex items-center gap-1 font-medium underline-offset-2 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary rounded",
|
|
39
|
+
{
|
|
40
|
+
variants: {
|
|
41
|
+
variant: {
|
|
42
|
+
default: "text-primary hover:text-primary-hover",
|
|
43
|
+
muted: "text-muted-foreground hover:text-foreground",
|
|
44
|
+
inverted: "text-foreground-inverted hover:opacity-80",
|
|
45
|
+
destructive: "text-destructive hover:opacity-80"
|
|
46
|
+
},
|
|
47
|
+
size: {
|
|
48
|
+
sm: "text-sm",
|
|
49
|
+
md: "text-base",
|
|
50
|
+
lg: "text-lg"
|
|
51
|
+
},
|
|
52
|
+
underline: {
|
|
53
|
+
always: "underline",
|
|
54
|
+
hover: "no-underline hover:underline",
|
|
55
|
+
none: "no-underline"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
defaultVariants: {
|
|
59
|
+
variant: "default",
|
|
60
|
+
size: "md",
|
|
61
|
+
underline: "always"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
function ExternalIcon() {
|
|
66
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
67
|
+
"svg",
|
|
68
|
+
{
|
|
69
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
70
|
+
width: "14",
|
|
71
|
+
height: "14",
|
|
72
|
+
viewBox: "0 0 24 24",
|
|
73
|
+
fill: "none",
|
|
74
|
+
stroke: "currentColor",
|
|
75
|
+
strokeWidth: "2",
|
|
76
|
+
strokeLinecap: "round",
|
|
77
|
+
strokeLinejoin: "round",
|
|
78
|
+
"aria-hidden": "true",
|
|
79
|
+
children: [
|
|
80
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
|
|
81
|
+
/* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "15,3 21,3 21,9" }),
|
|
82
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "10", y1: "14", x2: "21", y2: "3" })
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
var Link = React__namespace.forwardRef(
|
|
88
|
+
({
|
|
89
|
+
className,
|
|
90
|
+
variant,
|
|
91
|
+
size,
|
|
92
|
+
asChild = false,
|
|
93
|
+
external = false,
|
|
94
|
+
showExternalIcon = false,
|
|
95
|
+
underline,
|
|
96
|
+
children,
|
|
97
|
+
...props
|
|
98
|
+
}, ref) => {
|
|
99
|
+
const router = useRouter();
|
|
100
|
+
const externalProps = external ? { target: "_blank", rel: "noopener noreferrer" } : {};
|
|
101
|
+
if (asChild) {
|
|
102
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
103
|
+
reactSlot.Slot,
|
|
104
|
+
{
|
|
105
|
+
ref,
|
|
106
|
+
className: cn(linkVariants({ variant, size, underline, className })),
|
|
107
|
+
...externalProps,
|
|
108
|
+
...props,
|
|
109
|
+
children: [
|
|
110
|
+
children,
|
|
111
|
+
showExternalIcon && /* @__PURE__ */ jsxRuntime.jsx(ExternalIcon, {})
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
if (router && !external) {
|
|
117
|
+
const { href: hrefProp, ...restProps } = props;
|
|
118
|
+
const adaptedProps = router.linkPropsAdapter({ href: hrefProp, ...restProps });
|
|
119
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
120
|
+
router.Link,
|
|
121
|
+
{
|
|
122
|
+
ref,
|
|
123
|
+
className: cn(linkVariants({ variant, size, underline, className })),
|
|
124
|
+
...adaptedProps,
|
|
125
|
+
children: [
|
|
126
|
+
children,
|
|
127
|
+
showExternalIcon && /* @__PURE__ */ jsxRuntime.jsx(ExternalIcon, {})
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
133
|
+
"a",
|
|
134
|
+
{
|
|
135
|
+
ref,
|
|
136
|
+
className: cn(linkVariants({ variant, size, underline, className })),
|
|
137
|
+
...externalProps,
|
|
138
|
+
...props,
|
|
139
|
+
children: [
|
|
140
|
+
children,
|
|
141
|
+
showExternalIcon && /* @__PURE__ */ jsxRuntime.jsx(ExternalIcon, {})
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
);
|
|
147
|
+
Link.displayName = "Link";
|
|
148
|
+
|
|
149
|
+
exports.Link = Link;
|
|
150
|
+
exports.linkVariants = linkVariants;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Composant Logo DSFR
|
|
7
|
+
* Affiche le logo officiel de la République Française
|
|
8
|
+
* Conforme au design system : https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/logo
|
|
9
|
+
*
|
|
10
|
+
* Utilise les SVG officiels du DSFR (Marianne + devise)
|
|
11
|
+
* Source : https://github.com/GouvernementFR/dsfr/blob/main/src/dsfr/component/logo/style/_setting.scss
|
|
12
|
+
*/
|
|
13
|
+
declare const logoVariants: (props?: ({
|
|
14
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
15
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
16
|
+
interface LogoProps extends React.HTMLAttributes<HTMLParagraphElement>, VariantProps<typeof logoVariants> {
|
|
17
|
+
/** Texte alternatif pour l'accessibilité */
|
|
18
|
+
alt?: string;
|
|
19
|
+
/** Affiche la devise "Liberté Égalité Fraternité" (défaut : true) */
|
|
20
|
+
showMotto?: boolean;
|
|
21
|
+
/** Texte institutionnel à afficher */
|
|
22
|
+
serviceTitle?: React.ReactNode;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Logo de la République Française
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```tsx
|
|
29
|
+
* <Logo />
|
|
30
|
+
* <Logo size="lg" />
|
|
31
|
+
* <Logo size="sm" />
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
declare const Logo: React.ForwardRefExoticComponent<LogoProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
35
|
+
/**
|
|
36
|
+
* Logo de service (à côté du logo République Française)
|
|
37
|
+
*/
|
|
38
|
+
interface ServiceLogoProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
39
|
+
/**
|
|
40
|
+
* Nom du service
|
|
41
|
+
*/
|
|
42
|
+
serviceName: string;
|
|
43
|
+
/**
|
|
44
|
+
* Description ou tagline du service
|
|
45
|
+
*/
|
|
46
|
+
serviceTagline?: string;
|
|
47
|
+
/**
|
|
48
|
+
* URL du logo du service (optionnel)
|
|
49
|
+
*/
|
|
50
|
+
logoUrl?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Texte alternatif pour le logo
|
|
53
|
+
*/
|
|
54
|
+
logoAlt?: string;
|
|
55
|
+
}
|
|
56
|
+
declare const ServiceLogo: React.ForwardRefExoticComponent<ServiceLogoProps & React.RefAttributes<HTMLDivElement>>;
|
|
57
|
+
|
|
58
|
+
export { Logo, type LogoProps, ServiceLogo, type ServiceLogoProps, logoVariants };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Composant Logo DSFR
|
|
7
|
+
* Affiche le logo officiel de la République Française
|
|
8
|
+
* Conforme au design system : https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/logo
|
|
9
|
+
*
|
|
10
|
+
* Utilise les SVG officiels du DSFR (Marianne + devise)
|
|
11
|
+
* Source : https://github.com/GouvernementFR/dsfr/blob/main/src/dsfr/component/logo/style/_setting.scss
|
|
12
|
+
*/
|
|
13
|
+
declare const logoVariants: (props?: ({
|
|
14
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
15
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
16
|
+
interface LogoProps extends React.HTMLAttributes<HTMLParagraphElement>, VariantProps<typeof logoVariants> {
|
|
17
|
+
/** Texte alternatif pour l'accessibilité */
|
|
18
|
+
alt?: string;
|
|
19
|
+
/** Affiche la devise "Liberté Égalité Fraternité" (défaut : true) */
|
|
20
|
+
showMotto?: boolean;
|
|
21
|
+
/** Texte institutionnel à afficher */
|
|
22
|
+
serviceTitle?: React.ReactNode;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Logo de la République Française
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```tsx
|
|
29
|
+
* <Logo />
|
|
30
|
+
* <Logo size="lg" />
|
|
31
|
+
* <Logo size="sm" />
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
declare const Logo: React.ForwardRefExoticComponent<LogoProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
35
|
+
/**
|
|
36
|
+
* Logo de service (à côté du logo République Française)
|
|
37
|
+
*/
|
|
38
|
+
interface ServiceLogoProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
39
|
+
/**
|
|
40
|
+
* Nom du service
|
|
41
|
+
*/
|
|
42
|
+
serviceName: string;
|
|
43
|
+
/**
|
|
44
|
+
* Description ou tagline du service
|
|
45
|
+
*/
|
|
46
|
+
serviceTagline?: string;
|
|
47
|
+
/**
|
|
48
|
+
* URL du logo du service (optionnel)
|
|
49
|
+
*/
|
|
50
|
+
logoUrl?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Texte alternatif pour le logo
|
|
53
|
+
*/
|
|
54
|
+
logoAlt?: string;
|
|
55
|
+
}
|
|
56
|
+
declare const ServiceLogo: React.ForwardRefExoticComponent<ServiceLogoProps & React.RefAttributes<HTMLDivElement>>;
|
|
57
|
+
|
|
58
|
+
export { Logo, type LogoProps, ServiceLogo, type ServiceLogoProps, logoVariants };
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var classVarianceAuthority = require('class-variance-authority');
|
|
4
|
+
var React = require('react');
|
|
5
|
+
var clsx = require('clsx');
|
|
6
|
+
var tailwindMerge = require('tailwind-merge');
|
|
7
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
8
|
+
|
|
9
|
+
function _interopNamespace(e) {
|
|
10
|
+
if (e && e.__esModule) return e;
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) {
|
|
13
|
+
Object.keys(e).forEach(function (k) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return e[k]; }
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n.default = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
28
|
+
|
|
29
|
+
// src/components/ui/logo.tsx
|
|
30
|
+
function cn(...inputs) {
|
|
31
|
+
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
32
|
+
}
|
|
33
|
+
var logoVariants = classVarianceAuthority.cva("inline-flex flex-col", {
|
|
34
|
+
variants: {
|
|
35
|
+
size: {
|
|
36
|
+
sm: "text-xs",
|
|
37
|
+
md: "text-sm",
|
|
38
|
+
lg: "text-base"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
defaultVariants: {
|
|
42
|
+
size: "md"
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
var MarianneSvg = React__namespace.memo(() => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
46
|
+
"svg",
|
|
47
|
+
{
|
|
48
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
49
|
+
viewBox: "0 0 44 18",
|
|
50
|
+
"aria-hidden": "true",
|
|
51
|
+
className: "w-full h-full",
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
54
|
+
"path",
|
|
55
|
+
{
|
|
56
|
+
fill: "#fff",
|
|
57
|
+
d: "M11.3 10.2c-.9.6-1.7 1.3-2.3 2.1v-.1c.4-.5.7-1 1-1.5.4-.2.7-.5 1-.8.5-.5 1-1 1.7-1.3.3-.1.5-.1.8 0-.1.1-.2.1-.4.2H13v-.1c-.3.3-.7.5-1 .9-.1.2-.2.6-.7.6 0 .1.1 0 0 0zm1.6 4.6c0-.1-.1 0-.2 0l-.1.1-.1.1-.2.2s.1.1.2 0l.1-.1c.1 0 .2-.1.2-.2.1 0 .1 0 .1-.1 0 .1 0 0 0 0zm-1.6-4.3c.1 0 .2 0 .2-.1s.1-.1.1-.1v-.1c-.2.1-.3.2-.3.3zm2.4 1.9s0-.1 0 0c.1-.1.2-.1.3-.1.7-.1 1.4-.3 2.1-.6-.8-.5-1.7-.9-2.6-1h.1c-.1-.1-.3-.1-.5-.2h.1c-.2-.1-.5-.1-.7-.2.1 0 .2-.2.2-.3h-.1c-.4.2-.6.5-.8.9.2.1.5 0 .7.1h-.3c-.1 0-.2.1-.2.2h.1c-.1 0-.1.1-.2.1.1.1.2 0 .4 0 0 .1.1.1.1.1-.1 0-.2.1-.3.3-.1.2-.2.2-.3.3v.1c-.3.2-.6.5-.9.8v.1c-.1.1-.2.1-.2.2v.1c.4-.1.6-.4 1-.5l.6-.3c.2 0 .3-.1.5-.1v.1h.2c0 .1-.2 0-.1.1s.3.1.4 0c.2-.2.3-.2.4-.2zM12.4 14c-.4.2-.9.2-1.2.4 0 0 0 .1-.1.1 0 0-.1 0-.1.1-.1 0-.1.1-.2.2l-.1.1s0 .1.1 0l.1-.1s-.1.1-.1.2V15.3l-.1.1s0 .1-.1.1l-.1.1.2-.2.1-.1h.2s0-.1.1-.1c.1-.1.2-.2.3-.2h.1c.1-.1.3-.1.4-.2.1-.1.2-.2.3-.2.2-.2.5-.3.8-.5-.1 0-.2-.1-.3-.1 0 .1-.2 0-.3 0zM30 9.7c-.1.2-.4.2-.6.3-.2.2 0 .4.1.5.1.3-.2.5-.4.5.1.1.2.1.2.1 0 .2.2.2.1.4s-.5.3-.3.5c.1.2.1.5 0 .7-.1.2-.3.4-.5.5-.2.1-.4.1-.6 0-.1 0-.1-.1-.2-.1-.5-.1-1-.2-1.5-.2-.1 0-.3.1-.4.1-.1.1-.3.2-.4.3l-.1.1c-.1.1-.2.2-.2.3-.1.2-.2.4-.2.6-.2.5-.2 1 0 1.4 0 0 1 .3 1.7.6.2.1.5.2.7.4l1.7 1H13.2l1.6-1c.6-.4 1.3-.7 2-1 .5-.2 1.1-.5 1.5-.9.2-.2.3-.4.5-.5.3-.4.6-.7 1-1l.3-.3s0-.1.1-.1c-.2.1-.2.2-.4.2 0 0-.1 0 0-.1s.2-.2.3-.2v-.1c-.4 0-.7.2-1 .5h-.2c-.5.2-.8.5-1.2.7v-.1c-.2.1-.4.2-.5.2-.2 0-.5.1-.8 0-.4 0-.7.1-1.1.2-.2.1-.4.1-.6.2v.1l-.2.2c-.2.1-.3.2-.5.4l-.5.5h-.1l.1-.1.1-.1c0-.1.1-.1.1-.2.2-.1.3-.3.5-.4 0 0-.1 0 0 0 0 0 0-.1.1-.1l-.1.1c-.1.1-.1.2-.2.2v-.1-.1l.2-.2c.1-.1.2-.1.3-.2h.1c-.2.1-.3.1-.5.2H14h-.1c0-.1.1-.1.2-.2h.1c1-.8 2.3-.6 3.4-1 .1-.1.2-.1.3-.2.1-.1.3-.2.5-.3.2-.2.4-.4.5-.7v-.1c-.4.4-.8.7-1.3 1-.6.2-1.3.4-2 .4 0-.1.1-.1.1-.1 0-.1.1-.1.1-.2h.1s0-.1.1-.1h.1c-.1-.1-.3.1-.4 0 .1-.1 0-.2.1-.2h.1s0-.1.1-.1c.5-.3.9-.5 1.3-.7-.1 0-.1.1-.2 0 .1 0 0-.1.1-.1.3-.1.6-.3.9-.4-.1 0-.2.1-.3 0 .1 0 .1-.1.2-.1v-.1h0c0-.1.1 0 .2-.1h-.1c.1-.1.2-.2.4-.2 0-.1-.1 0-.1-.1h.1-.5c-.1 0 0-.1 0-.1.1-.2.2-.5.3-.7h-.1c-.3.3-.8.5-1.2.6h-.2c-.2.1-.4.1-.5 0-.1-.1-.2-.2-.3-.2-.2-.1-.5-.3-.8-.4-.7-.2-1.5-.4-2.3-.3.3-.1.7-.2 1.1-.3.5-.2 1-.3 1.5-.3h-.3c-.4 0-.9.1-1.3.2-.3.1-.6.2-.9.2-.2.1-.3.2-.5.2v-.1c.3-.4.7-.7 1.1-.8.5-.1 1.1 0 1.6.1.4 0 .8.1 1.1.2.1 0 .2.2.3.3.2.1.4 0 .5.1v-.2c.1-.1.3 0 .4 0 .2-.2-.2-.4-.3-.6v-.1c.2.2.5.4.7.6.1.1.5.2.5 0-.2-.3-.4-.6-.7-.9v-.2c-.1 0-.1 0-.1-.1-.1-.1-.1-.2-.1-.3-.1-.2 0-.4-.1-.5-.1-.2-.1-.3-.1-.5-.1-.5-.2-1-.3-1.4-.1-.6.3-1 .6-1.5.2-.4.5-.7.8-1 .1-.4.3-.7.6-1 .3-.3.6-.5.9-.6.3-.1.5-.2.8-.3l2.5-.4H25l1.8.3c.1 0 .2 0 .2.1.1.1.3.2.4.2.2.1.4.3.6.5.1.1.2.3.1.4-.1.1-.1.4-.2.4-.2.1-.4.1-.6.1-.1 0-.2 0-.4-.1.5.2.9.4 1.2.8 0 .1.2.1.3.1v.1c-.1.1-.1.1-.1.2h.1c.1-.1.1-.4.3-.3.2.1.2.3.1.4-.1.1-.2.2-.4.3v.2c.1.1.1.2.2.4s.1.5.2.7c.1.5.2.9.2 1.4 0 .2-.1.5 0 .7l.3.6c.1.2.2.3.3.5.2.3.6.6.4 1zm-15.6 5.2c-.1 0-.1.1-.1.1s.1 0 .1-.1zm5.8-1.8c-.1.1 0 0 0 0zm-6.7-.2c0 .1.1 0 .1 0 .2-.1.5 0 .6-.2-.1-.1-.2 0-.2-.1-.1 0-.2 0-.2.1-.1.1-.3.1-.3.2z"
|
|
58
|
+
}
|
|
59
|
+
),
|
|
60
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
61
|
+
"path",
|
|
62
|
+
{
|
|
63
|
+
fill: "#fff",
|
|
64
|
+
d: "M27.9 6.8c.1 0 .3 0 .3.1-.1.2-.4.3-.6.5h-.1c-.1.1-.1.2-.1.2h-.3c.1.1.3.2.5.2l.1.1h.2V8c-.1.1-.2.1-.4.1.2.1.5.1.7 0 .2-.1 0-.4.1-.5-.1 0 0-.1-.1-.1.1-.1.1-.2.2-.2s.1 0 .2-.1c0-.1-.1-.1-.1-.2.2-.1.3-.3.3-.5 0-.1-.3-.1-.4-.2h-.5c-.2 0-.3.1-.5.1l-.6.3c.2-.1.4-.1.7-.2 0 .3.2.3.4.3"
|
|
65
|
+
}
|
|
66
|
+
)
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
));
|
|
70
|
+
MarianneSvg.displayName = "MarianneSvg";
|
|
71
|
+
var MottoSvg = React__namespace.memo(() => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
72
|
+
"svg",
|
|
73
|
+
{
|
|
74
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
75
|
+
viewBox: "0 0 126 90",
|
|
76
|
+
"aria-hidden": "true",
|
|
77
|
+
className: "w-full h-full",
|
|
78
|
+
children: [
|
|
79
|
+
/* @__PURE__ */ jsxRuntime.jsxs("defs", { children: [
|
|
80
|
+
/* @__PURE__ */ jsxRuntime.jsx("symbol", { id: "dsfr-a", viewBox: "0 0 11 15.5", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10.4 5.3C11.9 1.5 10.1 0 7.9 0 4.2 0 0 6.5 0 11.7c0 2.5 1.2 3.8 3 3.8 2.1 0 4.3-2 6.2-5.5h-1c-1.2 1.5-2.6 2.6-3.9 2.6-1.3 0-2-.8-2-2.6a10.7 10.7 0 01.3-2.2zm-4-3.1c1.1 0 2 .8 1.5 2.6L3.1 6.1c.8-2.2 2.2-4 3.4-4z" }) }),
|
|
81
|
+
/* @__PURE__ */ jsxRuntime.jsxs("symbol", { id: "dsfr-b", viewBox: "0 0 12.4 21.8", children: [
|
|
82
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "11", height: "15.5", y: "6.4", href: "#dsfr-a" }),
|
|
83
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7.9 4.7L12.4.6V0h-3L6.7 4.7H8z" })
|
|
84
|
+
] }),
|
|
85
|
+
/* @__PURE__ */ jsxRuntime.jsx("symbol", { id: "dsfr-c", viewBox: "0 0 11.5 19", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M1.7 5.7h2.6L.1 17.1a1.3 1.3 0 001.2 2c3 0 6.4-2.6 7.8-6.2h-.7a9.4 9.4 0 01-5.1 3.5L7 5.7H11l.5-1.6H7.7L9 0H7.6L4.9 4.1l-3.2.4v1.2z" }) }),
|
|
86
|
+
/* @__PURE__ */ jsxRuntime.jsx("symbol", { id: "dsfr-d", viewBox: "0 0 9.8 21.9", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7.6 8c.3-1-.4-1.6-1-1.6-2.2 0-5 2.1-6 5h.7A5.6 5.6 0 014.4 9L.1 20.3a1.1 1.1 0 001 1.6c2.2 0 4.7-2 5.8-5H6A5.6 5.6 0 013 19.5zM8 3.7a1.8 1.8 0 001.8-1.8A1.8 1.8 0 008 0a1.8 1.8 0 00-1.8 1.8A1.8 1.8 0 008 3.6" }) }),
|
|
87
|
+
/* @__PURE__ */ jsxRuntime.jsx("symbol", { id: "dsfr-e", viewBox: "0 0 14.8 15.5", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3.3 3.1c.7 0 1 1 0 3.4l-3 6.8c-.7 1.3 0 2.2 1.2 2.2a1.3 1.3 0 001.5-1l3-8C7.4 4.8 10 3 11 3s.8.6.3 1.6l-4.6 9a1.3 1.3 0 001.1 1.9c2.3 0 5-2 6-5h-.6A5.6 5.6 0 0110 13l4-8a6.1 6.1 0 00.8-2.8A2 2 0 0012.6 0c-2 0-3.6 2.2-6 5V2.8C6.6 1.4 6.1 0 4.8 0 3.2 0 1.8 2.5.7 4.9h.7c.7-1.1 1.3-1.8 2-1.8" }) }),
|
|
88
|
+
/* @__PURE__ */ jsxRuntime.jsx("symbol", { id: "dsfr-f", viewBox: "0 0 12 15.5", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11.8 3.5c.5-1.9.2-3.5-1.2-3.5-1.8 0-2.3 1.2-4 5V2.8C6.5 1.3 6 0 4.6 0 3.1 0 1.7 2.5.5 5h.8C2 3.7 2.8 3 3.3 3c.7 0 1 1 0 3.4l-3 6.8c-.7 1.3 0 2.1 1.2 2.1a1.3 1.3 0 001.5-1l3-8a50.3 50.3 0 012.6-3h3.2z" }) }),
|
|
89
|
+
/* @__PURE__ */ jsxRuntime.jsx("symbol", { id: "dsfr-g", viewBox: "0 0 14.7 16.2", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10.5 13.1c-.6 0-1-1 0-3.4L14.6.1 13.4 0l-1.3 1.3h-.3C6.1 1.3 0 8.6 0 14.2a2 2 0 002.1 2.1c1.7 0 3.3-2.4 5.2-5l-.1 1c-.3 2.6.6 4 2 4 1.5 0 3-2.4 4-4.9h-.7c-.7 1.1-1.5 1.8-2 1.8zM7.9 9.8c-1.3 1.6-3.4 3.5-4.3 3.5-.5 0-.9-.5-.9-1.6 0-3.5 4-8.2 6-8.2a4.2 4.2 0 011.4.2z" }) }),
|
|
90
|
+
/* @__PURE__ */ jsxRuntime.jsx("symbol", { id: "dsfr-h", viewBox: "0 0 21.9 19.8", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11.2 19.8l.3-.9c-3.8-.7-4.3-.7-2.7-4.8l1.4-3.9h3c1.9 0 1.9.9 1.6 3h1l2.6-6.9h-1c-1 1.6-1.8 2.9-3.8 2.9h-3l2-5.6c.8-2 1.1-2.4 3.7-2.4h.7c2.6 0 3 .7 3 3.5h1l.9-4.7H7.3L7 .9c3 .6 3.3.9 2 4.8L5.7 14c-1.5 3.9-2 4.2-5.5 4.8l-.3.9z" }) }),
|
|
91
|
+
/* @__PURE__ */ jsxRuntime.jsx("symbol", { id: "dsfr-i", viewBox: "0 0 10.1 21.9", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M2.9 19.4L10.1.3 9.8 0l-5 .6v.6l1 .7c.9.7.6 1.3-.2 3.4L.2 19.9a1.3 1.3 0 001.1 2c2.3 0 4.7-2.1 5.8-5h-.7a6.5 6.5 0 01-3.5 2.5" }) }),
|
|
92
|
+
/* @__PURE__ */ jsxRuntime.jsx("symbol", { id: "dsfr-j", viewBox: "0 0 18 22", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18 .6h-4.3a3.8 3.8 0 00-2.1-.6A6.6 6.6 0 005 6.5a3.3 3.3 0 003 3.6c-1.9.8-3 1.8-3 2.9a1.7 1.7 0 00.9 1.5c-4.3 1.3-6 2.8-6 4.7 0 2 2.6 2.8 5.6 2.8 5.3 0 9.6-2.7 9.6-5.1 0-1.8-1.6-2.5-4.3-3.3-2.2-.7-3.2-.8-3.2-1.6A2.4 2.4 0 019 10.2a6.6 6.6 0 006.1-6.5 4.5 4.5 0 00-.2-1.5h2.5zM9.8 16.2c2.1.7 3 1 3 1.6 0 1.4-2 2.5-5.6 2.5-2.7 0-4-.6-4-2 0-1.5 1.4-2.5 3.5-3.3a21.5 21.5 0 003 1.2zM9 9c-1 0-1.3-.8-1.3-1.7 0-2.8 1.4-6.2 3.5-6.2 1 0 1.3.8 1.3 1.6 0 2.9-1.4 6.3-3.5 6.3z" }) }),
|
|
93
|
+
/* @__PURE__ */ jsxRuntime.jsx("symbol", { id: "dsfr-k", viewBox: "0 0 23 25.1", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14.3 15.6c1.9 0 2 .8 1.6 2.8H17l2.5-6.8h-1c-1 1.6-1.7 2.9-3.8 2.9h-4.1l2-5.6c.7-2 1-2.4 3.7-2.4H18c2.6 0 3 .7 3 3.5h1l.9-4.7H7.3l-.3.9c3 .6 3.3.9 2 4.8l-3.2 8.4c-1.5 3.9-2 4.2-5.6 4.8l-.2 1h17.4l3.2-5h-1.2c-2 2-4 3.8-8 3.8-4.7 0-4.3-.3-2.7-4.6l1.4-3.8h4.2zm2.3-11.8L21 .6V0h-3l-2.6 3.9h1.2v-.1z" }) }),
|
|
94
|
+
/* @__PURE__ */ jsxRuntime.jsx("symbol", { id: "dsfr-l", viewBox: "0 0 13.6 21.8", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M11.4 6.4c-2 0-4 2.2-5.8 4.8L9.6.3 9.4 0l-5 .6V1l1 .8c.9.7.6 1.3-.2 3.4L.8 16.8A13.9 13.9 0 000 19c0 1.4 1.8 2.7 3.5 2.7 3.8 0 10-6.9 10-12.2 0-2.3-.5-3.2-2.1-3.2zM4.8 19.5c-.8 0-1.9-.7-1.9-1.3a15.5 15.5 0 01.8-2.2L5 12.7C6.3 11 8.4 9.3 9.6 9.3c.7 0 1.2.4 1.2 1.5 0 3.1-2.9 8.7-6 8.7z" }) }),
|
|
95
|
+
/* @__PURE__ */ jsxRuntime.jsx("symbol", { id: "dsfr-m", viewBox: "0 0 19.2 19.9", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17.6 0H7.3L7 .9c3 .6 3.3.9 2 4.8l-3.2 8.5c-1.5 3.9-2 4.2-5.5 4.8L0 20h15.7l3.5-6H18c-2 2-4.2 4.8-7.7 4.8-2.7 0-3-.5-1.6-4.5l3.1-8.5c1.4-3.9 2-4.2 5.5-4.8z" }) }),
|
|
96
|
+
/* @__PURE__ */ jsxRuntime.jsxs("symbol", { id: "dsfr-n", viewBox: "0 0 126 90", children: [
|
|
97
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "12.4", height: "21.8", x: "112.7", y: "66.1", href: "#dsfr-b" }),
|
|
98
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "11.5", height: "19", x: "102.2", y: "69", href: "#dsfr-c" }),
|
|
99
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "9.8", height: "21.9", x: "93.6", y: "66.1", href: "#dsfr-d" }),
|
|
100
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "14.8", height: "15.5", x: "77.2", y: "72.5", href: "#dsfr-e" }),
|
|
101
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "12", height: "15.5", x: "65.7", y: "72.5", href: "#dsfr-f" }),
|
|
102
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "11", height: "15.5", x: "54.3", y: "72.5", href: "#dsfr-a" }),
|
|
103
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "11.5", height: "19", x: "43.7", y: "69", href: "#dsfr-c" }),
|
|
104
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "14.7", height: "16.2", x: "28.9", y: "71.8", href: "#dsfr-g" }),
|
|
105
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "12", height: "15.5", x: "19.6", y: "72.5", href: "#dsfr-f" }),
|
|
106
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "21.9", height: "19.8", y: "67.6", href: "#dsfr-h" }),
|
|
107
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "12.4", height: "21.8", x: "77.3", y: "33.1", href: "#dsfr-b" }),
|
|
108
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "11.5", height: "19", x: "66.8", y: "36", href: "#dsfr-c" }),
|
|
109
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "9.8", height: "21.9", x: "58.2", y: "33", href: "#dsfr-d" }),
|
|
110
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "10.1", height: "21.9", x: "49.4", y: "33.1", href: "#dsfr-i" }),
|
|
111
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "14.7", height: "16.2", x: "34.9", y: "38.8", href: "#dsfr-g" }),
|
|
112
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "18", height: "22", x: "18.6", y: "39.4", href: "#dsfr-j" }),
|
|
113
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "23", height: "25.1", y: "29.3", href: "#dsfr-k" }),
|
|
114
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "12.4", height: "21.8", x: "76.8", y: ".1", href: "#dsfr-b" }),
|
|
115
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "11.5", height: "19", x: "66.2", y: "2.9", href: "#dsfr-c" }),
|
|
116
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "12", height: "15.5", x: "54.8", y: "6.5", href: "#dsfr-f" }),
|
|
117
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "11", height: "15.5", x: "43.4", y: "6.4", href: "#dsfr-a" }),
|
|
118
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "13.6", height: "21.8", x: "29.4", y: ".1", href: "#dsfr-l" }),
|
|
119
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "9.8", height: "21.9", x: "20.6", href: "#dsfr-d" }),
|
|
120
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { width: "19.2", height: "19.9", y: "1.4", href: "#dsfr-m" })
|
|
121
|
+
] })
|
|
122
|
+
] }),
|
|
123
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { fill: "currentColor", width: "126", height: "90", x: "0", y: "0", href: "#dsfr-n" }),
|
|
124
|
+
/* @__PURE__ */ jsxRuntime.jsx("use", { fill: "#fff", width: "126", height: "90", x: "126", y: "90", href: "#dsfr-n" })
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
));
|
|
128
|
+
MottoSvg.displayName = "MottoSvg";
|
|
129
|
+
var sizeConfig = {
|
|
130
|
+
sm: { fontSize: 12.6, marianneW: 34.65, marianneH: 12.6, mottoW: 33.075, mottoH: 23.625 },
|
|
131
|
+
md: { fontSize: 16.8, marianneW: 46.2, marianneH: 16.8, mottoW: 44.1, mottoH: 31.5 },
|
|
132
|
+
lg: { fontSize: 21, marianneW: 57.75, marianneH: 21, mottoW: 55.125, mottoH: 39.375 }
|
|
133
|
+
};
|
|
134
|
+
var Logo = React__namespace.forwardRef(
|
|
135
|
+
({ className, size, showMotto = true, serviceTitle, alt = "R\xE9publique\nFran\xE7aise", ...props }, ref) => {
|
|
136
|
+
const s = sizeConfig[size || "md"];
|
|
137
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
138
|
+
"p",
|
|
139
|
+
{
|
|
140
|
+
ref,
|
|
141
|
+
className: cn(
|
|
142
|
+
"inline-block font-bold uppercase leading-[1.03] tracking-[-0.01em]",
|
|
143
|
+
size === "sm" && "text-[12.6px]",
|
|
144
|
+
size === "lg" && "text-[21px]",
|
|
145
|
+
(!size || size === "md") && "text-[16.8px]",
|
|
146
|
+
className
|
|
147
|
+
),
|
|
148
|
+
role: "img",
|
|
149
|
+
"aria-label": alt.replace("\n", " "),
|
|
150
|
+
...props,
|
|
151
|
+
children: [
|
|
152
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
153
|
+
"span",
|
|
154
|
+
{
|
|
155
|
+
className: "block",
|
|
156
|
+
"aria-hidden": "true",
|
|
157
|
+
style: {
|
|
158
|
+
width: s.marianneW,
|
|
159
|
+
height: s.marianneH * 1.125,
|
|
160
|
+
marginBottom: s.fontSize / 3,
|
|
161
|
+
background: "linear-gradient(90deg, #000091 0%, #000091 50%, #e1000f 50%, #e1000f 100%)",
|
|
162
|
+
backgroundSize: `100% ${s.marianneH / (s.marianneH * 1.125) * 100}%`,
|
|
163
|
+
backgroundRepeat: "no-repeat",
|
|
164
|
+
backgroundPosition: "0 100%"
|
|
165
|
+
},
|
|
166
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(MarianneSvg, {})
|
|
167
|
+
}
|
|
168
|
+
),
|
|
169
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "R\xE9publique Fran\xE7aise" }),
|
|
170
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
171
|
+
"span",
|
|
172
|
+
{
|
|
173
|
+
className: "text-foreground inline-block leading-[1.15em] mt-[0.2em]",
|
|
174
|
+
"aria-hidden": "true",
|
|
175
|
+
style: { fontFamily: "Marianne, arial, sans-serif" },
|
|
176
|
+
children: serviceTitle ? typeof serviceTitle === "string" ? serviceTitle.split("\n").map((line, i, arr) => /* @__PURE__ */ jsxRuntime.jsxs(React__namespace.Fragment, { children: [
|
|
177
|
+
line,
|
|
178
|
+
i < arr.length - 1 && /* @__PURE__ */ jsxRuntime.jsx("br", {})
|
|
179
|
+
] }, i)) : serviceTitle : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
180
|
+
"R\xE9publique",
|
|
181
|
+
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
182
|
+
"Fran\xE7aise"
|
|
183
|
+
] })
|
|
184
|
+
}
|
|
185
|
+
),
|
|
186
|
+
showMotto && /* @__PURE__ */ jsxRuntime.jsx(
|
|
187
|
+
"span",
|
|
188
|
+
{
|
|
189
|
+
className: "block text-foreground mt-[0.2em]",
|
|
190
|
+
"aria-hidden": "true",
|
|
191
|
+
style: {
|
|
192
|
+
width: s.mottoW,
|
|
193
|
+
height: s.mottoH
|
|
194
|
+
},
|
|
195
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(MottoSvg, {})
|
|
196
|
+
}
|
|
197
|
+
)
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
);
|
|
201
|
+
}
|
|
202
|
+
);
|
|
203
|
+
Logo.displayName = "Logo";
|
|
204
|
+
var ServiceLogo = React__namespace.forwardRef(
|
|
205
|
+
({ className, serviceName, serviceTagline, logoUrl, logoAlt, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
206
|
+
"div",
|
|
207
|
+
{
|
|
208
|
+
ref,
|
|
209
|
+
className: cn("flex items-center gap-4 border-l-2 border-primary pl-4", className),
|
|
210
|
+
...props,
|
|
211
|
+
children: [
|
|
212
|
+
logoUrl && /* @__PURE__ */ jsxRuntime.jsx("img", { src: logoUrl, alt: logoAlt || serviceName, className: "h-12 w-auto" }),
|
|
213
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col", children: [
|
|
214
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-lg font-bold text-foreground", children: serviceName }),
|
|
215
|
+
serviceTagline && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-muted-foreground", children: serviceTagline })
|
|
216
|
+
] })
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
)
|
|
220
|
+
);
|
|
221
|
+
ServiceLogo.displayName = "ServiceLogo";
|
|
222
|
+
|
|
223
|
+
exports.Logo = Logo;
|
|
224
|
+
exports.ServiceLogo = ServiceLogo;
|
|
225
|
+
exports.logoVariants = logoVariants;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Composant Modal (Dialog) DSFR
|
|
9
|
+
* Utilise Radix UI Dialog pour l'accessibilité
|
|
10
|
+
* Conforme au design system : https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/modale
|
|
11
|
+
*/
|
|
12
|
+
declare const Modal: React.FC<DialogPrimitive.DialogProps>;
|
|
13
|
+
declare const ModalTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
declare const ModalPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
15
|
+
declare const ModalClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
16
|
+
declare const ModalOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
declare const modalContentVariants: (props?: ({
|
|
18
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
19
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
20
|
+
interface ModalContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof modalContentVariants> {
|
|
21
|
+
}
|
|
22
|
+
declare const ModalContent: React.ForwardRefExoticComponent<ModalContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
declare const ModalHeader: {
|
|
24
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
|
27
|
+
declare const ModalFooter: {
|
|
28
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
29
|
+
displayName: string;
|
|
30
|
+
};
|
|
31
|
+
declare const ModalTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
32
|
+
declare const ModalDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
33
|
+
|
|
34
|
+
export { Modal, ModalClose, ModalContent, type ModalContentProps, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Composant Modal (Dialog) DSFR
|
|
9
|
+
* Utilise Radix UI Dialog pour l'accessibilité
|
|
10
|
+
* Conforme au design system : https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/modale
|
|
11
|
+
*/
|
|
12
|
+
declare const Modal: React.FC<DialogPrimitive.DialogProps>;
|
|
13
|
+
declare const ModalTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
declare const ModalPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
15
|
+
declare const ModalClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
16
|
+
declare const ModalOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
declare const modalContentVariants: (props?: ({
|
|
18
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
|
|
19
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
20
|
+
interface ModalContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof modalContentVariants> {
|
|
21
|
+
}
|
|
22
|
+
declare const ModalContent: React.ForwardRefExoticComponent<ModalContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
declare const ModalHeader: {
|
|
24
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
|
27
|
+
declare const ModalFooter: {
|
|
28
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
29
|
+
displayName: string;
|
|
30
|
+
};
|
|
31
|
+
declare const ModalTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
32
|
+
declare const ModalDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
33
|
+
|
|
34
|
+
export { Modal, ModalClose, ModalContent, type ModalContentProps, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger };
|