@dev-dga/react 0.11.0 → 0.12.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 +81 -0
- package/dist/chunk-2I7URBEK.js +1 -0
- package/dist/chunk-2MDYDWAH.js +79 -0
- package/dist/chunk-2MDYDWAH.js.map +1 -0
- package/dist/chunk-36AIVLVG.cjs +79 -0
- package/dist/chunk-36AIVLVG.cjs.map +1 -0
- package/dist/chunk-3IEUUZKJ.cjs +1 -0
- package/dist/{chunk-G3M3XYMI.cjs.map → chunk-3IEUUZKJ.cjs.map} +1 -1
- package/dist/{chunk-AYIS62JR.cjs → chunk-3JHIEAJG.cjs} +54 -42
- package/dist/chunk-3JHIEAJG.cjs.map +1 -0
- package/dist/chunk-3UT22WQM.cjs +22 -0
- package/dist/chunk-3UT22WQM.cjs.map +1 -0
- package/dist/chunk-42MOUC3M.cjs +1 -0
- package/dist/{chunk-I44YNYI6.cjs.map → chunk-42MOUC3M.cjs.map} +1 -1
- package/dist/chunk-44S33DGQ.js +1 -0
- package/dist/chunk-4HBVLISS.js +169 -0
- package/dist/chunk-4HBVLISS.js.map +1 -0
- package/dist/chunk-4LHIVDAH.js +1 -0
- package/dist/chunk-4RCQFLSE.cjs +114 -0
- package/dist/chunk-4RCQFLSE.cjs.map +1 -0
- package/dist/chunk-4WQLBIL5.cjs +1 -0
- package/dist/{chunk-ISUDUZEG.cjs.map → chunk-4WQLBIL5.cjs.map} +1 -1
- package/dist/chunk-4WUUV44R.js +1 -0
- package/dist/chunk-4WXBRKGZ.cjs +375 -0
- package/dist/chunk-4WXBRKGZ.cjs.map +1 -0
- package/dist/chunk-54KSDBGC.js +260 -0
- package/dist/chunk-54KSDBGC.js.map +1 -0
- package/dist/chunk-55RHNN3T.js +116 -0
- package/dist/chunk-55RHNN3T.js.map +1 -0
- package/dist/chunk-5DBKWVTZ.js +1 -0
- package/dist/chunk-5GDTEDDH.js +503 -0
- package/dist/chunk-5GDTEDDH.js.map +1 -0
- package/dist/chunk-5N6CFYT6.cjs +256 -0
- package/dist/chunk-5N6CFYT6.cjs.map +1 -0
- package/dist/{chunk-UK2SFZIQ.cjs → chunk-5NENDJOM.cjs} +21 -26
- package/dist/chunk-5NENDJOM.cjs.map +1 -0
- package/dist/chunk-5X2XQMGC.js +178 -0
- package/dist/chunk-5X2XQMGC.js.map +1 -0
- package/dist/chunk-6CDZ7ZBG.js +85 -0
- package/dist/chunk-6CDZ7ZBG.js.map +1 -0
- package/dist/{chunk-KPZ5T4DW.cjs → chunk-6G2BJQZL.cjs} +3 -3
- package/dist/{chunk-KPZ5T4DW.cjs.map → chunk-6G2BJQZL.cjs.map} +1 -1
- package/dist/chunk-6HRQMDI3.js +95 -0
- package/dist/chunk-6HRQMDI3.js.map +1 -0
- package/dist/{chunk-RZEJPDIW.js → chunk-6LV62GNU.js} +5 -5
- package/dist/chunk-6LV62GNU.js.map +1 -0
- package/dist/chunk-6POW3HXX.js +73 -0
- package/dist/chunk-6POW3HXX.js.map +1 -0
- package/dist/chunk-6UFDUJZI.cjs +124 -0
- package/dist/chunk-6UFDUJZI.cjs.map +1 -0
- package/dist/chunk-7BOSIHW6.cjs +173 -0
- package/dist/chunk-7BOSIHW6.cjs.map +1 -0
- package/dist/chunk-7EEKESAA.js +167 -0
- package/dist/chunk-7EEKESAA.js.map +1 -0
- package/dist/chunk-7F24FFIV.cjs +260 -0
- package/dist/chunk-7F24FFIV.cjs.map +1 -0
- package/dist/{chunk-6BZMLKCU.cjs → chunk-7GAELGEB.cjs} +47 -20
- package/dist/chunk-7GAELGEB.cjs.map +1 -0
- package/dist/{chunk-EM55NWUF.js → chunk-7GWM7F5C.js} +46 -34
- package/dist/chunk-7GWM7F5C.js.map +1 -0
- package/dist/chunk-7PSLMVCX.js +1 -0
- package/dist/{chunk-RNOXGWKQ.cjs → chunk-A4HS7CYD.cjs} +35 -18
- package/dist/chunk-A4HS7CYD.cjs.map +1 -0
- package/dist/chunk-A6S4V3IG.cjs +1 -0
- package/dist/{chunk-IUEAUTR7.cjs.map → chunk-A6S4V3IG.cjs.map} +1 -1
- package/dist/{chunk-4T6QBG46.cjs → chunk-AJXGXUBN.cjs} +29 -17
- package/dist/chunk-AJXGXUBN.cjs.map +1 -0
- package/dist/{chunk-5EUEJU47.js → chunk-AMF37AOD.js} +21 -3
- package/dist/chunk-AMF37AOD.js.map +1 -0
- package/dist/chunk-AMYFRY7K.js +1 -0
- package/dist/chunk-ANHZT2X2.js +256 -0
- package/dist/chunk-ANHZT2X2.js.map +1 -0
- package/dist/{chunk-PKJUCI7B.js → chunk-APD5WA65.js} +2 -2
- package/dist/chunk-AVHWS36I.js +1 -0
- package/dist/chunk-AZXCLCIV.cjs +1 -0
- package/dist/chunk-AZXCLCIV.cjs.map +1 -0
- package/dist/{chunk-EXAPMLPA.cjs → chunk-BNCUXVZF.cjs} +3 -3
- package/dist/{chunk-EXAPMLPA.cjs.map → chunk-BNCUXVZF.cjs.map} +1 -1
- package/dist/{chunk-SNLIKIJP.js → chunk-BP6BOEVE.js} +2 -2
- package/dist/{chunk-4A7BAISU.js → chunk-BQZ4XAYH.js} +34 -27
- package/dist/chunk-BQZ4XAYH.js.map +1 -0
- package/dist/chunk-BYSA3YCV.cjs +309 -0
- package/dist/chunk-BYSA3YCV.cjs.map +1 -0
- package/dist/chunk-C37NYN62.cjs +1 -0
- package/dist/chunk-C37NYN62.cjs.map +1 -0
- package/dist/chunk-CNY63MC2.cjs +1 -0
- package/dist/chunk-CNY63MC2.cjs.map +1 -0
- package/dist/{chunk-NDHMY3IR.js → chunk-CUGEH7EB.js} +11 -3
- package/dist/chunk-CUGEH7EB.js.map +1 -0
- package/dist/{chunk-NUC6WJU4.cjs → chunk-CUOYBYI4.cjs} +8 -8
- package/dist/{chunk-NUC6WJU4.cjs.map → chunk-CUOYBYI4.cjs.map} +1 -1
- package/dist/chunk-CWUZ4SZN.js +1 -0
- package/dist/{chunk-QGK2KYQS.js → chunk-CYHSWWH6.js} +18 -8
- package/dist/chunk-CYHSWWH6.js.map +1 -0
- package/dist/{chunk-GMBIFJOA.cjs → chunk-DAKCNDN5.cjs} +19 -9
- package/dist/chunk-DAKCNDN5.cjs.map +1 -0
- package/dist/chunk-DI52GZLA.cjs +116 -0
- package/dist/chunk-DI52GZLA.cjs.map +1 -0
- package/dist/{chunk-4U5TTO6E.cjs → chunk-DU4YQEIM.cjs} +71 -28
- package/dist/chunk-DU4YQEIM.cjs.map +1 -0
- package/dist/chunk-DUJCV2NZ.cjs +1 -0
- package/dist/chunk-DUJCV2NZ.cjs.map +1 -0
- package/dist/{chunk-YH44Q6CI.cjs → chunk-DVKPFWP2.cjs} +7 -7
- package/dist/{chunk-YH44Q6CI.cjs.map → chunk-DVKPFWP2.cjs.map} +1 -1
- package/dist/chunk-DWCTUNFU.cjs +85 -0
- package/dist/chunk-DWCTUNFU.cjs.map +1 -0
- package/dist/chunk-E5ZIKIGB.js +22 -0
- package/dist/chunk-E5ZIKIGB.js.map +1 -0
- package/dist/chunk-EMXKYSUI.cjs +341 -0
- package/dist/chunk-EMXKYSUI.cjs.map +1 -0
- package/dist/chunk-EQINOHB6.cjs +169 -0
- package/dist/chunk-EQINOHB6.cjs.map +1 -0
- package/dist/chunk-EY5XTOWH.cjs +45 -0
- package/dist/chunk-EY5XTOWH.cjs.map +1 -0
- package/dist/chunk-EZRPCQSP.js +272 -0
- package/dist/chunk-EZRPCQSP.js.map +1 -0
- package/dist/chunk-F5YD6T5D.js +1 -0
- package/dist/chunk-FF4QNJOQ.js +149 -0
- package/dist/chunk-FF4QNJOQ.js.map +1 -0
- package/dist/chunk-FFGALWM2.js +1113 -0
- package/dist/chunk-FFGALWM2.js.map +1 -0
- package/dist/chunk-FFUNMWQV.cjs +1 -0
- package/dist/chunk-FFUNMWQV.cjs.map +1 -0
- package/dist/chunk-FO7IICMM.js +61 -0
- package/dist/chunk-FO7IICMM.js.map +1 -0
- package/dist/{chunk-CGCO7RFO.js → chunk-FPXFD5XT.js} +2 -2
- package/dist/chunk-FQZ6F7FQ.cjs +1 -0
- package/dist/chunk-FQZ6F7FQ.cjs.map +1 -0
- package/dist/{chunk-CBCUQUHI.cjs → chunk-FUFFG2UW.cjs} +38 -12
- package/dist/chunk-FUFFG2UW.cjs.map +1 -0
- package/dist/{chunk-YVQOUGWG.cjs → chunk-FV6E33FY.cjs} +25 -11
- package/dist/chunk-FV6E33FY.cjs.map +1 -0
- package/dist/chunk-G6LUBXN2.js +271 -0
- package/dist/chunk-G6LUBXN2.js.map +1 -0
- package/dist/chunk-G6ZOJVIG.cjs +271 -0
- package/dist/chunk-G6ZOJVIG.cjs.map +1 -0
- package/dist/{chunk-TT2DEREM.js → chunk-GCOBDP4W.js} +37 -20
- package/dist/chunk-GCOBDP4W.js.map +1 -0
- package/dist/chunk-GEVXV4RL.js +309 -0
- package/dist/chunk-GEVXV4RL.js.map +1 -0
- package/dist/{chunk-Y5IWUJF7.js → chunk-GHJEE4NW.js} +3 -11
- package/dist/chunk-GHJEE4NW.js.map +1 -0
- package/dist/chunk-GIHJ4J47.js +1 -0
- package/dist/{chunk-4RU33BRQ.js → chunk-GQAX2CH6.js} +20 -25
- package/dist/chunk-GQAX2CH6.js.map +1 -0
- package/dist/{chunk-NJIMQWBC.js → chunk-GS7QTYLD.js} +43 -23
- package/dist/chunk-GS7QTYLD.js.map +1 -0
- package/dist/{chunk-D4ZUV7FD.cjs → chunk-GUI2LDJZ.cjs} +5 -13
- package/dist/chunk-GUI2LDJZ.cjs.map +1 -0
- package/dist/chunk-GXF5IZEX.cjs +264 -0
- package/dist/chunk-GXF5IZEX.cjs.map +1 -0
- package/dist/{chunk-TM3FOGLK.cjs → chunk-GYUQ5TEQ.cjs} +1 -1
- package/dist/chunk-GYUQ5TEQ.cjs.map +1 -0
- package/dist/chunk-H2HKUDBZ.js +1 -0
- package/dist/chunk-H6AWWJHL.cjs +1 -0
- package/dist/chunk-H6AWWJHL.cjs.map +1 -0
- package/dist/{chunk-VSC3A6VB.cjs → chunk-H7QU5L7R.cjs} +14 -4
- package/dist/chunk-H7QU5L7R.cjs.map +1 -0
- package/dist/{chunk-WB5AEG5D.cjs → chunk-HC2H35U2.cjs} +57 -15
- package/dist/chunk-HC2H35U2.cjs.map +1 -0
- package/dist/{chunk-ZKYBLXU7.js → chunk-HMXCWHVT.js} +6 -14
- package/dist/chunk-HMXCWHVT.js.map +1 -0
- package/dist/{chunk-P2JM7CUD.cjs → chunk-HTKCQZIJ.cjs} +5 -5
- package/dist/chunk-HTKCQZIJ.cjs.map +1 -0
- package/dist/{chunk-I6BOBHO6.cjs → chunk-IFZWOLDF.cjs} +37 -12
- package/dist/chunk-IFZWOLDF.cjs.map +1 -0
- package/dist/chunk-IJ5F5RUW.cjs +1 -0
- package/dist/chunk-IJ5F5RUW.cjs.map +1 -0
- package/dist/{chunk-ATOT5N34.cjs → chunk-IM6TYL3P.cjs} +3 -3
- package/dist/{chunk-ATOT5N34.cjs.map → chunk-IM6TYL3P.cjs.map} +1 -1
- package/dist/chunk-IMW6TRMU.cjs +1 -0
- package/dist/chunk-IMW6TRMU.cjs.map +1 -0
- package/dist/{chunk-3X7ORLG5.cjs → chunk-J7XCG6SX.cjs} +4 -4
- package/dist/{chunk-3X7ORLG5.cjs.map → chunk-J7XCG6SX.cjs.map} +1 -1
- package/dist/chunk-JAMYRBHS.js +375 -0
- package/dist/chunk-JAMYRBHS.js.map +1 -0
- package/dist/{chunk-NQGCAXTW.cjs → chunk-JCOUZVG3.cjs} +26 -10
- package/dist/chunk-JCOUZVG3.cjs.map +1 -0
- package/dist/chunk-JWOG4I4P.js +130 -0
- package/dist/chunk-JWOG4I4P.js.map +1 -0
- package/dist/chunk-JXATJSBR.js +45 -0
- package/dist/chunk-JXATJSBR.js.map +1 -0
- package/dist/chunk-K27GNXBF.cjs +272 -0
- package/dist/chunk-K27GNXBF.cjs.map +1 -0
- package/dist/{chunk-3VOOMW6O.js → chunk-KDV7V5S4.js} +2 -2
- package/dist/chunk-KSEN4ESR.js +230 -0
- package/dist/chunk-KSEN4ESR.js.map +1 -0
- package/dist/chunk-LEDIOXDM.js +341 -0
- package/dist/chunk-LEDIOXDM.js.map +1 -0
- package/dist/chunk-MKQBAQIH.js +1 -0
- package/dist/chunk-MS6HASC6.js +1 -0
- package/dist/chunk-MVKIXWKJ.js +114 -0
- package/dist/chunk-MVKIXWKJ.js.map +1 -0
- package/dist/{chunk-BGS3MCQZ.cjs → chunk-NH7XLE7E.cjs} +6 -14
- package/dist/chunk-NH7XLE7E.cjs.map +1 -0
- package/dist/chunk-NJIQJHJS.js +264 -0
- package/dist/chunk-NJIQJHJS.js.map +1 -0
- package/dist/{chunk-HBAHWCBK.js → chunk-NKCBDSI2.js} +3 -3
- package/dist/chunk-NL4LM47X.cjs +178 -0
- package/dist/chunk-NL4LM47X.cjs.map +1 -0
- package/dist/chunk-NOXQQACO.js +173 -0
- package/dist/chunk-NOXQQACO.js.map +1 -0
- package/dist/{chunk-VNITXANA.js → chunk-NS4IRTKQ.js} +1 -1
- package/dist/chunk-NS4IRTKQ.js.map +1 -0
- package/dist/chunk-NT6EEI44.cjs +86 -0
- package/dist/chunk-NT6EEI44.cjs.map +1 -0
- package/dist/chunk-NVCOEKCU.js +1 -0
- package/dist/chunk-O7BBEN7E.cjs +503 -0
- package/dist/chunk-O7BBEN7E.cjs.map +1 -0
- package/dist/{chunk-BBGCS5PZ.cjs → chunk-ODNO43HV.cjs} +6 -6
- package/dist/chunk-ODNO43HV.cjs.map +1 -0
- package/dist/chunk-ORRYZCLQ.cjs +1 -0
- package/dist/chunk-ORRYZCLQ.cjs.map +1 -0
- package/dist/{chunk-MCHL23CE.js → chunk-P7XKSXHH.js} +49 -34
- package/dist/chunk-P7XKSXHH.js.map +1 -0
- package/dist/chunk-PLLUSKME.cjs +95 -0
- package/dist/chunk-PLLUSKME.cjs.map +1 -0
- package/dist/chunk-PLT3EZZ5.js +194 -0
- package/dist/chunk-PLT3EZZ5.js.map +1 -0
- package/dist/{chunk-UPIDCMZI.cjs → chunk-QCITJAK6.cjs} +74 -17
- package/dist/chunk-QCITJAK6.cjs.map +1 -0
- package/dist/chunk-QE3ZFSJK.js +55 -0
- package/dist/chunk-QE3ZFSJK.js.map +1 -0
- package/dist/chunk-QG3PLYK6.js +53 -0
- package/dist/chunk-QG3PLYK6.js.map +1 -0
- package/dist/chunk-QLV4RQVQ.cjs +230 -0
- package/dist/chunk-QLV4RQVQ.cjs.map +1 -0
- package/dist/chunk-QU32POS4.js +150 -0
- package/dist/chunk-QU32POS4.js.map +1 -0
- package/dist/{chunk-C3YKGPQM.cjs → chunk-REDX5DCT.cjs} +34 -27
- package/dist/chunk-REDX5DCT.cjs.map +1 -0
- package/dist/{chunk-CNAMOK3Z.cjs → chunk-RH3CQOEI.cjs} +4 -4
- package/dist/{chunk-CNAMOK3Z.cjs.map → chunk-RH3CQOEI.cjs.map} +1 -1
- package/dist/chunk-RQRA5CCA.js +1 -0
- package/dist/chunk-SA7NMDD5.cjs +53 -0
- package/dist/chunk-SA7NMDD5.cjs.map +1 -0
- package/dist/{chunk-WI4WQGF6.cjs → chunk-SJN37JUC.cjs} +57 -42
- package/dist/chunk-SJN37JUC.cjs.map +1 -0
- package/dist/chunk-SOQFBVCQ.cjs +73 -0
- package/dist/chunk-SOQFBVCQ.cjs.map +1 -0
- package/dist/chunk-SZE2JS36.cjs +55 -0
- package/dist/chunk-SZE2JS36.cjs.map +1 -0
- package/dist/chunk-SZMS46F5.js +124 -0
- package/dist/chunk-SZMS46F5.js.map +1 -0
- package/dist/chunk-T2E5XT7P.js +1 -0
- package/dist/{chunk-CISRE6BC.cjs → chunk-T3NVC7UU.cjs} +6 -6
- package/dist/{chunk-CISRE6BC.cjs.map → chunk-T3NVC7UU.cjs.map} +1 -1
- package/dist/{chunk-VAF6PKVY.js → chunk-TG2IDU3W.js} +2 -2
- package/dist/{chunk-SZUMMROW.js → chunk-TNIRKGXY.js} +22 -8
- package/dist/chunk-TNIRKGXY.js.map +1 -0
- package/dist/chunk-TPAVJN55.cjs +1 -0
- package/dist/chunk-TPAVJN55.cjs.map +1 -0
- package/dist/{chunk-IFEWF24B.js → chunk-TPD2GNR6.js} +3 -3
- package/dist/chunk-TPNCV7KA.js +1 -0
- package/dist/{chunk-PZWJQNCY.cjs → chunk-TYZIRV75.cjs} +19 -11
- package/dist/chunk-TYZIRV75.cjs.map +1 -0
- package/dist/chunk-U24PBXZA.cjs +130 -0
- package/dist/chunk-U24PBXZA.cjs.map +1 -0
- package/dist/chunk-U7SCEB34.js +181 -0
- package/dist/chunk-U7SCEB34.js.map +1 -0
- package/dist/{chunk-BGKYCKNM.cjs → chunk-UGQBOWHR.cjs} +6 -6
- package/dist/{chunk-BGKYCKNM.cjs.map → chunk-UGQBOWHR.cjs.map} +1 -1
- package/dist/{chunk-BS3UEJ5G.js → chunk-UV4Q3LRC.js} +28 -16
- package/dist/chunk-UV4Q3LRC.js.map +1 -0
- package/dist/chunk-VB5VOUED.js +1 -0
- package/dist/{chunk-M5ZXQ2QS.js → chunk-VEFRVKSA.js} +60 -18
- package/dist/chunk-VEFRVKSA.js.map +1 -0
- package/dist/chunk-VISVU5LS.js +41 -0
- package/dist/chunk-VISVU5LS.js.map +1 -0
- package/dist/{chunk-MQN6A3CE.js → chunk-VJV3K53D.js} +17 -9
- package/dist/chunk-VJV3K53D.js.map +1 -0
- package/dist/chunk-VMR4KVFM.cjs +1 -0
- package/dist/chunk-VMR4KVFM.cjs.map +1 -0
- package/dist/{chunk-JWUYPAFC.cjs → chunk-VN2YHNUE.cjs} +43 -23
- package/dist/chunk-VN2YHNUE.cjs.map +1 -0
- package/dist/{chunk-GVND3JE3.js → chunk-VRPFA4CN.js} +2 -2
- package/dist/chunk-VYP5GX57.cjs +167 -0
- package/dist/chunk-VYP5GX57.cjs.map +1 -0
- package/dist/{chunk-DEC2WM3G.js → chunk-WGCK6KKL.js} +36 -10
- package/dist/chunk-WGCK6KKL.js.map +1 -0
- package/dist/{chunk-66EVFQVL.js → chunk-WHKNCDTX.js} +3 -3
- package/dist/{chunk-MGZO7MBN.cjs → chunk-WOTSK33U.cjs} +23 -5
- package/dist/chunk-WOTSK33U.cjs.map +1 -0
- package/dist/{chunk-BTP7G7WR.js → chunk-WRCHASO2.js} +5 -5
- package/dist/chunk-WRCHASO2.js.map +1 -0
- package/dist/{chunk-FI65HI2H.js → chunk-WRUVDZRI.js} +49 -22
- package/dist/chunk-WRUVDZRI.js.map +1 -0
- package/dist/chunk-WUSHGDHJ.cjs +1 -0
- package/dist/chunk-WUSHGDHJ.cjs.map +1 -0
- package/dist/{chunk-XCR3TPXT.js → chunk-XB6YHZAG.js} +70 -27
- package/dist/chunk-XB6YHZAG.js.map +1 -0
- package/dist/{chunk-AV6BIQQA.js → chunk-Y2E2RLBI.js} +14 -4
- package/dist/chunk-Y2E2RLBI.js.map +1 -0
- package/dist/chunk-YCIZERNO.cjs +150 -0
- package/dist/chunk-YCIZERNO.cjs.map +1 -0
- package/dist/chunk-YD2UW3PB.js +1 -0
- package/dist/chunk-YOKOPO2W.cjs +181 -0
- package/dist/chunk-YOKOPO2W.cjs.map +1 -0
- package/dist/chunk-YS2JJ73M.cjs +1113 -0
- package/dist/chunk-YS2JJ73M.cjs.map +1 -0
- package/dist/chunk-YS3BV5KJ.cjs +41 -0
- package/dist/chunk-YS3BV5KJ.cjs.map +1 -0
- package/dist/chunk-YUW5S2BZ.cjs +1 -0
- package/dist/chunk-YUW5S2BZ.cjs.map +1 -0
- package/dist/chunk-Z2LJBEIV.cjs +149 -0
- package/dist/chunk-Z2LJBEIV.cjs.map +1 -0
- package/dist/{chunk-TTHWYBQB.cjs → chunk-Z6YQH5SZ.cjs} +11 -3
- package/dist/chunk-Z6YQH5SZ.cjs.map +1 -0
- package/dist/chunk-Z6ZCVVNU.js +86 -0
- package/dist/chunk-Z6ZCVVNU.js.map +1 -0
- package/dist/{chunk-JOJ23OD4.js → chunk-ZNDJS2W7.js} +36 -11
- package/dist/chunk-ZNDJS2W7.js.map +1 -0
- package/dist/chunk-ZNUMOJOI.cjs +1 -0
- package/dist/chunk-ZNUMOJOI.cjs.map +1 -0
- package/dist/chunk-ZYPPXGI7.cjs +1 -0
- package/dist/chunk-ZYPPXGI7.cjs.map +1 -0
- package/dist/components/Accordion/Accordion.cjs +3 -3
- package/dist/components/Accordion/Accordion.js +2 -2
- package/dist/components/Accordion/index.cjs +3 -3
- package/dist/components/Accordion/index.js +2 -2
- package/dist/components/Avatar/Avatar.cjs +2 -2
- package/dist/components/Avatar/Avatar.js +1 -1
- package/dist/components/Avatar/index.cjs +2 -2
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.cjs +5 -3
- package/dist/components/Breadcrumb/Breadcrumb.cjs.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +4 -2
- package/dist/components/Breadcrumb/index.cjs +5 -3
- package/dist/components/Breadcrumb/index.cjs.map +1 -1
- package/dist/components/Breadcrumb/index.js +4 -2
- package/dist/components/Button/Button.cjs +3 -3
- package/dist/components/Button/Button.js +2 -2
- package/dist/components/Button/index.cjs +3 -3
- package/dist/components/Button/index.js +2 -2
- package/dist/components/Card/Card.cjs +9 -2
- package/dist/components/Card/Card.cjs.map +1 -1
- package/dist/components/Card/Card.js +8 -1
- package/dist/components/Card/index.cjs +9 -2
- package/dist/components/Card/index.cjs.map +1 -1
- package/dist/components/Card/index.js +8 -1
- package/dist/components/Carousel/Carousel.cjs +26 -0
- package/dist/components/Carousel/Carousel.cjs.map +1 -0
- package/dist/components/Carousel/Carousel.js +26 -0
- package/dist/components/Carousel/index.cjs +26 -0
- package/dist/components/Carousel/index.cjs.map +1 -0
- package/dist/components/Carousel/index.js +26 -0
- package/dist/components/Charts/Charts.cjs +14 -0
- package/dist/components/Charts/Charts.cjs.map +1 -0
- package/dist/components/Charts/Charts.js +14 -0
- package/dist/components/Charts/index.cjs +14 -0
- package/dist/components/Charts/index.cjs.map +1 -0
- package/dist/components/Charts/index.js +14 -0
- package/dist/components/Charts/index.js.map +1 -0
- package/dist/components/Checkbox/Checkbox.cjs +4 -4
- package/dist/components/Checkbox/Checkbox.js +3 -3
- package/dist/components/Checkbox/index.cjs +4 -4
- package/dist/components/Checkbox/index.js +3 -3
- package/dist/components/Chip/Chip.cjs +11 -0
- package/dist/components/Chip/Chip.cjs.map +1 -0
- package/dist/components/Chip/Chip.js +11 -0
- package/dist/components/Chip/Chip.js.map +1 -0
- package/dist/components/Chip/index.cjs +11 -0
- package/dist/components/Chip/index.cjs.map +1 -0
- package/dist/components/Chip/index.js +11 -0
- package/dist/components/Chip/index.js.map +1 -0
- package/dist/components/CodeSnippet/CodeSnippet.cjs +15 -0
- package/dist/components/CodeSnippet/CodeSnippet.cjs.map +1 -0
- package/dist/components/CodeSnippet/CodeSnippet.js +15 -0
- package/dist/components/CodeSnippet/CodeSnippet.js.map +1 -0
- package/dist/components/CodeSnippet/index.cjs +15 -0
- package/dist/components/CodeSnippet/index.cjs.map +1 -0
- package/dist/components/CodeSnippet/index.js +15 -0
- package/dist/components/CodeSnippet/index.js.map +1 -0
- package/dist/components/Command/Command.cjs +3 -3
- package/dist/components/Command/Command.js +2 -2
- package/dist/components/Command/index.cjs +3 -3
- package/dist/components/Command/index.js +2 -2
- package/dist/components/ContentSwitcher/ContentSwitcher.cjs +13 -0
- package/dist/components/ContentSwitcher/ContentSwitcher.cjs.map +1 -0
- package/dist/components/ContentSwitcher/ContentSwitcher.js +13 -0
- package/dist/components/ContentSwitcher/ContentSwitcher.js.map +1 -0
- package/dist/components/ContentSwitcher/index.cjs +13 -0
- package/dist/components/ContentSwitcher/index.cjs.map +1 -0
- package/dist/components/ContentSwitcher/index.js +13 -0
- package/dist/components/ContentSwitcher/index.js.map +1 -0
- package/dist/components/DatePicker/DatePicker.cjs +4 -4
- package/dist/components/DatePicker/DatePicker.js +3 -3
- package/dist/components/DatePicker/index.cjs +4 -4
- package/dist/components/DatePicker/index.js +3 -3
- package/dist/components/DateRangePicker/DateRangePicker.cjs +4 -4
- package/dist/components/DateRangePicker/DateRangePicker.js +3 -3
- package/dist/components/DateRangePicker/index.cjs +4 -4
- package/dist/components/DateRangePicker/index.js +3 -3
- package/dist/components/DigitalStamp/DigitalStamp.cjs +12 -0
- package/dist/components/DigitalStamp/DigitalStamp.cjs.map +1 -0
- package/dist/components/DigitalStamp/DigitalStamp.js +12 -0
- package/dist/components/DigitalStamp/DigitalStamp.js.map +1 -0
- package/dist/components/DigitalStamp/index.cjs +12 -0
- package/dist/components/DigitalStamp/index.cjs.map +1 -0
- package/dist/components/DigitalStamp/index.js +12 -0
- package/dist/components/DigitalStamp/index.js.map +1 -0
- package/dist/components/Divider/Divider.cjs +2 -2
- package/dist/components/Divider/Divider.js +1 -1
- package/dist/components/Divider/index.cjs +2 -2
- package/dist/components/Divider/index.js +1 -1
- package/dist/components/Drawer/Drawer.cjs +3 -3
- package/dist/components/Drawer/Drawer.js +2 -2
- package/dist/components/Drawer/index.cjs +3 -3
- package/dist/components/Drawer/index.js +2 -2
- package/dist/components/Dropdown/Dropdown.cjs +22 -0
- package/dist/components/Dropdown/Dropdown.cjs.map +1 -0
- package/dist/components/Dropdown/Dropdown.js +22 -0
- package/dist/components/Dropdown/Dropdown.js.map +1 -0
- package/dist/components/Dropdown/index.cjs +22 -0
- package/dist/components/Dropdown/index.cjs.map +1 -0
- package/dist/components/Dropdown/index.js +22 -0
- package/dist/components/Dropdown/index.js.map +1 -0
- package/dist/components/DropdownMenu/DropdownMenu.cjs +3 -3
- package/dist/components/DropdownMenu/DropdownMenu.js +2 -2
- package/dist/components/DropdownMenu/index.cjs +3 -3
- package/dist/components/DropdownMenu/index.js +2 -2
- package/dist/components/EmptyState/EmptyState.cjs +3 -3
- package/dist/components/EmptyState/EmptyState.js +2 -2
- package/dist/components/EmptyState/index.cjs +3 -3
- package/dist/components/EmptyState/index.js +2 -2
- package/dist/components/FileUpload/FileUpload.cjs +6 -8
- package/dist/components/FileUpload/FileUpload.cjs.map +1 -1
- package/dist/components/FileUpload/FileUpload.js +5 -7
- package/dist/components/FileUpload/index.cjs +6 -8
- package/dist/components/FileUpload/index.cjs.map +1 -1
- package/dist/components/FileUpload/index.js +5 -7
- package/dist/components/Filtration/Filtration.cjs +44 -0
- package/dist/components/Filtration/Filtration.cjs.map +1 -0
- package/dist/components/Filtration/Filtration.js +44 -0
- package/dist/components/Filtration/Filtration.js.map +1 -0
- package/dist/components/Filtration/index.cjs +44 -0
- package/dist/components/Filtration/index.cjs.map +1 -0
- package/dist/components/Filtration/index.js +44 -0
- package/dist/components/Filtration/index.js.map +1 -0
- package/dist/components/FloatingButton/FloatingButton.cjs +11 -0
- package/dist/components/FloatingButton/FloatingButton.cjs.map +1 -0
- package/dist/components/FloatingButton/FloatingButton.js +11 -0
- package/dist/components/FloatingButton/FloatingButton.js.map +1 -0
- package/dist/components/FloatingButton/index.cjs +11 -0
- package/dist/components/FloatingButton/index.cjs.map +1 -0
- package/dist/components/FloatingButton/index.js +11 -0
- package/dist/components/FloatingButton/index.js.map +1 -0
- package/dist/components/InlineAlert/InlineAlert.cjs +14 -0
- package/dist/components/InlineAlert/InlineAlert.cjs.map +1 -0
- package/dist/components/InlineAlert/InlineAlert.js +14 -0
- package/dist/components/InlineAlert/InlineAlert.js.map +1 -0
- package/dist/components/InlineAlert/index.cjs +14 -0
- package/dist/components/InlineAlert/index.cjs.map +1 -0
- package/dist/components/InlineAlert/index.js +14 -0
- package/dist/components/InlineAlert/index.js.map +1 -0
- package/dist/components/InputOTP/InputOTP.cjs +3 -3
- package/dist/components/InputOTP/InputOTP.js +2 -2
- package/dist/components/InputOTP/index.cjs +3 -3
- package/dist/components/InputOTP/index.js +2 -2
- package/dist/components/Link/Link.cjs +3 -3
- package/dist/components/Link/Link.js +2 -2
- package/dist/components/Link/index.cjs +3 -3
- package/dist/components/Link/index.js +2 -2
- package/dist/components/List/List.cjs +2 -8
- package/dist/components/List/List.cjs.map +1 -1
- package/dist/components/List/List.js +1 -7
- package/dist/components/List/index.cjs +2 -8
- package/dist/components/List/index.cjs.map +1 -1
- package/dist/components/List/index.js +1 -7
- package/dist/components/Menubar/Menubar.cjs +3 -3
- package/dist/components/Menubar/Menubar.js +2 -2
- package/dist/components/Menubar/index.cjs +3 -3
- package/dist/components/Menubar/index.js +2 -2
- package/dist/components/Metric/Metric.cjs +16 -0
- package/dist/components/Metric/Metric.cjs.map +1 -0
- package/dist/components/Metric/Metric.js +16 -0
- package/dist/components/Metric/Metric.js.map +1 -0
- package/dist/components/Metric/MetricGroup.cjs +11 -0
- package/dist/components/Metric/MetricGroup.cjs.map +1 -0
- package/dist/components/Metric/MetricGroup.js +11 -0
- package/dist/components/Metric/MetricGroup.js.map +1 -0
- package/dist/components/Metric/index.cjs +22 -0
- package/dist/components/Metric/index.cjs.map +1 -0
- package/dist/components/Metric/index.js +22 -0
- package/dist/components/Metric/index.js.map +1 -0
- package/dist/components/Modal/Modal.cjs +3 -3
- package/dist/components/Modal/Modal.js +2 -2
- package/dist/components/Modal/index.cjs +3 -3
- package/dist/components/Modal/index.js +2 -2
- package/dist/components/Notification/Notification.cjs +12 -0
- package/dist/components/Notification/Notification.cjs.map +1 -0
- package/dist/components/Notification/Notification.js +12 -0
- package/dist/components/Notification/Notification.js.map +1 -0
- package/dist/components/Notification/index.cjs +12 -0
- package/dist/components/Notification/index.cjs.map +1 -0
- package/dist/components/Notification/index.js +12 -0
- package/dist/components/Notification/index.js.map +1 -0
- package/dist/components/NotificationToast/NotificationToast.cjs +24 -0
- package/dist/components/NotificationToast/NotificationToast.cjs.map +1 -0
- package/dist/components/NotificationToast/NotificationToast.js +24 -0
- package/dist/components/NotificationToast/NotificationToast.js.map +1 -0
- package/dist/components/NotificationToast/index.cjs +24 -0
- package/dist/components/NotificationToast/index.cjs.map +1 -0
- package/dist/components/NotificationToast/index.js +24 -0
- package/dist/components/NotificationToast/index.js.map +1 -0
- package/dist/components/NotificationToast/toast-store.cjs +14 -0
- package/dist/components/NotificationToast/toast-store.cjs.map +1 -0
- package/dist/components/{Toast → NotificationToast}/toast-store.js +1 -1
- package/dist/components/NotificationToast/toast-store.js.map +1 -0
- package/dist/components/NumberInput/NumberInput.cjs +4 -4
- package/dist/components/NumberInput/NumberInput.js +3 -3
- package/dist/components/NumberInput/index.cjs +4 -4
- package/dist/components/NumberInput/index.js +3 -3
- package/dist/components/Pagination/Pagination.cjs +6 -3
- package/dist/components/Pagination/Pagination.cjs.map +1 -1
- package/dist/components/Pagination/Pagination.js +5 -2
- package/dist/components/Pagination/index.cjs +7 -4
- package/dist/components/Pagination/index.cjs.map +1 -1
- package/dist/components/Pagination/index.js +8 -5
- package/dist/components/Popover/Popover.cjs +3 -3
- package/dist/components/Popover/Popover.js +2 -2
- package/dist/components/Popover/index.cjs +3 -3
- package/dist/components/Popover/index.js +2 -2
- package/dist/components/Progress/Progress.cjs +3 -2
- package/dist/components/Progress/Progress.cjs.map +1 -1
- package/dist/components/Progress/Progress.js +2 -1
- package/dist/components/Progress/index.cjs +3 -2
- package/dist/components/Progress/index.cjs.map +1 -1
- package/dist/components/Progress/index.js +2 -1
- package/dist/components/ProgressIndicator/ProgressIndicator.cjs +24 -0
- package/dist/components/ProgressIndicator/ProgressIndicator.cjs.map +1 -0
- package/dist/components/ProgressIndicator/ProgressIndicator.js +24 -0
- package/dist/components/ProgressIndicator/ProgressIndicator.js.map +1 -0
- package/dist/components/ProgressIndicator/index.cjs +24 -0
- package/dist/components/ProgressIndicator/index.cjs.map +1 -0
- package/dist/components/ProgressIndicator/index.js +24 -0
- package/dist/components/ProgressIndicator/index.js.map +1 -0
- package/dist/components/Quote/Quote.cjs +2 -11
- package/dist/components/Quote/Quote.cjs.map +1 -1
- package/dist/components/Quote/Quote.js +1 -10
- package/dist/components/Quote/index.cjs +2 -11
- package/dist/components/Quote/index.cjs.map +1 -1
- package/dist/components/Quote/index.js +1 -10
- package/dist/components/Radio/Radio.cjs +3 -3
- package/dist/components/Radio/Radio.js +2 -2
- package/dist/components/Radio/index.cjs +3 -3
- package/dist/components/Radio/index.js +2 -2
- package/dist/components/Rating/Rating.cjs +4 -4
- package/dist/components/Rating/Rating.js +3 -3
- package/dist/components/Rating/index.cjs +4 -4
- package/dist/components/Rating/index.js +3 -3
- package/dist/components/SaudiRiyal/SaudiRiyal.cjs +16 -0
- package/dist/components/SaudiRiyal/SaudiRiyal.cjs.map +1 -0
- package/dist/components/SaudiRiyal/SaudiRiyal.js +16 -0
- package/dist/components/SaudiRiyal/SaudiRiyal.js.map +1 -0
- package/dist/components/SaudiRiyal/index.cjs +16 -0
- package/dist/components/SaudiRiyal/index.cjs.map +1 -0
- package/dist/components/SaudiRiyal/index.js +16 -0
- package/dist/components/SaudiRiyal/index.js.map +1 -0
- package/dist/components/SearchBox/SearchBox.cjs +8 -8
- package/dist/components/SearchBox/SearchBox.js +7 -7
- package/dist/components/SearchBox/index.cjs +8 -8
- package/dist/components/SearchBox/index.js +7 -7
- package/dist/components/Select/Select.cjs +4 -4
- package/dist/components/Select/Select.js +3 -3
- package/dist/components/Select/index.cjs +4 -4
- package/dist/components/Select/index.js +3 -3
- package/dist/components/Sidebar/Sidebar.cjs +4 -4
- package/dist/components/Sidebar/Sidebar.js +3 -3
- package/dist/components/Sidebar/SidebarMenu.cjs +4 -4
- package/dist/components/Sidebar/SidebarMenu.js +3 -3
- package/dist/components/Sidebar/index.cjs +7 -7
- package/dist/components/Sidebar/index.js +6 -6
- package/dist/components/Skeleton/Skeleton.cjs +2 -2
- package/dist/components/Skeleton/Skeleton.js +1 -1
- package/dist/components/Skeleton/index.cjs +2 -2
- package/dist/components/Skeleton/index.js +1 -1
- package/dist/components/SlideoutMenu/SlideoutMenu.cjs +35 -0
- package/dist/components/SlideoutMenu/SlideoutMenu.cjs.map +1 -0
- package/dist/components/SlideoutMenu/SlideoutMenu.js +35 -0
- package/dist/components/SlideoutMenu/SlideoutMenu.js.map +1 -0
- package/dist/components/SlideoutMenu/index.cjs +35 -0
- package/dist/components/SlideoutMenu/index.cjs.map +1 -0
- package/dist/components/SlideoutMenu/index.js +35 -0
- package/dist/components/SlideoutMenu/index.js.map +1 -0
- package/dist/components/Slider/Slider.cjs +3 -3
- package/dist/components/Slider/Slider.js +2 -2
- package/dist/components/Slider/index.cjs +3 -3
- package/dist/components/Slider/index.js +2 -2
- package/dist/components/Spinner/Spinner.cjs +2 -2
- package/dist/components/Spinner/Spinner.js +1 -1
- package/dist/components/Spinner/index.cjs +2 -2
- package/dist/components/Spinner/index.js +1 -1
- package/dist/components/StatusTag/StatusTag.cjs +11 -0
- package/dist/components/StatusTag/StatusTag.cjs.map +1 -0
- package/dist/components/StatusTag/StatusTag.js +11 -0
- package/dist/components/StatusTag/StatusTag.js.map +1 -0
- package/dist/components/StatusTag/index.cjs +11 -0
- package/dist/components/StatusTag/index.cjs.map +1 -0
- package/dist/components/StatusTag/index.js +11 -0
- package/dist/components/StatusTag/index.js.map +1 -0
- package/dist/components/StructuredList/StructuredList.cjs +27 -0
- package/dist/components/StructuredList/StructuredList.cjs.map +1 -0
- package/dist/components/StructuredList/StructuredList.js +27 -0
- package/dist/components/StructuredList/StructuredList.js.map +1 -0
- package/dist/components/StructuredList/index.cjs +27 -0
- package/dist/components/StructuredList/index.cjs.map +1 -0
- package/dist/components/StructuredList/index.js +27 -0
- package/dist/components/StructuredList/index.js.map +1 -0
- package/dist/components/Switch/Switch.cjs +3 -3
- package/dist/components/Switch/Switch.js +2 -2
- package/dist/components/Switch/index.cjs +3 -3
- package/dist/components/Switch/index.js +2 -2
- package/dist/components/Table/Table.cjs +3 -3
- package/dist/components/Table/Table.js +2 -2
- package/dist/components/Table/index.cjs +3 -3
- package/dist/components/Table/index.js +2 -2
- package/dist/components/Tabs/Tabs.cjs +5 -2
- package/dist/components/Tabs/Tabs.cjs.map +1 -1
- package/dist/components/Tabs/Tabs.js +4 -1
- package/dist/components/Tabs/index.cjs +5 -2
- package/dist/components/Tabs/index.cjs.map +1 -1
- package/dist/components/Tabs/index.js +4 -1
- package/dist/components/Tag/Tag.cjs +12 -0
- package/dist/components/Tag/Tag.cjs.map +1 -0
- package/dist/components/Tag/Tag.js +12 -0
- package/dist/components/Tag/Tag.js.map +1 -0
- package/dist/components/Tag/index.cjs +12 -0
- package/dist/components/Tag/index.cjs.map +1 -0
- package/dist/components/Tag/index.js +12 -0
- package/dist/components/Tag/index.js.map +1 -0
- package/dist/components/TagInput/TagInput.cjs +6 -6
- package/dist/components/TagInput/TagInput.js +5 -5
- package/dist/components/TagInput/index.cjs +6 -6
- package/dist/components/TagInput/index.js +5 -5
- package/dist/components/TextInput/TextInput.cjs +19 -0
- package/dist/components/TextInput/TextInput.cjs.map +1 -0
- package/dist/components/TextInput/TextInput.js +19 -0
- package/dist/components/TextInput/TextInput.js.map +1 -0
- package/dist/components/TextInput/index.cjs +19 -0
- package/dist/components/TextInput/index.cjs.map +1 -0
- package/dist/components/TextInput/index.js +19 -0
- package/dist/components/TextInput/index.js.map +1 -0
- package/dist/components/Textarea/Textarea.cjs +4 -3
- package/dist/components/Textarea/Textarea.cjs.map +1 -1
- package/dist/components/Textarea/Textarea.js +3 -2
- package/dist/components/Textarea/index.cjs +4 -3
- package/dist/components/Textarea/index.cjs.map +1 -1
- package/dist/components/Textarea/index.js +3 -2
- package/dist/components/Timeline/Timeline.cjs +2 -2
- package/dist/components/Timeline/Timeline.js +1 -1
- package/dist/components/Timeline/index.cjs +2 -2
- package/dist/components/Timeline/index.js +1 -1
- package/dist/components/Toggle/Toggle.cjs +2 -8
- package/dist/components/Toggle/Toggle.cjs.map +1 -1
- package/dist/components/Toggle/Toggle.js +1 -7
- package/dist/components/Toggle/index.cjs +2 -8
- package/dist/components/Toggle/index.cjs.map +1 -1
- package/dist/components/Toggle/index.js +1 -7
- package/dist/components/Tooltip/Tooltip.cjs +4 -2
- package/dist/components/Tooltip/Tooltip.cjs.map +1 -1
- package/dist/components/Tooltip/Tooltip.js +3 -1
- package/dist/components/Tooltip/index.cjs +4 -2
- package/dist/components/Tooltip/index.cjs.map +1 -1
- package/dist/components/Tooltip/index.js +3 -1
- package/dist/field/FieldMessage.cjs +2 -2
- package/dist/field/FieldMessage.js +1 -1
- package/dist/field/index.cjs +2 -2
- package/dist/field/index.js +1 -1
- package/dist/index.cjs +249 -102
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1024 -407
- package/dist/index.d.ts +1024 -407
- package/dist/index.js +434 -287
- package/dist/internal/calendar/calendar-core.cjs +5 -3
- package/dist/internal/calendar/calendar-core.cjs.map +1 -1
- package/dist/internal/calendar/calendar-core.js +6 -4
- package/dist/internal/calendar/index.cjs +5 -3
- package/dist/internal/calendar/index.cjs.map +1 -1
- package/dist/internal/calendar/index.js +6 -4
- package/dist/internal/icons/index.cjs +62 -2
- package/dist/internal/icons/index.cjs.map +1 -1
- package/dist/internal/icons/index.js +63 -3
- package/package.json +3 -3
- package/dist/chunk-23C5MSXZ.cjs +0 -86
- package/dist/chunk-23C5MSXZ.cjs.map +0 -1
- package/dist/chunk-4A7BAISU.js.map +0 -1
- package/dist/chunk-4RU33BRQ.js.map +0 -1
- package/dist/chunk-4T6QBG46.cjs.map +0 -1
- package/dist/chunk-4U5TTO6E.cjs.map +0 -1
- package/dist/chunk-5EUEJU47.js.map +0 -1
- package/dist/chunk-5MQV6PLC.js +0 -1
- package/dist/chunk-5QC5N3OO.js +0 -77
- package/dist/chunk-5QC5N3OO.js.map +0 -1
- package/dist/chunk-6BZMLKCU.cjs.map +0 -1
- package/dist/chunk-6DN3JE3P.js +0 -271
- package/dist/chunk-6DN3JE3P.js.map +0 -1
- package/dist/chunk-6ELYUHB6.js +0 -45
- package/dist/chunk-6ELYUHB6.js.map +0 -1
- package/dist/chunk-6NZXWKUE.js +0 -1
- package/dist/chunk-7QCXGMBX.js +0 -1
- package/dist/chunk-A6RVSF5V.cjs +0 -77
- package/dist/chunk-A6RVSF5V.cjs.map +0 -1
- package/dist/chunk-AM2OVOQV.cjs +0 -45
- package/dist/chunk-AM2OVOQV.cjs.map +0 -1
- package/dist/chunk-AV6BIQQA.js.map +0 -1
- package/dist/chunk-AYIS62JR.cjs.map +0 -1
- package/dist/chunk-BBGCS5PZ.cjs.map +0 -1
- package/dist/chunk-BGS3MCQZ.cjs.map +0 -1
- package/dist/chunk-BJ3CUFXY.cjs +0 -123
- package/dist/chunk-BJ3CUFXY.cjs.map +0 -1
- package/dist/chunk-BS3UEJ5G.js.map +0 -1
- package/dist/chunk-BS4PX23P.js +0 -102
- package/dist/chunk-BS4PX23P.js.map +0 -1
- package/dist/chunk-BTP7G7WR.js.map +0 -1
- package/dist/chunk-C3YKGPQM.cjs.map +0 -1
- package/dist/chunk-CBCUQUHI.cjs.map +0 -1
- package/dist/chunk-CDS4SYEQ.js +0 -456
- package/dist/chunk-CDS4SYEQ.js.map +0 -1
- package/dist/chunk-CVQFSXRR.cjs +0 -271
- package/dist/chunk-CVQFSXRR.cjs.map +0 -1
- package/dist/chunk-D4ZUV7FD.cjs.map +0 -1
- package/dist/chunk-DEC2WM3G.js.map +0 -1
- package/dist/chunk-DKRLAJZE.js +0 -45
- package/dist/chunk-DKRLAJZE.js.map +0 -1
- package/dist/chunk-DMWYQSO4.cjs +0 -100
- package/dist/chunk-DMWYQSO4.cjs.map +0 -1
- package/dist/chunk-DXY5JEC4.js +0 -137
- package/dist/chunk-DXY5JEC4.js.map +0 -1
- package/dist/chunk-E7WQI7PE.js +0 -19
- package/dist/chunk-E7WQI7PE.js.map +0 -1
- package/dist/chunk-EJHBW4AK.js +0 -100
- package/dist/chunk-EJHBW4AK.js.map +0 -1
- package/dist/chunk-EM55NWUF.js.map +0 -1
- package/dist/chunk-FEUMA5IS.cjs +0 -102
- package/dist/chunk-FEUMA5IS.cjs.map +0 -1
- package/dist/chunk-FI65HI2H.js.map +0 -1
- package/dist/chunk-G3M3XYMI.cjs +0 -1
- package/dist/chunk-GLWMKKLR.cjs +0 -109
- package/dist/chunk-GLWMKKLR.cjs.map +0 -1
- package/dist/chunk-GMBIFJOA.cjs.map +0 -1
- package/dist/chunk-GNL72FRN.js +0 -224
- package/dist/chunk-GNL72FRN.js.map +0 -1
- package/dist/chunk-I44YNYI6.cjs +0 -1
- package/dist/chunk-I6BOBHO6.cjs.map +0 -1
- package/dist/chunk-IFB53HNO.js +0 -61
- package/dist/chunk-IFB53HNO.js.map +0 -1
- package/dist/chunk-IKWD2OEN.cjs +0 -456
- package/dist/chunk-IKWD2OEN.cjs.map +0 -1
- package/dist/chunk-IQ4KQJAO.js +0 -1
- package/dist/chunk-ISUDUZEG.cjs +0 -1
- package/dist/chunk-IUEAUTR7.cjs +0 -1
- package/dist/chunk-JOJ23OD4.js.map +0 -1
- package/dist/chunk-JWUYPAFC.cjs.map +0 -1
- package/dist/chunk-K5P2VY5J.cjs +0 -140
- package/dist/chunk-K5P2VY5J.cjs.map +0 -1
- package/dist/chunk-KO5F344T.cjs +0 -1
- package/dist/chunk-KO5F344T.cjs.map +0 -1
- package/dist/chunk-KRIWNW4A.cjs +0 -131
- package/dist/chunk-KRIWNW4A.cjs.map +0 -1
- package/dist/chunk-KXO72WTH.js +0 -1
- package/dist/chunk-LDDAQLH6.js +0 -140
- package/dist/chunk-LDDAQLH6.js.map +0 -1
- package/dist/chunk-LG2IADSZ.cjs +0 -61
- package/dist/chunk-LG2IADSZ.cjs.map +0 -1
- package/dist/chunk-LQ4PCHBP.js +0 -109
- package/dist/chunk-LQ4PCHBP.js.map +0 -1
- package/dist/chunk-M5ZXQ2QS.js.map +0 -1
- package/dist/chunk-MCHL23CE.js.map +0 -1
- package/dist/chunk-MGZO7MBN.cjs.map +0 -1
- package/dist/chunk-MQN6A3CE.js.map +0 -1
- package/dist/chunk-N4FHLSNV.cjs +0 -19
- package/dist/chunk-N4FHLSNV.cjs.map +0 -1
- package/dist/chunk-NDHMY3IR.js.map +0 -1
- package/dist/chunk-NJIMQWBC.js.map +0 -1
- package/dist/chunk-NQGCAXTW.cjs.map +0 -1
- package/dist/chunk-NU3WUSG7.cjs +0 -189
- package/dist/chunk-NU3WUSG7.cjs.map +0 -1
- package/dist/chunk-O74TNSJD.cjs +0 -101
- package/dist/chunk-O74TNSJD.cjs.map +0 -1
- package/dist/chunk-OGZKNZS6.cjs +0 -111
- package/dist/chunk-OGZKNZS6.cjs.map +0 -1
- package/dist/chunk-OSUT5FH5.js +0 -1
- package/dist/chunk-P2JM7CUD.cjs.map +0 -1
- package/dist/chunk-P2K47B56.js +0 -116
- package/dist/chunk-P2K47B56.js.map +0 -1
- package/dist/chunk-PQJ5IGRQ.js +0 -123
- package/dist/chunk-PQJ5IGRQ.js.map +0 -1
- package/dist/chunk-PZWJQNCY.cjs.map +0 -1
- package/dist/chunk-QFHAVVXT.js +0 -86
- package/dist/chunk-QFHAVVXT.js.map +0 -1
- package/dist/chunk-QGK2KYQS.js.map +0 -1
- package/dist/chunk-RCR5CRZ5.js +0 -1
- package/dist/chunk-RNOXGWKQ.cjs.map +0 -1
- package/dist/chunk-RSXDPFXK.js +0 -189
- package/dist/chunk-RSXDPFXK.js.map +0 -1
- package/dist/chunk-RZEJPDIW.js.map +0 -1
- package/dist/chunk-STJDMXL7.cjs +0 -116
- package/dist/chunk-STJDMXL7.cjs.map +0 -1
- package/dist/chunk-SZUMMROW.js.map +0 -1
- package/dist/chunk-TLD67NXQ.js +0 -101
- package/dist/chunk-TLD67NXQ.js.map +0 -1
- package/dist/chunk-TM3FOGLK.cjs.map +0 -1
- package/dist/chunk-TT2DEREM.js.map +0 -1
- package/dist/chunk-TTHWYBQB.cjs.map +0 -1
- package/dist/chunk-UK2SFZIQ.cjs.map +0 -1
- package/dist/chunk-UPIDCMZI.cjs.map +0 -1
- package/dist/chunk-URC4A3GE.cjs +0 -118
- package/dist/chunk-URC4A3GE.cjs.map +0 -1
- package/dist/chunk-UXGJ6NTD.js +0 -118
- package/dist/chunk-UXGJ6NTD.js.map +0 -1
- package/dist/chunk-VBWRH4UW.cjs +0 -1
- package/dist/chunk-VBWRH4UW.cjs.map +0 -1
- package/dist/chunk-VMAJ34DC.cjs +0 -224
- package/dist/chunk-VMAJ34DC.cjs.map +0 -1
- package/dist/chunk-VNITXANA.js.map +0 -1
- package/dist/chunk-VPTWF4AK.js +0 -111
- package/dist/chunk-VPTWF4AK.js.map +0 -1
- package/dist/chunk-VSC3A6VB.cjs.map +0 -1
- package/dist/chunk-WB5AEG5D.cjs.map +0 -1
- package/dist/chunk-WI4WQGF6.cjs.map +0 -1
- package/dist/chunk-WOJUO43J.js +0 -131
- package/dist/chunk-WOJUO43J.js.map +0 -1
- package/dist/chunk-XCR3TPXT.js.map +0 -1
- package/dist/chunk-Y5IWUJF7.js.map +0 -1
- package/dist/chunk-YKKDKR6Q.cjs +0 -1
- package/dist/chunk-YKKDKR6Q.cjs.map +0 -1
- package/dist/chunk-YVQOUGWG.cjs.map +0 -1
- package/dist/chunk-ZKYBLXU7.js.map +0 -1
- package/dist/components/Alert/Alert.cjs +0 -16
- package/dist/components/Alert/Alert.cjs.map +0 -1
- package/dist/components/Alert/Alert.js +0 -16
- package/dist/components/Alert/index.cjs +0 -16
- package/dist/components/Alert/index.cjs.map +0 -1
- package/dist/components/Alert/index.js +0 -16
- package/dist/components/Badge/Badge.cjs +0 -12
- package/dist/components/Badge/Badge.cjs.map +0 -1
- package/dist/components/Badge/Badge.js +0 -12
- package/dist/components/Badge/index.cjs +0 -12
- package/dist/components/Badge/index.cjs.map +0 -1
- package/dist/components/Badge/index.js +0 -12
- package/dist/components/Combobox/Combobox.cjs +0 -24
- package/dist/components/Combobox/Combobox.cjs.map +0 -1
- package/dist/components/Combobox/Combobox.js +0 -24
- package/dist/components/Combobox/index.cjs +0 -24
- package/dist/components/Combobox/index.cjs.map +0 -1
- package/dist/components/Combobox/index.js +0 -24
- package/dist/components/Input/Input.cjs +0 -14
- package/dist/components/Input/Input.cjs.map +0 -1
- package/dist/components/Input/Input.js +0 -14
- package/dist/components/Input/index.cjs +0 -14
- package/dist/components/Input/index.cjs.map +0 -1
- package/dist/components/Input/index.js +0 -14
- package/dist/components/Stat/Stat.cjs +0 -20
- package/dist/components/Stat/Stat.cjs.map +0 -1
- package/dist/components/Stat/Stat.js +0 -20
- package/dist/components/Stat/StatGroup.cjs +0 -11
- package/dist/components/Stat/StatGroup.cjs.map +0 -1
- package/dist/components/Stat/StatGroup.js +0 -11
- package/dist/components/Stat/index.cjs +0 -26
- package/dist/components/Stat/index.cjs.map +0 -1
- package/dist/components/Stat/index.js +0 -26
- package/dist/components/Steps/Steps.cjs +0 -22
- package/dist/components/Steps/Steps.cjs.map +0 -1
- package/dist/components/Steps/Steps.js +0 -22
- package/dist/components/Steps/index.cjs +0 -22
- package/dist/components/Steps/index.cjs.map +0 -1
- package/dist/components/Steps/index.js +0 -22
- package/dist/components/Toast/Toast.cjs +0 -24
- package/dist/components/Toast/Toast.cjs.map +0 -1
- package/dist/components/Toast/Toast.js +0 -24
- package/dist/components/Toast/index.cjs +0 -24
- package/dist/components/Toast/index.cjs.map +0 -1
- package/dist/components/Toast/index.js +0 -24
- package/dist/components/Toast/toast-store.cjs +0 -14
- package/dist/components/Toast/toast-store.cjs.map +0 -1
- /package/dist/{chunk-5MQV6PLC.js.map → chunk-2I7URBEK.js.map} +0 -0
- /package/dist/{chunk-6NZXWKUE.js.map → chunk-44S33DGQ.js.map} +0 -0
- /package/dist/{chunk-7QCXGMBX.js.map → chunk-4LHIVDAH.js.map} +0 -0
- /package/dist/{chunk-IQ4KQJAO.js.map → chunk-4WUUV44R.js.map} +0 -0
- /package/dist/{chunk-KXO72WTH.js.map → chunk-5DBKWVTZ.js.map} +0 -0
- /package/dist/{chunk-OSUT5FH5.js.map → chunk-7PSLMVCX.js.map} +0 -0
- /package/dist/{chunk-RCR5CRZ5.js.map → chunk-AMYFRY7K.js.map} +0 -0
- /package/dist/{chunk-PKJUCI7B.js.map → chunk-APD5WA65.js.map} +0 -0
- /package/dist/{components/Alert/Alert.js.map → chunk-AVHWS36I.js.map} +0 -0
- /package/dist/{chunk-SNLIKIJP.js.map → chunk-BP6BOEVE.js.map} +0 -0
- /package/dist/{components/Alert/index.js.map → chunk-CWUZ4SZN.js.map} +0 -0
- /package/dist/{components/Badge/Badge.js.map → chunk-F5YD6T5D.js.map} +0 -0
- /package/dist/{chunk-CGCO7RFO.js.map → chunk-FPXFD5XT.js.map} +0 -0
- /package/dist/{components/Badge/index.js.map → chunk-GIHJ4J47.js.map} +0 -0
- /package/dist/{components/Combobox/Combobox.js.map → chunk-H2HKUDBZ.js.map} +0 -0
- /package/dist/{chunk-3VOOMW6O.js.map → chunk-KDV7V5S4.js.map} +0 -0
- /package/dist/{components/Combobox/index.js.map → chunk-MKQBAQIH.js.map} +0 -0
- /package/dist/{components/Input/Input.js.map → chunk-MS6HASC6.js.map} +0 -0
- /package/dist/{chunk-HBAHWCBK.js.map → chunk-NKCBDSI2.js.map} +0 -0
- /package/dist/{components/Input/index.js.map → chunk-NVCOEKCU.js.map} +0 -0
- /package/dist/{components/Stat/Stat.js.map → chunk-RQRA5CCA.js.map} +0 -0
- /package/dist/{components/Stat/StatGroup.js.map → chunk-T2E5XT7P.js.map} +0 -0
- /package/dist/{chunk-VAF6PKVY.js.map → chunk-TG2IDU3W.js.map} +0 -0
- /package/dist/{chunk-IFEWF24B.js.map → chunk-TPD2GNR6.js.map} +0 -0
- /package/dist/{components/Stat/index.js.map → chunk-TPNCV7KA.js.map} +0 -0
- /package/dist/{components/Steps/Steps.js.map → chunk-VB5VOUED.js.map} +0 -0
- /package/dist/{chunk-GVND3JE3.js.map → chunk-VRPFA4CN.js.map} +0 -0
- /package/dist/{chunk-66EVFQVL.js.map → chunk-WHKNCDTX.js.map} +0 -0
- /package/dist/{components/Steps/index.js.map → chunk-YD2UW3PB.js.map} +0 -0
- /package/dist/components/{Toast/Toast.js.map → Carousel/Carousel.js.map} +0 -0
- /package/dist/components/{Toast → Carousel}/index.js.map +0 -0
- /package/dist/components/{Toast/toast-store.js.map → Charts/Charts.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -2,18 +2,17 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import { Checkbox as Checkbox$1, RadioGroup as RadioGroup$1, Switch as Switch$1, Select as Select$1, Avatar as Avatar$1, Tooltip as Tooltip$1, Dialog, Tabs as Tabs$1, Accordion as Accordion$1, Progress as Progress$1, DropdownMenu as DropdownMenu$1, Slider as Slider$1, Toggle as Toggle$1, ToggleGroup
|
|
5
|
+
import { Checkbox as Checkbox$1, RadioGroup as RadioGroup$1, Switch as Switch$1, Select as Select$1, Avatar as Avatar$1, Tooltip as Tooltip$1, Dialog, Tabs as Tabs$1, Accordion as Accordion$1, Progress as Progress$1, DropdownMenu as DropdownMenu$1, Slider as Slider$1, Toggle as Toggle$1, ToggleGroup, Popover as Popover$1, ScrollArea as ScrollArea$1, Menubar as Menubar$1, Collapsible as Collapsible$1 } from 'radix-ui';
|
|
6
6
|
import { Command as Command$1 } from 'cmdk';
|
|
7
7
|
import { DgaTheme } from '@dev-dga/tokens';
|
|
8
8
|
export { DgaTheme, PaletteName, ThemeColor } from '@dev-dga/tokens';
|
|
9
9
|
import { ClassValue } from 'clsx';
|
|
10
10
|
|
|
11
11
|
declare const buttonVariants: (props?: ({
|
|
12
|
-
variant?: "primary" | "secondary" | "outline" | "ghost" | "destructive" | "destructive-outline" | "destructive-subtle" | "destructive-ghost" | null | undefined;
|
|
13
|
-
size?: "sm" | "md" | "lg" | "icon" | "icon-sm" | null | undefined;
|
|
12
|
+
variant?: "primary" | "secondary" | "black" | "outline" | "ghost" | "destructive" | "destructive-outline" | "destructive-subtle" | "destructive-ghost" | null | undefined;
|
|
13
|
+
size?: "sm" | "md" | "lg" | "icon" | "icon-md" | "icon-sm" | "icon-xs" | null | undefined;
|
|
14
14
|
fullWidth?: boolean | null | undefined;
|
|
15
|
-
|
|
16
|
-
fab?: boolean | null | undefined;
|
|
15
|
+
onColor?: boolean | null | undefined;
|
|
17
16
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
17
|
interface ButtonProps extends React.ComponentProps<'button'>, VariantProps<typeof buttonVariants> {
|
|
19
18
|
loading?: boolean;
|
|
@@ -38,40 +37,65 @@ interface ButtonProps extends React.ComponentProps<'button'>, VariantProps<typeo
|
|
|
38
37
|
*/
|
|
39
38
|
asChild?: boolean;
|
|
40
39
|
}
|
|
41
|
-
declare function Button({ variant, size, fullWidth,
|
|
40
|
+
declare function Button({ variant, size, fullWidth, onColor, loading, disabled, startIcon, endIcon, iconFlip, asChild, className, children, type, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
42
41
|
|
|
43
|
-
declare const
|
|
44
|
-
size?: "
|
|
42
|
+
declare const textInputVariants: (props?: ({
|
|
43
|
+
size?: "md" | "lg" | null | undefined;
|
|
44
|
+
variant?: "default" | "filled-lighter" | "filled-darker" | null | undefined;
|
|
45
45
|
error?: boolean | null | undefined;
|
|
46
46
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
47
|
-
interface
|
|
47
|
+
interface TextInputProps extends Omit<React.ComponentProps<'input'>, 'size'>, VariantProps<typeof textInputVariants> {
|
|
48
48
|
/** Visible field label, auto-associated to the input via `htmlFor`/`id`. */
|
|
49
49
|
label?: ReactNode;
|
|
50
50
|
/** Hint shown below the field. Hidden while an error message is showing. */
|
|
51
51
|
helperText?: ReactNode;
|
|
52
|
+
helperIcon?: ReactNode;
|
|
52
53
|
/** Message shown below the field when `error` is true. */
|
|
53
54
|
errorMessage?: ReactNode;
|
|
54
55
|
/** Marks the field invalid: sets `aria-invalid` and error styling. */
|
|
55
56
|
error?: boolean;
|
|
56
57
|
/**
|
|
57
|
-
* Content rendered inside the field, before the input (icon
|
|
58
|
-
*
|
|
59
|
-
*
|
|
58
|
+
* Content rendered inside the field, before the input (icon, `TextInputAffix`,
|
|
59
|
+
* or short text). Not `aria-hidden` (may be interactive); mark
|
|
60
|
+
* purely-decorative icons `aria-hidden` yourself.
|
|
60
61
|
*/
|
|
61
62
|
startAdornment?: ReactNode;
|
|
62
63
|
/**
|
|
63
|
-
* Content rendered inside the field, after the input. Compose a clear
|
|
64
|
-
*
|
|
65
|
-
*
|
|
64
|
+
* Content rendered inside the field, after the input. Compose a clear button
|
|
65
|
+
* or password-reveal toggle here with `<Button size="icon-sm">`, the 28px
|
|
66
|
+
* in-field icon size that fits without overflow.
|
|
66
67
|
*/
|
|
67
68
|
endAdornment?: ReactNode;
|
|
68
69
|
}
|
|
69
|
-
declare function
|
|
70
|
+
declare function TextInput({ id: externalId, label, helperText, helperIcon, errorMessage, error, size, variant, required, startAdornment, endAdornment, className, ...props }: TextInputProps): react_jsx_runtime.JSX.Element;
|
|
71
|
+
interface TextInputAffixProps extends React.ComponentProps<'span'> {
|
|
72
|
+
/** `solid` = the SDGA gray prefix/suffix chip; `subtle` = borderless text. */
|
|
73
|
+
variant?: 'solid' | 'subtle';
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* The SDGA in-field prefix/suffix (e.g. `https://`, `SAR`, a unit). Drop it in
|
|
77
|
+
* `startAdornment` / `endAdornment` — it renders the flush, full-height chip.
|
|
78
|
+
*/
|
|
79
|
+
declare function TextInputAffix({ variant, className, children, ...props }: TextInputAffixProps): react_jsx_runtime.JSX.Element;
|
|
80
|
+
interface TextInputDropdownProps extends React.ComponentProps<'button'> {
|
|
81
|
+
/** `solid` = the SDGA gray dropdown chip; `subtle` = transparent. */
|
|
82
|
+
variant?: 'solid' | 'subtle';
|
|
83
|
+
/** Leading badge icon (e.g. `<BadgeCheck />`), sized 24/20 to the field. */
|
|
84
|
+
icon?: ReactNode;
|
|
85
|
+
/** Open/selected — paints the SDGA dark `#384250` chip + white text. */
|
|
86
|
+
selected?: boolean;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* The SDGA in-field **Dropdown** prefix/suffix (the `_Input Prefix-Suffix`
|
|
90
|
+
* "Dropdown" type): a `<button>` trigger with a leading badge, a label and a
|
|
91
|
+
* trailing chevron. Drop it in `startAdornment` / `endAdornment` and wire
|
|
92
|
+
* `onClick` + `selected` (open state) to your menu / `Select`.
|
|
93
|
+
*/
|
|
94
|
+
declare function TextInputDropdown({ variant, icon, selected, className, children, type, ...props }: TextInputDropdownProps): react_jsx_runtime.JSX.Element;
|
|
70
95
|
|
|
71
96
|
declare const textareaVariants: (props?: ({
|
|
72
|
-
|
|
97
|
+
variant?: "default" | "filled-lighter" | "filled-darker" | null | undefined;
|
|
73
98
|
error?: boolean | null | undefined;
|
|
74
|
-
resize?: "none" | "vertical" | null | undefined;
|
|
75
99
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
76
100
|
interface TextareaProps extends React.ComponentProps<'textarea'>, VariantProps<typeof textareaVariants> {
|
|
77
101
|
/** Visible field label, auto-associated to the textarea via `htmlFor`/`id`. */
|
|
@@ -82,11 +106,14 @@ interface TextareaProps extends React.ComponentProps<'textarea'>, VariantProps<t
|
|
|
82
106
|
errorMessage?: ReactNode;
|
|
83
107
|
/** Marks the field invalid: sets `aria-invalid` and error styling. */
|
|
84
108
|
error?: boolean;
|
|
109
|
+
/** Vertical resize handle (`none` locks it for fixed layouts). Horizontal/both omitted — they break form layout. */
|
|
110
|
+
resize?: 'vertical' | 'none';
|
|
85
111
|
}
|
|
86
|
-
declare function Textarea({ id: externalId, label, helperText, errorMessage, error,
|
|
112
|
+
declare function Textarea({ id: externalId, label, helperText, errorMessage, error, variant, required, rows, resize, className, ...props }: TextareaProps): react_jsx_runtime.JSX.Element;
|
|
87
113
|
|
|
88
114
|
declare const checkboxVariants: (props?: ({
|
|
89
|
-
size?: "sm" | "md" | null | undefined;
|
|
115
|
+
size?: "sm" | "md" | "xs" | null | undefined;
|
|
116
|
+
variant?: "neutral" | "primary" | null | undefined;
|
|
90
117
|
error?: boolean | null | undefined;
|
|
91
118
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
92
119
|
interface CheckboxProps extends Omit<React.ComponentProps<typeof Checkbox$1.Root>, 'children'>, VariantProps<typeof checkboxVariants> {
|
|
@@ -98,16 +125,19 @@ interface CheckboxProps extends Omit<React.ComponentProps<typeof Checkbox$1.Root
|
|
|
98
125
|
errorMessage?: ReactNode;
|
|
99
126
|
/** Marks the field invalid: sets `aria-invalid` and error styling. */
|
|
100
127
|
error?: boolean;
|
|
128
|
+
/** Locks the value: shows state but can't be toggled; stays focusable, sets `aria-readonly`. */
|
|
129
|
+
readOnly?: boolean;
|
|
101
130
|
}
|
|
102
|
-
declare function Checkbox({ id: externalId, label, helperText, errorMessage, error, size, required, className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
131
|
+
declare function Checkbox({ id: externalId, label, helperText, errorMessage, error, size, variant, readOnly, required, className, onClick, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
103
132
|
|
|
104
133
|
declare const radioGroupVariants: (props?: ({
|
|
105
|
-
|
|
134
|
+
variant?: "neutral" | "primary" | null | undefined;
|
|
106
135
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
107
136
|
error?: boolean | null | undefined;
|
|
137
|
+
readOnly?: boolean | null | undefined;
|
|
108
138
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
109
139
|
declare const radioVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
110
|
-
interface RadioGroupProps extends Omit<React.ComponentProps<typeof RadioGroup$1.Root>, 'children' | 'orientation'>, Pick<VariantProps<typeof radioGroupVariants>, '
|
|
140
|
+
interface RadioGroupProps extends Omit<React.ComponentProps<typeof RadioGroup$1.Root>, 'children' | 'orientation'>, Pick<VariantProps<typeof radioGroupVariants>, 'variant' | 'orientation'> {
|
|
111
141
|
/** Group label, sits above the rows. Associated to the group via aria-labelledby. */
|
|
112
142
|
label?: ReactNode;
|
|
113
143
|
/** Hint shown below the group. Hidden while an error message is showing. */
|
|
@@ -116,6 +146,8 @@ interface RadioGroupProps extends Omit<React.ComponentProps<typeof RadioGroup$1.
|
|
|
116
146
|
errorMessage?: ReactNode;
|
|
117
147
|
/** Marks the group invalid: sets aria-invalid and applies error styling. */
|
|
118
148
|
error?: boolean;
|
|
149
|
+
/** Locks the group: shows the value but can't be changed; stays focusable, sets aria-readonly. */
|
|
150
|
+
readOnly?: boolean;
|
|
119
151
|
/** `<Radio>` children. */
|
|
120
152
|
children: ReactNode;
|
|
121
153
|
}
|
|
@@ -123,11 +155,10 @@ interface RadioProps extends Omit<React.ComponentProps<typeof RadioGroup$1.Item>
|
|
|
123
155
|
/** Visible label for this radio, sits beside the circle, associated via htmlFor/id. */
|
|
124
156
|
label?: ReactNode;
|
|
125
157
|
}
|
|
126
|
-
declare function RadioGroup({ id: externalId, label, helperText, errorMessage, error,
|
|
158
|
+
declare function RadioGroup({ id: externalId, label, helperText, errorMessage, error, variant, orientation, readOnly, required, className, children, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
127
159
|
declare function Radio({ id: externalId, label, className, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
|
|
128
160
|
|
|
129
161
|
declare const switchVariants: (props?: ({
|
|
130
|
-
size?: "sm" | "md" | null | undefined;
|
|
131
162
|
error?: boolean | null | undefined;
|
|
132
163
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
133
164
|
interface SwitchProps extends Omit<React.ComponentProps<typeof Switch$1.Root>, 'children'>, VariantProps<typeof switchVariants> {
|
|
@@ -140,7 +171,7 @@ interface SwitchProps extends Omit<React.ComponentProps<typeof Switch$1.Root>, '
|
|
|
140
171
|
/** Marks the field invalid: sets `aria-invalid` and error styling. */
|
|
141
172
|
error?: boolean;
|
|
142
173
|
}
|
|
143
|
-
declare function Switch({ id: externalId, label, helperText, errorMessage, error,
|
|
174
|
+
declare function Switch({ id: externalId, label, helperText, errorMessage, error, required, className, ...props }: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
144
175
|
|
|
145
176
|
declare const selectTriggerVariants: (props?: ({
|
|
146
177
|
size?: "sm" | "md" | null | undefined;
|
|
@@ -174,7 +205,7 @@ declare function Select({ id: externalId, label, helperText, errorMessage, error
|
|
|
174
205
|
declare function SelectItem({ className, children, ...props }: SelectItemProps): react_jsx_runtime.JSX.Element;
|
|
175
206
|
|
|
176
207
|
declare const cardVariants: (props?: ({
|
|
177
|
-
variant?: "outline" | "ghost" | "default" | "elevated" | "filled" | "gradient" | null | undefined;
|
|
208
|
+
variant?: "outline" | "ghost" | "default" | "elevated" | "plain" | "filled" | "gradient" | null | undefined;
|
|
178
209
|
padding?: "sm" | "md" | "lg" | null | undefined;
|
|
179
210
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
180
211
|
interactive?: boolean | null | undefined;
|
|
@@ -182,10 +213,49 @@ declare const cardVariants: (props?: ({
|
|
|
182
213
|
interface CardProps extends React.ComponentProps<'div'>, VariantProps<typeof cardVariants> {
|
|
183
214
|
/** Render as the single child element instead of a `<div>` (see Button). */
|
|
184
215
|
asChild?: boolean;
|
|
216
|
+
/**
|
|
217
|
+
* DGA Disabled state — mutes the surface (gray-200 bg / gray-400 text + icon)
|
|
218
|
+
* and marks the card `aria-disabled`. Suppresses Selectable toggling.
|
|
219
|
+
*/
|
|
220
|
+
disabled?: boolean;
|
|
221
|
+
/**
|
|
222
|
+
* DGA Type=Selectable — the whole card becomes a checkbox (`role="checkbox"`,
|
|
223
|
+
* Space toggles) with a checkbox indicator at the top inline-end. Controlled
|
|
224
|
+
* via `selected` or uncontrolled via `defaultSelected`. Ignores `asChild`.
|
|
225
|
+
*/
|
|
226
|
+
selectable?: boolean;
|
|
227
|
+
/** Controlled selected state (Selectable). */
|
|
228
|
+
selected?: boolean;
|
|
229
|
+
/** Uncontrolled initial selected state (Selectable). */
|
|
230
|
+
defaultSelected?: boolean;
|
|
231
|
+
/** Fires with the next selected value when the user toggles a Selectable card. */
|
|
232
|
+
onSelectedChange?: (selected: boolean) => void;
|
|
233
|
+
/**
|
|
234
|
+
* DGA Type=Expandable — renders a chevron toggle (icon-only Subtle button) at
|
|
235
|
+
* the bottom inline-end that shows/hides a `<CardExpandableContent>` region.
|
|
236
|
+
* Controlled via `expanded` or uncontrolled via `defaultExpanded`.
|
|
237
|
+
*/
|
|
238
|
+
expandable?: boolean;
|
|
239
|
+
/** Controlled expanded state (Expandable). */
|
|
240
|
+
expanded?: boolean;
|
|
241
|
+
/** Uncontrolled initial expanded state (Expandable). */
|
|
242
|
+
defaultExpanded?: boolean;
|
|
243
|
+
/** Fires with the next expanded value when the user toggles an Expandable card. */
|
|
244
|
+
onExpandedChange?: (expanded: boolean) => void;
|
|
245
|
+
/** Accessible label for the expand/collapse toggle. Default `'Toggle details'`. */
|
|
246
|
+
expandLabel?: string;
|
|
185
247
|
}
|
|
186
248
|
type CardSectionProps = React.ComponentProps<'div'> & {
|
|
187
249
|
asChild?: boolean;
|
|
188
250
|
};
|
|
251
|
+
type CardIconProps = CardSectionProps & {
|
|
252
|
+
/**
|
|
253
|
+
* Render the DGA Platforms Code "Featured Icon" treatment — a 48px brand-light
|
|
254
|
+
* circle around the glyph (vs the bare inline icon). Pair with the SDGA Card
|
|
255
|
+
* pattern (featured icon → title → content → footer).
|
|
256
|
+
*/
|
|
257
|
+
featured?: boolean;
|
|
258
|
+
};
|
|
189
259
|
interface CardTitleProps extends React.ComponentProps<'h3'> {
|
|
190
260
|
/** Override the heading element (e.g. render an `<h2>` or `<a>`). */
|
|
191
261
|
asChild?: boolean;
|
|
@@ -201,36 +271,33 @@ interface CardImageProps extends React.ComponentProps<'img'> {
|
|
|
201
271
|
*/
|
|
202
272
|
aspectRatio?: string;
|
|
203
273
|
}
|
|
204
|
-
declare function Card({ variant, padding, orientation, interactive, asChild, className, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
274
|
+
declare function Card({ variant, padding, orientation, interactive, asChild, disabled, selectable, selected, defaultSelected, onSelectedChange, expandable, expanded, defaultExpanded, onExpandedChange, expandLabel, className, children, onClick, onKeyDown, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
205
275
|
declare function CardImage({ aspectRatio, className, style, ...props }: CardImageProps): react_jsx_runtime.JSX.Element;
|
|
206
276
|
declare function CardHeader({ asChild, className, ...props }: CardSectionProps): react_jsx_runtime.JSX.Element;
|
|
207
|
-
declare function CardIcon({ asChild, className, ...props }:
|
|
277
|
+
declare function CardIcon({ asChild, featured, className, ...props }: CardIconProps): react_jsx_runtime.JSX.Element;
|
|
208
278
|
declare function CardTitle({ asChild, className, ...props }: CardTitleProps): react_jsx_runtime.JSX.Element;
|
|
209
279
|
declare function CardDescription({ asChild, className, ...props }: CardDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
210
280
|
declare function CardContent({ asChild, className, ...props }: CardSectionProps): react_jsx_runtime.JSX.Element;
|
|
211
281
|
declare function CardFooter({ asChild, className, ...props }: CardSectionProps): react_jsx_runtime.JSX.Element;
|
|
282
|
+
declare function CardExpandableContent({ asChild, className, ...props }: CardSectionProps): react_jsx_runtime.JSX.Element;
|
|
212
283
|
|
|
213
|
-
declare const
|
|
214
|
-
variant?: "primary" | "secondary" | "outline" | "destructive" | "destructive-subtle" | "default" | "success" | "warning" | "info" | "primary-subtle" | "secondary-subtle" | "success-subtle" | "warning-subtle" | "info-subtle" | null | undefined;
|
|
215
|
-
size?: "sm" | "md" | null | undefined;
|
|
284
|
+
declare const tagVariants: (props?: ({
|
|
285
|
+
variant?: "primary" | "secondary" | "outline" | "destructive" | "destructive-subtle" | "default" | "success" | "warning" | "info" | "primary-subtle" | "secondary-subtle" | "success-subtle" | "warning-subtle" | "info-subtle" | "on-color" | null | undefined;
|
|
286
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
287
|
+
shape?: "pill" | "squared" | null | undefined;
|
|
288
|
+
iconOnly?: boolean | null | undefined;
|
|
289
|
+
outlined?: boolean | null | undefined;
|
|
216
290
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
217
|
-
interface
|
|
291
|
+
interface TagProps extends React.ComponentProps<'span'>, VariantProps<typeof tagVariants> {
|
|
218
292
|
/** Render as the single child element instead of a `<span>` (see Button). */
|
|
219
293
|
asChild?: boolean;
|
|
220
|
-
/**
|
|
221
|
-
* Render a leading status dot. The dot inherits its color from `currentColor`
|
|
222
|
-
* so it tracks the badge's tone (subtle variants get a dark dot, solid get a
|
|
223
|
-
* white dot). Pair with `*-subtle` variants for the classic status pill.
|
|
224
|
-
* Coexists with `startIcon` — the dot lands first.
|
|
225
|
-
*/
|
|
226
|
-
dot?: boolean;
|
|
227
|
-
/** Icon rendered before the badge text. Sized to the badge font (0.875em). */
|
|
294
|
+
/** Icon rendered before the tag text. Sized to the tag font (0.875em). */
|
|
228
295
|
startIcon?: ReactNode;
|
|
229
|
-
/** Icon rendered after the
|
|
296
|
+
/** Icon rendered after the tag text. Sized to the tag font (0.875em). */
|
|
230
297
|
endIcon?: ReactNode;
|
|
231
298
|
/**
|
|
232
|
-
* Render a trailing close button — turns the
|
|
233
|
-
* pattern. Uncontrolled by default: the
|
|
299
|
+
* Render a trailing close button — turns the tag into the DGA "tag/chip"
|
|
300
|
+
* pattern. Uncontrolled by default: the tag hides itself when the close
|
|
234
301
|
* button is clicked. Pass `open` to control visibility yourself.
|
|
235
302
|
*
|
|
236
303
|
* Not combinable with `asChild` — the consumer's slotted element (usually an
|
|
@@ -246,13 +313,29 @@ interface BadgeProps extends React.ComponentProps<'span'>, VariantProps<typeof b
|
|
|
246
313
|
/** Accessible label on the close button. Defaults to `"Dismiss"`. Override for i18n. */
|
|
247
314
|
closeLabel?: string;
|
|
248
315
|
}
|
|
249
|
-
declare function
|
|
316
|
+
declare function Tag({ variant, size, shape, iconOnly, outlined, asChild, startIcon, endIcon, dismissible, open, onDismiss, closeLabel, className, children, ...props }: TagProps): react_jsx_runtime.JSX.Element | null;
|
|
317
|
+
|
|
318
|
+
declare const statusTagVariants: (props?: ({
|
|
319
|
+
tone?: "neutral" | "error" | "success" | "warning" | "info" | null | undefined;
|
|
320
|
+
status?: "ghost" | "subtle" | "inverted" | null | undefined;
|
|
321
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
322
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
323
|
+
interface StatusTagProps extends React.ComponentProps<'span'>, VariantProps<typeof statusTagVariants> {
|
|
324
|
+
}
|
|
325
|
+
declare function StatusTag({ tone, status, size, className, children, ...props }: StatusTagProps): react_jsx_runtime.JSX.Element;
|
|
250
326
|
|
|
251
327
|
declare const dividerVariants: (props?: ({
|
|
252
328
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
253
|
-
variant?: "
|
|
329
|
+
variant?: "solid" | "dashed" | null | undefined;
|
|
330
|
+
tone?: "neutral" | "primary" | "white" | "alpha-white" | null | undefined;
|
|
254
331
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
255
332
|
interface DividerProps extends Omit<React.ComponentProps<'div'>, 'role'>, VariantProps<typeof dividerVariants> {
|
|
333
|
+
/**
|
|
334
|
+
* SDGA Color axis. `neutral` (gray-300, default) · `primary` (SA green) ·
|
|
335
|
+
* `alpha-white` (30% white) · `white`. The white tones are fixed for use on
|
|
336
|
+
* colored / dark surfaces. Override per-instance via `--ddga-divider-color`.
|
|
337
|
+
*/
|
|
338
|
+
tone?: 'neutral' | 'primary' | 'alpha-white' | 'white';
|
|
256
339
|
/**
|
|
257
340
|
* Optional label rendered inside a horizontal divider. Ignored when
|
|
258
341
|
* `orientation="vertical"`. When set, the divider renders as a three-part
|
|
@@ -270,10 +353,10 @@ interface DividerProps extends Omit<React.ComponentProps<'div'>, 'role'>, Varian
|
|
|
270
353
|
*/
|
|
271
354
|
decorative?: boolean;
|
|
272
355
|
}
|
|
273
|
-
declare function Divider({ orientation, variant, labelPosition, decorative, className, children, ...props }: DividerProps): react_jsx_runtime.JSX.Element;
|
|
356
|
+
declare function Divider({ orientation, variant, tone, labelPosition, decorative, className, children, ...props }: DividerProps): react_jsx_runtime.JSX.Element;
|
|
274
357
|
|
|
275
358
|
declare const avatarVariants: (props?: ({
|
|
276
|
-
size?: "sm" | "md" | "lg" | "xs" | "
|
|
359
|
+
size?: "sm" | "md" | "lg" | "xl" | "xs" | "2xl" | "3xl" | null | undefined;
|
|
277
360
|
shape?: "square" | "circle" | null | undefined;
|
|
278
361
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
279
362
|
declare const fallbackVariants: (props?: ({
|
|
@@ -306,83 +389,100 @@ interface AvatarGroupProps extends React.ComponentProps<'div'> {
|
|
|
306
389
|
size?: VariantProps<typeof avatarVariants>['size'];
|
|
307
390
|
/** Shape cascaded to each child Avatar that doesn't already set its own shape. */
|
|
308
391
|
shape?: VariantProps<typeof avatarVariants>['shape'];
|
|
392
|
+
/** Accessible label for the "+N" overflow chip. Defaults to `"N more"` — pass a
|
|
393
|
+
* localized builder for non-English UIs. */
|
|
394
|
+
overflowLabel?: (count: number) => string;
|
|
309
395
|
}
|
|
310
396
|
declare function Avatar({ size, shape, status, statusLabel, className, children, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
311
397
|
declare function AvatarImage({ className, ...props }: AvatarImageProps): react_jsx_runtime.JSX.Element;
|
|
312
398
|
declare function AvatarFallback({ colorScheme, className, ...props }: AvatarFallbackProps): react_jsx_runtime.JSX.Element;
|
|
313
|
-
declare function AvatarGroup({ max, size, shape, className, children, ...props }: AvatarGroupProps): react_jsx_runtime.JSX.Element;
|
|
399
|
+
declare function AvatarGroup({ max, size, shape, overflowLabel, className, children, ...props }: AvatarGroupProps): react_jsx_runtime.JSX.Element;
|
|
314
400
|
|
|
315
401
|
declare const tooltipContentVariants: (props?: ({
|
|
316
|
-
|
|
402
|
+
inverted?: boolean | null | undefined;
|
|
317
403
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
318
404
|
type TooltipProps = React.ComponentProps<typeof Tooltip$1.Root>;
|
|
319
405
|
type TooltipTriggerProps = React.ComponentProps<typeof Tooltip$1.Trigger>;
|
|
320
|
-
interface TooltipContentProps extends Omit<React.ComponentProps<typeof Tooltip$1.Content>, 'asChild'>, VariantProps<typeof tooltipContentVariants> {
|
|
321
|
-
/**
|
|
406
|
+
interface TooltipContentProps extends Omit<React.ComponentProps<typeof Tooltip$1.Content>, 'asChild' | 'title'>, VariantProps<typeof tooltipContentVariants> {
|
|
407
|
+
/** Dark surface (gray-800) instead of the default light card. Mirrors SDGA `Inverted`. */
|
|
408
|
+
inverted?: boolean;
|
|
409
|
+
/** Bold heading shown above the body text. */
|
|
410
|
+
title?: ReactNode;
|
|
411
|
+
/** Leading help badge: `true` renders the SDGA "?" help-circle, or pass your own node. */
|
|
412
|
+
icon?: boolean | ReactNode;
|
|
413
|
+
/** Show the beak pointing at the trigger. Defaults to true. */
|
|
322
414
|
arrow?: boolean;
|
|
323
415
|
}
|
|
324
416
|
/**
|
|
325
|
-
* Tooltip root. **Must be rendered inside `<DgaProvider>`** — the provider
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
* a `DgaProvider` the tooltip will not work.
|
|
417
|
+
* Tooltip root. **Must be rendered inside `<DgaProvider>`** — the provider supplies
|
|
418
|
+
* the Radix `TooltipProvider` this depends on (and the themed portal container). Used
|
|
419
|
+
* outside a `DgaProvider` the tooltip will not work.
|
|
329
420
|
*/
|
|
330
421
|
declare function Tooltip(props: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
331
422
|
declare function TooltipTrigger({ className, ...props }: TooltipTriggerProps): react_jsx_runtime.JSX.Element;
|
|
332
|
-
declare function TooltipContent({
|
|
423
|
+
declare function TooltipContent({ inverted, title, icon, arrow, sideOffset, className, children, ...props }: TooltipContentProps): react_jsx_runtime.JSX.Element;
|
|
424
|
+
interface HelpIconProps extends Pick<TooltipProps, 'open' | 'defaultOpen' | 'onOpenChange' | 'delayDuration'>, Pick<TooltipContentProps, 'inverted' | 'title' | 'side' | 'align' | 'sideOffset' | 'arrow'> {
|
|
425
|
+
/** Accessible name for the help trigger (the icon has no text). */
|
|
426
|
+
label: string;
|
|
427
|
+
/** Tooltip body text. */
|
|
428
|
+
children: ReactNode;
|
|
429
|
+
/** Class on the trigger button. */
|
|
430
|
+
className?: string;
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* SDGA "Help Icon" — a 20px "?" help-circle button that reveals its Tooltip on
|
|
434
|
+
* hover/focus. The bubble carries the same leading "?" badge as in SDGA.
|
|
435
|
+
*/
|
|
436
|
+
declare function HelpIcon({ label, children, title, inverted, open, defaultOpen, onOpenChange, delayDuration, side, align, sideOffset, arrow, className, }: HelpIconProps): react_jsx_runtime.JSX.Element;
|
|
333
437
|
|
|
334
|
-
declare const
|
|
335
|
-
|
|
438
|
+
declare const inlineAlertVariants: (props?: ({
|
|
439
|
+
type?: "neutral" | "destructive" | "success" | "warning" | "info" | null | undefined;
|
|
440
|
+
appearance?: "color" | "white" | null | undefined;
|
|
336
441
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
337
|
-
interface
|
|
338
|
-
/**
|
|
339
|
-
|
|
442
|
+
interface InlineAlertProps extends Omit<React.ComponentProps<'div'>, 'title'>, VariantProps<typeof inlineAlertVariants> {
|
|
443
|
+
/** Lead text, shown semibold — the alert's headline. */
|
|
444
|
+
title: ReactNode;
|
|
340
445
|
/**
|
|
341
|
-
*
|
|
342
|
-
*
|
|
446
|
+
* Featured leading icon. Pass `false` to hide it. Defaults to the SDGA glyph
|
|
447
|
+
* for the type (help-circle for neutral/info/destructive, triangle for warning,
|
|
448
|
+
* check for success).
|
|
343
449
|
*/
|
|
344
450
|
icon?: ReactNode | false;
|
|
345
451
|
/**
|
|
346
|
-
*
|
|
347
|
-
*
|
|
452
|
+
* Action buttons row — pass `InlineAlertAction`s. On narrow widths they stack
|
|
453
|
+
* full-width and the first one renders as the filled primary.
|
|
348
454
|
*/
|
|
349
|
-
|
|
350
|
-
/**
|
|
455
|
+
actions?: ReactNode;
|
|
456
|
+
/** Provide to render the trailing close button and make the alert dismissible. */
|
|
457
|
+
onClose?: () => void;
|
|
458
|
+
/** Controlled visibility. Pair with `onClose` to own the state yourself. */
|
|
351
459
|
open?: boolean;
|
|
352
|
-
/**
|
|
353
|
-
|
|
460
|
+
/** Localized close-button label. Defaults to `"Dismiss"`. */
|
|
461
|
+
closeLabel?: string;
|
|
354
462
|
/**
|
|
355
|
-
* Wire the alert into the a11y tree as a live region. `polite`
|
|
356
|
-
*
|
|
357
|
-
* interrupts the user (reserve for destructive/error states that block the
|
|
358
|
-
* task). Omit for static / decorative banners.
|
|
463
|
+
* Wire the alert into the a11y tree as a live region. `polite` (role=status)
|
|
464
|
+
* announces gracefully; `assertive` (role=alert) interrupts. Omit for static banners.
|
|
359
465
|
*/
|
|
360
466
|
live?: 'polite' | 'assertive';
|
|
361
|
-
/** Localized label for the close button. Defaults to `"Dismiss"`. */
|
|
362
|
-
closeLabel?: string;
|
|
363
467
|
}
|
|
364
|
-
interface
|
|
365
|
-
/**
|
|
468
|
+
interface InlineAlertActionProps extends React.ComponentProps<'button'> {
|
|
469
|
+
/** Render as the single child (e.g. a router `<Link>`) instead of a `<button>`. */
|
|
366
470
|
asChild?: boolean;
|
|
367
471
|
}
|
|
368
|
-
type
|
|
369
|
-
|
|
370
|
-
};
|
|
371
|
-
declare function Alert({ variant, asChild, icon, dismissible, open: controlledOpen, onDismiss, live, closeLabel, className, children, ...props }: AlertProps): react_jsx_runtime.JSX.Element | null;
|
|
372
|
-
declare function AlertTitle({ asChild, className, ...props }: AlertTitleProps): react_jsx_runtime.JSX.Element;
|
|
373
|
-
declare function AlertDescription({ asChild, className, ...props }: AlertDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
472
|
+
declare function InlineAlert({ type, appearance, title, icon, actions, onClose, open: controlledOpen, closeLabel, live, className, children, ...props }: InlineAlertProps): react_jsx_runtime.JSX.Element | null;
|
|
473
|
+
declare function InlineAlertAction({ asChild, className, type, ...props }: InlineAlertActionProps): react_jsx_runtime.JSX.Element;
|
|
374
474
|
|
|
375
475
|
declare const modalContentVariants: (props?: ({
|
|
376
|
-
size?: "
|
|
476
|
+
size?: "default" | "full" | null | undefined;
|
|
477
|
+
centered?: boolean | null | undefined;
|
|
377
478
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
378
479
|
type ModalProps = React.ComponentProps<typeof Dialog.Root>;
|
|
379
480
|
type ModalTriggerProps = React.ComponentProps<typeof Dialog.Trigger>;
|
|
380
481
|
type ModalCloseProps = React.ComponentProps<typeof Dialog.Close>;
|
|
381
482
|
interface ModalContentProps extends React.ComponentProps<typeof Dialog.Content>, VariantProps<typeof modalContentVariants> {
|
|
382
483
|
/**
|
|
383
|
-
* Render
|
|
384
|
-
* action-forcing dialogs
|
|
385
|
-
* one of the explicit footer buttons.
|
|
484
|
+
* Render the corner X close button. Defaults to `true`. Set `false` for
|
|
485
|
+
* action-forcing dialogs where the user must pick a footer action.
|
|
386
486
|
*/
|
|
387
487
|
showCloseButton?: boolean;
|
|
388
488
|
/** Localized label for the close button. Defaults to `"Close"`. */
|
|
@@ -391,6 +491,10 @@ interface ModalContentProps extends React.ComponentProps<typeof Dialog.Content>,
|
|
|
391
491
|
type ModalSectionProps = React.ComponentProps<'div'> & {
|
|
392
492
|
asChild?: boolean;
|
|
393
493
|
};
|
|
494
|
+
interface ModalHeaderProps extends ModalSectionProps {
|
|
495
|
+
/** Optional featured icon shown above the title in a 40px SDGA disc. */
|
|
496
|
+
icon?: React.ReactNode;
|
|
497
|
+
}
|
|
394
498
|
interface ModalTitleProps extends React.ComponentProps<typeof Dialog.Title> {
|
|
395
499
|
/** Override the heading element (e.g. render an `<h3>` instead of the default `<h2>`). */
|
|
396
500
|
asChild?: boolean;
|
|
@@ -401,8 +505,8 @@ interface ModalDescriptionProps extends React.ComponentProps<typeof Dialog.Descr
|
|
|
401
505
|
}
|
|
402
506
|
declare function Modal(props: ModalProps): react_jsx_runtime.JSX.Element;
|
|
403
507
|
declare function ModalTrigger({ className, ...props }: ModalTriggerProps): react_jsx_runtime.JSX.Element;
|
|
404
|
-
declare function ModalContent({ size, showCloseButton, closeLabel, className, children, ...props }: ModalContentProps): react_jsx_runtime.JSX.Element;
|
|
405
|
-
declare function ModalHeader({ asChild, className, ...props }:
|
|
508
|
+
declare function ModalContent({ size, centered, showCloseButton, closeLabel, className, children, ...props }: ModalContentProps): react_jsx_runtime.JSX.Element;
|
|
509
|
+
declare function ModalHeader({ asChild, icon, className, children, ...props }: ModalHeaderProps): react_jsx_runtime.JSX.Element;
|
|
406
510
|
declare function ModalTitle({ asChild, className, ...props }: ModalTitleProps): react_jsx_runtime.JSX.Element;
|
|
407
511
|
declare function ModalDescription({ asChild, className, ...props }: ModalDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
408
512
|
declare function ModalBody({ asChild, className, ...props }: ModalSectionProps): react_jsx_runtime.JSX.Element;
|
|
@@ -425,9 +529,12 @@ interface ToastData {
|
|
|
425
529
|
title?: ReactNode;
|
|
426
530
|
description?: ReactNode;
|
|
427
531
|
variant: ToastVariant;
|
|
428
|
-
/** ms; `0` (or `Infinity`) means no auto-dismiss. Defaults handled by
|
|
532
|
+
/** ms; `0` (or `Infinity`) means no auto-dismiss. Defaults handled by NotificationToast. */
|
|
429
533
|
duration?: number;
|
|
534
|
+
/** Primary action button. */
|
|
430
535
|
action?: ToastAction;
|
|
536
|
+
/** Optional second action button (SDGA renders up to two). */
|
|
537
|
+
secondaryAction?: ToastAction;
|
|
431
538
|
/** Controlled by Radix Toast (true while visible; false plays exit anim). */
|
|
432
539
|
open: boolean;
|
|
433
540
|
/** Fires when the toast leaves the DOM (after exit anim). */
|
|
@@ -438,17 +545,20 @@ interface ToastOptions {
|
|
|
438
545
|
title?: ReactNode;
|
|
439
546
|
description?: ReactNode;
|
|
440
547
|
duration?: number;
|
|
548
|
+
/** Primary action button. */
|
|
441
549
|
action?: ToastAction;
|
|
550
|
+
/** Optional second action button (SDGA renders up to two). */
|
|
551
|
+
secondaryAction?: ToastAction;
|
|
442
552
|
onDismiss?: () => void;
|
|
443
553
|
}
|
|
444
554
|
type Listener = () => void;
|
|
445
|
-
/** Public store shape. `<
|
|
555
|
+
/** Public store shape. `<NotificationToast store={…} />` accepts this, and
|
|
446
556
|
* `createToast(store)` returns a scoped `toast()` bound to it. */
|
|
447
557
|
interface ToastStore {
|
|
448
558
|
subscribe(listener: Listener): () => void;
|
|
449
559
|
getSnapshot(): ToastData[];
|
|
450
560
|
add(variant: ToastVariant, message: ReactNode, options?: ToastOptions): string;
|
|
451
|
-
dismiss(id
|
|
561
|
+
dismiss(id: string): void;
|
|
452
562
|
remove(id: string): void;
|
|
453
563
|
/** Test-only / story-only: hard reset. */
|
|
454
564
|
__reset(): void;
|
|
@@ -464,31 +574,31 @@ interface ToastFn {
|
|
|
464
574
|
error: (message: ReactNode, options?: ToastOptions) => string;
|
|
465
575
|
/** Alias for `error` — matches the variant name used everywhere else in the library. */
|
|
466
576
|
destructive: (message: ReactNode, options?: ToastOptions) => string;
|
|
467
|
-
/** Dismiss a specific toast by id
|
|
468
|
-
dismiss: (id
|
|
577
|
+
/** Dismiss a specific toast by id. */
|
|
578
|
+
dismiss: (id: string) => void;
|
|
469
579
|
}
|
|
470
580
|
/** Bind an imperative `toast()` callable to a specific store. */
|
|
471
581
|
declare function createToast(store: ToastStore): ToastFn;
|
|
472
582
|
/** Default singleton `toast()` — bound to the module-level `toastStore`. */
|
|
473
583
|
declare const toast: ToastFn;
|
|
474
584
|
|
|
475
|
-
declare const
|
|
585
|
+
declare const notificationToastVariants: (props?: ({
|
|
476
586
|
variant?: "destructive" | "default" | "success" | "warning" | "info" | null | undefined;
|
|
477
587
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
478
|
-
declare const
|
|
588
|
+
declare const notificationToastViewportVariants: (props?: ({
|
|
479
589
|
position?: "top-start" | "top-center" | "top-end" | "bottom-start" | "bottom-center" | "bottom-end" | null | undefined;
|
|
480
590
|
containerized?: boolean | null | undefined;
|
|
481
591
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
482
|
-
type ToastPosition = NonNullable<VariantProps<typeof
|
|
483
|
-
interface
|
|
592
|
+
type ToastPosition = NonNullable<VariantProps<typeof notificationToastViewportVariants>['position']>;
|
|
593
|
+
interface NotificationToastProps {
|
|
484
594
|
/** Where toasts stack. Logical: start/end flip in RTL. Default `bottom-end`. */
|
|
485
595
|
position?: ToastPosition;
|
|
486
596
|
/**
|
|
487
597
|
* Pin the viewport to a positioned ancestor (via `position: absolute`)
|
|
488
598
|
* instead of the browser viewport (`position: fixed`). Set this for
|
|
489
|
-
* Storybook stories, embedded widgets, and any layout where the
|
|
599
|
+
* Storybook stories, embedded widgets, and any layout where the NotificationToast
|
|
490
600
|
* should stay within a parent box. Caller is responsible for placing the
|
|
491
|
-
*
|
|
601
|
+
* NotificationToast inside an element with `position: relative` (or other positioned
|
|
492
602
|
* containing block).
|
|
493
603
|
*/
|
|
494
604
|
containerized?: boolean;
|
|
@@ -505,26 +615,34 @@ interface ToasterProps {
|
|
|
505
615
|
/** Override swipe direction. Defaults based on `position`. */
|
|
506
616
|
swipeDirection?: 'up' | 'down' | 'left' | 'right';
|
|
507
617
|
/**
|
|
508
|
-
* The toast store this
|
|
618
|
+
* The toast store this NotificationToast subscribes to. Defaults to the module-level
|
|
509
619
|
* singleton so the bare `toast()` API works without setup. Pass an isolated
|
|
510
620
|
* store (created via `createToastStore()` + `createToast(store)`) when you
|
|
511
|
-
* need multiple independent
|
|
621
|
+
* need multiple independent NotificationToasts on the same page — common in
|
|
512
622
|
* Storybook, docs sites, and embedded widgets.
|
|
513
623
|
*/
|
|
514
624
|
store?: ToastStore;
|
|
515
625
|
}
|
|
516
|
-
declare function
|
|
626
|
+
declare function NotificationToast({ position, containerized, duration, closeButton, closeLabel, hideIcon, className, swipeDirection, store, }: NotificationToastProps): react_jsx_runtime.JSX.Element;
|
|
517
627
|
|
|
518
628
|
declare const tabsVariants: (props?: ({
|
|
519
|
-
|
|
520
|
-
size?: "sm" | "md" | null | undefined;
|
|
629
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
521
630
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
522
631
|
declare const tabsListVariants: (props?: ({
|
|
523
632
|
fullWidth?: boolean | null | undefined;
|
|
633
|
+
flush?: boolean | null | undefined;
|
|
524
634
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
525
635
|
interface TabsProps extends React.ComponentProps<typeof Tabs$1.Root>, VariantProps<typeof tabsVariants> {
|
|
526
636
|
}
|
|
527
637
|
interface TabsListProps extends React.ComponentProps<typeof Tabs$1.List>, VariantProps<typeof tabsListVariants> {
|
|
638
|
+
/**
|
|
639
|
+
* Collapse tabs that don't fit into a trailing "More" overflow menu (SDGA
|
|
640
|
+
* "More Tab"). Horizontal lists only — the list fills its container's inline
|
|
641
|
+
* size and pushes the overflow trigger to the trailing edge.
|
|
642
|
+
*/
|
|
643
|
+
overflow?: boolean;
|
|
644
|
+
/** Accessible name for the overflow trigger when `overflow` is set. */
|
|
645
|
+
moreLabel?: string;
|
|
528
646
|
}
|
|
529
647
|
interface TabsTriggerProps extends React.ComponentProps<typeof Tabs$1.Trigger> {
|
|
530
648
|
/**
|
|
@@ -537,8 +655,8 @@ interface TabsTriggerProps extends React.ComponentProps<typeof Tabs$1.Trigger> {
|
|
|
537
655
|
endIcon?: ReactNode;
|
|
538
656
|
}
|
|
539
657
|
type TabsContentProps = React.ComponentProps<typeof Tabs$1.Content>;
|
|
540
|
-
declare function Tabs({
|
|
541
|
-
declare function TabsList({ fullWidth,
|
|
658
|
+
declare function Tabs({ size, className, ...props }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
659
|
+
declare function TabsList({ overflow, fullWidth, flush, moreLabel, ...props }: TabsListProps): react_jsx_runtime.JSX.Element;
|
|
542
660
|
declare function TabsTrigger({ className, startIcon, endIcon, children, asChild, ...props }: TabsTriggerProps): react_jsx_runtime.JSX.Element;
|
|
543
661
|
declare function TabsContent({ className, ...props }: TabsContentProps): react_jsx_runtime.JSX.Element;
|
|
544
662
|
|
|
@@ -567,6 +685,7 @@ interface BreadcrumbSeparatorProps extends React.ComponentProps<'li'> {
|
|
|
567
685
|
children?: React.ReactNode;
|
|
568
686
|
}
|
|
569
687
|
type BreadcrumbEllipsisProps = React.ComponentProps<'span'>;
|
|
688
|
+
type BreadcrumbEllipsisTriggerProps = React.ComponentProps<'button'>;
|
|
570
689
|
declare function Breadcrumb({ size, className, ...props }: BreadcrumbProps): react_jsx_runtime.JSX.Element;
|
|
571
690
|
declare function BreadcrumbList({ className, ...props }: BreadcrumbListProps): react_jsx_runtime.JSX.Element;
|
|
572
691
|
declare function BreadcrumbItem({ className, ...props }: BreadcrumbItemProps): react_jsx_runtime.JSX.Element;
|
|
@@ -574,9 +693,10 @@ declare function BreadcrumbLink({ asChild, className, ...props }: BreadcrumbLink
|
|
|
574
693
|
declare function BreadcrumbPage({ asChild, className, ...props }: BreadcrumbPageProps): react_jsx_runtime.JSX.Element;
|
|
575
694
|
declare function BreadcrumbSeparator({ children, className, ...props }: BreadcrumbSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
576
695
|
declare function BreadcrumbEllipsis({ className, ...props }: BreadcrumbEllipsisProps): react_jsx_runtime.JSX.Element;
|
|
696
|
+
declare function BreadcrumbEllipsisTrigger({ className, children, ...props }: BreadcrumbEllipsisTriggerProps): react_jsx_runtime.JSX.Element;
|
|
577
697
|
|
|
578
698
|
declare const paginationVariants: (props?: ({
|
|
579
|
-
size?: "sm" | "md" | null | undefined;
|
|
699
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
580
700
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
581
701
|
declare const paginationLinkVariants: (props?: ({
|
|
582
702
|
isActive?: boolean | null | undefined;
|
|
@@ -589,32 +709,33 @@ interface PaginationLinkProps extends Omit<React.ComponentProps<'a'>, 'aria-curr
|
|
|
589
709
|
/** Render as the consumer element (e.g., router Link) via Radix Slot. */
|
|
590
710
|
asChild?: boolean;
|
|
591
711
|
}
|
|
592
|
-
type
|
|
712
|
+
type PaginationNavProps = Omit<PaginationLinkProps, 'isActive'> & {
|
|
593
713
|
/**
|
|
594
|
-
*
|
|
595
|
-
*
|
|
596
|
-
* also used for `aria-label`, so a localized string is required for a11y.
|
|
714
|
+
* Accessible label for the icon-only button — also drives `aria-label` (the
|
|
715
|
+
* arrow has no visible text). Pass a translated string for non-English UIs.
|
|
597
716
|
* Ignored when `asChild` + consumer-provided `children` are used.
|
|
598
717
|
*/
|
|
599
718
|
label?: string;
|
|
600
719
|
};
|
|
601
|
-
type PaginationNextProps = Omit<PaginationLinkProps, 'isActive'> & {
|
|
602
|
-
/**
|
|
603
|
-
* Visible + accessible label for the next-page link. Defaults to `"Next"`.
|
|
604
|
-
* Pass a translated string for non-English UIs — the value is also used
|
|
605
|
-
* for `aria-label`, so a localized string is required for a11y. Ignored
|
|
606
|
-
* when `asChild` + consumer-provided `children` are used.
|
|
607
|
-
*/
|
|
608
|
-
label?: string;
|
|
609
|
-
};
|
|
610
720
|
type PaginationEllipsisProps = React.ComponentProps<'span'>;
|
|
721
|
+
interface PaginationOverflowProps extends Omit<React.ComponentProps<'button'>, 'onSelect'> {
|
|
722
|
+
/** The collapsed page numbers to list in the jump-to-page menu. */
|
|
723
|
+
pages: number[];
|
|
724
|
+
/** Current page — marked with `aria-current` + a trailing check. */
|
|
725
|
+
current?: number;
|
|
726
|
+
/** Called with the chosen page number. */
|
|
727
|
+
onSelect: (page: number) => void;
|
|
728
|
+
/** Accessible label for the trigger. Defaults to `"More pages"`. */
|
|
729
|
+
label?: string;
|
|
730
|
+
}
|
|
611
731
|
declare function Pagination({ size, className, ...props }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
612
732
|
declare function PaginationContent({ className, ...props }: PaginationContentProps): react_jsx_runtime.JSX.Element;
|
|
613
733
|
declare function PaginationItem({ className, ...props }: PaginationItemProps): react_jsx_runtime.JSX.Element;
|
|
614
|
-
declare function PaginationLink({ asChild, isActive, className, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
615
|
-
declare function PaginationPrevious({ label, className, children, asChild, ...props }:
|
|
616
|
-
declare function PaginationNext({ label, className, children, asChild, ...props }:
|
|
734
|
+
declare function PaginationLink({ asChild, isActive, className, tabIndex, 'aria-disabled': ariaDisabled, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
735
|
+
declare function PaginationPrevious({ label, className, children, asChild, ...props }: PaginationNavProps): react_jsx_runtime.JSX.Element;
|
|
736
|
+
declare function PaginationNext({ label, className, children, asChild, ...props }: PaginationNavProps): react_jsx_runtime.JSX.Element;
|
|
617
737
|
declare function PaginationEllipsis({ className, ...props }: PaginationEllipsisProps): react_jsx_runtime.JSX.Element;
|
|
738
|
+
declare function PaginationOverflow({ pages, current, onSelect, label, className, ...rest }: PaginationOverflowProps): react_jsx_runtime.JSX.Element;
|
|
618
739
|
|
|
619
740
|
type PaginationSlot = number | 'ellipsis';
|
|
620
741
|
interface PaginationRangeOptions {
|
|
@@ -643,48 +764,53 @@ interface PaginationRangeOptions {
|
|
|
643
764
|
declare function paginationRange(page: number, count: number, options?: PaginationRangeOptions): PaginationSlot[];
|
|
644
765
|
|
|
645
766
|
declare const accordionVariants: (props?: ({
|
|
646
|
-
size?: "sm" | "md" | null | undefined;
|
|
767
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
768
|
+
iconAlign?: "trailing" | "leading" | null | undefined;
|
|
769
|
+
flush?: boolean | null | undefined;
|
|
647
770
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
648
771
|
type AccordionRootProps = React.ComponentProps<typeof Accordion$1.Root>;
|
|
649
772
|
type AccordionProps = AccordionRootProps & VariantProps<typeof accordionVariants>;
|
|
650
773
|
type AccordionItemProps = React.ComponentProps<typeof Accordion$1.Item>;
|
|
651
|
-
type AccordionTriggerProps = React.ComponentProps<typeof Accordion$1.Trigger>;
|
|
774
|
+
type AccordionTriggerProps = Omit<React.ComponentProps<typeof Accordion$1.Trigger>, 'asChild'>;
|
|
652
775
|
type AccordionContentProps = React.ComponentProps<typeof Accordion$1.Content>;
|
|
653
|
-
declare function Accordion({ size, className, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
776
|
+
declare function Accordion({ size, iconAlign, flush, className, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
654
777
|
declare function AccordionItem({ className, ...props }: AccordionItemProps): react_jsx_runtime.JSX.Element;
|
|
655
778
|
declare function AccordionTrigger({ className, children, ...props }: AccordionTriggerProps): react_jsx_runtime.JSX.Element;
|
|
656
779
|
declare function AccordionContent({ className, children, ...props }: AccordionContentProps): react_jsx_runtime.JSX.Element;
|
|
657
780
|
|
|
658
|
-
declare const
|
|
659
|
-
size?: "sm" | "md" | null | undefined;
|
|
781
|
+
declare const progressIndicatorVariants: (props?: ({
|
|
660
782
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
783
|
+
appearance?: "dot" | "circles" | null | undefined;
|
|
661
784
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
662
785
|
type StepState = 'completed' | 'current' | 'upcoming';
|
|
663
786
|
declare const stepVariants: (props?: ({
|
|
664
787
|
state?: "current" | "completed" | "upcoming" | null | undefined;
|
|
665
788
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
666
|
-
interface
|
|
789
|
+
interface ProgressIndicatorProps extends React.ComponentProps<'ol'>, VariantProps<typeof progressIndicatorVariants> {
|
|
667
790
|
}
|
|
668
791
|
interface StepProps extends Omit<React.ComponentProps<'li'>, 'aria-current'>, VariantProps<typeof stepVariants> {
|
|
669
792
|
}
|
|
670
793
|
interface StepIndicatorProps extends React.ComponentProps<'span'> {
|
|
671
794
|
/**
|
|
672
|
-
* The 1-based step number to render
|
|
673
|
-
* `
|
|
674
|
-
* a check
|
|
795
|
+
* The 1-based step number to render. Shown for `current` and `upcoming`
|
|
796
|
+
* steps, and for `completed` steps in the `dot` appearance. Ignored for a
|
|
797
|
+
* `completed` step in the `circles` appearance — it shows a check instead.
|
|
675
798
|
*/
|
|
676
799
|
step?: number | string;
|
|
677
800
|
}
|
|
801
|
+
type StepContentProps = React.ComponentProps<'div'>;
|
|
678
802
|
type StepTitleProps = React.ComponentProps<'span'>;
|
|
679
803
|
type StepDescriptionProps = React.ComponentProps<'span'>;
|
|
680
|
-
declare function
|
|
804
|
+
declare function ProgressIndicator({ orientation, appearance, className, ...props }: ProgressIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
681
805
|
declare function Step({ state, className, ...props }: StepProps): react_jsx_runtime.JSX.Element;
|
|
682
806
|
declare function StepIndicator({ step, className, ...props }: StepIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
807
|
+
declare function StepContent({ className, ...props }: StepContentProps): react_jsx_runtime.JSX.Element;
|
|
683
808
|
declare function StepTitle({ className, ...props }: StepTitleProps): react_jsx_runtime.JSX.Element;
|
|
684
809
|
declare function StepDescription({ className, ...props }: StepDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
685
810
|
|
|
686
811
|
declare const spinnerVariants: (props?: ({
|
|
687
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
812
|
+
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
813
|
+
tone?: "neutral" | "primary" | "onColor" | null | undefined;
|
|
688
814
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
689
815
|
type SpinnerProps = Omit<React.SVGProps<SVGSVGElement>, 'children'> & VariantProps<typeof spinnerVariants> & {
|
|
690
816
|
/**
|
|
@@ -694,21 +820,21 @@ type SpinnerProps = Omit<React.SVGProps<SVGSVGElement>, 'children'> & VariantPro
|
|
|
694
820
|
*/
|
|
695
821
|
'aria-label'?: string;
|
|
696
822
|
};
|
|
697
|
-
declare function Spinner({ size, className, 'aria-label': ariaLabel, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
823
|
+
declare function Spinner({ size, tone, className, 'aria-label': ariaLabel, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
698
824
|
|
|
699
825
|
declare const skeletonVariants: (props?: ({
|
|
700
|
-
shape?: "text" | "circle" | "rectangle" | null | undefined;
|
|
701
|
-
animation?: "none" | "
|
|
826
|
+
shape?: "square" | "text" | "circle" | "rectangle" | null | undefined;
|
|
827
|
+
animation?: "none" | "shimmer" | null | undefined;
|
|
702
828
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
703
829
|
interface SkeletonProps extends React.ComponentProps<'div'>, VariantProps<typeof skeletonVariants> {
|
|
704
830
|
/**
|
|
705
831
|
* Inline width override (any valid CSS length, e.g. `"60%"`, `200`, `"4rem"`).
|
|
706
|
-
* Defaults: `text` → `100
|
|
832
|
+
* Defaults: `text` → `100%`; `rectangle` → `100%`; `circle`/`square` → `40px`.
|
|
707
833
|
*/
|
|
708
834
|
width?: number | string;
|
|
709
835
|
/**
|
|
710
|
-
* Inline height override. Defaults: `text` → `1em`
|
|
711
|
-
*
|
|
836
|
+
* Inline height override. Defaults: `text` → `1em` (tracks line-height, ≈ SDGA Line 22/14);
|
|
837
|
+
* `rectangle` → `40px` (= SDGA Large); `circle`/`square` → matches `width` (aspect-ratio 1).
|
|
712
838
|
*/
|
|
713
839
|
height?: number | string;
|
|
714
840
|
}
|
|
@@ -716,69 +842,63 @@ declare function Skeleton({ shape, animation, width, height, className, style, .
|
|
|
716
842
|
|
|
717
843
|
declare const progressVariants: (props?: ({
|
|
718
844
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
719
|
-
|
|
845
|
+
variant?: "neutral" | "primary" | null | undefined;
|
|
846
|
+
state?: "error" | "normal" | "success" | null | undefined;
|
|
720
847
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
721
848
|
declare const circularProgressVariants: (props?: ({
|
|
722
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
723
|
-
|
|
849
|
+
size?: "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
850
|
+
variant?: "neutral" | "primary" | null | undefined;
|
|
851
|
+
state?: "error" | "normal" | "success" | null | undefined;
|
|
724
852
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
853
|
+
type ProgressState = 'normal' | 'success' | 'error';
|
|
725
854
|
type ProgressOwnProps = VariantProps<typeof progressVariants> & {
|
|
726
|
-
/**
|
|
727
|
-
* Current progress. `null` (or omitted) renders the indeterminate animation.
|
|
728
|
-
* Otherwise clamp yourself to `[0, max]` — Radix Progress assumes the value
|
|
729
|
-
* is in range.
|
|
730
|
-
*/
|
|
855
|
+
/** Current progress. `null`/omitted renders the indeterminate slide. Clamp to `[0, max]` yourself. */
|
|
731
856
|
value?: number | null;
|
|
732
857
|
/** Maximum value. Defaults to 100. */
|
|
733
858
|
max?: number;
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
859
|
+
state?: ProgressState;
|
|
860
|
+
label?: React.ReactNode;
|
|
861
|
+
required?: boolean;
|
|
862
|
+
helperText?: React.ReactNode;
|
|
863
|
+
showValue?: boolean;
|
|
738
864
|
'aria-label'?: string;
|
|
739
865
|
'aria-labelledby'?: string;
|
|
740
866
|
};
|
|
741
|
-
type ProgressProps = ProgressOwnProps & Omit<React.ComponentProps<typeof Progress$1.Root>, keyof ProgressOwnProps>;
|
|
742
|
-
declare function Progress({ value, max, size,
|
|
867
|
+
type ProgressProps = ProgressOwnProps & Omit<React.ComponentProps<typeof Progress$1.Root>, keyof ProgressOwnProps | 'asChild'>;
|
|
868
|
+
declare function Progress({ value, max, size, variant, state, label, required, helperText, showValue, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, ...props }: ProgressProps): react_jsx_runtime.JSX.Element;
|
|
743
869
|
type CircularProgressOwnProps = VariantProps<typeof circularProgressVariants> & {
|
|
744
870
|
value?: number | null;
|
|
745
871
|
max?: number;
|
|
746
|
-
|
|
872
|
+
state?: ProgressState;
|
|
747
873
|
thickness?: number;
|
|
748
|
-
/**
|
|
749
|
-
* Render the ring as `segments` discrete arcs (a radial stepper) instead of a
|
|
750
|
-
* continuous arc. Pass an integer `>= 2`; values below that fall back to the
|
|
751
|
-
* continuous ring. The number of filled segments is `round(pct × segments)`,
|
|
752
|
-
* so `value={3} max={5} segments={5}` fills 3. Segmented mode is determinate —
|
|
753
|
-
* a `null` value renders 0 filled (no spinner).
|
|
754
|
-
*/
|
|
755
874
|
segments?: number;
|
|
756
|
-
/** Render the label inside the ring (`%`, or `filled/segments` when segmented). */
|
|
757
875
|
showLabel?: boolean;
|
|
876
|
+
description?: React.ReactNode;
|
|
758
877
|
'aria-label'?: string;
|
|
759
878
|
'aria-labelledby'?: string;
|
|
760
879
|
};
|
|
761
880
|
type CircularProgressProps = CircularProgressOwnProps & Omit<React.ComponentProps<'div'>, keyof CircularProgressOwnProps>;
|
|
762
|
-
declare function CircularProgress({ value, max, size,
|
|
881
|
+
declare function CircularProgress({ value, max, size, variant, state, thickness, segments, showLabel, description, className, ...props }: CircularProgressProps): react_jsx_runtime.JSX.Element;
|
|
763
882
|
|
|
764
|
-
declare const dropdownMenuVariants: (props?:
|
|
765
|
-
size?: "sm" | "md" | null | undefined;
|
|
766
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
883
|
+
declare const dropdownMenuVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
767
884
|
type DropdownMenuProps = React.ComponentProps<typeof DropdownMenu$1.Root>;
|
|
768
885
|
declare function DropdownMenu(props: DropdownMenuProps): react_jsx_runtime.JSX.Element;
|
|
769
886
|
type DropdownMenuTriggerProps = React.ComponentProps<typeof DropdownMenu$1.Trigger>;
|
|
770
|
-
declare function DropdownMenuTrigger(props: DropdownMenuTriggerProps): react_jsx_runtime.JSX.Element;
|
|
771
|
-
type DropdownMenuContentProps = React.ComponentProps<typeof DropdownMenu$1.Content
|
|
772
|
-
declare function DropdownMenuContent({
|
|
887
|
+
declare function DropdownMenuTrigger({ ref, ...props }: DropdownMenuTriggerProps): react_jsx_runtime.JSX.Element;
|
|
888
|
+
type DropdownMenuContentProps = React.ComponentProps<typeof DropdownMenu$1.Content>;
|
|
889
|
+
declare function DropdownMenuContent({ className, sideOffset, onCloseAutoFocus, onPointerDownOutside, onFocusOutside, onKeyDownCapture, onPointerDownCapture, ...props }: DropdownMenuContentProps): react_jsx_runtime.JSX.Element;
|
|
773
890
|
type DropdownMenuItemProps = React.ComponentProps<typeof DropdownMenu$1.Item> & {
|
|
774
|
-
/** Style as a destructive action (red text, red hover). */
|
|
891
|
+
/** Style as a destructive action (red text, red hover). House extension — not in SDGA Menu. */
|
|
775
892
|
destructive?: boolean;
|
|
776
|
-
/** Icon rendered before the label
|
|
893
|
+
/** Icon rendered before the label, sized to SDGA's 24px. */
|
|
777
894
|
startIcon?: ReactNode;
|
|
778
|
-
/** Trailing
|
|
779
|
-
|
|
895
|
+
/** Trailing element (SDGA "trail"): a counter, icon, `<Tag>`, `<Switch>`, or `<Button>`.
|
|
896
|
+
* Interactive trailing content must `stopPropagation()` on its own click (or set
|
|
897
|
+
* `onSelect={(e) => e.preventDefault()}` on this item) — otherwise the click bubbles
|
|
898
|
+
* to the row and closes the menu. */
|
|
899
|
+
trailing?: ReactNode;
|
|
780
900
|
};
|
|
781
|
-
declare function DropdownMenuItem({ className, destructive, startIcon,
|
|
901
|
+
declare function DropdownMenuItem({ className, destructive, startIcon, trailing, children, ...props }: DropdownMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
782
902
|
type DropdownMenuCheckboxItemProps = React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>;
|
|
783
903
|
declare function DropdownMenuCheckboxItem({ className, children, onSelect, ...props }: DropdownMenuCheckboxItemProps): react_jsx_runtime.JSX.Element;
|
|
784
904
|
type DropdownMenuRadioGroupProps = React.ComponentProps<typeof DropdownMenu$1.RadioGroup>;
|
|
@@ -797,8 +917,8 @@ type DropdownMenuSubTriggerProps = React.ComponentProps<typeof DropdownMenu$1.Su
|
|
|
797
917
|
startIcon?: ReactNode;
|
|
798
918
|
};
|
|
799
919
|
declare function DropdownMenuSubTrigger({ className, startIcon, children, ...props }: DropdownMenuSubTriggerProps): react_jsx_runtime.JSX.Element;
|
|
800
|
-
type DropdownMenuSubContentProps = React.ComponentProps<typeof DropdownMenu$1.SubContent
|
|
801
|
-
declare function DropdownMenuSubContent({
|
|
920
|
+
type DropdownMenuSubContentProps = React.ComponentProps<typeof DropdownMenu$1.SubContent>;
|
|
921
|
+
declare function DropdownMenuSubContent({ className, ...props }: DropdownMenuSubContentProps): react_jsx_runtime.JSX.Element;
|
|
802
922
|
|
|
803
923
|
declare const drawerVariants: (props?: ({
|
|
804
924
|
side?: "end" | "start" | "bottom" | "top" | null | undefined;
|
|
@@ -832,22 +952,12 @@ declare function DrawerBody({ asChild, className, ...props }: DrawerSectionProps
|
|
|
832
952
|
declare function DrawerFooter({ asChild, className, ...props }: DrawerSectionProps): react_jsx_runtime.JSX.Element;
|
|
833
953
|
declare function DrawerClose({ className, ...props }: DrawerCloseProps): react_jsx_runtime.JSX.Element;
|
|
834
954
|
|
|
835
|
-
declare const
|
|
836
|
-
size?: "
|
|
837
|
-
|
|
838
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
839
|
-
declare const comboboxVariants: (props?: ({
|
|
840
|
-
size?: "sm" | "md" | null | undefined;
|
|
955
|
+
declare const dropdownTriggerVariants: (props?: ({
|
|
956
|
+
size?: "md" | "lg" | null | undefined;
|
|
957
|
+
variant?: "default" | "filled-lighter" | "filled-darker" | null | undefined;
|
|
841
958
|
error?: boolean | null | undefined;
|
|
842
959
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
843
|
-
interface
|
|
844
|
-
/** Currently selected option value (controlled). */
|
|
845
|
-
value?: string;
|
|
846
|
-
/** Initial value when uncontrolled. */
|
|
847
|
-
defaultValue?: string;
|
|
848
|
-
/** Fires whenever the selection changes (controlled or uncontrolled). */
|
|
849
|
-
onValueChange?: (value: string) => void;
|
|
850
|
-
/** Controlled popover open state. */
|
|
960
|
+
interface DropdownBaseProps extends VariantProps<typeof dropdownTriggerVariants> {
|
|
851
961
|
open?: boolean;
|
|
852
962
|
defaultOpen?: boolean;
|
|
853
963
|
onOpenChange?: (open: boolean) => void;
|
|
@@ -859,51 +969,64 @@ interface ComboboxProps extends VariantProps<typeof comboboxTriggerVariants> {
|
|
|
859
969
|
errorMessage?: ReactNode;
|
|
860
970
|
/** Marks the field invalid — sets `aria-invalid` and the error border. */
|
|
861
971
|
error?: boolean;
|
|
862
|
-
/**
|
|
972
|
+
/** Adds the required asterisk + `aria-required`. */
|
|
863
973
|
required?: boolean;
|
|
864
974
|
/** Disables the trigger entirely. */
|
|
865
975
|
disabled?: boolean;
|
|
866
|
-
/**
|
|
976
|
+
/** Shows the value but blocks opening (SDGA Read-only). */
|
|
977
|
+
readOnly?: boolean;
|
|
978
|
+
/** Placeholder shown when nothing is selected. */
|
|
867
979
|
placeholder?: ReactNode;
|
|
868
|
-
/** Placeholder for the search input inside the panel. Defaults to `"Search…"`. */
|
|
869
|
-
searchPlaceholder?: string;
|
|
870
|
-
/** Shown when no item matches the search query. Defaults to `"No results."`. */
|
|
871
|
-
emptyMessage?: ReactNode;
|
|
872
980
|
/**
|
|
873
|
-
*
|
|
874
|
-
*
|
|
875
|
-
*
|
|
876
|
-
* the node to display. Falls back to the registered item's label.
|
|
981
|
+
* Render the in-panel filter input (combobox behavior). Off by default — the
|
|
982
|
+
* plain SDGA dropdown. A hidden focusable input is kept either way for cmdk's
|
|
983
|
+
* keyboard model.
|
|
877
984
|
*/
|
|
985
|
+
searchable?: boolean;
|
|
986
|
+
/** Placeholder for the filter input when `searchable`. */
|
|
987
|
+
searchPlaceholder?: string;
|
|
988
|
+
/** Shown when a filter matches nothing. */
|
|
989
|
+
emptyMessage?: ReactNode;
|
|
990
|
+
/** Override the trigger label resolver (e.g. async-loaded options). */
|
|
878
991
|
getLabel?: (value: string) => ReactNode;
|
|
879
|
-
/** Caller-supplied id for the trigger; falls back to a generated one. */
|
|
880
992
|
id?: string;
|
|
881
|
-
/** Forwarded to the trigger (the focusable button). */
|
|
882
993
|
className?: string;
|
|
883
994
|
'aria-label'?: string;
|
|
884
995
|
'aria-labelledby'?: string;
|
|
885
|
-
/** `<
|
|
996
|
+
/** `<DropdownItem>` (+ optional `DropdownGroup` / `DropdownSeparator`). */
|
|
886
997
|
children: ReactNode;
|
|
887
998
|
}
|
|
888
|
-
interface
|
|
999
|
+
interface DropdownSingleProps extends DropdownBaseProps {
|
|
1000
|
+
multiple?: false;
|
|
1001
|
+
value?: string;
|
|
1002
|
+
defaultValue?: string;
|
|
1003
|
+
onValueChange?: (value: string) => void;
|
|
1004
|
+
}
|
|
1005
|
+
interface DropdownMultipleProps extends DropdownBaseProps {
|
|
1006
|
+
/** Multi-select (SDGA Multi Select): leading checkboxes; panel stays open. */
|
|
1007
|
+
multiple: true;
|
|
1008
|
+
value?: string[];
|
|
1009
|
+
defaultValue?: string[];
|
|
1010
|
+
onValueChange?: (value: string[]) => void;
|
|
1011
|
+
}
|
|
1012
|
+
type DropdownProps = DropdownSingleProps | DropdownMultipleProps;
|
|
1013
|
+
interface DropdownItemProps extends Omit<React.ComponentProps<typeof Command$1.Item>, 'value' | 'onSelect'> {
|
|
889
1014
|
/** Stable value for filtering + selection. */
|
|
890
1015
|
value: string;
|
|
891
|
-
/** Extra search terms cmdk
|
|
1016
|
+
/** Extra search terms cmdk matches against the filter input. */
|
|
892
1017
|
keywords?: string[];
|
|
893
|
-
/** Disable this item from selection. */
|
|
894
1018
|
disabled?: boolean;
|
|
895
|
-
/**
|
|
1019
|
+
/** Fires alongside the root's `onValueChange`. */
|
|
896
1020
|
onSelect?: (value: string) => void;
|
|
897
1021
|
}
|
|
898
|
-
interface
|
|
899
|
-
/** Group heading rendered above its items. */
|
|
1022
|
+
interface DropdownGroupProps extends React.ComponentProps<typeof Command$1.Group> {
|
|
900
1023
|
heading?: ReactNode;
|
|
901
1024
|
}
|
|
902
|
-
type
|
|
903
|
-
declare function
|
|
904
|
-
declare function
|
|
905
|
-
declare function
|
|
906
|
-
declare function
|
|
1025
|
+
type DropdownSeparatorProps = React.ComponentProps<typeof Command$1.Separator>;
|
|
1026
|
+
declare function Dropdown(props: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
1027
|
+
declare function DropdownItem({ value, keywords, disabled, onSelect, className, children, ...props }: DropdownItemProps): react_jsx_runtime.JSX.Element;
|
|
1028
|
+
declare function DropdownGroup({ className, heading, ...props }: DropdownGroupProps): react_jsx_runtime.JSX.Element;
|
|
1029
|
+
declare function DropdownSeparator({ className, ...props }: DropdownSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
907
1030
|
|
|
908
1031
|
type CalendarSystem = 'gregorian' | 'hijri';
|
|
909
1032
|
interface CalendarLabels {
|
|
@@ -912,11 +1035,13 @@ interface CalendarLabels {
|
|
|
912
1035
|
}
|
|
913
1036
|
|
|
914
1037
|
declare const datePickerTriggerVariants: (props?: ({
|
|
915
|
-
size?: "
|
|
1038
|
+
size?: "md" | "lg" | null | undefined;
|
|
1039
|
+
variant?: "default" | "filled-lighter" | "filled-darker" | null | undefined;
|
|
916
1040
|
error?: boolean | null | undefined;
|
|
917
1041
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
918
1042
|
declare const datePickerVariants: (props?: ({
|
|
919
|
-
size?: "
|
|
1043
|
+
size?: "md" | "lg" | null | undefined;
|
|
1044
|
+
variant?: "default" | "filled-lighter" | "filled-darker" | null | undefined;
|
|
920
1045
|
error?: boolean | null | undefined;
|
|
921
1046
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
922
1047
|
interface DatePickerProps extends VariantProps<typeof datePickerTriggerVariants> {
|
|
@@ -942,6 +1067,8 @@ interface DatePickerProps extends VariantProps<typeof datePickerTriggerVariants>
|
|
|
942
1067
|
required?: boolean;
|
|
943
1068
|
/** Disables the trigger entirely. */
|
|
944
1069
|
disabled?: boolean;
|
|
1070
|
+
/** Read-only: value is shown but not editable (segments + calendar locked). */
|
|
1071
|
+
readOnly?: boolean;
|
|
945
1072
|
/** Caller-supplied id for the field. */
|
|
946
1073
|
id?: string;
|
|
947
1074
|
/** Forwarded to the Group (the trigger row), matching Input/Select. */
|
|
@@ -973,33 +1100,32 @@ interface DatePickerProps extends VariantProps<typeof datePickerTriggerVariants>
|
|
|
973
1100
|
*/
|
|
974
1101
|
showSecondaryCalendar?: boolean;
|
|
975
1102
|
}
|
|
976
|
-
declare function DatePicker({ value: controlledValue, defaultValue, onChange, minValue, maxValue, label, helperText, errorMessage, error, required, disabled, size, id, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, calendar: controlledCalendar, defaultCalendar, onCalendarChange, showCalendarToggle, calendarLabels, showSecondaryCalendar, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
1103
|
+
declare function DatePicker({ value: controlledValue, defaultValue, onChange, minValue, maxValue, label, helperText, errorMessage, error, required, disabled, readOnly, size, variant, id, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, calendar: controlledCalendar, defaultCalendar, onCalendarChange, showCalendarToggle, calendarLabels, showSecondaryCalendar, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
977
1104
|
|
|
978
|
-
type FileStatus = '
|
|
1105
|
+
type FileStatus = 'uploading' | 'success' | 'error';
|
|
979
1106
|
/** Reason codes attached to a rejected file. */
|
|
980
1107
|
type RejectionCode = 'file-too-large' | 'file-invalid-type' | 'too-many-files';
|
|
981
1108
|
/**
|
|
982
1109
|
* A controlled file entry. The consumer owns this array and is responsible for
|
|
983
|
-
* performing the actual upload, updating `status
|
|
984
|
-
*
|
|
1110
|
+
* performing the actual upload, updating `status`, and assigning a stable `id`
|
|
1111
|
+
* (used as the React key and the `onRemove` target).
|
|
985
1112
|
*/
|
|
986
1113
|
interface UploadFile {
|
|
987
1114
|
/** Stable, consumer-assigned id. Used as the React key and remove target. */
|
|
988
1115
|
id: string;
|
|
989
1116
|
/** The native File. */
|
|
990
1117
|
file: File;
|
|
991
|
-
/** Defaults to `'
|
|
1118
|
+
/** Defaults to `'uploading'`. Drives the per-row indicator. */
|
|
992
1119
|
status?: FileStatus;
|
|
993
|
-
/**
|
|
994
|
-
progress?: number;
|
|
995
|
-
/** Shown inline (red) while `status === 'error'`. */
|
|
1120
|
+
/** Shown in the row's second line (red) while `status === 'error'`. */
|
|
996
1121
|
error?: string;
|
|
997
1122
|
}
|
|
998
1123
|
interface FileRejection {
|
|
999
1124
|
file: File;
|
|
1000
1125
|
errors: RejectionCode[];
|
|
1001
1126
|
}
|
|
1002
|
-
interface FileUploadProps {
|
|
1127
|
+
interface FileUploadProps extends Omit<React.ComponentProps<'input'>, 'onChange' | 'type' | 'accept' | 'multiple' | 'required' | 'disabled' | 'className' | 'id' | 'children' | 'title'> {
|
|
1128
|
+
variant?: 'dropzone' | 'button';
|
|
1003
1129
|
/** Controlled list of files to render. The consumer is the source of truth. */
|
|
1004
1130
|
files: UploadFile[];
|
|
1005
1131
|
/** Called with the files that passed validation. The consumer wraps each in
|
|
@@ -1018,21 +1144,20 @@ interface FileUploadProps {
|
|
|
1018
1144
|
maxFiles?: number;
|
|
1019
1145
|
/** Allow selecting/dropping more than one file. Defaults to true. */
|
|
1020
1146
|
multiple?: boolean;
|
|
1021
|
-
/** Disables the drop zone and the picker. */
|
|
1147
|
+
/** Disables the drop zone / button and the picker. */
|
|
1022
1148
|
disabled?: boolean;
|
|
1023
1149
|
/** Marks the field required: renders the asterisk and sets the input's
|
|
1024
1150
|
* `required` attribute. */
|
|
1025
1151
|
required?: boolean;
|
|
1026
1152
|
/** Visible field label, auto-associated to the input. */
|
|
1027
1153
|
label?: ReactNode;
|
|
1028
|
-
|
|
1029
|
-
|
|
1154
|
+
title?: ReactNode;
|
|
1155
|
+
description?: ReactNode;
|
|
1156
|
+
buttonLabel?: ReactNode;
|
|
1030
1157
|
/** Message shown below the field when `error` is true. */
|
|
1031
1158
|
errorMessage?: ReactNode;
|
|
1032
1159
|
/** Marks the field invalid: sets `aria-invalid` and error styling. */
|
|
1033
1160
|
error?: boolean;
|
|
1034
|
-
/** Drop-zone instructional copy. Defaults to a bilingual-friendly EN string. */
|
|
1035
|
-
hint?: ReactNode;
|
|
1036
1161
|
/** Accessible label for the per-row remove button. Defaults to `'Remove'`. */
|
|
1037
1162
|
removeLabel?: string;
|
|
1038
1163
|
id?: string;
|
|
@@ -1040,10 +1165,9 @@ interface FileUploadProps {
|
|
|
1040
1165
|
'aria-label'?: string;
|
|
1041
1166
|
'aria-labelledby'?: string;
|
|
1042
1167
|
}
|
|
1043
|
-
declare function FileUpload({ files, onFilesAdded, onFilesRejected, onRemove, accept, maxSize, maxFiles, multiple, disabled, required, label,
|
|
1168
|
+
declare function FileUpload({ variant, files, onFilesAdded, onFilesRejected, onRemove, accept, maxSize, maxFiles, multiple, disabled, required, label, title, description, buttonLabel, errorMessage, error, removeLabel, id: externalId, className, ...props }: FileUploadProps): react_jsx_runtime.JSX.Element;
|
|
1044
1169
|
|
|
1045
1170
|
declare const sliderVariants: (props?: ({
|
|
1046
|
-
size?: "sm" | "md" | null | undefined;
|
|
1047
1171
|
error?: boolean | null | undefined;
|
|
1048
1172
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1049
1173
|
type SliderValue = number | number[];
|
|
@@ -1064,6 +1188,8 @@ interface SliderProps extends Omit<React.ComponentProps<typeof Slider$1.Root>, '
|
|
|
1064
1188
|
errorMessage?: ReactNode;
|
|
1065
1189
|
/** Marks the field invalid: sets `aria-invalid` and error styling. */
|
|
1066
1190
|
error?: boolean;
|
|
1191
|
+
/** Control size. Scales rail, thumb, label, and helper text. Defaults to `md`. */
|
|
1192
|
+
size?: 'sm' | 'md';
|
|
1067
1193
|
/** Render the current value(s) as text beside the label. */
|
|
1068
1194
|
showValue?: boolean;
|
|
1069
1195
|
/** Formats each value for `showValue` and the thumb's `aria-valuetext`
|
|
@@ -1076,7 +1202,9 @@ interface SliderProps extends Omit<React.ComponentProps<typeof Slider$1.Root>, '
|
|
|
1076
1202
|
declare function Slider({ id: externalId, value, defaultValue, onValueChange, onValueCommit, min, max, size, label, helperText, errorMessage, error, showValue, formatValue, thumbLabels, className, ...props }: SliderProps): react_jsx_runtime.JSX.Element;
|
|
1077
1203
|
|
|
1078
1204
|
declare const numberInputVariants: (props?: ({
|
|
1079
|
-
size?: "
|
|
1205
|
+
size?: "md" | "lg" | null | undefined;
|
|
1206
|
+
variant?: "default" | "filled-lighter" | "filled-darker" | null | undefined;
|
|
1207
|
+
stepperVariant?: "solid" | "subtle" | null | undefined;
|
|
1080
1208
|
error?: boolean | null | undefined;
|
|
1081
1209
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1082
1210
|
interface NumberInputProps extends Omit<React.ComponentProps<'input'>, 'value' | 'defaultValue' | 'onChange' | 'size' | 'type' | 'min' | 'max' | 'step'>, VariantProps<typeof numberInputVariants> {
|
|
@@ -1092,7 +1220,7 @@ interface NumberInputProps extends Omit<React.ComponentProps<'input'>, 'value' |
|
|
|
1092
1220
|
max?: number;
|
|
1093
1221
|
/** Stepper / ArrowUp-Down increment. Defaults to 1. */
|
|
1094
1222
|
step?: number;
|
|
1095
|
-
/** Hide the
|
|
1223
|
+
/** Hide the + / − buttons (keyboard + typing only). */
|
|
1096
1224
|
hideControls?: boolean;
|
|
1097
1225
|
/** Accessible label for the decrement button. Defaults to `'Decrease'`. */
|
|
1098
1226
|
decrementLabel?: string;
|
|
@@ -1107,12 +1235,13 @@ interface NumberInputProps extends Omit<React.ComponentProps<'input'>, 'value' |
|
|
|
1107
1235
|
/** Marks the field invalid: sets `aria-invalid` and error styling. */
|
|
1108
1236
|
error?: boolean;
|
|
1109
1237
|
}
|
|
1110
|
-
declare function NumberInput({ id: externalId, value, defaultValue, onValueChange, min, max, step, size, hideControls, decrementLabel, incrementLabel, label, helperText, errorMessage, error, required, disabled, className, onBlur, onKeyDown, ...props }: NumberInputProps): react_jsx_runtime.JSX.Element;
|
|
1238
|
+
declare function NumberInput({ id: externalId, value, defaultValue, onValueChange, min, max, step, size, variant, stepperVariant, hideControls, decrementLabel, incrementLabel, label, helperText, errorMessage, error, required, disabled, readOnly, className, onBlur, onKeyDown, ...props }: NumberInputProps): react_jsx_runtime.JSX.Element;
|
|
1111
1239
|
|
|
1112
1240
|
declare const ratingVariants: (props?: ({
|
|
1113
1241
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1242
|
+
tone?: "default" | "brand" | null | undefined;
|
|
1114
1243
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1115
|
-
interface RatingProps extends VariantProps<typeof ratingVariants> {
|
|
1244
|
+
interface RatingProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange' | 'onClick' | 'defaultValue' | 'dir'>, VariantProps<typeof ratingVariants> {
|
|
1116
1245
|
/** Controlled value (0…max). `.5` increments are allowed when `allowHalf`. */
|
|
1117
1246
|
value?: number;
|
|
1118
1247
|
/** Uncontrolled initial value. Defaults to 0. */
|
|
@@ -1135,6 +1264,13 @@ interface RatingProps extends VariantProps<typeof ratingVariants> {
|
|
|
1135
1264
|
errorMessage?: ReactNode;
|
|
1136
1265
|
/** Marks the field invalid: sets `aria-invalid` and error styling. */
|
|
1137
1266
|
error?: boolean;
|
|
1267
|
+
/** SDGA Style axis. `default` (gold) · `brand` (SA green). Recolor per
|
|
1268
|
+
* instance via the `--ddga-rating-color` CSS variable. */
|
|
1269
|
+
tone?: 'default' | 'brand';
|
|
1270
|
+
/** Symbol rendered instead of the default star (e.g. a heart). Used for both
|
|
1271
|
+
* the empty and filled layers — fill/empty colors come from CSS, so pass an
|
|
1272
|
+
* icon that uses `currentColor`. Defaults to the SDGA star. */
|
|
1273
|
+
icon?: ReactNode;
|
|
1138
1274
|
/** Builds the accessible value text / read-only label. Defaults to
|
|
1139
1275
|
* `"{value} out of {max} stars"`. Override for localization. */
|
|
1140
1276
|
formatValueText?: (value: number, max: number) => string;
|
|
@@ -1143,23 +1279,32 @@ interface RatingProps extends VariantProps<typeof ratingVariants> {
|
|
|
1143
1279
|
'aria-label'?: string;
|
|
1144
1280
|
'aria-labelledby'?: string;
|
|
1145
1281
|
}
|
|
1146
|
-
declare function Rating({ id: externalId, value, defaultValue, onValueChange, max, allowHalf, readOnly, disabled, size, label, helperText, errorMessage, error, formatValueText, className, ...props }: RatingProps): react_jsx_runtime.JSX.Element;
|
|
1282
|
+
declare function Rating({ id: externalId, value, defaultValue, onValueChange, max, allowHalf, readOnly, disabled, size, tone, icon, label, helperText, errorMessage, error, formatValueText, className, ...props }: RatingProps): react_jsx_runtime.JSX.Element;
|
|
1147
1283
|
|
|
1148
1284
|
declare const toggleVariants: (props?: ({
|
|
1149
1285
|
variant?: "outline" | "default" | null | undefined;
|
|
1150
1286
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1151
1287
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1152
|
-
declare const toggleGroupVariants: (props?: ({
|
|
1153
|
-
variant?: "outline" | "default" | null | undefined;
|
|
1154
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1155
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1156
1288
|
type ToggleProps = React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>;
|
|
1157
|
-
type ToggleGroupRootProps = React.ComponentProps<typeof ToggleGroup$1.Root>;
|
|
1158
|
-
type ToggleGroupProps = ToggleGroupRootProps & VariantProps<typeof toggleGroupVariants>;
|
|
1159
|
-
type ToggleGroupItemProps = React.ComponentProps<typeof ToggleGroup$1.Item>;
|
|
1160
1289
|
declare function Toggle({ variant, size, className, ...props }: ToggleProps): react_jsx_runtime.JSX.Element;
|
|
1161
|
-
|
|
1162
|
-
declare
|
|
1290
|
+
|
|
1291
|
+
declare const contentSwitcherVariants: (props?: ({
|
|
1292
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1293
|
+
onColor?: boolean | null | undefined;
|
|
1294
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1295
|
+
type ContentSwitcherRootProps = Omit<Extract<React.ComponentProps<typeof ToggleGroup.Root>, {
|
|
1296
|
+
type: 'single';
|
|
1297
|
+
}>, 'type'>;
|
|
1298
|
+
type ContentSwitcherProps = ContentSwitcherRootProps & VariantProps<typeof contentSwitcherVariants>;
|
|
1299
|
+
type ContentSwitcherItemProps = React.ComponentProps<typeof ToggleGroup.Item>;
|
|
1300
|
+
/**
|
|
1301
|
+
* SDGA Content Switcher — a segmented control for switching between related
|
|
1302
|
+
* views, showing one at a time. Built on Radix `ToggleGroup` (roving focus,
|
|
1303
|
+
* arrow-key nav, RTL order). Each child is a `ContentSwitcherItem` with a
|
|
1304
|
+
* `value`. Pass `aria-label`/`aria-labelledby` for an accessible group name.
|
|
1305
|
+
*/
|
|
1306
|
+
declare function ContentSwitcher({ size, onColor, className, ...props }: ContentSwitcherProps): react_jsx_runtime.JSX.Element;
|
|
1307
|
+
declare function ContentSwitcherItem({ className, ...props }: ContentSwitcherItemProps): react_jsx_runtime.JSX.Element;
|
|
1163
1308
|
|
|
1164
1309
|
declare const descriptionListVariants: (props?: ({
|
|
1165
1310
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
@@ -1217,81 +1362,72 @@ declare function EmptyStateTitle({ asChild, className, ...props }: EmptyStateTit
|
|
|
1217
1362
|
declare function EmptyStateDescription({ asChild, className, ...props }: EmptyStateDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
1218
1363
|
declare function EmptyStateActions({ asChild, className, ...props }: EmptyStateActionsProps): react_jsx_runtime.JSX.Element;
|
|
1219
1364
|
|
|
1220
|
-
declare const
|
|
1221
|
-
|
|
1222
|
-
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
1365
|
+
declare const metricVariants: (props?: ({
|
|
1366
|
+
layout?: "small" | "large" | null | undefined;
|
|
1223
1367
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1224
|
-
type
|
|
1225
|
-
type
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1368
|
+
type Trend = 'up' | 'down';
|
|
1369
|
+
type ChangeType = '01' | '02';
|
|
1370
|
+
interface MetricProps extends React.ComponentProps<'div'>, VariantProps<typeof metricVariants> {
|
|
1371
|
+
/** Featured icon, shown in a 32px brand-tinted circle at the start of the header. */
|
|
1372
|
+
icon?: ReactNode;
|
|
1373
|
+
/** Short label beside the icon (e.g. "24h Views"). */
|
|
1229
1374
|
label?: ReactNode;
|
|
1230
|
-
/**
|
|
1375
|
+
/** Header slot at the inline-end (e.g. a "more" menu trigger button). */
|
|
1376
|
+
action?: ReactNode;
|
|
1377
|
+
/** The metric, pre-formatted by the consumer (e.g. "50%", "SAR 1.2M"). */
|
|
1231
1378
|
value?: ReactNode;
|
|
1232
|
-
/** Change text — include the sign (e.g. "+
|
|
1379
|
+
/** Change text — include the sign (e.g. "+100%") so AT conveys direction; color comes from `trend`. */
|
|
1233
1380
|
change?: ReactNode;
|
|
1234
|
-
/**
|
|
1381
|
+
/** Trend: `up` → success arrow, `down` → error arrow. Drives the glyph + color. */
|
|
1382
|
+
trend?: Trend;
|
|
1383
|
+
/** Change glyph style — `01` directional arrow (default) · `02` trend glyph. */
|
|
1384
|
+
changeType?: ChangeType;
|
|
1385
|
+
/** Muted comparison text beside the change (e.g. "vs last month"). */
|
|
1235
1386
|
changeLabel?: ReactNode;
|
|
1236
|
-
/**
|
|
1387
|
+
/** Trend chart — pass a `<MetricChart>` (full-width in `large`, beside the value in `small`). */
|
|
1388
|
+
chart?: ReactNode;
|
|
1389
|
+
/** Footer actions; when present, a full-bleed divider sits above a space-between actions row. */
|
|
1390
|
+
footer?: ReactNode;
|
|
1391
|
+
}
|
|
1392
|
+
interface MetricChangeProps extends React.ComponentProps<'div'> {
|
|
1237
1393
|
trend?: Trend;
|
|
1238
|
-
/**
|
|
1239
|
-
|
|
1240
|
-
/**
|
|
1241
|
-
* How the change renders: `'text'` (default — colored text + caret) or
|
|
1242
|
-
* `'chip'` (the same, wrapped in a sentiment-tinted pill). Threaded to the
|
|
1243
|
-
* inner `StatChange`.
|
|
1244
|
-
*/
|
|
1245
|
-
changeVariant?: ChangeVariant;
|
|
1246
|
-
/** Optional icon at the inline-end of the label row (decorative). */
|
|
1247
|
-
icon?: ReactNode;
|
|
1394
|
+
/** `01` directional arrow (default) · `02` trend glyph. */
|
|
1395
|
+
type?: ChangeType;
|
|
1248
1396
|
}
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1397
|
+
interface MetricChartProps extends Omit<React.ComponentProps<'div'>, 'children'> {
|
|
1398
|
+
/** The series to plot (any numeric scale). */
|
|
1399
|
+
data: number[];
|
|
1400
|
+
/** Line + area + marker color: `up` → success, `down` → error. Default `up`. */
|
|
1253
1401
|
trend?: Trend;
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
variant?: ChangeVariant;
|
|
1402
|
+
/** Indices of `data` to mark with a dot. Defaults to the highest point. */
|
|
1403
|
+
markers?: number[];
|
|
1257
1404
|
}
|
|
1258
1405
|
/**
|
|
1259
|
-
*
|
|
1260
|
-
*
|
|
1261
|
-
*
|
|
1262
|
-
* `changeLabel` / `trend` / `icon` and Stat renders the standard layout.
|
|
1263
|
-
* - **Compound children**: append extra content as children — it renders AFTER
|
|
1264
|
-
* the prop-mode rows.
|
|
1265
|
-
*
|
|
1266
|
-
* The blessed hybrid is **prop mode + a `<StatChart>` child** (a sparkline under
|
|
1267
|
-
* the metric). Do NOT also pass a child that duplicates a prop slot (e.g. a
|
|
1268
|
-
* `value` prop *and* a `<StatValue>` child) — both render and you get a
|
|
1269
|
-
* double. One source per slot. Stat owns its surface; use it directly (don't
|
|
1270
|
-
* wrap a bare `<Card>`), and lay tiles out with `<StatGroup>`.
|
|
1406
|
+
* DGA Platforms Code "Metric" card: featured-icon + label header, a large value
|
|
1407
|
+
* with an inline trend change, an optional `chart` (a `<MetricChart>`), and an
|
|
1408
|
+
* optional actions `footer`. Lay several out with `<MetricGroup>`.
|
|
1271
1409
|
*/
|
|
1272
|
-
declare function
|
|
1273
|
-
declare function
|
|
1274
|
-
declare function StatValue({ className, ...props }: StatValueProps): react_jsx_runtime.JSX.Element;
|
|
1410
|
+
declare function Metric({ layout, icon, label, action, value, change, trend, changeType, changeLabel, chart, footer, className, children, ...props }: MetricProps): react_jsx_runtime.JSX.Element;
|
|
1411
|
+
declare function MetricChange({ trend, type, className, children, ...props }: MetricChangeProps): react_jsx_runtime.JSX.Element;
|
|
1275
1412
|
/**
|
|
1276
|
-
*
|
|
1277
|
-
*
|
|
1278
|
-
*
|
|
1413
|
+
* The Metric trend chart: a line over a faded area with a marker, colored by
|
|
1414
|
+
* `trend` (up → success, down → error). Plots `data` as a small inline SVG — no
|
|
1415
|
+
* charting dependency.
|
|
1279
1416
|
*/
|
|
1280
|
-
declare function
|
|
1281
|
-
declare function StatChange({ trend, sentiment, variant, className, children, ...props }: StatChangeProps): react_jsx_runtime.JSX.Element;
|
|
1417
|
+
declare function MetricChart({ data, trend, markers, className, ...props }: MetricChartProps): react_jsx_runtime.JSX.Element;
|
|
1282
1418
|
|
|
1283
|
-
declare const
|
|
1419
|
+
declare const metricGroupVariants: (props?: ({
|
|
1284
1420
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
1285
1421
|
gap?: "sm" | "md" | "lg" | null | undefined;
|
|
1286
1422
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1287
|
-
interface
|
|
1423
|
+
interface MetricGroupProps extends React.ComponentProps<'div'>, VariantProps<typeof metricGroupVariants> {
|
|
1288
1424
|
/**
|
|
1289
1425
|
* Fixed column count for the horizontal grid (collapses to one column on
|
|
1290
1426
|
* narrow screens). Omit for an auto-fit responsive grid.
|
|
1291
1427
|
*/
|
|
1292
1428
|
columns?: number;
|
|
1293
1429
|
}
|
|
1294
|
-
declare function
|
|
1430
|
+
declare function MetricGroup({ orientation, gap, columns, className, style, ...props }: MetricGroupProps): react_jsx_runtime.JSX.Element;
|
|
1295
1431
|
|
|
1296
1432
|
declare const popoverContentVariants: (props?: ({
|
|
1297
1433
|
size?: "sm" | "md" | null | undefined;
|
|
@@ -1594,11 +1730,10 @@ declare function CommandDialog({ open: controlledOpen, defaultOpen, onOpenChange
|
|
|
1594
1730
|
declare const tableVariants: (props?: ({
|
|
1595
1731
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
1596
1732
|
striped?: boolean | null | undefined;
|
|
1597
|
-
|
|
1598
|
-
bordered?: boolean | null | undefined;
|
|
1733
|
+
contained?: boolean | null | undefined;
|
|
1599
1734
|
stickyHeader?: boolean | null | undefined;
|
|
1600
1735
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1601
|
-
type Align = 'start' | 'center' | 'end';
|
|
1736
|
+
type Align$1 = 'start' | 'center' | 'end';
|
|
1602
1737
|
interface TableProps extends React.ComponentProps<'table'>, VariantProps<typeof tableVariants> {
|
|
1603
1738
|
/**
|
|
1604
1739
|
* Accessible name for the **scroll region** wrapping the table. Strongly
|
|
@@ -1627,14 +1762,12 @@ interface TableRowProps extends React.ComponentProps<'tr'> {
|
|
|
1627
1762
|
selected?: boolean;
|
|
1628
1763
|
}
|
|
1629
1764
|
interface TableHeadProps extends Omit<React.ComponentProps<'th'>, 'align' | 'onClick'> {
|
|
1630
|
-
align?: Align;
|
|
1765
|
+
align?: Align$1;
|
|
1631
1766
|
/** Renders the column as sortable: wraps content in a button and sets
|
|
1632
1767
|
* `aria-sort`. Sort *logic* is the consumer's — wire `onClick`. */
|
|
1633
1768
|
sortable?: boolean;
|
|
1634
1769
|
/** Current sort direction, or `false` when unsorted. */
|
|
1635
1770
|
sortDirection?: 'asc' | 'desc' | false;
|
|
1636
|
-
/** Click handler bound to the sort button (only rendered when `sortable`). */
|
|
1637
|
-
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
1638
1771
|
/**
|
|
1639
1772
|
* Visually-hidden, **caller-localized** cue appended to the sort button's
|
|
1640
1773
|
* accessible name (e.g. "activate to sort ascending"). `aria-sort` already
|
|
@@ -1645,16 +1778,32 @@ interface TableHeadProps extends Omit<React.ComponentProps<'th'>, 'align' | 'onC
|
|
|
1645
1778
|
* can't be hidden into a keyboard-reachable, invisible trap.
|
|
1646
1779
|
*/
|
|
1647
1780
|
sortLabel?: string;
|
|
1781
|
+
/** Renders the column's filter toggle: an icon-only funnel button sharing the
|
|
1782
|
+
* sort icon-box treatment, with `aria-pressed`. Filter *logic* is the
|
|
1783
|
+
* consumer's — wire `onClick`. Takes precedence over `sortable`. */
|
|
1784
|
+
filterable?: boolean;
|
|
1785
|
+
/** Whether the filter is currently applied — drives `aria-pressed` and the
|
|
1786
|
+
* active (filled) icon-box. */
|
|
1787
|
+
filterActive?: boolean;
|
|
1788
|
+
/** Visually-hidden, **caller-localized** name for the icon-only filter button
|
|
1789
|
+
* (e.g. "Filter"). Required with `filterable` so the toggle has an accessible
|
|
1790
|
+
* name; a dev warning fires when missing. */
|
|
1791
|
+
filterLabel?: string;
|
|
1792
|
+
/** Click handler bound to the sort/filter button (only rendered when
|
|
1793
|
+
* `sortable` or `filterable`). */
|
|
1794
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
1795
|
+
/** Disables the sort/filter button (renders the SDGA Disabled icon-box state). */
|
|
1796
|
+
disabled?: boolean;
|
|
1648
1797
|
}
|
|
1649
1798
|
interface TableCellProps extends Omit<React.ComponentProps<'td'>, 'align'> {
|
|
1650
|
-
align?: Align;
|
|
1799
|
+
align?: Align$1;
|
|
1651
1800
|
}
|
|
1652
|
-
declare function Table({ size, striped,
|
|
1801
|
+
declare function Table({ size, striped, contained, stickyHeader, className, maxHeight, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, ...props }: TableProps): react_jsx_runtime.JSX.Element;
|
|
1653
1802
|
declare function TableHeader({ className, ...props }: React.ComponentProps<'thead'>): react_jsx_runtime.JSX.Element;
|
|
1654
1803
|
declare function TableBody({ className, ...props }: React.ComponentProps<'tbody'>): react_jsx_runtime.JSX.Element;
|
|
1655
1804
|
declare function TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>): react_jsx_runtime.JSX.Element;
|
|
1656
1805
|
declare function TableRow({ className, selected, ...props }: TableRowProps): react_jsx_runtime.JSX.Element;
|
|
1657
|
-
declare function TableHead({ className, align, sortable, sortDirection, sortLabel, onClick, children, ...props }: TableHeadProps): react_jsx_runtime.JSX.Element;
|
|
1806
|
+
declare function TableHead({ className, align, sortable, sortDirection, sortLabel, filterable, filterActive, filterLabel, onClick, disabled, children, ...props }: TableHeadProps): react_jsx_runtime.JSX.Element;
|
|
1658
1807
|
declare function TableCell({ className, align, ...props }: TableCellProps): react_jsx_runtime.JSX.Element;
|
|
1659
1808
|
declare function TableCaption({ className, ...props }: React.ComponentProps<'caption'>): react_jsx_runtime.JSX.Element;
|
|
1660
1809
|
|
|
@@ -1696,9 +1845,30 @@ interface InputOTPProps extends Omit<React.ComponentProps<'div'>, 'onChange' | '
|
|
|
1696
1845
|
declare function InputOTP({ id: externalId, length, groupSizes, value, defaultValue, onChange, onComplete, pattern, mask, separator, size, disabled, autoFocus, name, required, label, helperText, errorMessage, error, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, ...props }: InputOTPProps): react_jsx_runtime.JSX.Element;
|
|
1697
1846
|
|
|
1698
1847
|
declare const linkVariants: (props?: ({
|
|
1699
|
-
|
|
1848
|
+
tone?: "neutral" | "primary" | "onColor" | null | undefined;
|
|
1849
|
+
size?: "sm" | "md" | null | undefined;
|
|
1850
|
+
inline?: boolean | null | undefined;
|
|
1700
1851
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1701
|
-
interface LinkProps extends React.ComponentProps<'a'>, VariantProps<typeof linkVariants> {
|
|
1852
|
+
interface LinkProps extends Omit<React.ComponentProps<'a'>, 'color'>, VariantProps<typeof linkVariants> {
|
|
1853
|
+
/**
|
|
1854
|
+
* Color family (SDGA Style axis). `primary` (SA green), `neutral` (gray-700),
|
|
1855
|
+
* `onColor` (white — for dark/colored surfaces).
|
|
1856
|
+
* @default 'primary'
|
|
1857
|
+
*/
|
|
1858
|
+
tone?: 'primary' | 'neutral' | 'onColor';
|
|
1859
|
+
/**
|
|
1860
|
+
* `md` = 16/24 + 20px icons, `sm` = 14/20 + 16px icons.
|
|
1861
|
+
* @default 'md'
|
|
1862
|
+
*/
|
|
1863
|
+
size?: 'sm' | 'md';
|
|
1864
|
+
/**
|
|
1865
|
+
* Underline always (for links inside running prose — WCAG 1.4.1). When `false`
|
|
1866
|
+
* the link only underlines on hover/pressed. Set this for any in-text link.
|
|
1867
|
+
* @default false
|
|
1868
|
+
*/
|
|
1869
|
+
inline?: boolean;
|
|
1870
|
+
/** Render the link in its disabled state (`aria-disabled`, not focusable, not clickable). */
|
|
1871
|
+
disabled?: boolean;
|
|
1702
1872
|
/**
|
|
1703
1873
|
* External link: appends a decorative ↗ icon and sets
|
|
1704
1874
|
* `rel="noopener noreferrer"` (merged with any consumer `rel`). `target` is
|
|
@@ -1706,135 +1876,84 @@ interface LinkProps extends React.ComponentProps<'a'>, VariantProps<typeof linkV
|
|
|
1706
1876
|
* the caller.
|
|
1707
1877
|
*/
|
|
1708
1878
|
external?: boolean;
|
|
1709
|
-
/** Leading icon
|
|
1879
|
+
/** Leading icon. Decorative — rendered `aria-hidden`. */
|
|
1710
1880
|
startIcon?: ReactNode;
|
|
1711
1881
|
/**
|
|
1712
1882
|
* Trailing icon. Decorative. When both `external` and `endIcon` are set, the
|
|
1713
1883
|
* consumer's `endIcon` wins (the auto ↗ is suppressed).
|
|
1714
1884
|
*/
|
|
1715
1885
|
endIcon?: ReactNode;
|
|
1716
|
-
/**
|
|
1717
|
-
* Flip start/end icons horizontally in RTL (for directional arrows/chevrons).
|
|
1718
|
-
* Does NOT apply to the auto `external` icon, which is RTL-neutral by design
|
|
1719
|
-
* (a symbolic "leaves the site" cue, not a directional glyph).
|
|
1720
|
-
*/
|
|
1886
|
+
/** Flip start/end icons horizontally in RTL (for directional arrows/chevrons). */
|
|
1721
1887
|
iconFlip?: boolean;
|
|
1722
1888
|
/**
|
|
1723
1889
|
* Render as the single child element instead of an `<a>`. Lets consumers
|
|
1724
1890
|
* compose with framework routers (`<Link asChild><RouterLink to="…">…</RouterLink></Link>`).
|
|
1725
|
-
* `Slottable` marks where the child's own content lands so the icons render
|
|
1726
|
-
* around it. In this mode the href dev-warning is skipped — the consumer's
|
|
1727
|
-
* element owns its attributes.
|
|
1728
1891
|
*/
|
|
1729
1892
|
asChild?: boolean;
|
|
1730
1893
|
}
|
|
1731
|
-
declare function Link({
|
|
1894
|
+
declare function Link({ tone, size, inline, disabled, external, startIcon, endIcon, iconFlip, asChild, className, children, rel, tabIndex, ...props }: LinkProps): react_jsx_runtime.JSX.Element;
|
|
1732
1895
|
|
|
1733
|
-
interface SearchBoxProps extends Omit<
|
|
1896
|
+
interface SearchBoxProps extends Omit<TextInputProps, 'startAdornment' | 'endAdornment' | 'type'> {
|
|
1734
1897
|
/** Fires on Enter with the current query string. */
|
|
1735
1898
|
onSearch?: (value: string) => void;
|
|
1899
|
+
/** Show the SDGA voice-search mic while the field is empty. Default `true`. */
|
|
1900
|
+
voiceSearch?: boolean;
|
|
1901
|
+
/** Fires when the voice-search mic is activated, with the current query. */
|
|
1902
|
+
onVoiceSearch?: (value: string) => void;
|
|
1736
1903
|
/** Fires when the field is cleared (clear button or Escape). */
|
|
1737
1904
|
onClear?: () => void;
|
|
1738
1905
|
/** Show the clear (×) button while the field has a value. Default `true`. */
|
|
1739
1906
|
clearable?: boolean;
|
|
1740
1907
|
/** Accessible label for the clear button. Default `'Clear search'`. */
|
|
1741
1908
|
clearLabel?: string;
|
|
1909
|
+
/** Accessible label for the voice-search mic. Default `'Search by voice'`. */
|
|
1910
|
+
voiceLabel?: string;
|
|
1742
1911
|
}
|
|
1743
|
-
declare function SearchBox({ value, defaultValue, onChange, onKeyDown, onSearch, onClear, clearable, clearLabel, className, ref, ...rest }: SearchBoxProps): react_jsx_runtime.JSX.Element;
|
|
1912
|
+
declare function SearchBox({ value, defaultValue, onChange, onKeyDown, onSearch, voiceSearch, onVoiceSearch, onClear, clearable, clearLabel, voiceLabel, helperIcon, disabled, readOnly, className, ref, ...rest }: SearchBoxProps): react_jsx_runtime.JSX.Element;
|
|
1744
1913
|
|
|
1745
1914
|
declare const listVariants: (props?: ({
|
|
1746
|
-
variant?: "
|
|
1747
|
-
|
|
1915
|
+
variant?: "ordered" | "unordered" | "with-icon" | null | undefined;
|
|
1916
|
+
tone?: "neutral" | "primary" | "on-color" | null | undefined;
|
|
1748
1917
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1749
1918
|
interface ListProps extends Omit<React.ComponentProps<'ul'>, 'type'>, VariantProps<typeof listVariants> {
|
|
1750
|
-
/** Ordered variants (`numbered` / `lettered`) only — the ordinal to start from. */
|
|
1751
|
-
start?: number;
|
|
1752
|
-
/** Ordered variants only — count the ordinals down instead of up. */
|
|
1753
|
-
reversed?: boolean;
|
|
1754
1919
|
}
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
* Primary line. Ignored if `children` is provided — `children` fully
|
|
1761
|
-
* replaces the primary/secondary rendering (use one or the other).
|
|
1762
|
-
*/
|
|
1763
|
-
primary?: ReactNode;
|
|
1764
|
-
/** Secondary, de-emphasized line below the primary. Ignored if `children` is set. */
|
|
1765
|
-
secondary?: ReactNode;
|
|
1920
|
+
interface ListItemProps extends React.ComponentProps<'li'> {
|
|
1921
|
+
/** Nesting depth: `2` indents 24px and shifts the marker (ordered → letters, unordered → bullet). */
|
|
1922
|
+
level?: 1 | 2;
|
|
1923
|
+
/** `with-icon` lists only — overrides the default check-circle for this item. */
|
|
1924
|
+
icon?: ReactNode;
|
|
1766
1925
|
}
|
|
1767
|
-
declare function List({ variant,
|
|
1768
|
-
declare function ListItem({ className, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
1769
|
-
declare function ListItemIcon({ className, ...props }: ListItemIconProps): react_jsx_runtime.JSX.Element;
|
|
1770
|
-
declare function ListItemContent({ primary, secondary, className, children, ...props }: ListItemContentProps): react_jsx_runtime.JSX.Element;
|
|
1771
|
-
declare function ListItemAction({ className, ...props }: ListItemActionProps): react_jsx_runtime.JSX.Element;
|
|
1926
|
+
declare function List({ variant, tone, className, ...props }: ListProps): react_jsx_runtime.JSX.Element;
|
|
1927
|
+
declare function ListItem({ level, icon, className, children, ...props }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
1772
1928
|
|
|
1773
1929
|
declare const quoteVariants: (props?: ({
|
|
1774
|
-
|
|
1930
|
+
size?: "sm" | "lg" | null | undefined;
|
|
1931
|
+
whiteBackground?: boolean | null | undefined;
|
|
1775
1932
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1776
1933
|
interface QuoteProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof quoteVariants> {
|
|
1777
|
-
/** The quote text. Rendered inside the `<blockquote>`. */
|
|
1934
|
+
/** The quote text — the cited sentence. Rendered inside the `<blockquote>`. */
|
|
1778
1935
|
children?: ReactNode;
|
|
1779
|
-
/**
|
|
1780
|
-
|
|
1781
|
-
/**
|
|
1782
|
-
* Attribution media (e.g. an `<Avatar />`), rendered at the inline-start of the
|
|
1783
|
-
* caption. Only shown alongside textual attribution (`author`/`byline`/`source`)
|
|
1784
|
-
* — an avatar with no name is decorative-only and would leave the
|
|
1785
|
-
* `<figcaption>` empty to assistive tech, so it is dropped on its own. Most
|
|
1786
|
-
* natural on `testimonial`. Quote renders whatever node you pass — it takes no
|
|
1787
|
-
* Avatar dependency.
|
|
1788
|
-
*/
|
|
1789
|
-
avatar?: ReactNode;
|
|
1790
|
-
/** Attribution name (e.g. the person quoted). Rendered as plain text. */
|
|
1936
|
+
/** Optional bold lead-in above the quote (SDGA "Title of quote" — Display xs). */
|
|
1937
|
+
quoteTitle?: ReactNode;
|
|
1938
|
+
/** Attribution name (SDGA "Author's name" — Text xl, medium). */
|
|
1791
1939
|
author?: ReactNode;
|
|
1940
|
+
/** Secondary attribution line — role / brief (SDGA author title — Text lg). */
|
|
1941
|
+
authorTitle?: ReactNode;
|
|
1792
1942
|
/**
|
|
1793
|
-
*
|
|
1794
|
-
*
|
|
1795
|
-
* so the native ARIA `role` attribute stays available on the root element.
|
|
1796
|
-
*/
|
|
1797
|
-
byline?: ReactNode;
|
|
1798
|
-
/** Title of the work, rendered in a real `<cite>` element. */
|
|
1799
|
-
source?: ReactNode;
|
|
1800
|
-
/**
|
|
1801
|
-
* URL of the source document — set as the `cite=` **attribute** on the
|
|
1802
|
-
* `<blockquote>` (machine-readable, not visible). For a visible work title use
|
|
1803
|
-
* `source`.
|
|
1943
|
+
* Avatar media (e.g. an `<Avatar />`), shown 80px at the inline-start of the author row.
|
|
1944
|
+
* Decorative (`aria-hidden`); only rendered alongside textual attribution.
|
|
1804
1945
|
*/
|
|
1946
|
+
avatar?: ReactNode;
|
|
1947
|
+
/** Source URL — set as the machine-readable `cite=` attribute on the `<blockquote>`. */
|
|
1805
1948
|
cite?: string;
|
|
1806
1949
|
}
|
|
1807
|
-
type QuoteContentProps = React.ComponentProps<'div'> & {
|
|
1808
|
-
asChild?: boolean;
|
|
1809
|
-
};
|
|
1810
|
-
type QuoteCaptionProps = React.ComponentProps<'figcaption'> & {
|
|
1811
|
-
asChild?: boolean;
|
|
1812
|
-
};
|
|
1813
|
-
type QuoteAuthorProps = React.ComponentProps<'span'> & {
|
|
1814
|
-
asChild?: boolean;
|
|
1815
|
-
};
|
|
1816
|
-
type QuoteSourceProps = React.ComponentProps<'cite'> & {
|
|
1817
|
-
asChild?: boolean;
|
|
1818
|
-
};
|
|
1819
1950
|
/**
|
|
1820
|
-
*
|
|
1821
|
-
*
|
|
1822
|
-
*
|
|
1823
|
-
*
|
|
1824
|
-
*
|
|
1825
|
-
* No `asChild` on the root: the `figure`/`blockquote`/`figcaption` composite has
|
|
1826
|
-
* fixed semantics (documented carve-out, mirrors `EmptyState`/`Timeline`/`List`).
|
|
1827
|
-
* The exported sub-parts carry `asChild` for hand-assembled compositions.
|
|
1951
|
+
* SDGA Quote — a card-style quotation block: an optional bold title, the quote body, an optional
|
|
1952
|
+
* author (name + brief, with optional avatar), framed by two large SA-flag-green quotation marks.
|
|
1953
|
+
* Renders a bare `<blockquote>`; with author attribution it becomes a `<figure>` + `<figcaption>`
|
|
1954
|
+
* (a `<figcaption>` must not be empty). The corner marks are decorative (`aria-hidden`).
|
|
1828
1955
|
*/
|
|
1829
|
-
declare function Quote({
|
|
1830
|
-
/** Body wrapper inside the `<blockquote>`. */
|
|
1831
|
-
declare function QuoteContent({ asChild, className, ...props }: QuoteContentProps): react_jsx_runtime.JSX.Element;
|
|
1832
|
-
/** Caption (attribution) below the quote. Pair with a `<figure>` root. */
|
|
1833
|
-
declare function QuoteCaption({ asChild, className, ...props }: QuoteCaptionProps): react_jsx_runtime.JSX.Element;
|
|
1834
|
-
/** Attribution name. */
|
|
1835
|
-
declare function QuoteAuthor({ asChild, className, ...props }: QuoteAuthorProps): react_jsx_runtime.JSX.Element;
|
|
1836
|
-
/** Title of the cited work — a real `<cite>` element. */
|
|
1837
|
-
declare function QuoteSource({ asChild, className, ...props }: QuoteSourceProps): react_jsx_runtime.JSX.Element;
|
|
1956
|
+
declare function Quote({ size, whiteBackground, quoteTitle, author, authorTitle, avatar, cite, className, children, ...props }: QuoteProps): react_jsx_runtime.JSX.Element;
|
|
1838
1957
|
|
|
1839
1958
|
type CollapsibleProps = React.ComponentProps<typeof Collapsible$1.Root>;
|
|
1840
1959
|
type CollapsibleTriggerProps = React.ComponentProps<typeof Collapsible$1.Trigger>;
|
|
@@ -1873,8 +1992,8 @@ interface TagInputProps extends NativeInputProps, Omit<VariantProps<typeof tagIn
|
|
|
1873
1992
|
validate?: (tag: string, tags: string[]) => boolean;
|
|
1874
1993
|
/** Characters that commit the draft and split a paste. Newline always splits a paste. */
|
|
1875
1994
|
delimiters?: string[];
|
|
1876
|
-
/**
|
|
1877
|
-
chipVariant?:
|
|
1995
|
+
/** Tag variant used for the chips. */
|
|
1996
|
+
chipVariant?: TagProps['variant'];
|
|
1878
1997
|
/** Accessible name for each chip's remove button. */
|
|
1879
1998
|
removeLabel?: (tag: string) => string;
|
|
1880
1999
|
/** Live-region text announced on add/remove (screen readers). */
|
|
@@ -1883,11 +2002,13 @@ interface TagInputProps extends NativeInputProps, Omit<VariantProps<typeof tagIn
|
|
|
1883
2002
|
declare function TagInput({ id: externalId, value, defaultValue, onChange, label, helperText, errorMessage, error, size, disabled, required, placeholder, max, allowDuplicates, caseSensitive, validate, delimiters, chipVariant, removeLabel, formatAnnouncement, className, ...props }: TagInputProps): react_jsx_runtime.JSX.Element;
|
|
1884
2003
|
|
|
1885
2004
|
declare const dateRangePickerTriggerVariants: (props?: ({
|
|
1886
|
-
size?: "
|
|
2005
|
+
size?: "md" | "lg" | null | undefined;
|
|
2006
|
+
variant?: "default" | "filled-lighter" | "filled-darker" | null | undefined;
|
|
1887
2007
|
error?: boolean | null | undefined;
|
|
1888
2008
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1889
2009
|
declare const dateRangePickerVariants: (props?: ({
|
|
1890
|
-
size?: "
|
|
2010
|
+
size?: "md" | "lg" | null | undefined;
|
|
2011
|
+
variant?: "default" | "filled-lighter" | "filled-darker" | null | undefined;
|
|
1891
2012
|
error?: boolean | null | undefined;
|
|
1892
2013
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1893
2014
|
/** A complete, inclusive date range. Both ends are local Y/M/D. */
|
|
@@ -1918,6 +2039,8 @@ interface DateRangePickerProps extends VariantProps<typeof dateRangePickerTrigge
|
|
|
1918
2039
|
required?: boolean;
|
|
1919
2040
|
/** Disables the trigger entirely. */
|
|
1920
2041
|
disabled?: boolean;
|
|
2042
|
+
/** Read-only: value is shown but not editable (segments + calendar locked). */
|
|
2043
|
+
readOnly?: boolean;
|
|
1921
2044
|
/** Caller-supplied id for the field. */
|
|
1922
2045
|
id?: string;
|
|
1923
2046
|
/** Forwarded to the Group (the trigger row), matching Input/Select. */
|
|
@@ -1943,7 +2066,7 @@ interface DateRangePickerProps extends VariantProps<typeof dateRangePickerTrigge
|
|
|
1943
2066
|
*/
|
|
1944
2067
|
showSecondaryCalendar?: boolean;
|
|
1945
2068
|
}
|
|
1946
|
-
declare function DateRangePicker({ value: controlledValue, defaultValue, onChange, minValue, maxValue, label, helperText, errorMessage, error, required, disabled, size, id, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, calendar: controlledCalendar, defaultCalendar, onCalendarChange, showCalendarToggle, calendarLabels, showSecondaryCalendar, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
2069
|
+
declare function DateRangePicker({ value: controlledValue, defaultValue, onChange, minValue, maxValue, label, helperText, errorMessage, error, required, disabled, readOnly, size, variant, id, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, calendar: controlledCalendar, defaultCalendar, onCalendarChange, showCalendarToggle, calendarLabels, showSecondaryCalendar, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
1947
2070
|
|
|
1948
2071
|
interface AspectRatioProps extends React.ComponentProps<'div'> {
|
|
1949
2072
|
/**
|
|
@@ -1972,6 +2095,498 @@ interface AspectRatioProps extends React.ComponentProps<'div'> {
|
|
|
1972
2095
|
*/
|
|
1973
2096
|
declare function AspectRatio({ ratio, asChild, className, style, ...props }: AspectRatioProps): react_jsx_runtime.JSX.Element;
|
|
1974
2097
|
|
|
2098
|
+
declare const structuredListVariants: (props?: ({
|
|
2099
|
+
compact?: boolean | null | undefined;
|
|
2100
|
+
contained?: boolean | null | undefined;
|
|
2101
|
+
rowDivider?: boolean | null | undefined;
|
|
2102
|
+
colDivider?: boolean | null | undefined;
|
|
2103
|
+
selectable?: boolean | null | undefined;
|
|
2104
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2105
|
+
type Align = 'start' | 'center' | 'end';
|
|
2106
|
+
interface StructuredListProps extends React.ComponentProps<'table'>, VariantProps<typeof structuredListVariants> {
|
|
2107
|
+
}
|
|
2108
|
+
interface StructuredListRowProps extends React.ComponentProps<'tr'> {
|
|
2109
|
+
/** Selected state of a `selectable` row (controlled). Drives the row's
|
|
2110
|
+
* auto-rendered checkbox + `data-state="selected"`. */
|
|
2111
|
+
selected?: boolean;
|
|
2112
|
+
/** Fired when a `selectable` row toggles — by its checkbox, a click anywhere
|
|
2113
|
+
* on the row, or keyboard on the checkbox. */
|
|
2114
|
+
onSelectedChange?: (selected: boolean) => void;
|
|
2115
|
+
/** Visually + interactively mutes the row and its checkbox. */
|
|
2116
|
+
disabled?: boolean;
|
|
2117
|
+
/** Accessible name for a `selectable` row's auto-rendered checkbox. */
|
|
2118
|
+
selectionLabel?: string;
|
|
2119
|
+
}
|
|
2120
|
+
interface StructuredListHeadProps extends Omit<React.ComponentProps<'th'>, 'align'> {
|
|
2121
|
+
align?: Align;
|
|
2122
|
+
}
|
|
2123
|
+
interface StructuredListCellProps extends Omit<React.ComponentProps<'td'>, 'align'> {
|
|
2124
|
+
align?: Align;
|
|
2125
|
+
/** @internal Selection control injected into the first cell of a selectable row. */
|
|
2126
|
+
__control?: ReactNode;
|
|
2127
|
+
}
|
|
2128
|
+
declare function StructuredList({ compact, contained, rowDivider, colDivider, selectable, className, ...props }: StructuredListProps): react_jsx_runtime.JSX.Element;
|
|
2129
|
+
declare function StructuredListHeader({ className, ...props }: React.ComponentProps<'thead'>): react_jsx_runtime.JSX.Element;
|
|
2130
|
+
declare function StructuredListBody({ className, ...props }: React.ComponentProps<'tbody'>): react_jsx_runtime.JSX.Element;
|
|
2131
|
+
declare function StructuredListRow({ className, selected, onSelectedChange, disabled, selectionLabel, onClick, children, ...props }: StructuredListRowProps): react_jsx_runtime.JSX.Element;
|
|
2132
|
+
declare function StructuredListHead({ className, align, children, ...props }: StructuredListHeadProps): react_jsx_runtime.JSX.Element;
|
|
2133
|
+
declare function StructuredListCell({ className, align, children, __control, ...props }: StructuredListCellProps): react_jsx_runtime.JSX.Element;
|
|
2134
|
+
|
|
2135
|
+
declare const notificationVariants: (props?: ({
|
|
2136
|
+
type?: "neutral" | "success" | "warning" | "info" | "critical" | null | undefined;
|
|
2137
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2138
|
+
interface NotificationProps extends React.ComponentProps<'div'>, VariantProps<typeof notificationVariants> {
|
|
2139
|
+
/** The message body — always present per SDGA (the one required content). */
|
|
2140
|
+
children: ReactNode;
|
|
2141
|
+
/** Bold lead-in shown before the message, e.g. `"Important:"`. */
|
|
2142
|
+
lead?: ReactNode;
|
|
2143
|
+
/** Featured leading icon. Pass `false` to hide it; defaults to the type's glyph. */
|
|
2144
|
+
icon?: ReactNode | false;
|
|
2145
|
+
/**
|
|
2146
|
+
* Trailing action row — compose `<Link tone="neutral">` and/or
|
|
2147
|
+
* `<Button variant="black" size="md">` (the exact SDGA action variants).
|
|
2148
|
+
*/
|
|
2149
|
+
actions?: ReactNode;
|
|
2150
|
+
/** Provide to render the trailing ✕ and make the banner dismissible. */
|
|
2151
|
+
onClose?: () => void;
|
|
2152
|
+
/** Controlled visibility. Pair with `onClose` to own the state yourself. */
|
|
2153
|
+
open?: boolean;
|
|
2154
|
+
/** Localized close-button label. Defaults to `"Dismiss"`. */
|
|
2155
|
+
closeLabel?: string;
|
|
2156
|
+
/**
|
|
2157
|
+
* Wire the banner into the a11y tree as a live region. `polite` (role=status)
|
|
2158
|
+
* announces gracefully; `assertive` (role=alert) interrupts. Omit for static banners.
|
|
2159
|
+
*/
|
|
2160
|
+
live?: 'polite' | 'assertive';
|
|
2161
|
+
}
|
|
2162
|
+
declare function Notification({ type, lead, icon, actions, onClose, open: controlledOpen, closeLabel, live, className, children, ...props }: NotificationProps): react_jsx_runtime.JSX.Element | null;
|
|
2163
|
+
|
|
2164
|
+
declare const floatingButtonVariants: (props?: ({
|
|
2165
|
+
variant?: "primary" | "secondary" | "black" | null | undefined;
|
|
2166
|
+
size?: "sm" | "lg" | null | undefined;
|
|
2167
|
+
onColor?: boolean | null | undefined;
|
|
2168
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2169
|
+
interface FloatingButtonProps extends React.ComponentProps<'button'>, VariantProps<typeof floatingButtonVariants> {
|
|
2170
|
+
/** Lead action glyph, rendered at 24px (e.g. a plus for "create"). */
|
|
2171
|
+
icon: ReactNode;
|
|
2172
|
+
/**
|
|
2173
|
+
* Optional label. Present → an **extended** pill (icon + label, gap 8); omit →
|
|
2174
|
+
* a circular **icon-only** FAB (then provide an `aria-label`).
|
|
2175
|
+
*/
|
|
2176
|
+
children?: ReactNode;
|
|
2177
|
+
/** Flip the icon horizontally in RTL (for directional glyphs). */
|
|
2178
|
+
iconFlip?: boolean;
|
|
2179
|
+
/**
|
|
2180
|
+
* Render as the single child element instead of a `<button>`, to compose with
|
|
2181
|
+
* router links: `<FloatingButton asChild icon={…}><a href="…" /></FloatingButton>`.
|
|
2182
|
+
* `type` and native `disabled` are dropped; disabled then relies on
|
|
2183
|
+
* `aria-disabled` + `tabIndex={-1}` (consumer must still gate the action).
|
|
2184
|
+
*/
|
|
2185
|
+
asChild?: boolean;
|
|
2186
|
+
}
|
|
2187
|
+
declare function FloatingButton({ variant, size, onColor, icon, iconFlip, asChild, disabled, className, children, type, ...props }: FloatingButtonProps): react_jsx_runtime.JSX.Element;
|
|
2188
|
+
|
|
2189
|
+
declare const filtrationPanelVariants: (props?: ({
|
|
2190
|
+
inline?: boolean | null | undefined;
|
|
2191
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2192
|
+
interface FiltrationProps {
|
|
2193
|
+
/** Floating overlay anchored to the trigger (default) vs an embedded inline panel. */
|
|
2194
|
+
overlay?: boolean;
|
|
2195
|
+
/** Controlled open state (overlay only). */
|
|
2196
|
+
open?: boolean;
|
|
2197
|
+
/** Uncontrolled initial open state (overlay only). */
|
|
2198
|
+
defaultOpen?: boolean;
|
|
2199
|
+
onOpenChange?: (open: boolean) => void;
|
|
2200
|
+
children?: ReactNode;
|
|
2201
|
+
}
|
|
2202
|
+
type FiltrationTriggerProps = Omit<ButtonProps, 'variant' | 'asChild'>;
|
|
2203
|
+
interface FiltrationResultsProps extends React.ComponentProps<'div'> {
|
|
2204
|
+
/** Names the applied-filters chip group for assistive tech, e.g. "Applied filters". */
|
|
2205
|
+
'aria-label'?: string;
|
|
2206
|
+
}
|
|
2207
|
+
type FiltrationPanelProps = Omit<React.ComponentProps<typeof PopoverContent>, 'size' | 'arrow'>;
|
|
2208
|
+
interface FiltrationSectionProps extends React.ComponentProps<'div'> {
|
|
2209
|
+
/** Section heading (Text sm/Semibold). */
|
|
2210
|
+
label: ReactNode;
|
|
2211
|
+
/** Selected-count badge; rendered via `formatCount`. */
|
|
2212
|
+
count?: number;
|
|
2213
|
+
/** Maps `count` → the suffix text. Defaults to `(n selections)`. Override for i18n. */
|
|
2214
|
+
formatCount?: (count: number) => ReactNode;
|
|
2215
|
+
}
|
|
2216
|
+
interface FiltrationCheckboxOption {
|
|
2217
|
+
value: string;
|
|
2218
|
+
label: ReactNode;
|
|
2219
|
+
/** Optional trailing count, e.g. number of matching results. */
|
|
2220
|
+
count?: number;
|
|
2221
|
+
disabled?: boolean;
|
|
2222
|
+
}
|
|
2223
|
+
interface FiltrationCheckboxFilterProps extends Omit<React.ComponentProps<'div'>, 'defaultValue'> {
|
|
2224
|
+
options: FiltrationCheckboxOption[];
|
|
2225
|
+
/** Controlled selected values. */
|
|
2226
|
+
value?: string[];
|
|
2227
|
+
/** Uncontrolled initial selected values. */
|
|
2228
|
+
defaultValue?: string[];
|
|
2229
|
+
onValueChange?: (next: string[]) => void;
|
|
2230
|
+
/** Show a search field that filters options by label. */
|
|
2231
|
+
searchable?: boolean;
|
|
2232
|
+
searchPlaceholder?: string;
|
|
2233
|
+
/** Accessible label for the search field (it has no visible label). */
|
|
2234
|
+
searchLabel?: string;
|
|
2235
|
+
/** Collapse to the first N options behind a "Show more" toggle. */
|
|
2236
|
+
collapseAfter?: number;
|
|
2237
|
+
/** Maps the hidden-count → the expand button label. Default `Show {n} more`. */
|
|
2238
|
+
showMoreLabel?: (remaining: number) => ReactNode;
|
|
2239
|
+
showLessLabel?: ReactNode;
|
|
2240
|
+
'aria-label'?: string;
|
|
2241
|
+
'aria-labelledby'?: string;
|
|
2242
|
+
className?: string;
|
|
2243
|
+
}
|
|
2244
|
+
type FiltrationOptionListProps = Omit<React.ComponentProps<typeof RadioGroup$1.Root>, 'asChild'>;
|
|
2245
|
+
interface FiltrationOptionProps extends Omit<React.ComponentProps<typeof RadioGroup$1.Item>, 'children'> {
|
|
2246
|
+
children: ReactNode;
|
|
2247
|
+
}
|
|
2248
|
+
interface FiltrationFooterProps extends React.ComponentProps<'div'> {
|
|
2249
|
+
applyLabel?: ReactNode;
|
|
2250
|
+
clearLabel?: ReactNode;
|
|
2251
|
+
/** Appended to the apply label as `(n)`. */
|
|
2252
|
+
appliedCount?: number;
|
|
2253
|
+
onApply?: () => void;
|
|
2254
|
+
onClear?: () => void;
|
|
2255
|
+
/** Close the overlay when Apply is pressed (overlay only). Default `true`. */
|
|
2256
|
+
closeOnApply?: boolean;
|
|
2257
|
+
}
|
|
2258
|
+
declare function Filtration({ overlay, open, defaultOpen, onOpenChange, children, }: FiltrationProps): react_jsx_runtime.JSX.Element;
|
|
2259
|
+
declare function FiltrationTrigger({ size, startIcon, endIcon, className, children, ...props }: FiltrationTriggerProps): react_jsx_runtime.JSX.Element | null;
|
|
2260
|
+
declare function FiltrationResults({ className, children, 'aria-label': ariaLabel, ...props }: FiltrationResultsProps): react_jsx_runtime.JSX.Element;
|
|
2261
|
+
declare function FiltrationPanel({ className, children, ...props }: FiltrationPanelProps): react_jsx_runtime.JSX.Element;
|
|
2262
|
+
declare function FiltrationSection({ label, count, formatCount, className, children, ...props }: FiltrationSectionProps): react_jsx_runtime.JSX.Element;
|
|
2263
|
+
declare function FiltrationCheckboxFilter({ options, value, defaultValue, onValueChange, searchable, searchPlaceholder, searchLabel, collapseAfter, showMoreLabel, showLessLabel, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, ...rest }: FiltrationCheckboxFilterProps): react_jsx_runtime.JSX.Element;
|
|
2264
|
+
declare function FiltrationOptionList({ className, ...props }: FiltrationOptionListProps): react_jsx_runtime.JSX.Element;
|
|
2265
|
+
declare function FiltrationOption({ className, children, ...props }: FiltrationOptionProps): react_jsx_runtime.JSX.Element;
|
|
2266
|
+
declare function FiltrationFooter({ applyLabel, clearLabel, appliedCount, onApply, onClear, closeOnApply, className, ...props }: FiltrationFooterProps): react_jsx_runtime.JSX.Element;
|
|
2267
|
+
|
|
2268
|
+
declare const carouselVariants: (props?: ({
|
|
2269
|
+
controls?: "both" | "dots" | "arrows" | null | undefined;
|
|
2270
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2271
|
+
declare const carouselArrowVariants: (props?: ({
|
|
2272
|
+
arrowStyle?: "primary" | "subtle" | null | undefined;
|
|
2273
|
+
arrowSize?: "sm" | "md" | "lg" | null | undefined;
|
|
2274
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2275
|
+
declare const carouselDotsVariants: (props?: ({
|
|
2276
|
+
dotSize?: "sm" | "md" | "lg" | null | undefined;
|
|
2277
|
+
bare?: boolean | null | undefined;
|
|
2278
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2279
|
+
interface CarouselProps extends Omit<React.ComponentProps<'div'>, 'onChange'> {
|
|
2280
|
+
/** Controlled active slide index. */
|
|
2281
|
+
index?: number;
|
|
2282
|
+
/** Uncontrolled initial index. Defaults to 0. */
|
|
2283
|
+
defaultIndex?: number;
|
|
2284
|
+
/** Fires with the new index on any navigation. */
|
|
2285
|
+
onIndexChange?: (index: number) => void;
|
|
2286
|
+
/** Which controls to lay out: dots below, arrows flanking, or both. */
|
|
2287
|
+
controls?: 'dots' | 'arrows' | 'both';
|
|
2288
|
+
/** Wrap past the ends instead of stopping. */
|
|
2289
|
+
loop?: boolean;
|
|
2290
|
+
/** Dot indicator diameter — `sm` 8 · `md` 12 · `lg` 16 px. */
|
|
2291
|
+
dotSize?: 'sm' | 'md' | 'lg';
|
|
2292
|
+
/** Arrow button style — filled green `primary` or transparent `subtle`. */
|
|
2293
|
+
arrowStyle?: 'primary' | 'subtle';
|
|
2294
|
+
/** Arrow button diameter — `sm` 32 · `md` 40 · `lg` 48 px. */
|
|
2295
|
+
arrowSize?: 'sm' | 'md' | 'lg';
|
|
2296
|
+
/** Enable pointer/touch swipe to navigate. Defaults to true. */
|
|
2297
|
+
swipe?: boolean;
|
|
2298
|
+
/** Auto-advance (house extension; pauses on hover/focus + reduced-motion). */
|
|
2299
|
+
autoplay?: boolean;
|
|
2300
|
+
/** Auto-advance interval in ms. Defaults to 5000. */
|
|
2301
|
+
autoplayInterval?: number;
|
|
2302
|
+
}
|
|
2303
|
+
declare function Carousel({ index, defaultIndex, onIndexChange, controls, loop, dotSize, arrowStyle, arrowSize, swipe, autoplay, autoplayInterval, className, children, ...props }: CarouselProps): react_jsx_runtime.JSX.Element;
|
|
2304
|
+
type CarouselViewportProps = React.ComponentProps<'div'>;
|
|
2305
|
+
declare function CarouselViewport({ className, children, ...props }: CarouselViewportProps): react_jsx_runtime.JSX.Element;
|
|
2306
|
+
interface CarouselSlideProps extends React.ComponentProps<'div'> {
|
|
2307
|
+
/** 0-based position — injected by `CarouselViewport`. */
|
|
2308
|
+
index?: number;
|
|
2309
|
+
}
|
|
2310
|
+
declare function CarouselSlide({ index, className, children, ...props }: CarouselSlideProps): react_jsx_runtime.JSX.Element;
|
|
2311
|
+
interface CarouselNavProps extends Omit<React.ComponentProps<'button'>, 'children'> {
|
|
2312
|
+
/** Accessible label for the icon-only button. */
|
|
2313
|
+
label?: string;
|
|
2314
|
+
/** Compose with a custom element (e.g. a router link) via Radix Slot. */
|
|
2315
|
+
asChild?: boolean;
|
|
2316
|
+
/** Override the default chevron glyph. */
|
|
2317
|
+
children?: ReactNode;
|
|
2318
|
+
}
|
|
2319
|
+
declare function CarouselPrevious(props: CarouselNavProps): react_jsx_runtime.JSX.Element;
|
|
2320
|
+
declare function CarouselNext(props: CarouselNavProps): react_jsx_runtime.JSX.Element;
|
|
2321
|
+
interface CarouselDotsProps extends React.ComponentProps<'div'> {
|
|
2322
|
+
/** Drop the pill padding (SDGA "Dots Only"). */
|
|
2323
|
+
bare?: boolean;
|
|
2324
|
+
/** Build each dot's accessible label. Defaults to `Go to slide {n}`. */
|
|
2325
|
+
dotLabel?: (index: number, count: number) => string;
|
|
2326
|
+
}
|
|
2327
|
+
declare function CarouselDots({ bare, dotLabel, className, ...props }: CarouselDotsProps): react_jsx_runtime.JSX.Element;
|
|
2328
|
+
|
|
2329
|
+
interface CodeSnippetLanguage {
|
|
2330
|
+
/** Stable id for the tab + active state. */
|
|
2331
|
+
value: string;
|
|
2332
|
+
/** Tab label (shown only when more than one language). */
|
|
2333
|
+
label: string;
|
|
2334
|
+
/** The code for this language — drives the gutter, copy, and default rendering. */
|
|
2335
|
+
code: string;
|
|
2336
|
+
}
|
|
2337
|
+
interface CodeSnippetProps extends Omit<React.ComponentProps<'div'>, 'children' | 'onCopy'> {
|
|
2338
|
+
/** One entry per language. A single entry hides the tab bar (SDGA single-tab). */
|
|
2339
|
+
languages: CodeSnippetLanguage[];
|
|
2340
|
+
/** Controlled active language. */
|
|
2341
|
+
value?: string;
|
|
2342
|
+
/** Uncontrolled initial active language (defaults to the first). */
|
|
2343
|
+
defaultValue?: string;
|
|
2344
|
+
onValueChange?: (value: string) => void;
|
|
2345
|
+
/** Render the line-number gutter. @default true */
|
|
2346
|
+
lineNumbers?: boolean;
|
|
2347
|
+
/** Collapse to this many lines with a Show More toggle when exceeded. */
|
|
2348
|
+
maxLines?: number;
|
|
2349
|
+
/** Escape hatch: render highlighted code yourself; the active `code` still drives copy + line count. */
|
|
2350
|
+
renderCode?: (ctx: {
|
|
2351
|
+
code: string;
|
|
2352
|
+
language: string;
|
|
2353
|
+
}) => ReactNode;
|
|
2354
|
+
onCopy?: (text: string) => void;
|
|
2355
|
+
/** Accessible name for the copy button. @default 'Copy code' */
|
|
2356
|
+
copyLabel?: string;
|
|
2357
|
+
/** Live-region text announced after a successful copy. @default 'Copied' */
|
|
2358
|
+
copiedLabel?: string;
|
|
2359
|
+
}
|
|
2360
|
+
interface CodeSnippetInlineProps extends Omit<React.ComponentProps<'div'>, 'onCopy' | 'prefix' | 'children'> {
|
|
2361
|
+
/** The command text — copied verbatim. */
|
|
2362
|
+
children: string;
|
|
2363
|
+
/** Leading label (e.g. `npm`) — rendered in gold. */
|
|
2364
|
+
prefix?: ReactNode;
|
|
2365
|
+
onCopy?: (text: string) => void;
|
|
2366
|
+
/** Accessible name for the copy button. @default 'Copy code' */
|
|
2367
|
+
copyLabel?: string;
|
|
2368
|
+
/** Live-region text announced after a successful copy. @default 'Copied' */
|
|
2369
|
+
copiedLabel?: string;
|
|
2370
|
+
}
|
|
2371
|
+
declare function CodeSnippet({ languages, value, defaultValue, onValueChange, lineNumbers, maxLines, renderCode, onCopy, copyLabel, copiedLabel, className, ...props }: CodeSnippetProps): react_jsx_runtime.JSX.Element;
|
|
2372
|
+
declare function CodeSnippetInline({ prefix, children, onCopy, copyLabel, copiedLabel, className, ...props }: CodeSnippetInlineProps): react_jsx_runtime.JSX.Element;
|
|
2373
|
+
|
|
2374
|
+
declare const digitalStampVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
2375
|
+
/** Saudi government domain extension — selects the default verification copy + highlighted domain. */
|
|
2376
|
+
type DigitalStampExtension = 'gov.sa' | 'edu.sa' | 'med.sa' | 'org.sa' | 'sch.sa' | 'sa';
|
|
2377
|
+
interface DigitalStampProps extends React.ComponentProps<'section'> {
|
|
2378
|
+
/** Domain extension — selects the default verification copy + highlighted domain. @default 'gov.sa' */
|
|
2379
|
+
extension?: DigitalStampExtension;
|
|
2380
|
+
/** Bar statement, shown beside the flag. */
|
|
2381
|
+
statement?: ReactNode;
|
|
2382
|
+
/** Disclosure trigger label. @default 'How you know?' */
|
|
2383
|
+
triggerLabel?: ReactNode;
|
|
2384
|
+
/** Domain-verification column title. Defaults to the SDGA copy for `extension` (domain in `<strong>`). */
|
|
2385
|
+
domainTitle?: ReactNode;
|
|
2386
|
+
/** Domain-verification column body. */
|
|
2387
|
+
domainDescription?: ReactNode;
|
|
2388
|
+
/** Security/HTTPS column title. Defaults to the SDGA copy (`HTTPS` in `<strong>`). */
|
|
2389
|
+
securityTitle?: ReactNode;
|
|
2390
|
+
/** Security/HTTPS column body. */
|
|
2391
|
+
securityDescription?: ReactNode;
|
|
2392
|
+
/** Registration-panel lead label. */
|
|
2393
|
+
registrationLabel?: ReactNode;
|
|
2394
|
+
/** DGA registration number shown (and linked) in the panel. The panel is omitted when this is empty. */
|
|
2395
|
+
registrationNumber?: ReactNode;
|
|
2396
|
+
/** href for the registration-number link. Falls back to plain text when omitted. */
|
|
2397
|
+
registrationHref?: string;
|
|
2398
|
+
/** Official DGA logo node rendered in the registration panel (consumer-supplied asset; it's trademarked). */
|
|
2399
|
+
logo?: ReactNode;
|
|
2400
|
+
/** Controlled open state of the disclosure panel. */
|
|
2401
|
+
open?: boolean;
|
|
2402
|
+
/** Uncontrolled initial open state. @default false */
|
|
2403
|
+
defaultOpen?: boolean;
|
|
2404
|
+
/** Called with the next open state when the user toggles the panel. */
|
|
2405
|
+
onOpenChange?: (open: boolean) => void;
|
|
2406
|
+
}
|
|
2407
|
+
/**
|
|
2408
|
+
* **DigitalStamp** — the SDGA government-site verification bar. A slim banner (flag + statement) that
|
|
2409
|
+
* expands via "How you know?" to explain how to verify the site's domain extension, HTTPS usage, and DGA
|
|
2410
|
+
* registration. Responsive (compact bar ↔ stacked panel) and fully RTL/bilingual — every string is a prop.
|
|
2411
|
+
*/
|
|
2412
|
+
declare function DigitalStamp({ extension, statement, triggerLabel, domainTitle, domainDescription, securityTitle, securityDescription, registrationLabel, registrationNumber, registrationHref, logo, open, defaultOpen, onOpenChange, className, 'aria-label': ariaLabel, ...props }: DigitalStampProps): react_jsx_runtime.JSX.Element;
|
|
2413
|
+
|
|
2414
|
+
declare const slideoutMenuContentVariants: (props?: ({
|
|
2415
|
+
side?: "end" | "start" | null | undefined;
|
|
2416
|
+
background?: "gray" | "white" | null | undefined;
|
|
2417
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2418
|
+
type SlideoutMenuProps = React.ComponentProps<typeof Dialog.Root>;
|
|
2419
|
+
type SlideoutMenuTriggerProps = React.ComponentProps<typeof Dialog.Trigger>;
|
|
2420
|
+
type SlideoutMenuCloseProps = React.ComponentProps<typeof Dialog.Close>;
|
|
2421
|
+
interface SlideoutMenuContentProps extends React.ComponentProps<typeof Dialog.Content>, VariantProps<typeof slideoutMenuContentVariants> {
|
|
2422
|
+
}
|
|
2423
|
+
interface SlideoutMenuHeaderProps extends React.ComponentProps<'div'> {
|
|
2424
|
+
/** Optional featured icon, shown in a 32px brand-tinted disc before the title. */
|
|
2425
|
+
icon?: React.ReactNode;
|
|
2426
|
+
/** Render the close (X) button. Defaults to `true`. */
|
|
2427
|
+
showClose?: boolean;
|
|
2428
|
+
/** Localized aria-label for the close button. Defaults to `"Close"`. */
|
|
2429
|
+
closeLabel?: string;
|
|
2430
|
+
}
|
|
2431
|
+
interface SlideoutMenuTitleProps extends React.ComponentProps<typeof Dialog.Title> {
|
|
2432
|
+
asChild?: boolean;
|
|
2433
|
+
}
|
|
2434
|
+
interface SlideoutMenuDescriptionProps extends React.ComponentProps<typeof Dialog.Description> {
|
|
2435
|
+
asChild?: boolean;
|
|
2436
|
+
}
|
|
2437
|
+
type SlideoutMenuSectionProps = React.ComponentProps<'div'> & {
|
|
2438
|
+
asChild?: boolean;
|
|
2439
|
+
};
|
|
2440
|
+
interface SlideoutMenuGroupProps extends React.ComponentProps<'div'> {
|
|
2441
|
+
/** Section heading rendered above the list (SDGA "Group Label"). */
|
|
2442
|
+
label?: React.ReactNode;
|
|
2443
|
+
}
|
|
2444
|
+
interface SlideoutMenuItemProps extends React.ComponentProps<'button'> {
|
|
2445
|
+
/** Render as the child element (e.g. an `<a>` or router `<Link>`). */
|
|
2446
|
+
asChild?: boolean;
|
|
2447
|
+
/** Leading 24px icon. */
|
|
2448
|
+
icon?: React.ReactNode;
|
|
2449
|
+
/** Trailing slot — counter text, an icon button, a check, a `Tag`, etc. */
|
|
2450
|
+
trailing?: React.ReactNode;
|
|
2451
|
+
/** Marks the current page — sets `aria-current="page"` and the active style. */
|
|
2452
|
+
active?: boolean;
|
|
2453
|
+
}
|
|
2454
|
+
declare function SlideoutMenu(props: SlideoutMenuProps): react_jsx_runtime.JSX.Element;
|
|
2455
|
+
declare function SlideoutMenuTrigger({ className, ...props }: SlideoutMenuTriggerProps): react_jsx_runtime.JSX.Element;
|
|
2456
|
+
declare function SlideoutMenuContent({ side, background, className, children, ...props }: SlideoutMenuContentProps): react_jsx_runtime.JSX.Element;
|
|
2457
|
+
declare function SlideoutMenuHeader({ icon, showClose, closeLabel, className, children, ...props }: SlideoutMenuHeaderProps): react_jsx_runtime.JSX.Element;
|
|
2458
|
+
declare function SlideoutMenuTitle({ asChild, className, ...props }: SlideoutMenuTitleProps): react_jsx_runtime.JSX.Element;
|
|
2459
|
+
declare function SlideoutMenuDescription({ asChild, className, ...props }: SlideoutMenuDescriptionProps): react_jsx_runtime.JSX.Element;
|
|
2460
|
+
declare function SlideoutMenuBody({ asChild, className, ...props }: SlideoutMenuSectionProps): react_jsx_runtime.JSX.Element;
|
|
2461
|
+
declare function SlideoutMenuGroup({ label, className, children, ...props }: SlideoutMenuGroupProps): react_jsx_runtime.JSX.Element;
|
|
2462
|
+
declare function SlideoutMenuItem({ asChild, icon, trailing, active, className, children, ...props }: SlideoutMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
2463
|
+
declare function SlideoutMenuSeparator({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
2464
|
+
declare function SlideoutMenuFooter({ asChild, className, ...props }: SlideoutMenuSectionProps): react_jsx_runtime.JSX.Element;
|
|
2465
|
+
declare function SlideoutMenuClose({ className, ...props }: SlideoutMenuCloseProps): react_jsx_runtime.JSX.Element;
|
|
2466
|
+
|
|
2467
|
+
/** One category/series datum. */
|
|
2468
|
+
interface ChartSeries {
|
|
2469
|
+
/** Series name shown in the legend + data table. */
|
|
2470
|
+
label: string;
|
|
2471
|
+
/** One value per category (same length/order as `categories`). */
|
|
2472
|
+
data: number[];
|
|
2473
|
+
/** Override the palette colour for this series (any CSS colour). */
|
|
2474
|
+
color?: string;
|
|
2475
|
+
}
|
|
2476
|
+
/** One pie/donut slice. */
|
|
2477
|
+
interface ChartSlice {
|
|
2478
|
+
label: string;
|
|
2479
|
+
value: number;
|
|
2480
|
+
color?: string;
|
|
2481
|
+
}
|
|
2482
|
+
type Palette = 'categorical' | 'brand';
|
|
2483
|
+
interface CommonChartProps extends Omit<React.ComponentProps<'figure'>, 'children'> {
|
|
2484
|
+
/** Colour set: DGA categorical (default) or the monochrome brand-green sequence. */
|
|
2485
|
+
palette?: Palette;
|
|
2486
|
+
/** Show the legend. @default true */
|
|
2487
|
+
legend?: boolean;
|
|
2488
|
+
/** Accessible name for the chart (also the data-table caption). */
|
|
2489
|
+
title?: string;
|
|
2490
|
+
}
|
|
2491
|
+
interface PieChartProps extends CommonChartProps {
|
|
2492
|
+
data: ChartSlice[];
|
|
2493
|
+
/** Render a donut (50% hole) instead of a full pie. */
|
|
2494
|
+
donut?: boolean;
|
|
2495
|
+
/** Disk diameter in px. @default 240 */
|
|
2496
|
+
size?: number;
|
|
2497
|
+
}
|
|
2498
|
+
declare function PieChart({ data, donut, size, palette, legend, title, className, ...props }: PieChartProps): react_jsx_runtime.JSX.Element;
|
|
2499
|
+
interface CartesianProps extends CommonChartProps {
|
|
2500
|
+
series: ChartSeries[];
|
|
2501
|
+
categories: string[];
|
|
2502
|
+
/** X-axis title. */
|
|
2503
|
+
xAxisLabel?: string;
|
|
2504
|
+
/** Y-axis title (rotated). */
|
|
2505
|
+
yAxisLabel?: string;
|
|
2506
|
+
/** Force the Y-axis maximum (default: auto, rounded to a nice value). */
|
|
2507
|
+
yMax?: number;
|
|
2508
|
+
/** viewBox width / height. Charts scale responsively to their container. */
|
|
2509
|
+
width?: number;
|
|
2510
|
+
height?: number;
|
|
2511
|
+
}
|
|
2512
|
+
interface LineChartProps extends CartesianProps {
|
|
2513
|
+
/** Draw a soft area gradient under each line. @default true */
|
|
2514
|
+
area?: boolean;
|
|
2515
|
+
/** A smooth Catmull-Rom curve (SDGA "Gradual" default) or straight segments. */
|
|
2516
|
+
curve?: 'linear' | 'smooth';
|
|
2517
|
+
}
|
|
2518
|
+
declare function LineChart({ series, categories, palette, legend, title, xAxisLabel, yAxisLabel, yMax: yMaxProp, width, height, area, curve, className, ...props }: LineChartProps): react_jsx_runtime.JSX.Element;
|
|
2519
|
+
interface BarChartProps extends CartesianProps {
|
|
2520
|
+
/** Stack series into one column per category (default). `false` groups them side by side. */
|
|
2521
|
+
stacked?: boolean;
|
|
2522
|
+
}
|
|
2523
|
+
declare function BarChart({ series, categories, palette, legend, title, xAxisLabel, yAxisLabel, yMax: yMaxProp, width, height, stacked, className, ...props }: BarChartProps): react_jsx_runtime.JSX.Element;
|
|
2524
|
+
|
|
2525
|
+
declare const chipVariants: (props?: ({
|
|
2526
|
+
variant?: "neutral" | "primary" | null | undefined;
|
|
2527
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2528
|
+
rounded?: boolean | null | undefined;
|
|
2529
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2530
|
+
interface ChipProps extends Omit<React.ComponentProps<'button'>, 'onChange'>, VariantProps<typeof chipVariants> {
|
|
2531
|
+
/** Controlled selected state — drives `aria-pressed` and the filled treatment. */
|
|
2532
|
+
selected?: boolean;
|
|
2533
|
+
/** Uncontrolled initial selected state. */
|
|
2534
|
+
defaultSelected?: boolean;
|
|
2535
|
+
/** Called with the next selected value when the chip toggles. */
|
|
2536
|
+
onSelectedChange?: (selected: boolean) => void;
|
|
2537
|
+
/** Leading icon (inherits the chip text colour; 14px, 16px at `lg`). */
|
|
2538
|
+
leadingIcon?: ReactNode;
|
|
2539
|
+
/** Trailing icon. */
|
|
2540
|
+
trailingIcon?: ReactNode;
|
|
2541
|
+
/** Render as the child element (Radix `Slot`) — e.g. wrap a router link. */
|
|
2542
|
+
asChild?: boolean;
|
|
2543
|
+
}
|
|
2544
|
+
/**
|
|
2545
|
+
* Interactive selectable chip (SDGA "Chip") — a toggle button, distinct from the
|
|
2546
|
+
* static `Tag` (SDGA "Tags"). Selecting fills the chip (`#1B8354` primary / gray-700 neutral).
|
|
2547
|
+
*/
|
|
2548
|
+
declare function Chip({ variant, size, rounded, selected, defaultSelected, onSelectedChange, leadingIcon, trailingIcon, asChild, className, children, disabled, onClick, type, ...props }: ChipProps): react_jsx_runtime.JSX.Element;
|
|
2549
|
+
|
|
2550
|
+
declare const saudiRiyalSymbolVariants: (props?: ({
|
|
2551
|
+
size?: "sm" | "lg" | "xl" | "base" | "xs" | "2xl" | "3xl" | "2xs" | null | undefined;
|
|
2552
|
+
tone?: "error" | "default" | "success" | "inverted" | "brand" | "muted" | null | undefined;
|
|
2553
|
+
appearance?: "plain" | "coin" | null | undefined;
|
|
2554
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2555
|
+
declare const saudiRiyalVariants: (props?: ({
|
|
2556
|
+
size?: "sm" | "lg" | "xl" | "base" | "xs" | "2xl" | "3xl" | "2xs" | null | undefined;
|
|
2557
|
+
tone?: "error" | "default" | "success" | "inverted" | "brand" | "muted" | null | undefined;
|
|
2558
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2559
|
+
type SaudiRiyalSymbolProps = Omit<React.SVGProps<SVGSVGElement>, 'children'> & VariantProps<typeof saudiRiyalSymbolVariants>;
|
|
2560
|
+
/**
|
|
2561
|
+
* The official Saudi Riyal symbol as an inline SVG. Renders at `1em` (tracks the
|
|
2562
|
+
* surrounding font-size, so its height aligns with the text), inherits `currentColor`,
|
|
2563
|
+
* and is never mirrored in RTL. Standalone it exposes `role="img"` + a localized
|
|
2564
|
+
* `aria-label`; pass `aria-hidden` to silence it (e.g. inside `SaudiRiyal`).
|
|
2565
|
+
*/
|
|
2566
|
+
declare function SaudiRiyalSymbol({ size, tone, appearance, className, role, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, ...props }: SaudiRiyalSymbolProps): react_jsx_runtime.JSX.Element;
|
|
2567
|
+
type Numerals = 'latn' | 'arab' | 'auto';
|
|
2568
|
+
interface SaudiRiyalProps extends Omit<React.ComponentProps<'span'>, 'children'>, VariantProps<typeof saudiRiyalVariants> {
|
|
2569
|
+
/** The amount. A `number` is formatted (grouping, `decimals`, `numerals`); a string renders as-is (e.g. "123 million"). */
|
|
2570
|
+
value?: number | string;
|
|
2571
|
+
/** Fixed fraction digits (e.g. `2` → halalas). Omit to use the locale default. Numbers only. */
|
|
2572
|
+
decimals?: number;
|
|
2573
|
+
/** Digit system for a numeric `value`. @default 'latn' (matches SDGA examples); `'auto'` follows the locale. */
|
|
2574
|
+
numerals?: Numerals;
|
|
2575
|
+
/** Screen-reader currency name read after the amount. Defaults to a localized "Saudi Riyal". */
|
|
2576
|
+
currencyLabel?: ReactNode;
|
|
2577
|
+
/** Merge props onto a single child (e.g. an `<a>`) instead of a `<span>`. Content still comes from `value`. */
|
|
2578
|
+
asChild?: boolean;
|
|
2579
|
+
/** Passthrough content when `value` is omitted (ignored in `asChild` mode, where the child is the wrapper element). */
|
|
2580
|
+
children?: ReactNode;
|
|
2581
|
+
}
|
|
2582
|
+
/**
|
|
2583
|
+
* A Saudi Riyal amount: the official symbol always at the physical start (left) of a
|
|
2584
|
+
* formatted number, enforcing the SDGA usage rules. The symbol never moves — the minus
|
|
2585
|
+
* sign sits left of the digits in LTR and to their right in RTL. Omit `value` to render
|
|
2586
|
+
* passthrough `children`; omit `size`/`tone` to inherit the surrounding text.
|
|
2587
|
+
*/
|
|
2588
|
+
declare function SaudiRiyal({ value, size, tone, decimals, numerals, currencyLabel, asChild, className, children, ...props }: SaudiRiyalProps): react_jsx_runtime.JSX.Element;
|
|
2589
|
+
|
|
1975
2590
|
type DgaRootElement = 'div' | 'main' | 'nav' | 'section' | 'article' | 'aside' | 'header' | 'footer';
|
|
1976
2591
|
interface DgaProviderProps {
|
|
1977
2592
|
dir?: 'ltr' | 'rtl';
|
|
@@ -2077,10 +2692,12 @@ interface FieldMessageProps {
|
|
|
2077
2692
|
id: string;
|
|
2078
2693
|
/** `error` announces politely; `helper` is static. */
|
|
2079
2694
|
variant: 'error' | 'helper';
|
|
2695
|
+
/** Optional 16px leading feedback icon (SDGA helper/error glyph). */
|
|
2696
|
+
icon?: ReactNode;
|
|
2080
2697
|
children: ReactNode;
|
|
2081
2698
|
}
|
|
2082
|
-
declare function FieldMessage({ id, variant, children }: FieldMessageProps): react_jsx_runtime.JSX.Element;
|
|
2699
|
+
declare function FieldMessage({ id, variant, icon, children }: FieldMessageProps): react_jsx_runtime.JSX.Element;
|
|
2083
2700
|
|
|
2084
2701
|
declare function cn(...inputs: ClassValue[]): string;
|
|
2085
2702
|
|
|
2086
|
-
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, type AlertDescriptionProps, type AlertProps, AlertTitle, type AlertTitleProps, AspectRatio, type AspectRatioProps, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, type ButtonProps, type CalendarLabels, type CalendarSystem, Card, CardContent, CardDescription, type CardDescriptionProps, CardFooter, CardHeader, CardIcon, CardImage, type CardImageProps, type CardProps, type CardSectionProps, CardTitle, type CardTitleProps, Checkbox, type CheckboxProps, CircularProgress, type CircularProgressProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Combobox, ComboboxGroup, type ComboboxGroupProps, ComboboxItem, type ComboboxItemProps, type ComboboxProps, ComboboxSeparator, type ComboboxSeparatorProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, DescriptionDetails, type DescriptionDetailsProps, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListProps, DescriptionTerm, type DescriptionTermProps, DgaProvider, type DgaProviderProps, Divider, type DividerProps, Drawer, DrawerBody, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, DrawerHeader, type DrawerProps, type DrawerSectionProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, EmptyState, EmptyStateActions, type EmptyStateActionsProps, EmptyStateDescription, type EmptyStateDescriptionProps, EmptyStateMedia, type EmptyStateMediaProps, type EmptyStateProps, EmptyStateTitle, type EmptyStateTitleProps, type FieldA11y, FieldMessage, type FieldMessageProps, type FileRejection, type FileStatus, FileUpload, type FileUploadProps, Input, InputOTP, type InputOTPProps, type InputProps, Link, type LinkProps, List, ListItem, ListItemAction, type ListItemActionProps, ListItemContent, type ListItemContentProps, ListItemIcon, type ListItemIconProps, type ListItemProps, type ListProps, Menubar, MenubarCheckboxItem, type MenubarCheckboxItemProps, MenubarContent, type MenubarContentProps, MenubarGroup, type MenubarGroupProps, MenubarItem, type MenubarItemProps, MenubarLabel, type MenubarLabelProps, MenubarMenu, type MenubarMenuProps, type MenubarProps, MenubarRadioGroup, type MenubarRadioGroupProps, MenubarRadioItem, type MenubarRadioItemProps, MenubarSeparator, type MenubarSeparatorProps, MenubarSub, MenubarSubContent, type MenubarSubContentProps, type MenubarSubProps, MenubarSubTrigger, type MenubarSubTriggerProps, MenubarTrigger, type MenubarTriggerProps, Modal, ModalBody, ModalClose, type ModalCloseProps, ModalContent, type ModalContentProps, ModalDescription, type ModalDescriptionProps, ModalFooter, ModalHeader, type ModalProps, type ModalSectionProps, ModalTitle, type ModalTitleProps, ModalTrigger, type ModalTriggerProps, NumberInput, type NumberInputProps, Pagination, PaginationContent, type PaginationContentProps, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, type PaginationProps, type PaginationRangeOptions, type PaginationSlot, Popover, PopoverAnchor, type PopoverAnchorProps, PopoverClose, type PopoverCloseProps, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, Quote, QuoteAuthor, type QuoteAuthorProps, QuoteCaption, type QuoteCaptionProps, QuoteContent, type QuoteContentProps, type QuoteProps, QuoteSource, type QuoteSourceProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rating, type RatingProps, type RejectionCode, ScrollArea, type ScrollAreaOrientation, type ScrollAreaProps, SearchBox, type SearchBoxProps, Select, SelectItem, type SelectItemProps, type SelectProps, Sidebar, SidebarContent, type SidebarContextValue, SidebarFooter, SidebarGroup, SidebarGroupAction, type SidebarGroupActionProps, SidebarGroupContent, type SidebarGroupDivProps, SidebarGroupLabel, SidebarHeader, SidebarInset, type SidebarInsetProps, SidebarMenu, SidebarMenuAction, type SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, type SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, type SidebarSectionProps, SidebarSeparator, SidebarTrigger, type SidebarTriggerProps, Skeleton, type SkeletonProps, Slider, type SliderProps, type SliderValue, Spinner, type SpinnerProps, Stat, StatChange, type StatChangeProps, StatChart, type StatChartProps, StatGroup, type StatGroupProps, StatLabel, type StatLabelProps, type StatProps, StatValue, type StatValueProps, Step, StepDescription, type StepDescriptionProps, StepIndicator, type StepIndicatorProps, type StepProps, type StepState, StepTitle, type StepTitleProps, Steps, type StepsProps, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, type TableCellProps, TableFooter, TableHead, type TableHeadProps, TableHeader, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TagInput, type TagInputProps, Textarea, type TextareaProps, Timeline, TimelineContent, type TimelineContentProps, TimelineDescription, type TimelineDescriptionProps, TimelineItem, type TimelineItemProps, TimelineMarker, type TimelineMarkerProps, type TimelineProps, type TimelineStatus, TimelineTime, type TimelineTimeProps, TimelineTitle, type TimelineTitleProps, type ToastAction, type ToastData, type ToastOptions, type ToastPosition, type ToastStore, type ToastVariant, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, type UploadFile, type UseFieldA11yOptions, accordionVariants, alertVariants, avatarVariants, badgeVariants, breadcrumbVariants, buttonVariants, cardVariants, checkboxVariants, circularProgressVariants, cn, comboboxTriggerVariants, comboboxVariants, commandVariants, createToast, createToastStore, datePickerVariants, dateRangePickerTriggerVariants, dateRangePickerVariants, descriptionListVariants, dividerVariants, drawerVariants, dropdownMenuVariants, emptyStateVariants, inputOTPVariants, inputVariants, linkVariants, listVariants, menubarContentVariants, menubarTriggerVariants, modalContentVariants, numberInputVariants, paginationLinkVariants, paginationRange, paginationVariants, popoverContentVariants, progressVariants, quoteVariants, radioGroupVariants, radioVariants, ratingVariants, scrollAreaVariants, selectTriggerVariants, sidebarMenuButtonVariants, sidebarMenuSubButtonVariants, skeletonVariants, sliderVariants, spinnerVariants, statGroupVariants, statVariants, stepVariants, stepsVariants, switchVariants, tableVariants, tabsListVariants, tabsVariants, tagInputVariants, textareaVariants, timelineMarkerVariants, timelineVariants, toast, toastStore, toastVariants, toastViewportVariants, toggleGroupVariants, toggleVariants, tooltipContentVariants, useDga, useDir, useFieldA11y, useIsMobile, useSidebar };
|
|
2703
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, AspectRatio, type AspectRatioProps, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, AvatarImage, type AvatarImageProps, type AvatarProps, type AvatarStatus, BarChart, type BarChartProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbEllipsisTrigger, type BreadcrumbEllipsisTriggerProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, type ButtonProps, type CalendarLabels, type CalendarSystem, Card, CardContent, CardDescription, type CardDescriptionProps, CardExpandableContent, CardFooter, CardHeader, CardIcon, type CardIconProps, CardImage, type CardImageProps, type CardProps, type CardSectionProps, CardTitle, type CardTitleProps, Carousel, CarouselDots, type CarouselDotsProps, type CarouselNavProps, CarouselNext, CarouselPrevious, type CarouselProps, CarouselSlide, type CarouselSlideProps, CarouselViewport, type CarouselViewportProps, type ChartSeries, type ChartSlice, Checkbox, type CheckboxProps, Chip, type ChipProps, CircularProgress, type CircularProgressProps, CodeSnippet, CodeSnippetInline, type CodeSnippetInlineProps, type CodeSnippetLanguage, type CodeSnippetProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, ContentSwitcher, ContentSwitcherItem, type ContentSwitcherItemProps, type ContentSwitcherProps, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, DescriptionDetails, type DescriptionDetailsProps, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListProps, DescriptionTerm, type DescriptionTermProps, DgaProvider, type DgaProviderProps, DigitalStamp, type DigitalStampExtension, type DigitalStampProps, Divider, type DividerProps, Drawer, DrawerBody, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, DrawerHeader, type DrawerProps, type DrawerSectionProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, Dropdown, DropdownGroup, type DropdownGroupProps, DropdownItem, type DropdownItemProps, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, type DropdownMultipleProps, type DropdownProps, DropdownSeparator, type DropdownSeparatorProps, type DropdownSingleProps, EmptyState, EmptyStateActions, type EmptyStateActionsProps, EmptyStateDescription, type EmptyStateDescriptionProps, EmptyStateMedia, type EmptyStateMediaProps, type EmptyStateProps, EmptyStateTitle, type EmptyStateTitleProps, type FieldA11y, FieldMessage, type FieldMessageProps, type FileRejection, type FileStatus, FileUpload, type FileUploadProps, Filtration, FiltrationCheckboxFilter, type FiltrationCheckboxFilterProps, type FiltrationCheckboxOption, FiltrationFooter, type FiltrationFooterProps, FiltrationOption, FiltrationOptionList, type FiltrationOptionListProps, type FiltrationOptionProps, FiltrationPanel, type FiltrationPanelProps, type FiltrationProps, FiltrationResults, type FiltrationResultsProps, FiltrationSection, type FiltrationSectionProps, FiltrationTrigger, type FiltrationTriggerProps, FloatingButton, type FloatingButtonProps, HelpIcon, type HelpIconProps, InlineAlert, InlineAlertAction, type InlineAlertActionProps, type InlineAlertProps, InputOTP, type InputOTPProps, LineChart, type LineChartProps, Link, type LinkProps, List, ListItem, type ListItemProps, type ListProps, Menubar, MenubarCheckboxItem, type MenubarCheckboxItemProps, MenubarContent, type MenubarContentProps, MenubarGroup, type MenubarGroupProps, MenubarItem, type MenubarItemProps, MenubarLabel, type MenubarLabelProps, MenubarMenu, type MenubarMenuProps, type MenubarProps, MenubarRadioGroup, type MenubarRadioGroupProps, MenubarRadioItem, type MenubarRadioItemProps, MenubarSeparator, type MenubarSeparatorProps, MenubarSub, MenubarSubContent, type MenubarSubContentProps, type MenubarSubProps, MenubarSubTrigger, type MenubarSubTriggerProps, MenubarTrigger, type MenubarTriggerProps, Metric, MetricChange, type MetricChangeProps, MetricChart, type MetricChartProps, MetricGroup, type MetricGroupProps, type MetricProps, Modal, ModalBody, ModalClose, type ModalCloseProps, ModalContent, type ModalContentProps, ModalDescription, type ModalDescriptionProps, ModalFooter, ModalHeader, type ModalHeaderProps, type ModalProps, type ModalSectionProps, ModalTitle, type ModalTitleProps, ModalTrigger, type ModalTriggerProps, Notification, type NotificationProps, NotificationToast, type NotificationToastProps, NumberInput, type NumberInputProps, Pagination, PaginationContent, type PaginationContentProps, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, type PaginationNavProps, PaginationNext, PaginationOverflow, type PaginationOverflowProps, PaginationPrevious, type PaginationProps, type PaginationRangeOptions, type PaginationSlot, PieChart, type PieChartProps, Popover, PopoverAnchor, type PopoverAnchorProps, PopoverClose, type PopoverCloseProps, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Progress, ProgressIndicator, type ProgressIndicatorProps, type ProgressProps, Quote, type QuoteProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rating, type RatingProps, type RejectionCode, SaudiRiyal, type SaudiRiyalProps, SaudiRiyalSymbol, type SaudiRiyalSymbolProps, ScrollArea, type ScrollAreaOrientation, type ScrollAreaProps, SearchBox, type SearchBoxProps, Select, SelectItem, type SelectItemProps, type SelectProps, Sidebar, SidebarContent, type SidebarContextValue, SidebarFooter, SidebarGroup, SidebarGroupAction, type SidebarGroupActionProps, SidebarGroupContent, type SidebarGroupDivProps, SidebarGroupLabel, SidebarHeader, SidebarInset, type SidebarInsetProps, SidebarMenu, SidebarMenuAction, type SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, type SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, type SidebarSectionProps, SidebarSeparator, SidebarTrigger, type SidebarTriggerProps, Skeleton, type SkeletonProps, SlideoutMenu, SlideoutMenuBody, SlideoutMenuClose, type SlideoutMenuCloseProps, SlideoutMenuContent, type SlideoutMenuContentProps, SlideoutMenuDescription, type SlideoutMenuDescriptionProps, SlideoutMenuFooter, SlideoutMenuGroup, type SlideoutMenuGroupProps, SlideoutMenuHeader, type SlideoutMenuHeaderProps, SlideoutMenuItem, type SlideoutMenuItemProps, type SlideoutMenuProps, type SlideoutMenuSectionProps, SlideoutMenuSeparator, SlideoutMenuTitle, type SlideoutMenuTitleProps, SlideoutMenuTrigger, type SlideoutMenuTriggerProps, Slider, type SliderProps, type SliderValue, Spinner, type SpinnerProps, StatusTag, type StatusTagProps, Step, StepContent, type StepContentProps, StepDescription, type StepDescriptionProps, StepIndicator, type StepIndicatorProps, type StepProps, type StepState, StepTitle, type StepTitleProps, StructuredList, StructuredListBody, StructuredListCell, type StructuredListCellProps, StructuredListHead, type StructuredListHeadProps, StructuredListHeader, type StructuredListProps, StructuredListRow, type StructuredListRowProps, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, type TableCellProps, TableFooter, TableHead, type TableHeadProps, TableHeader, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Tag, TagInput, type TagInputProps, type TagProps, TextInput, TextInputAffix, type TextInputAffixProps, TextInputDropdown, type TextInputDropdownProps, type TextInputProps, Textarea, type TextareaProps, Timeline, TimelineContent, type TimelineContentProps, TimelineDescription, type TimelineDescriptionProps, TimelineItem, type TimelineItemProps, TimelineMarker, type TimelineMarkerProps, type TimelineProps, type TimelineStatus, TimelineTime, type TimelineTimeProps, TimelineTitle, type TimelineTitleProps, type ToastAction, type ToastData, type ToastOptions, type ToastPosition, type ToastStore, type ToastVariant, Toggle, type ToggleProps, Tooltip, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipTrigger, type TooltipTriggerProps, type UploadFile, type UseFieldA11yOptions, accordionVariants, avatarVariants, breadcrumbVariants, buttonVariants, cardVariants, carouselArrowVariants, carouselDotsVariants, carouselVariants, checkboxVariants, chipVariants, circularProgressVariants, cn, commandVariants, contentSwitcherVariants, createToast, createToastStore, datePickerVariants, dateRangePickerTriggerVariants, dateRangePickerVariants, descriptionListVariants, digitalStampVariants, dividerVariants, drawerVariants, dropdownMenuVariants, dropdownTriggerVariants, emptyStateVariants, filtrationPanelVariants, floatingButtonVariants, inlineAlertVariants, inputOTPVariants, linkVariants, listVariants, menubarContentVariants, menubarTriggerVariants, metricGroupVariants, metricVariants, modalContentVariants, notificationToastVariants, notificationToastViewportVariants, notificationVariants, numberInputVariants, paginationLinkVariants, paginationRange, paginationVariants, popoverContentVariants, progressIndicatorVariants, progressVariants, quoteVariants, radioGroupVariants, radioVariants, ratingVariants, saudiRiyalSymbolVariants, saudiRiyalVariants, scrollAreaVariants, selectTriggerVariants, sidebarMenuButtonVariants, sidebarMenuSubButtonVariants, skeletonVariants, slideoutMenuContentVariants, sliderVariants, spinnerVariants, statusTagVariants, stepVariants, structuredListVariants, switchVariants, tableVariants, tabsListVariants, tabsVariants, tagInputVariants, tagVariants, textInputVariants, textareaVariants, timelineMarkerVariants, timelineVariants, toast, toastStore, toggleVariants, tooltipContentVariants, useDga, useDir, useFieldA11y, useIsMobile, useSidebar };
|