@photonix/basic 2.3.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Image=1-LTDZFXMH.png +0 -0
- package/dist/Image=2-YDOSF4V5.png +0 -0
- package/dist/Image=3-KKY6YDRA.png +0 -0
- package/dist/Image=4-RXFDETYS.png +0 -0
- package/dist/Image=5-7WFTKF52.png +0 -0
- package/dist/Image=6-U5HZ7K2N.png +0 -0
- package/dist/index.css +7602 -18563
- package/dist/index.d.mts +1365 -1
- package/dist/index.d.ts +1365 -1
- package/dist/index.js +7291 -47603
- package/dist/index.mjs +6801 -47128
- package/package.json +9 -7
- package/dist/1c-SY3FTTLF.mjs +0 -146
- package/dist/abap-IV5EHH5E.mjs +0 -7
- package/dist/abnf-BNXE3OUM.mjs +0 -7
- package/dist/abnf-YV6YLS6F.mjs +0 -80
- package/dist/accesslog-XIB4ND3T.mjs +0 -102
- package/dist/actionscript-6KV6XPIR.mjs +0 -92
- package/dist/actionscript-MJJWFEEU.mjs +0 -9
- package/dist/ada-BSCME2TT.mjs +0 -7
- package/dist/ada-QGKGFVUA.mjs +0 -153
- package/dist/agda-N6TMOMAJ.mjs +0 -7
- package/dist/al-IHZFW5WK.mjs +0 -7
- package/dist/all-QWL7IMSW.mjs +0 -1197
- package/dist/angelscript-OERESA3A.mjs +0 -124
- package/dist/antlr4-Y5RUT23Q.mjs +0 -7
- package/dist/apache-3CNMCTHT.mjs +0 -84
- package/dist/apacheconf-JRORV3U5.mjs +0 -7
- package/dist/apex-MR5ICDDL.mjs +0 -9
- package/dist/apl-NGFCMWQT.mjs +0 -7
- package/dist/applescript-RYLQK432.mjs +0 -7
- package/dist/applescript-UDVEQ72F.mjs +0 -146
- package/dist/aql-V6MD6R36.mjs +0 -7
- package/dist/arcade-GBT4SRIT.mjs +0 -154
- package/dist/arduino-3ENCYGVC.mjs +0 -430
- package/dist/arduino-SLNQLQF4.mjs +0 -10
- package/dist/arff-5ZZ6N2XZ.mjs +0 -7
- package/dist/armasm-BRZGMDBX.mjs +0 -7
- package/dist/armasm-TDNVT6QH.mjs +0 -101
- package/dist/arturo-EFWZGL6L.mjs +0 -7
- package/dist/asciidoc-5ZEFBYYV.mjs +0 -7
- package/dist/asciidoc-JZLJPHRA.mjs +0 -283
- package/dist/asm6502-E62U576R.mjs +0 -7
- package/dist/asmatmel-O2X6DWOG.mjs +0 -7
- package/dist/aspectj-GWVMBGML.mjs +0 -161
- package/dist/aspnet-64O7STMN.mjs +0 -10
- package/dist/autohotkey-F5WQL5MX.mjs +0 -7
- package/dist/autohotkey-H65P4TF5.mjs +0 -84
- package/dist/autoit-64WPEBY4.mjs +0 -168
- package/dist/autoit-BLNYUWMX.mjs +0 -7
- package/dist/avisynth-IO5YYRJC.mjs +0 -7
- package/dist/avrasm-Z3RX65XL.mjs +0 -69
- package/dist/avro-idl-IZSPC2CQ.mjs +0 -7
- package/dist/awk-JU6XQWYV.mjs +0 -7
- package/dist/awk-LT4X4W66.mjs +0 -74
- package/dist/axapta-NRN44HHP.mjs +0 -175
- package/dist/bash-PHGMAGR4.mjs +0 -7
- package/dist/bash-ZB56MOYP.mjs +0 -144
- package/dist/basic-HHIWAYKZ.mjs +0 -54
- package/dist/basic-N7V4JF5I.mjs +0 -7
- package/dist/batch-PF3MVYOL.mjs +0 -7
- package/dist/bbcode-KY5GHVUW.mjs +0 -7
- package/dist/bbj-YQHXKEPQ.mjs +0 -7
- package/dist/bicep-UFG27MNU.mjs +0 -7
- package/dist/birb-RKB54CK7.mjs +0 -8
- package/dist/bison-AIJ2JQKP.mjs +0 -9
- package/dist/bnf-N5IEM4RM.mjs +0 -7
- package/dist/bnf-ZHK2VD6C.mjs +0 -40
- package/dist/bqn-FBWYHBRN.mjs +0 -7
- package/dist/brainfuck-BOJGNXWU.mjs +0 -7
- package/dist/brainfuck-T7Y6GNRM.mjs +0 -48
- package/dist/brightscript-KJVMQTLX.mjs +0 -7
- package/dist/bro-4E2YBO44.mjs +0 -7
- package/dist/bsl-OK2MROWX.mjs +0 -7
- package/dist/c-VHYLHHRH.mjs +0 -8
- package/dist/c-XIF4V5WY.mjs +0 -253
- package/dist/c-like-T5UU7MZP.mjs +0 -430
- package/dist/cal-YJ3PEO4B.mjs +0 -101
- package/dist/capnproto-AG4YO7QV.mjs +0 -62
- package/dist/ceylon-KM4HXKPH.mjs +0 -73
- package/dist/cfscript-MKQ7XX4T.mjs +0 -8
- package/dist/chaiscript-RPZDERQ4.mjs +0 -10
- package/dist/chunk-225JLQAA.mjs +0 -53
- package/dist/chunk-26YPCSON.mjs +0 -33
- package/dist/chunk-27KF74WX.mjs +0 -207
- package/dist/chunk-27XY4SR3.mjs +0 -27
- package/dist/chunk-27YX7MFJ.mjs +0 -30
- package/dist/chunk-2DU2ON4M.mjs +0 -43
- package/dist/chunk-2LS2HC6H.mjs +0 -68
- package/dist/chunk-2O5VMYAQ.mjs +0 -13
- package/dist/chunk-2PMEUBEF.mjs +0 -127
- package/dist/chunk-2U3PS6ZK.mjs +0 -26
- package/dist/chunk-2UFURF7C.mjs +0 -70
- package/dist/chunk-2VJCBVK6.mjs +0 -72
- package/dist/chunk-2WPBJ3E7.mjs +0 -61
- package/dist/chunk-3366YZKA.mjs +0 -28
- package/dist/chunk-34PHBZND.mjs +0 -66
- package/dist/chunk-3ASODFRJ.mjs +0 -91
- package/dist/chunk-3F53CENZ.mjs +0 -54
- package/dist/chunk-3QESMYNO.mjs +0 -89
- package/dist/chunk-3STUAENP.mjs +0 -22
- package/dist/chunk-3YIQQX6M.mjs +0 -51
- package/dist/chunk-42DSMFYZ.mjs +0 -116
- package/dist/chunk-4BJPBRSO.mjs +0 -68
- package/dist/chunk-4F6TSYBP.mjs +0 -42
- package/dist/chunk-4FONECRJ.mjs +0 -107
- package/dist/chunk-4KT62F5C.mjs +0 -37
- package/dist/chunk-4N5NQVL3.mjs +0 -29
- package/dist/chunk-4PL2CJJ3.mjs +0 -49
- package/dist/chunk-4PP7IENX.mjs +0 -342
- package/dist/chunk-4QGWGXRH.mjs +0 -39
- package/dist/chunk-4RG7ZGOZ.mjs +0 -76
- package/dist/chunk-4TVIJFTY.mjs +0 -41
- package/dist/chunk-4UFFAAYI.mjs +0 -29
- package/dist/chunk-4V7KVWVD.mjs +0 -34
- package/dist/chunk-55FPWNBC.mjs +0 -61
- package/dist/chunk-5EQAM3IR.mjs +0 -374
- package/dist/chunk-5N4QW4WH.mjs +0 -55
- package/dist/chunk-5QFNPN2C.mjs +0 -72
- package/dist/chunk-5QYYCOPJ.mjs +0 -186
- package/dist/chunk-5SKARUX7.mjs +0 -203
- package/dist/chunk-5TDAWQZ6.mjs +0 -89
- package/dist/chunk-5VZFZIWT.mjs +0 -37
- package/dist/chunk-5WCKYEAK.mjs +0 -57
- package/dist/chunk-5XRE2LMI.mjs +0 -39
- package/dist/chunk-62HT53P7.mjs +0 -98
- package/dist/chunk-63T3V7T3.mjs +0 -43
- package/dist/chunk-6DOJJBKM.mjs +0 -158
- package/dist/chunk-6FXUATT6.mjs +0 -31
- package/dist/chunk-6G5OZ7F7.mjs +0 -53
- package/dist/chunk-6MWXFNJ7.mjs +0 -43
- package/dist/chunk-6QDZGS6I.mjs +0 -74
- package/dist/chunk-6R3GYXSX.mjs +0 -107
- package/dist/chunk-754A44NQ.mjs +0 -25
- package/dist/chunk-76342V4V.mjs +0 -53
- package/dist/chunk-7DNOFDAC.mjs +0 -144
- package/dist/chunk-7DNV4OOB.mjs +0 -36
- package/dist/chunk-7DVLILHM.mjs +0 -36
- package/dist/chunk-7IHZ4YUI.mjs +0 -58
- package/dist/chunk-7IJONQ5M.mjs +0 -87
- package/dist/chunk-7OVDXG5F.mjs +0 -64
- package/dist/chunk-7PO46XPE.mjs +0 -97
- package/dist/chunk-7QWU4RHN.mjs +0 -50
- package/dist/chunk-7S3O473U.mjs +0 -44
- package/dist/chunk-7V4UZYAP.mjs +0 -177
- package/dist/chunk-7WPXI5M5.mjs +0 -100
- package/dist/chunk-7ZK3RWTK.mjs +0 -30
- package/dist/chunk-A434KIVF.mjs +0 -36
- package/dist/chunk-ACDTS7FW.mjs +0 -192
- package/dist/chunk-AEMXR762.mjs +0 -38
- package/dist/chunk-AI7UQ3R6.mjs +0 -34
- package/dist/chunk-AKENKTU2.mjs +0 -146
- package/dist/chunk-ATBA76CY.mjs +0 -26
- package/dist/chunk-BAH7KB65.mjs +0 -22
- package/dist/chunk-BCCX6KVT.mjs +0 -121
- package/dist/chunk-BH2XPEPE.mjs +0 -72
- package/dist/chunk-BHKWHYQV.mjs +0 -124
- package/dist/chunk-BOH2CHZ5.mjs +0 -55
- package/dist/chunk-BSW6U4XU.mjs +0 -65
- package/dist/chunk-BTBO6PTL.mjs +0 -96
- package/dist/chunk-BYVRIGLP.mjs +0 -88
- package/dist/chunk-CFGQLYKY.mjs +0 -64
- package/dist/chunk-CINMPZYC.mjs +0 -96
- package/dist/chunk-CSAKARE4.mjs +0 -54
- package/dist/chunk-CWHMZ45M.mjs +0 -96
- package/dist/chunk-D4LIYE2K.mjs +0 -72
- package/dist/chunk-DDRA5FGA.mjs +0 -56
- package/dist/chunk-DFNMTLAN.mjs +0 -112
- package/dist/chunk-DGMXWFCL.mjs +0 -57
- package/dist/chunk-DQTMP7BS.mjs +0 -59
- package/dist/chunk-DXKGIJ7C.mjs +0 -41
- package/dist/chunk-DYRZKQCY.mjs +0 -19
- package/dist/chunk-DZ6JISBQ.mjs +0 -41
- package/dist/chunk-DZPN45IA.mjs +0 -41
- package/dist/chunk-E3FGC5QK.mjs +0 -129
- package/dist/chunk-E6A2MK2O.mjs +0 -63
- package/dist/chunk-ECKDOL3W.mjs +0 -39
- package/dist/chunk-EH6HRGXI.mjs +0 -49
- package/dist/chunk-EKYNALLO.mjs +0 -29
- package/dist/chunk-ELI7PF5E.mjs +0 -83
- package/dist/chunk-EM33YS3S.mjs +0 -89
- package/dist/chunk-EO74FIEH.mjs +0 -37
- package/dist/chunk-EOJPSTEK.mjs +0 -134
- package/dist/chunk-ESX6Q6VJ.mjs +0 -54
- package/dist/chunk-EZV6PZAV.mjs +0 -21
- package/dist/chunk-FGJTQJNO.mjs +0 -89
- package/dist/chunk-FJTCKSD7.mjs +0 -57
- package/dist/chunk-FKPUAKHH.mjs +0 -95
- package/dist/chunk-FOYBPUFA.mjs +0 -47
- package/dist/chunk-FPVXAJ2J.mjs +0 -35
- package/dist/chunk-FUBI7ADP.mjs +0 -26
- package/dist/chunk-FVLPKW7Z.mjs +0 -52
- package/dist/chunk-FVUGVS5L.mjs +0 -41
- package/dist/chunk-G2GUICYO.mjs +0 -52
- package/dist/chunk-GABD2A2B.mjs +0 -61
- package/dist/chunk-GH3E2AUP.mjs +0 -21
- package/dist/chunk-GWU6WUN5.mjs +0 -19
- package/dist/chunk-H3ZWPIA2.mjs +0 -78
- package/dist/chunk-H46BWW2L.mjs +0 -30
- package/dist/chunk-HCP46ZAL.mjs +0 -107
- package/dist/chunk-HEH2RF7I.mjs +0 -35
- package/dist/chunk-HJRWZOFI.mjs +0 -53
- package/dist/chunk-HMZ5KOPV.mjs +0 -105
- package/dist/chunk-HPRRSUM6.mjs +0 -33
- package/dist/chunk-HTGIWWA7.mjs +0 -37
- package/dist/chunk-HUUYGABV.mjs +0 -229
- package/dist/chunk-I5VVAONE.mjs +0 -37
- package/dist/chunk-I7URAA2D.mjs +0 -58
- package/dist/chunk-IDHF73VJ.mjs +0 -93
- package/dist/chunk-IFHLNQQT.mjs +0 -93
- package/dist/chunk-IICYJGGM.mjs +0 -73
- package/dist/chunk-IOD54SQ2.mjs +0 -56
- package/dist/chunk-IWQOYCRG.mjs +0 -65
- package/dist/chunk-IY46OEJE.mjs +0 -306
- package/dist/chunk-IZR4QWR2.mjs +0 -74
- package/dist/chunk-IZV2OCAF.mjs +0 -64
- package/dist/chunk-JJWMOWER.mjs +0 -70
- package/dist/chunk-JKCZ7TYY.mjs +0 -138
- package/dist/chunk-JPCI2YT5.mjs +0 -19
- package/dist/chunk-JTSPTQHQ.mjs +0 -55
- package/dist/chunk-JYCWPAL4.mjs +0 -73
- package/dist/chunk-K3QD6OVD.mjs +0 -50
- package/dist/chunk-KBQ4CMNC.mjs +0 -17
- package/dist/chunk-KEALF42B.mjs +0 -57
- package/dist/chunk-KF25OPS6.mjs +0 -40
- package/dist/chunk-KMASKMTO.mjs +0 -28
- package/dist/chunk-KPAVM766.mjs +0 -43
- package/dist/chunk-KQOQKH7P.mjs +0 -72
- package/dist/chunk-KR6SDJN6.mjs +0 -156
- package/dist/chunk-KTTPS6E5.mjs +0 -21
- package/dist/chunk-KXOERJ5R.mjs +0 -38
- package/dist/chunk-L4FRF5ST.mjs +0 -34
- package/dist/chunk-LD5KBMRT.mjs +0 -46
- package/dist/chunk-LOSNILM2.mjs +0 -66
- package/dist/chunk-LWKY6USX.mjs +0 -156
- package/dist/chunk-LYOSLA4S.mjs +0 -67
- package/dist/chunk-M4GABTFY.mjs +0 -46
- package/dist/chunk-M7NINWV6.mjs +0 -86
- package/dist/chunk-MDHB544N.mjs +0 -64
- package/dist/chunk-MICLKL5C.mjs +0 -102
- package/dist/chunk-MIJVA5YD.mjs +0 -27
- package/dist/chunk-MJEZSXQR.mjs +0 -50
- package/dist/chunk-MOAYWP7F.mjs +0 -81
- package/dist/chunk-MRD4O5EG.mjs +0 -23
- package/dist/chunk-MTBHIETI.mjs +0 -93
- package/dist/chunk-MW6GNI73.mjs +0 -44
- package/dist/chunk-MWNE32M5.mjs +0 -36
- package/dist/chunk-MXDMZSYV.mjs +0 -38
- package/dist/chunk-MYWNV5F3.mjs +0 -105
- package/dist/chunk-MZQNC4B2.mjs +0 -421
- package/dist/chunk-N5RAVQRR.mjs +0 -29
- package/dist/chunk-N7FD4KIM.mjs +0 -40
- package/dist/chunk-N7SPE4RG.mjs +0 -54
- package/dist/chunk-N7SQ2N6J.mjs +0 -53
- package/dist/chunk-NHRQUFUX.mjs +0 -77
- package/dist/chunk-NL4TFHYH.mjs +0 -90
- package/dist/chunk-NS3BWBKW.mjs +0 -129
- package/dist/chunk-NVDNGRDN.mjs +0 -931
- package/dist/chunk-NW4X76P6.mjs +0 -28
- package/dist/chunk-NWYU6IMK.mjs +0 -58
- package/dist/chunk-O62YTD3V.mjs +0 -60
- package/dist/chunk-OACTYOAR.mjs +0 -105
- package/dist/chunk-OADFIOVW.mjs +0 -65
- package/dist/chunk-ODOTE7HV.mjs +0 -31
- package/dist/chunk-OJ2CWGDX.mjs +0 -234
- package/dist/chunk-OKRAGSKZ.mjs +0 -31
- package/dist/chunk-OOK6CL5S.mjs +0 -50
- package/dist/chunk-OOPUNW7X.mjs +0 -141
- package/dist/chunk-OREANV5Y.mjs +0 -122
- package/dist/chunk-OSQR4RS6.mjs +0 -29
- package/dist/chunk-OTOGMM45.mjs +0 -31
- package/dist/chunk-OVAPXF32.mjs +0 -283
- package/dist/chunk-OXM2GN65.mjs +0 -29
- package/dist/chunk-P7GNDSPG.mjs +0 -92
- package/dist/chunk-PEEMT7UZ.mjs +0 -90
- package/dist/chunk-PHEYXK6C.mjs +0 -33
- package/dist/chunk-PHGB2ZNF.mjs +0 -22
- package/dist/chunk-PLN33YHN.mjs +0 -152
- package/dist/chunk-PMIBB7TT.mjs +0 -35
- package/dist/chunk-PO3KWA2T.mjs +0 -44
- package/dist/chunk-PYP5HL6B.mjs +0 -52
- package/dist/chunk-QD5GH24P.mjs +0 -130
- package/dist/chunk-QJ537P3Q.mjs +0 -92
- package/dist/chunk-QMLVGGWT.mjs +0 -96
- package/dist/chunk-QTQHLTTA.mjs +0 -37
- package/dist/chunk-QVYDP4YF.mjs +0 -98
- package/dist/chunk-QW6HJC6E.mjs +0 -72
- package/dist/chunk-QWD3NTRK.mjs +0 -39
- package/dist/chunk-QYRGAPSQ.mjs +0 -28
- package/dist/chunk-RBSU2YDG.mjs +0 -143
- package/dist/chunk-RCZFHDWV.mjs +0 -82
- package/dist/chunk-RECTN3PY.mjs +0 -37
- package/dist/chunk-RQHEOH4E.mjs +0 -131
- package/dist/chunk-RT2GPFOP.mjs +0 -34
- package/dist/chunk-RTHH6L2P.mjs +0 -28
- package/dist/chunk-RU3WBR6C.mjs +0 -107
- package/dist/chunk-RY2GIWN4.mjs +0 -48
- package/dist/chunk-RZO56MQ5.mjs +0 -40
- package/dist/chunk-RZPDZII4.mjs +0 -91
- package/dist/chunk-S6F4C4AN.mjs +0 -17
- package/dist/chunk-S7BWTMYF.mjs +0 -18
- package/dist/chunk-S7MUH6TF.mjs +0 -98
- package/dist/chunk-SBMOGTJU.mjs +0 -49
- package/dist/chunk-SEHSEEAP.mjs +0 -59
- package/dist/chunk-SFJW53QW.mjs +0 -29
- package/dist/chunk-SGCH3ADR.mjs +0 -61
- package/dist/chunk-SJXEIMJG.mjs +0 -23
- package/dist/chunk-SME75MDR.mjs +0 -69
- package/dist/chunk-SOSLW7OD.mjs +0 -37
- package/dist/chunk-SSWTK56H.mjs +0 -33
- package/dist/chunk-SUJ46ITU.mjs +0 -30
- package/dist/chunk-SUZBWU64.mjs +0 -111
- package/dist/chunk-SXZNJTY6.mjs +0 -81
- package/dist/chunk-SYRAUUDM.mjs +0 -34
- package/dist/chunk-T3PZYOR5.mjs +0 -141
- package/dist/chunk-T72AY6AN.mjs +0 -87
- package/dist/chunk-TG6MIYIG.mjs +0 -145
- package/dist/chunk-TGKFMVR5.mjs +0 -56
- package/dist/chunk-TGPVDA2E.mjs +0 -29
- package/dist/chunk-THGDTVTG.mjs +0 -72
- package/dist/chunk-THLRZKV6.mjs +0 -140
- package/dist/chunk-TJ4EBUNA.mjs +0 -236
- package/dist/chunk-TK5ESFQE.mjs +0 -17
- package/dist/chunk-TLV4GEBC.mjs +0 -66
- package/dist/chunk-TNJK4EEC.mjs +0 -46
- package/dist/chunk-TR4SMGAB.mjs +0 -62
- package/dist/chunk-TSDBX26B.mjs +0 -65
- package/dist/chunk-TU25OJGL.mjs +0 -69
- package/dist/chunk-TUFVJOG3.mjs +0 -24
- package/dist/chunk-U3FRICI3.mjs +0 -73
- package/dist/chunk-UA5ZN5FB.mjs +0 -113
- package/dist/chunk-UKQKHDTK.mjs +0 -109
- package/dist/chunk-UNJHXB33.mjs +0 -356
- package/dist/chunk-UVUUNWIB.mjs +0 -33
- package/dist/chunk-UZEZUMU3.mjs +0 -69
- package/dist/chunk-VAOG5Q4J.mjs +0 -60
- package/dist/chunk-VESKUCBM.mjs +0 -19
- package/dist/chunk-VFCKOQAG.mjs +0 -37
- package/dist/chunk-VGZZ5WWZ.mjs +0 -34
- package/dist/chunk-VT6UVRUK.mjs +0 -191
- package/dist/chunk-VU5NGO62.mjs +0 -79
- package/dist/chunk-VUMGZLUD.mjs +0 -46
- package/dist/chunk-VUPGUO7S.mjs +0 -36
- package/dist/chunk-VYROA6XP.mjs +0 -145
- package/dist/chunk-W3I5J6QO.mjs +0 -106
- package/dist/chunk-WA4EZBP4.mjs +0 -29
- package/dist/chunk-WAQCRODX.mjs +0 -31
- package/dist/chunk-WBOMXAHO.mjs +0 -94
- package/dist/chunk-WGBB3VIS.mjs +0 -30
- package/dist/chunk-WHCEAVEY.mjs +0 -32
- package/dist/chunk-WNEBUTWJ.mjs +0 -51
- package/dist/chunk-WV4ZTPWD.mjs +0 -146
- package/dist/chunk-XBO4544D.mjs +0 -69
- package/dist/chunk-XDDKTY2Y.mjs +0 -36
- package/dist/chunk-XGB3TDIC.mjs +0 -42
- package/dist/chunk-XJC57WO7.mjs +0 -73
- package/dist/chunk-XQCU5DYI.mjs +0 -72
- package/dist/chunk-XRIBDAMP.mjs +0 -34
- package/dist/chunk-XS2YVWV3.mjs +0 -20
- package/dist/chunk-XVV62UGS.mjs +0 -51
- package/dist/chunk-XW4XI3VW.mjs +0 -80
- package/dist/chunk-XWTEQUC3.mjs +0 -40
- package/dist/chunk-XWXIP545.mjs +0 -152
- package/dist/chunk-XY3SFZYM.mjs +0 -4715
- package/dist/chunk-XY4A63YZ.mjs +0 -97
- package/dist/chunk-Y56MCF6T.mjs +0 -47
- package/dist/chunk-Y6ESNTDP.mjs +0 -41
- package/dist/chunk-YA533AI6.mjs +0 -81
- package/dist/chunk-YDLI5CNE.mjs +0 -31
- package/dist/chunk-YSVVB5LE.mjs +0 -43
- package/dist/chunk-YUZH6CL5.mjs +0 -87
- package/dist/chunk-Z7F2RQLW.mjs +0 -20
- package/dist/chunk-ZA5QJ6DQ.mjs +0 -51
- package/dist/chunk-ZAI5UH3N.mjs +0 -100
- package/dist/chunk-ZANS26VH.mjs +0 -145
- package/dist/chunk-ZAOYQDOD.mjs +0 -57
- package/dist/chunk-ZDDMHBHL.mjs +0 -31
- package/dist/chunk-ZJHA5XZO.mjs +0 -22
- package/dist/chunk-ZJYVOTZA.mjs +0 -154
- package/dist/chunk-ZUKZIHVA.mjs +0 -88
- package/dist/chunk-ZXGNAYWP.mjs +0 -57
- package/dist/cil-YRE4UURD.mjs +0 -7
- package/dist/cilkc-G572IBC7.mjs +0 -9
- package/dist/cilkcpp-6SAZDXPW.mjs +0 -10
- package/dist/clean-FJLAWUXX.mjs +0 -36
- package/dist/clike-FS7B7WW3.mjs +0 -7
- package/dist/clojure-ASBJFGNL.mjs +0 -127
- package/dist/clojure-HH5QX2UK.mjs +0 -7
- package/dist/clojure-repl-RDW3JGM2.mjs +0 -26
- package/dist/cmake-7J5VAFMK.mjs +0 -34
- package/dist/cmake-T6PE43VR.mjs +0 -7
- package/dist/cobol-2BD46NGT.mjs +0 -7
- package/dist/coffeescript-WPWUHIWD.mjs +0 -9
- package/dist/coffeescript-ZRYLFQOR.mjs +0 -348
- package/dist/concurnas-TEK3JBW6.mjs +0 -7
- package/dist/cooklang-C2V6BKDL.mjs +0 -7
- package/dist/coq-4GTV2VXM.mjs +0 -35
- package/dist/coq-RQ6SCJN7.mjs +0 -7
- package/dist/core-4UES5HKF.mjs +0 -1811
- package/dist/core-CPWKQ3IY.mjs +0 -7
- package/dist/cos-BZB25TYG.mjs +0 -98
- package/dist/cpp-J6PQVS2B.mjs +0 -409
- package/dist/cpp-P4KC7YUB.mjs +0 -9
- package/dist/crmsh-VU5MOXZH.mjs +0 -97
- package/dist/crystal-2TNIDRTX.mjs +0 -322
- package/dist/crystal-GZXKWV3C.mjs +0 -9
- package/dist/csharp-MUVCC3YS.mjs +0 -8
- package/dist/csharp-YTH2D46I.mjs +0 -438
- package/dist/cshtml-WIFQIXUS.mjs +0 -10
- package/dist/csp-2H7CLML6.mjs +0 -7
- package/dist/csp-IKSZA33Q.mjs +0 -34
- package/dist/css-GQ232ZQV.mjs +0 -7
- package/dist/css-SUOIAH2P.mjs +0 -597
- package/dist/css-extras-EBRE32SN.mjs +0 -8
- package/dist/csv-67R7MV2S.mjs +0 -7
- package/dist/cue-KGSABPGJ.mjs +0 -7
- package/dist/cypher-GWXCFCKX.mjs +0 -7
- package/dist/d-AQ27RRXD.mjs +0 -8
- package/dist/d-JHSHS2PG.mjs +0 -121
- package/dist/dart-BWRZHUYF.mjs +0 -8
- package/dist/dart-P5PFNPCT.mjs +0 -189
- package/dist/dataweave-2Y6B3NWQ.mjs +0 -7
- package/dist/dax-5PD3432L.mjs +0 -7
- package/dist/delphi-2HIYKQU2.mjs +0 -118
- package/dist/dhall-BTJS6FLP.mjs +0 -7
- package/dist/diff-4QUQAZKU.mjs +0 -7
- package/dist/diff-5OGJ2HRX.mjs +0 -85
- package/dist/django-H2KQ7Z3S.mjs +0 -9
- package/dist/django-R35GTRCJ.mjs +0 -57
- package/dist/dns-JOIVBIAM.mjs +0 -45
- package/dist/dns-zone-file-OASK2PTP.mjs +0 -7
- package/dist/docker-JBCNWTNW.mjs +0 -7
- package/dist/dockerfile-OWHHZZA6.mjs +0 -33
- package/dist/dos-U6YT2UEV.mjs +0 -61
- package/dist/dot-PIMAKAI6.mjs +0 -7
- package/dist/dsconfig-C7GN5KJO.mjs +0 -66
- package/dist/dts-BM4V65VV.mjs +0 -144
- package/dist/dust-5CKR2HZD.mjs +0 -44
- package/dist/ebnf-IRIFWT24.mjs +0 -7
- package/dist/ebnf-JJ2Y3DSG.mjs +0 -51
- package/dist/editorconfig-RZKJ6ENV.mjs +0 -7
- package/dist/eiffel-UXUGBRGT.mjs +0 -7
- package/dist/ejs-JM25YZ3P.mjs +0 -11
- package/dist/elixir-35SHVRV3.mjs +0 -260
- package/dist/elixir-FLOMFEBC.mjs +0 -7
- package/dist/elm-3IARWMB4.mjs +0 -7
- package/dist/elm-WZHLV3WH.mjs +0 -120
- package/dist/erb-IHRTJJEQ.mjs +0 -11
- package/dist/erb-V33F6ITN.mjs +0 -27
- package/dist/erlang-4NE5CUIK.mjs +0 -192
- package/dist/erlang-ONMGKT4M.mjs +0 -7
- package/dist/erlang-repl-AIC2Z7PG.mjs +0 -70
- package/dist/etlua-SMEGK7VU.mjs +0 -10
- package/dist/excel-PTLW5JPV.mjs +0 -69
- package/dist/excel-formula-KV2SGN6Q.mjs +0 -7
- package/dist/factor-2QWMCVYN.mjs +0 -7
- package/dist/false-BX5JOWRV.mjs +0 -7
- package/dist/firestore-security-rules-TGZRZ3CB.mjs +0 -8
- package/dist/fix-4ZYTHNSL.mjs +0 -40
- package/dist/flix-V2O64U6J.mjs +0 -51
- package/dist/flow-IT2JXIMP.mjs +0 -9
- package/dist/fortran-4O2ULU7C.mjs +0 -102
- package/dist/fortran-UYDL3EVR.mjs +0 -7
- package/dist/fsharp-EZRBHBY5.mjs +0 -79
- package/dist/fsharp-LT4UJREO.mjs +0 -8
- package/dist/ftl-ZDCJEZNJ.mjs +0 -9
- package/dist/gams-XSPWRYDU.mjs +0 -177
- package/dist/gap-4SJEWII4.mjs +0 -7
- package/dist/gauss-DURKBAW3.mjs +0 -206
- package/dist/gcode-5SWA4U2P.mjs +0 -88
- package/dist/gcode-RP4FTIIP.mjs +0 -7
- package/dist/gdscript-NMR5LFH5.mjs +0 -7
- package/dist/gedcom-2B3SVA3H.mjs +0 -7
- package/dist/gettext-EVA4F76G.mjs +0 -7
- package/dist/gherkin-FTUCU67Q.mjs +0 -7
- package/dist/gherkin-VACBFCMP.mjs +0 -51
- package/dist/git-LP6JVSXJ.mjs +0 -7
- package/dist/glsl-HGSPX5CL.mjs +0 -39
- package/dist/glsl-PPWOIU6X.mjs +0 -9
- package/dist/gml-LPPIAUB4.mjs +0 -32
- package/dist/gml-N4E3ANXQ.mjs +0 -8
- package/dist/gn-WCA5SNEM.mjs +0 -7
- package/dist/go-KM2DGIA5.mjs +0 -8
- package/dist/go-QQNQKIF7.mjs +0 -69
- package/dist/go-module-AGBBSEAE.mjs +0 -7
- package/dist/golo-KXH2VOUB.mjs +0 -29
- package/dist/gradle-52TJP3VI.mjs +0 -8
- package/dist/gradle-AG5KCSXT.mjs +0 -28
- package/dist/graphql-SAHX5OYU.mjs +0 -7
- package/dist/groovy-KLOOZRDQ.mjs +0 -8
- package/dist/groovy-MBMZKNYX.mjs +0 -147
- package/dist/haml-HHZB5W24.mjs +0 -9
- package/dist/haml-RK7PIQSA.mjs +0 -117
- package/dist/handlebars-4PJDAX4P.mjs +0 -9
- package/dist/handlebars-QNCCSFVH.mjs +0 -270
- package/dist/haskell-35ZVQPTJ.mjs +0 -163
- package/dist/haskell-MAVWIOZH.mjs +0 -7
- package/dist/haxe-6ZTT6RMP.mjs +0 -8
- package/dist/haxe-G6EATY6F.mjs +0 -162
- package/dist/hcl-FFCI2DKU.mjs +0 -7
- package/dist/hlsl-Z3FZ4RZK.mjs +0 -9
- package/dist/hoon-INKNRABL.mjs +0 -7
- package/dist/hpkp-GSNLXGTL.mjs +0 -7
- package/dist/hsp-IFX23E6U.mjs +0 -62
- package/dist/hsts-IYS5GEJN.mjs +0 -7
- package/dist/htmlbars-IOID7EMK.mjs +0 -278
- package/dist/http-NQYCN63Q.mjs +0 -7
- package/dist/http-XU33RS7I.mjs +0 -106
- package/dist/hy-ELU377BW.mjs +0 -82
- package/dist/ichigojam-X2WWCPLV.mjs +0 -7
- package/dist/icon-LRSYHUO7.mjs +0 -7
- package/dist/icu-message-format-JVFOUKPS.mjs +0 -7
- package/dist/idris-CEE7D6AM.mjs +0 -8
- package/dist/iecst-XOMTH73H.mjs +0 -7
- package/dist/ignore-ZR2544A4.mjs +0 -7
- package/dist/inform7-IDL2KFJ7.mjs +0 -66
- package/dist/inform7-YKVLKSQL.mjs +0 -7
- package/dist/ini-N7MUN5QN.mjs +0 -148
- package/dist/ini-THTO5GVB.mjs +0 -7
- package/dist/io-J6GZOZ5C.mjs +0 -7
- package/dist/irpf90-AWBOMEIQ.mjs +0 -81
- package/dist/isbl-TSEQ7FOO.mjs +0 -268
- package/dist/j-IELAW4UU.mjs +0 -7
- package/dist/java-722FU55R.mjs +0 -8
- package/dist/java-GWOUOOKW.mjs +0 -177
- package/dist/javadoc-N57RV42T.mjs +0 -11
- package/dist/javadoclike-6J3DSPWW.mjs +0 -7
- package/dist/javascript-OM2MCADZ.mjs +0 -8
- package/dist/javascript-ULGS5R46.mjs +0 -552
- package/dist/javastacktrace-DQVTOFYD.mjs +0 -7
- package/dist/jboss-cli-VUCIQY5K.mjs +0 -62
- package/dist/jexl-ZGZJN5OF.mjs +0 -7
- package/dist/jolie-EQVODTJD.mjs +0 -8
- package/dist/jq-YVFU5AWP.mjs +0 -7
- package/dist/js-extras-57FPNBXW.mjs +0 -9
- package/dist/js-templates-2DPJCSU2.mjs +0 -9
- package/dist/jsdoc-GUQPZ3ZS.mjs +0 -11
- package/dist/json-7Y5IBZ2V.mjs +0 -65
- package/dist/json-Y4YWH64N.mjs +0 -7
- package/dist/json5-3ZNGU7BH.mjs +0 -8
- package/dist/jsonp-NEXZVDH7.mjs +0 -8
- package/dist/jsstacktrace-TJFVDG3O.mjs +0 -7
- package/dist/jsx-GLG6KDRK.mjs +0 -10
- package/dist/julia-UY534OMH.mjs +0 -7
- package/dist/julia-YUF5KXDF.mjs +0 -356
- package/dist/julia-repl-AARVGINQ.mjs +0 -35
- package/dist/keepalived-ZOQ77KEJ.mjs +0 -7
- package/dist/keyman-BUHD37DK.mjs +0 -7
- package/dist/kotlin-DKIV2GEM.mjs +0 -264
- package/dist/kotlin-VI7A4NKA.mjs +0 -8
- package/dist/kumir-ZC5SU35L.mjs +0 -7
- package/dist/kusto-XZ2FV6AI.mjs +0 -7
- package/dist/lasso-ZY54F4IA.mjs +0 -170
- package/dist/latex-FWIXYEKF.mjs +0 -7
- package/dist/latex-WYTYY6RV.mjs +0 -259
- package/dist/latte-JE3MNAEG.mjs +0 -11
- package/dist/ldif-IEP736RO.mjs +0 -45
- package/dist/leaf-U6YJ3OGP.mjs +0 -52
- package/dist/less-PYQ7ZK5A.mjs +0 -659
- package/dist/less-WP7AM7XI.mjs +0 -8
- package/dist/lilypond-43E76A5Q.mjs +0 -8
- package/dist/linker-script-LQ4KR7VC.mjs +0 -7
- package/dist/liquid-2AWGQUZ4.mjs +0 -9
- package/dist/lisp-2L53WZSA.mjs +0 -118
- package/dist/lisp-SNLPHUWF.mjs +0 -7
- package/dist/livecodeserver-RZGBM2CO.mjs +0 -119
- package/dist/livescript-CLZAEYB6.mjs +0 -366
- package/dist/livescript-OJ5LGXSC.mjs +0 -7
- package/dist/llvm-OIVBLGD5.mjs +0 -7
- package/dist/llvm-WFNDMERA.mjs +0 -100
- package/dist/log-LDC2NVL6.mjs +0 -7
- package/dist/lolcode-UZ252U55.mjs +0 -7
- package/dist/lsl-JY35W7LO.mjs +0 -90
- package/dist/lua-D2BZANEV.mjs +0 -71
- package/dist/lua-XVFDVHQK.mjs +0 -7
- package/dist/magma-L5NDFMMN.mjs +0 -7
- package/dist/makefile-2CG3OXVG.mjs +0 -82
- package/dist/makefile-NGTKFIXZ.mjs +0 -7
- package/dist/markdown-A4NX4A6L.mjs +0 -8
- package/dist/markdown-IHBE4MKJ.mjs +0 -239
- package/dist/markup-HCXBTEZ7.mjs +0 -7
- package/dist/markup-templating-C66KTY6A.mjs +0 -8
- package/dist/mata-FLZY4RWV.mjs +0 -7
- package/dist/mathematica-AYPZ3QST.mjs +0 -6751
- package/dist/matlab-Q6LDWTEU.mjs +0 -7
- package/dist/matlab-UCJ24URL.mjs +0 -87
- package/dist/maxima-523C74JG.mjs +0 -63
- package/dist/maxscript-J7RQUQ2F.mjs +0 -7
- package/dist/mel-FJJ4ECGN.mjs +0 -7
- package/dist/mel-HUZYFVHA.mjs +0 -35
- package/dist/mercury-R4QGO6FN.mjs +0 -99
- package/dist/mermaid-IHYYCULY.mjs +0 -7
- package/dist/metafont-EQH5XHTJ.mjs +0 -7
- package/dist/mipsasm-FPYIDE2F.mjs +0 -85
- package/dist/mizar-BIU72JTT.mjs +0 -20
- package/dist/mizar-VWKUP4DM.mjs +0 -7
- package/dist/mojolicious-U6HTNPMW.mjs +0 -37
- package/dist/mongodb-Y446M27Q.mjs +0 -9
- package/dist/monkey-QBSUEB7X.mjs +0 -84
- package/dist/monkey-ZLXT2TMM.mjs +0 -7
- package/dist/moonscript-J37GCPCT.mjs +0 -148
- package/dist/moonscript-XDVT5TOO.mjs +0 -7
- package/dist/n1ql-HX5KYN7H.mjs +0 -7
- package/dist/n1ql-WR7J7HE5.mjs +0 -56
- package/dist/n4js-4M3LNEWR.mjs +0 -9
- package/dist/nand2tetris-hdl-4JWHOWVK.mjs +0 -7
- package/dist/naniscript-FVUNURMA.mjs +0 -7
- package/dist/nasm-4DUNOQOO.mjs +0 -7
- package/dist/neon-LHL4JZWS.mjs +0 -7
- package/dist/nevod-S6MTBD5A.mjs +0 -7
- package/dist/nginx-IWNFMNA3.mjs +0 -7
- package/dist/nginx-KEJJJFJN.mjs +0 -138
- package/dist/nim-HBQDV2T5.mjs +0 -70
- package/dist/nim-HLL4Y255.mjs +0 -7
- package/dist/nix-CXMYD7HR.mjs +0 -7
- package/dist/nix-GZSAQCUN.mjs +0 -63
- package/dist/node-repl-EEKRERWT.mjs +0 -38
- package/dist/nsis-WZO2K2J3.mjs +0 -110
- package/dist/nsis-Y646M2P2.mjs +0 -7
- package/dist/objectivec-IMHOUOJ2.mjs +0 -96
- package/dist/objectivec-IOMOLCTB.mjs +0 -9
- package/dist/ocaml-7QTKLP5D.mjs +0 -7
- package/dist/ocaml-ACEIVX7F.mjs +0 -74
- package/dist/odin-I7C3ILYL.mjs +0 -7
- package/dist/opencl-OMZP35MY.mjs +0 -9
- package/dist/openqasm-6RGNU2HP.mjs +0 -7
- package/dist/openscad-FXXLX6F2.mjs +0 -82
- package/dist/oxygene-KGSDJDIY.mjs +0 -95
- package/dist/oz-5EULHBWM.mjs +0 -7
- package/dist/parigp-4PXJRQGS.mjs +0 -7
- package/dist/parser-CZEI4TJ2.mjs +0 -8
- package/dist/parser3-JUOZOILH.mjs +0 -58
- package/dist/pascal-QOIGX5XW.mjs +0 -7
- package/dist/pascaligo-H3MPVMH3.mjs +0 -7
- package/dist/pcaxis-OZL6YSKR.mjs +0 -7
- package/dist/peoplecode-O3OGA5RP.mjs +0 -7
- package/dist/perl-FMRNFENS.mjs +0 -7
- package/dist/perl-RLCF4QMX.mjs +0 -480
- package/dist/pf-W6H6TUYT.mjs +0 -44
- package/dist/pgsql-MLOGQRPN.mjs +0 -388
- package/dist/php-I7LAZFPK.mjs +0 -192
- package/dist/php-UGHON5C5.mjs +0 -9
- package/dist/php-extras-54HPBO6E.mjs +0 -10
- package/dist/php-template-5ELRARXU.mjs +0 -55
- package/dist/phpdoc-46GAUY2G.mjs +0 -11
- package/dist/plaintext-RJSHR3EV.mjs +0 -21
- package/dist/plant-uml-BCYVI3VA.mjs +0 -7
- package/dist/plsql-DOMHSS7F.mjs +0 -8
- package/dist/pony-FYJUCREG.mjs +0 -65
- package/dist/powerquery-B5ZLZLMD.mjs +0 -7
- package/dist/powershell-J7JCQMBG.mjs +0 -7
- package/dist/powershell-MUZJ7ZCQ.mjs +0 -280
- package/dist/processing-QNRQTPM7.mjs +0 -8
- package/dist/processing-YGWYJKJ4.mjs +0 -29
- package/dist/profile-NLKLFYNE.mjs +0 -46
- package/dist/prolog-NJCRPQKA.mjs +0 -7
- package/dist/prolog-OFIFP3EA.mjs +0 -90
- package/dist/promql-5TLEEYRV.mjs +0 -7
- package/dist/properties-HDOTNPIE.mjs +0 -7
- package/dist/properties-W6JQE7VR.mjs +0 -82
- package/dist/protobuf-YECVLUMQ.mjs +0 -8
- package/dist/protobuf-ZZTWT6VA.mjs +0 -51
- package/dist/psl-SLOMMI5X.mjs +0 -7
- package/dist/pug-HQSBZGX7.mjs +0 -10
- package/dist/puppet-DRCO2N5W.mjs +0 -121
- package/dist/puppet-YP2P2WRM.mjs +0 -7
- package/dist/pure-4QGPK3UF.mjs +0 -7
- package/dist/purebasic-33O35PBV.mjs +0 -70
- package/dist/purebasic-KJBBDSNJ.mjs +0 -8
- package/dist/purescript-LPW3CF2R.mjs +0 -8
- package/dist/python-N2M2CZUF.mjs +0 -7
- package/dist/python-UYON7Z4A.mjs +0 -412
- package/dist/python-repl-GKWNKNMA.mjs +0 -38
- package/dist/q-HAXVLG5L.mjs +0 -7
- package/dist/q-RNK5VR5U.mjs +0 -33
- package/dist/qml-L5SPX6SZ.mjs +0 -177
- package/dist/qml-QSVYOHLP.mjs +0 -9
- package/dist/qore-ZYAGJXXN.mjs +0 -8
- package/dist/qsharp-MHWH4I5Y.mjs +0 -8
- package/dist/r-E66S76M2.mjs +0 -175
- package/dist/r-ZWI64WIV.mjs +0 -7
- package/dist/racket-NUFYLAZT.mjs +0 -8
- package/dist/reason-PPKVJNWC.mjs +0 -8
- package/dist/reasonml-D7ICMCDX.mjs +0 -294
- package/dist/regex-EXOCHWOR.mjs +0 -7
- package/dist/rego-HKIDMTIU.mjs +0 -7
- package/dist/renpy-T2HG2SSA.mjs +0 -7
- package/dist/rescript-ANGRYZYI.mjs +0 -7
- package/dist/rest-OONP3M3I.mjs +0 -7
- package/dist/rib-WHUZBKQW.mjs +0 -24
- package/dist/rip-JT3AV3ZF.mjs +0 -7
- package/dist/roboconf-CDGQOQTT.mjs +0 -7
- package/dist/roboconf-PUCPJKJ4.mjs +0 -78
- package/dist/robotframework-JVVKXLIK.mjs +0 -7
- package/dist/routeros-ZTXOIMQP.mjs +0 -163
- package/dist/rsl-34AHDDUL.mjs +0 -42
- package/dist/ruby-3LI2AHX7.mjs +0 -346
- package/dist/ruby-AHHNGCKK.mjs +0 -8
- package/dist/ruleslanguage-JWZM6QNW.mjs +0 -40
- package/dist/rust-2MGEZRLY.mjs +0 -123
- package/dist/rust-IX6J6ZTR.mjs +0 -7
- package/dist/sas-JMD45HJJ.mjs +0 -7
- package/dist/sas-MVDXBSSQ.mjs +0 -66
- package/dist/sass-U6KWLBDJ.mjs +0 -8
- package/dist/scala-HVWSZ32N.mjs +0 -9
- package/dist/scala-XIE3PKJL.mjs +0 -131
- package/dist/scheme-PZPGHXKY.mjs +0 -7
- package/dist/scheme-XV6XP6VA.mjs +0 -159
- package/dist/scilab-V63SVWMK.mjs +0 -69
- package/dist/scss-2VMIUDSO.mjs +0 -551
- package/dist/scss-ASWRCX3G.mjs +0 -8
- package/dist/shell-IZYRVAFX.mjs +0 -30
- package/dist/shell-session-UOX4YXKE.mjs +0 -8
- package/dist/smali-6RCW3WQY.mjs +0 -137
- package/dist/smali-OHEK3NZO.mjs +0 -7
- package/dist/smalltalk-QLVKEXC2.mjs +0 -66
- package/dist/smalltalk-TEOPL6AU.mjs +0 -7
- package/dist/smarty-ZFOMPN4W.mjs +0 -9
- package/dist/sml-FGV47VGE.mjs +0 -7
- package/dist/sml-NTZE7R52.mjs +0 -81
- package/dist/solidity-4HZRZLMF.mjs +0 -8
- package/dist/solution-file-2QV64SEX.mjs +0 -7
- package/dist/soy-IFZCQULH.mjs +0 -9
- package/dist/sparql-EG2K2U3S.mjs +0 -8
- package/dist/splunk-spl-X5YPCVDV.mjs +0 -7
- package/dist/sqf-62S54DIH.mjs +0 -86
- package/dist/sqf-WQH354LU.mjs +0 -8
- package/dist/sql-52G7GGJC.mjs +0 -7
- package/dist/sql-SKP6BNNP.mjs +0 -655
- package/dist/sql_more-OZMVMQKA.mjs +0 -60
- package/dist/squirrel-LA67D7CO.mjs +0 -8
- package/dist/stan-QGZG32SN.mjs +0 -547
- package/dist/stan-TSCC4WAD.mjs +0 -7
- package/dist/stata-44RVJLB2.mjs +0 -54
- package/dist/stata-TSHGHSMX.mjs +0 -11
- package/dist/step21-MV22OYON.mjs +0 -68
- package/dist/stylus-2Q5AJWS4.mjs +0 -7
- package/dist/stylus-PRETMACV.mjs +0 -605
- package/dist/subunit-UE42ABBA.mjs +0 -54
- package/dist/supercollider-4VHY6MTT.mjs +0 -7
- package/dist/swift-G2NKY7QY.mjs +0 -799
- package/dist/swift-JULQGBP2.mjs +0 -7
- package/dist/systemd-AFYQMAEU.mjs +0 -7
- package/dist/t4-cs-TBCUE47Q.mjs +0 -10
- package/dist/t4-templating-OAQC3S3Y.mjs +0 -7
- package/dist/t4-vb-RBZOFV75.mjs +0 -10
- package/dist/taggerscript-PXHDM45Q.mjs +0 -53
- package/dist/tap-LK2IT22W.mjs +0 -8
- package/dist/tap-XGK3T6QN.mjs +0 -56
- package/dist/tcl-4H3FXND5.mjs +0 -7
- package/dist/tcl-PHBZ5XE7.mjs +0 -83
- package/dist/textile-O7XZJJEO.mjs +0 -8
- package/dist/thrift-3SH24AYU.mjs +0 -49
- package/dist/toml-ZHYFQ3NV.mjs +0 -7
- package/dist/tp-UM6XVRRQ.mjs +0 -91
- package/dist/tremor-UKAZJW2S.mjs +0 -7
- package/dist/tsx-6DBHBUE7.mjs +0 -12
- package/dist/tt2-II2TOZJ6.mjs +0 -10
- package/dist/turtle-OE42RVV4.mjs +0 -7
- package/dist/twig-RTTZQTCM.mjs +0 -9
- package/dist/twig-UTFVP7UA.mjs +0 -70
- package/dist/typescript-AZC4ZHDM.mjs +0 -628
- package/dist/typescript-RL2WQRO6.mjs +0 -9
- package/dist/typoscript-XDWVOS64.mjs +0 -7
- package/dist/unrealscript-5ULD2X4J.mjs +0 -7
- package/dist/uorazor-PEN5JTRE.mjs +0 -7
- package/dist/uri-4IZ2ZWKP.mjs +0 -7
- package/dist/v-RFPT3TBN.mjs +0 -8
- package/dist/vala-54BUYZ3S.mjs +0 -8
- package/dist/vala-AAE6TFAW.mjs +0 -51
- package/dist/vbnet-H3ZNUTC5.mjs +0 -164
- package/dist/vbnet-LJDGPXO2.mjs +0 -8
- package/dist/vbscript-57VNMJF2.mjs +0 -68
- package/dist/vbscript-html-J5JM3SKV.mjs +0 -24
- package/dist/velocity-HQ4T4A54.mjs +0 -8
- package/dist/verilog-7NT7EJGA.mjs +0 -7
- package/dist/verilog-ANGIOWVV.mjs +0 -72
- package/dist/vhdl-NX4QKOIC.mjs +0 -51
- package/dist/vhdl-VX2UYEVO.mjs +0 -7
- package/dist/vim-3SJLYJSB.mjs +0 -7
- package/dist/vim-62XS5Y6F.mjs +0 -74
- package/dist/visual-basic-CNSXP3UO.mjs +0 -7
- package/dist/warpscript-6ET4LZCO.mjs +0 -7
- package/dist/wasm-NUUJRPYP.mjs +0 -7
- package/dist/web-idl-KASGSPXL.mjs +0 -7
- package/dist/wgsl-7JRXO5OU.mjs +0 -7
- package/dist/wiki-OLJOWBA6.mjs +0 -8
- package/dist/wolfram-MRNL76EA.mjs +0 -7
- package/dist/wren-TWP46OPU.mjs +0 -7
- package/dist/x86asm-H7IK6VYL.mjs +0 -106
- package/dist/xeora-PVWNPKV3.mjs +0 -8
- package/dist/xl-MAP3OQ5S.mjs +0 -77
- package/dist/xml-52KJUQTB.mjs +0 -254
- package/dist/xml-doc-G6YQYBWL.mjs +0 -8
- package/dist/xojo-5BMY4LBI.mjs +0 -7
- package/dist/xquery-NOINRBO7.mjs +0 -161
- package/dist/xquery-YDQPVTTO.mjs +0 -8
- package/dist/yaml-6KRYN74Z.mjs +0 -7
- package/dist/yaml-IAMDQNSY.mjs +0 -173
- package/dist/yang-ELRCLBBD.mjs +0 -7
- package/dist/zephir-ZNXT44BP.mjs +0 -118
- package/dist/zig-R74HDVPE.mjs +0 -7
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,1366 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default from 'react';
|
|
2
3
|
export * from '@photonix/icons';
|
|
4
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Layout component type definitions
|
|
8
|
+
* Provides TypeScript types for design token props used in Box, Stack, Grid, etc.
|
|
9
|
+
*/
|
|
10
|
+
/** Public spacing token names mapped to canonical --space-* CSS variables */
|
|
11
|
+
type SpacingToken = 'none' | '5xs' | '4xs' | '3xs' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl';
|
|
12
|
+
/** Public background token names mapped to canonical surface CSS variables */
|
|
13
|
+
type BackgroundToken = ('primary' | 'primary-inverse' | 'secondary' | 'secondary-inverse' | 'tertiary' | 'tertiary-inverse' | 'elevator' | 'neutral-primary' | 'neutral-primary-inverse' | 'neutral-secondary' | 'neutral-secondary-inverse' | 'neutral-tertiary' | 'neutral-tertiary-inverse' | 'neutral-elevator' | 'brand-primary' | 'red' | 'orange' | 'yellow' | 'green' | 'mint' | 'teal' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'pink' | 'brown') | (string & {});
|
|
14
|
+
/** Page background token names mapped to canonical background CSS variables */
|
|
15
|
+
type PageBackgroundToken = 'primary' | 'primary-inverse' | 'secondary' | 'secondary-inverse' | 'tertiary' | 'tertiary-inverse';
|
|
16
|
+
/** Public radius token names mapped to canonical --radius-* CSS variables */
|
|
17
|
+
type RadiusToken = 'none' | '4xs' | '3xs' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | 'full';
|
|
18
|
+
/** Shadow size names matching shadow CSS variables */
|
|
19
|
+
type ShadowToken = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
20
|
+
type DisplayValue = 'block' | 'flex' | 'grid' | 'inline' | 'inline-block' | 'inline-flex' | 'inline-grid' | 'none';
|
|
21
|
+
type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
22
|
+
type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
23
|
+
type AlignItems = 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
24
|
+
type JustifyContent = 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
25
|
+
type AlignSelf = 'auto' | 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
26
|
+
type AlignContent = 'start' | 'center' | 'end' | 'between' | 'around' | 'stretch';
|
|
27
|
+
type TextAlign$1 = 'left' | 'center' | 'right' | 'justify';
|
|
28
|
+
type Position = 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky';
|
|
29
|
+
type Overflow = 'visible' | 'hidden' | 'scroll' | 'auto';
|
|
30
|
+
/** Public border width token names mapped to canonical --border-* CSS variables */
|
|
31
|
+
type BorderWidthToken = 'none' | 'xs' | 'sm' | 'md' | 'lg' | (string & {});
|
|
32
|
+
type Breakpoint = 'base' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
33
|
+
type ResponsiveValue<T> = T | Partial<Record<Breakpoint, T>>;
|
|
34
|
+
|
|
35
|
+
type AsProp<C extends React.ElementType> = {
|
|
36
|
+
as?: C;
|
|
37
|
+
};
|
|
38
|
+
type PropsToOmit<C extends React.ElementType, P> = keyof (AsProp<C> & P);
|
|
39
|
+
type PolymorphicComponentProp<C extends React.ElementType, Props = object> = React.PropsWithChildren<Props & AsProp<C>> & Omit<React.ComponentPropsWithoutRef<C>, PropsToOmit<C, Props>>;
|
|
40
|
+
type PolymorphicRef<C extends React.ElementType> = React.ComponentPropsWithRef<C>['ref'];
|
|
41
|
+
type PolymorphicComponentPropWithRef<C extends React.ElementType, Props = object> = PolymorphicComponentProp<C, Props> & {
|
|
42
|
+
ref?: PolymorphicRef<C>;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
interface BoxOwnProps {
|
|
46
|
+
/** Padding on all sides */
|
|
47
|
+
p?: ResponsiveValue<SpacingToken>;
|
|
48
|
+
/** Padding inline (left/right) */
|
|
49
|
+
px?: ResponsiveValue<SpacingToken>;
|
|
50
|
+
/** Padding block (top/bottom) */
|
|
51
|
+
py?: ResponsiveValue<SpacingToken>;
|
|
52
|
+
/** Padding block start (top) */
|
|
53
|
+
pt?: ResponsiveValue<SpacingToken>;
|
|
54
|
+
/** Padding block end (bottom) */
|
|
55
|
+
pb?: ResponsiveValue<SpacingToken>;
|
|
56
|
+
/** Padding inline start (left) */
|
|
57
|
+
pl?: ResponsiveValue<SpacingToken>;
|
|
58
|
+
/** Padding inline end (right) */
|
|
59
|
+
pr?: ResponsiveValue<SpacingToken>;
|
|
60
|
+
/** Margin on all sides */
|
|
61
|
+
m?: ResponsiveValue<SpacingToken | 'auto'>;
|
|
62
|
+
/** Margin inline (left/right) */
|
|
63
|
+
mx?: ResponsiveValue<SpacingToken | 'auto'>;
|
|
64
|
+
/** Margin block (top/bottom) */
|
|
65
|
+
my?: ResponsiveValue<SpacingToken | 'auto'>;
|
|
66
|
+
/** Margin block start (top) */
|
|
67
|
+
mt?: ResponsiveValue<SpacingToken | 'auto'>;
|
|
68
|
+
/** Margin block end (bottom) */
|
|
69
|
+
mb?: ResponsiveValue<SpacingToken | 'auto'>;
|
|
70
|
+
/** Margin inline start (left) */
|
|
71
|
+
ml?: ResponsiveValue<SpacingToken | 'auto'>;
|
|
72
|
+
/** Margin inline end (right) */
|
|
73
|
+
mr?: ResponsiveValue<SpacingToken | 'auto'>;
|
|
74
|
+
/** CSS display property */
|
|
75
|
+
display?: ResponsiveValue<DisplayValue>;
|
|
76
|
+
/** Aspect Ratio */
|
|
77
|
+
aspectRatio?: ResponsiveValue<string | number>;
|
|
78
|
+
/** Flex direction */
|
|
79
|
+
flexDirection?: ResponsiveValue<FlexDirection>;
|
|
80
|
+
/** Flex wrap behavior */
|
|
81
|
+
flexWrap?: ResponsiveValue<FlexWrap | boolean>;
|
|
82
|
+
/** Shorthand for flex-grow, flex-shrink, flex-basis */
|
|
83
|
+
flex?: ResponsiveValue<string | number>;
|
|
84
|
+
/** Flex grow factor */
|
|
85
|
+
flexGrow?: ResponsiveValue<number>;
|
|
86
|
+
/** Flex shrink factor */
|
|
87
|
+
flexShrink?: ResponsiveValue<number>;
|
|
88
|
+
/** Flex basis */
|
|
89
|
+
flexBasis?: ResponsiveValue<string | number>;
|
|
90
|
+
/** Order */
|
|
91
|
+
order?: ResponsiveValue<number>;
|
|
92
|
+
/** Gap between items */
|
|
93
|
+
gap?: ResponsiveValue<SpacingToken>;
|
|
94
|
+
/** Column gap */
|
|
95
|
+
columnGap?: ResponsiveValue<SpacingToken>;
|
|
96
|
+
/** Row gap */
|
|
97
|
+
rowGap?: ResponsiveValue<SpacingToken>;
|
|
98
|
+
/** Align items (cross axis) */
|
|
99
|
+
alignItems?: ResponsiveValue<AlignItems>;
|
|
100
|
+
/** Align content (multiline) */
|
|
101
|
+
alignContent?: ResponsiveValue<string>;
|
|
102
|
+
/** Align self */
|
|
103
|
+
alignSelf?: ResponsiveValue<AlignSelf>;
|
|
104
|
+
/** Justify content (main axis) */
|
|
105
|
+
justifyContent?: ResponsiveValue<JustifyContent>;
|
|
106
|
+
/** Justify items (grid) */
|
|
107
|
+
justifyItems?: ResponsiveValue<string>;
|
|
108
|
+
/** Place items (align-items + justify-items) */
|
|
109
|
+
placeItems?: ResponsiveValue<string>;
|
|
110
|
+
/** Place content (align-content + justify-content) */
|
|
111
|
+
placeContent?: ResponsiveValue<string>;
|
|
112
|
+
/** Background color using public background tokens mapped to canonical surface vars */
|
|
113
|
+
bg?: ResponsiveValue<BackgroundToken>;
|
|
114
|
+
/** Page background using canonical background-* vars for page/root containers */
|
|
115
|
+
pageBg?: ResponsiveValue<PageBackgroundToken>;
|
|
116
|
+
/** Border radius using border-radius-* tokens */
|
|
117
|
+
borderRadius?: ResponsiveValue<RadiusToken>;
|
|
118
|
+
/** Box shadow using shadow-* tokens */
|
|
119
|
+
shadow?: ResponsiveValue<ShadowToken>;
|
|
120
|
+
/** Opacity */
|
|
121
|
+
opacity?: ResponsiveValue<number>;
|
|
122
|
+
border?: ResponsiveValue<string>;
|
|
123
|
+
borderWidth?: ResponsiveValue<BorderWidthToken | number>;
|
|
124
|
+
borderStyle?: ResponsiveValue<string>;
|
|
125
|
+
borderColor?: ResponsiveValue<string>;
|
|
126
|
+
textAlign?: ResponsiveValue<TextAlign$1>;
|
|
127
|
+
fontSize?: ResponsiveValue<string | number>;
|
|
128
|
+
fontWeight?: ResponsiveValue<string | number>;
|
|
129
|
+
lineHeight?: ResponsiveValue<string | number>;
|
|
130
|
+
color?: ResponsiveValue<string>;
|
|
131
|
+
/** Width - accepts CSS value */
|
|
132
|
+
w?: ResponsiveValue<string | number>;
|
|
133
|
+
/** Height - accepts CSS value */
|
|
134
|
+
h?: ResponsiveValue<string | number>;
|
|
135
|
+
/** Min width - accepts CSS value */
|
|
136
|
+
minW?: ResponsiveValue<string | number>;
|
|
137
|
+
/** Min height - accepts CSS value */
|
|
138
|
+
minH?: ResponsiveValue<string | number>;
|
|
139
|
+
/** Max width - accepts CSS value */
|
|
140
|
+
maxW?: ResponsiveValue<string | number>;
|
|
141
|
+
/** Max height - accepts CSS value */
|
|
142
|
+
maxH?: ResponsiveValue<string | number>;
|
|
143
|
+
/** CSS position property */
|
|
144
|
+
position?: ResponsiveValue<Position>;
|
|
145
|
+
/** Top position */
|
|
146
|
+
top?: ResponsiveValue<string | number>;
|
|
147
|
+
/** Right position */
|
|
148
|
+
right?: ResponsiveValue<string | number>;
|
|
149
|
+
/** Bottom position */
|
|
150
|
+
bottom?: ResponsiveValue<string | number>;
|
|
151
|
+
/** Left position */
|
|
152
|
+
left?: ResponsiveValue<string | number>;
|
|
153
|
+
/** Inset shortcut */
|
|
154
|
+
inset?: ResponsiveValue<string | number>;
|
|
155
|
+
/** Z-index */
|
|
156
|
+
zIndex?: ResponsiveValue<number>;
|
|
157
|
+
/** CSS overflow property */
|
|
158
|
+
overflow?: ResponsiveValue<Overflow>;
|
|
159
|
+
/** CSS overflow-x property */
|
|
160
|
+
overflowX?: ResponsiveValue<Overflow>;
|
|
161
|
+
/** CSS overflow-y property */
|
|
162
|
+
overflowY?: ResponsiveValue<Overflow>;
|
|
163
|
+
cursor?: ResponsiveValue<string>;
|
|
164
|
+
pointerEvents?: ResponsiveValue<string>;
|
|
165
|
+
userSelect?: ResponsiveValue<string>;
|
|
166
|
+
transform?: ResponsiveValue<string>;
|
|
167
|
+
transition?: ResponsiveValue<string>;
|
|
168
|
+
}
|
|
169
|
+
type BoxProps<C extends React.ElementType = 'div'> = PolymorphicComponentPropWithRef<C, BoxOwnProps>;
|
|
170
|
+
type BoxComponent = <C extends React.ElementType = 'div'>(props: BoxProps<C>) => React.ReactElement | null;
|
|
171
|
+
declare const Box: BoxComponent;
|
|
172
|
+
|
|
173
|
+
interface FlexOwnProps extends BoxOwnProps {
|
|
174
|
+
/** Flex direction */
|
|
175
|
+
direction?: ResponsiveValue<FlexDirection>;
|
|
176
|
+
/** Gap between children using spacing tokens */
|
|
177
|
+
gap?: ResponsiveValue<SpacingToken>;
|
|
178
|
+
/** Column Gap */
|
|
179
|
+
columnGap?: ResponsiveValue<SpacingToken>;
|
|
180
|
+
/** Row Gap */
|
|
181
|
+
rowGap?: ResponsiveValue<SpacingToken>;
|
|
182
|
+
/** Align items along the cross axis */
|
|
183
|
+
align?: ResponsiveValue<AlignItems>;
|
|
184
|
+
/** Justify content along the main axis */
|
|
185
|
+
justify?: ResponsiveValue<JustifyContent>;
|
|
186
|
+
/** Flex wrap behavior */
|
|
187
|
+
wrap?: ResponsiveValue<FlexWrap | boolean>;
|
|
188
|
+
/** Flex basis */
|
|
189
|
+
basis?: ResponsiveValue<string | number>;
|
|
190
|
+
/** Flex grow */
|
|
191
|
+
grow?: ResponsiveValue<number>;
|
|
192
|
+
/** Flex shrink */
|
|
193
|
+
shrink?: ResponsiveValue<number>;
|
|
194
|
+
/** Align Content */
|
|
195
|
+
alignContent?: ResponsiveValue<AlignContent>;
|
|
196
|
+
/** Align Self */
|
|
197
|
+
alignSelf?: ResponsiveValue<AlignSelf>;
|
|
198
|
+
/** Order */
|
|
199
|
+
order?: ResponsiveValue<number>;
|
|
200
|
+
/** Children elements */
|
|
201
|
+
children?: React.ReactNode;
|
|
202
|
+
}
|
|
203
|
+
type FlexProps<C extends React.ElementType = 'div'> = PolymorphicComponentPropWithRef<C, FlexOwnProps>;
|
|
204
|
+
type FlexComponent = <C extends React.ElementType = 'div'>(props: FlexProps<C>) => React.ReactElement | null;
|
|
205
|
+
declare const Flex: FlexComponent;
|
|
206
|
+
type SpacerProps = React.HTMLAttributes<HTMLDivElement>;
|
|
207
|
+
/**
|
|
208
|
+
* Spacer pushes siblings apart by taking all available space.
|
|
209
|
+
* Use inside Flex or HStack/VStack to create space between elements.
|
|
210
|
+
*/
|
|
211
|
+
declare const Spacer: React.ForwardRefExoticComponent<SpacerProps & React.RefAttributes<HTMLDivElement>>;
|
|
212
|
+
type CenterProps = Omit<FlexProps, 'align' | 'justify'>;
|
|
213
|
+
/**
|
|
214
|
+
* Center aligns children both horizontally and vertically.
|
|
215
|
+
*/
|
|
216
|
+
declare const Center: React.ForwardRefExoticComponent<Omit<CenterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
217
|
+
|
|
218
|
+
interface GridProps extends BoxOwnProps, Omit<React.HTMLAttributes<HTMLDivElement>, keyof BoxOwnProps> {
|
|
219
|
+
/** Number of columns or responsive column config */
|
|
220
|
+
columns?: ResponsiveValue<number>;
|
|
221
|
+
/** Gap between grid items */
|
|
222
|
+
gap?: ResponsiveValue<SpacingToken>;
|
|
223
|
+
/** Row gap (overrides gap for rows) */
|
|
224
|
+
rowGap?: ResponsiveValue<SpacingToken>;
|
|
225
|
+
/** Column gap (overrides gap for columns) */
|
|
226
|
+
columnGap?: ResponsiveValue<SpacingToken>;
|
|
227
|
+
/** Template columns (CSS grid-template-columns value) */
|
|
228
|
+
templateColumns?: ResponsiveValue<string>;
|
|
229
|
+
/** Template rows (CSS grid-template-rows value) */
|
|
230
|
+
templateRows?: ResponsiveValue<string>;
|
|
231
|
+
/** Template areas (CSS grid-template-areas value) */
|
|
232
|
+
templateAreas?: ResponsiveValue<string>;
|
|
233
|
+
/** Auto rows sizing */
|
|
234
|
+
autoRows?: ResponsiveValue<string>;
|
|
235
|
+
/** Auto columns sizing */
|
|
236
|
+
autoColumns?: ResponsiveValue<string>;
|
|
237
|
+
/** Auto flow direction */
|
|
238
|
+
autoFlow?: ResponsiveValue<'row' | 'column' | 'dense' | 'row dense' | 'column dense'>;
|
|
239
|
+
/** Children elements */
|
|
240
|
+
children?: React.ReactNode;
|
|
241
|
+
}
|
|
242
|
+
declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
|
|
243
|
+
interface GridItemProps extends BoxOwnProps, Omit<React.HTMLAttributes<HTMLDivElement>, keyof BoxOwnProps> {
|
|
244
|
+
/** Number of columns to span */
|
|
245
|
+
colSpan?: ResponsiveValue<number | 'full'>;
|
|
246
|
+
/** Number of rows to span */
|
|
247
|
+
rowSpan?: ResponsiveValue<number>;
|
|
248
|
+
/** Column start position */
|
|
249
|
+
colStart?: ResponsiveValue<number>;
|
|
250
|
+
/** Column end position */
|
|
251
|
+
colEnd?: ResponsiveValue<number>;
|
|
252
|
+
/** Row start position */
|
|
253
|
+
rowStart?: ResponsiveValue<number>;
|
|
254
|
+
/** Row end position */
|
|
255
|
+
rowEnd?: ResponsiveValue<number>;
|
|
256
|
+
/** Grid area name */
|
|
257
|
+
area?: ResponsiveValue<string>;
|
|
258
|
+
/** Children elements */
|
|
259
|
+
children?: React.ReactNode;
|
|
260
|
+
}
|
|
261
|
+
declare const GridItem: React.ForwardRefExoticComponent<GridItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
262
|
+
interface SimpleGridProps extends Omit<GridProps, 'columns'> {
|
|
263
|
+
/** Number of columns (simpler API) */
|
|
264
|
+
columns?: ResponsiveValue<number>;
|
|
265
|
+
/** Minimum child width for auto-fit */
|
|
266
|
+
minChildWidth?: ResponsiveValue<string | number>;
|
|
267
|
+
}
|
|
268
|
+
declare const SimpleGrid: React.ForwardRefExoticComponent<SimpleGridProps & React.RefAttributes<HTMLDivElement>>;
|
|
269
|
+
|
|
270
|
+
interface StackOwnProps extends BoxOwnProps {
|
|
271
|
+
/** Flex direction */
|
|
272
|
+
direction?: ResponsiveValue<FlexDirection>;
|
|
273
|
+
/** Gap between children using spacing tokens */
|
|
274
|
+
gap?: ResponsiveValue<SpacingToken>;
|
|
275
|
+
/** Spacing alias for gap */
|
|
276
|
+
spacing?: ResponsiveValue<SpacingToken>;
|
|
277
|
+
/** Align items along the cross axis */
|
|
278
|
+
align?: ResponsiveValue<AlignItems>;
|
|
279
|
+
/** Justify content along the main axis */
|
|
280
|
+
justify?: ResponsiveValue<JustifyContent>;
|
|
281
|
+
/** Whether to wrap children */
|
|
282
|
+
wrap?: ResponsiveValue<boolean>;
|
|
283
|
+
/** Optional divider element between items */
|
|
284
|
+
divider?: React.ReactNode;
|
|
285
|
+
/** Children elements */
|
|
286
|
+
children?: React.ReactNode;
|
|
287
|
+
}
|
|
288
|
+
type StackProps<C extends React.ElementType = 'div'> = PolymorphicComponentPropWithRef<C, StackOwnProps>;
|
|
289
|
+
type StackComponent = <C extends React.ElementType = 'div'>(props: StackProps<C>) => React.ReactElement | null;
|
|
290
|
+
declare const Stack: StackComponent;
|
|
291
|
+
type VStackProps<C extends React.ElementType = 'div'> = Omit<StackProps<C>, 'direction'>;
|
|
292
|
+
type VStackComponent = <C extends React.ElementType = 'div'>(props: VStackProps<C>) => React.ReactElement | null;
|
|
293
|
+
declare const VStack: VStackComponent;
|
|
294
|
+
type HStackProps<C extends React.ElementType = 'div'> = Omit<StackProps<C>, 'direction'>;
|
|
295
|
+
type HStackComponent = <C extends React.ElementType = 'div'>(props: HStackProps<C>) => React.ReactElement | null;
|
|
296
|
+
declare const HStack: HStackComponent;
|
|
297
|
+
|
|
298
|
+
declare const containerWidths: {
|
|
299
|
+
readonly sm: "640px";
|
|
300
|
+
readonly md: "768px";
|
|
301
|
+
readonly lg: "1024px";
|
|
302
|
+
readonly xl: "1280px";
|
|
303
|
+
readonly '2xl': "1536px";
|
|
304
|
+
readonly full: "100%";
|
|
305
|
+
};
|
|
306
|
+
type ContainerWidth = keyof typeof containerWidths;
|
|
307
|
+
interface ContainerProps extends BoxOwnProps, Omit<React.HTMLAttributes<HTMLDivElement>, keyof BoxOwnProps> {
|
|
308
|
+
/** Maximum width of the container */
|
|
309
|
+
maxWidth?: ResponsiveValue<ContainerWidth | string | number>;
|
|
310
|
+
/** Alias for maxWidth */
|
|
311
|
+
size?: ResponsiveValue<ContainerWidth | string | number>;
|
|
312
|
+
/** Whether to take up 100% width (alias for maxWidth="full") */
|
|
313
|
+
fluid?: boolean;
|
|
314
|
+
/** Whether to center the content */
|
|
315
|
+
centerContent?: boolean;
|
|
316
|
+
/** Padding alias (px usually) */
|
|
317
|
+
padding?: ResponsiveValue<SpacingToken>;
|
|
318
|
+
/** Children elements */
|
|
319
|
+
children?: React.ReactNode;
|
|
320
|
+
}
|
|
321
|
+
declare const Container: React.ForwardRefExoticComponent<ContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
322
|
+
|
|
323
|
+
interface AspectRatioOwnProps extends BoxOwnProps {
|
|
324
|
+
/** Aspect ratio (width / height), e.g., 16/9 */
|
|
325
|
+
ratio?: number;
|
|
326
|
+
}
|
|
327
|
+
type AspectRatioProps<C extends React.ElementType = 'div'> = PolymorphicComponentPropWithRef<C, AspectRatioOwnProps>;
|
|
328
|
+
declare const AspectRatio$1: React.ForwardRefExoticComponent<Omit<AspectRatioProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>, "ref"> & React.RefAttributes<any>>;
|
|
329
|
+
|
|
330
|
+
interface CustomScrollbarProps {
|
|
331
|
+
children: React__default.ReactNode;
|
|
332
|
+
/** Scrollbar thumb size: sm = 4px, md = 8px */
|
|
333
|
+
size?: 'sm' | 'md';
|
|
334
|
+
/** Maximum height of the container (enables vertical scroll) */
|
|
335
|
+
maxHeight?: string | number;
|
|
336
|
+
/** Maximum width of the container (enables horizontal scroll) */
|
|
337
|
+
maxWidth?: string | number;
|
|
338
|
+
/**
|
|
339
|
+
* Fill available space in flex parent container.
|
|
340
|
+
* Use this instead of maxHeight="100%" when inside a flex layout.
|
|
341
|
+
* When true, the component will use flex: 1 to fill remaining space.
|
|
342
|
+
*/
|
|
343
|
+
fill?: boolean;
|
|
344
|
+
/** Additional className for the container */
|
|
345
|
+
className?: string;
|
|
346
|
+
/** Additional className for the content area */
|
|
347
|
+
contentClassName?: string;
|
|
348
|
+
/** Additional className for the vertical track */
|
|
349
|
+
verticalTrackClassName?: string;
|
|
350
|
+
/** Inline style for the vertical track */
|
|
351
|
+
verticalTrackStyle?: React__default.CSSProperties;
|
|
352
|
+
/** Additional className for the horizontal track */
|
|
353
|
+
horizontalTrackClassName?: string;
|
|
354
|
+
/** Inline style for the horizontal track */
|
|
355
|
+
horizontalTrackStyle?: React__default.CSSProperties;
|
|
356
|
+
/** Whether to show scrollbar only on hover */
|
|
357
|
+
autoHide?: boolean;
|
|
358
|
+
/** Callback fired on scroll */
|
|
359
|
+
onScroll?: (event: React__default.UIEvent<HTMLDivElement>) => void;
|
|
360
|
+
}
|
|
361
|
+
interface CustomScrollbarRef {
|
|
362
|
+
/** The scrollable content element */
|
|
363
|
+
contentElement: HTMLDivElement | null;
|
|
364
|
+
/** Scroll to a specific position */
|
|
365
|
+
scrollTo: (options: ScrollToOptions) => void;
|
|
366
|
+
}
|
|
367
|
+
declare const CustomScrollbar: React__default.ForwardRefExoticComponent<CustomScrollbarProps & React__default.RefAttributes<CustomScrollbarRef>>;
|
|
368
|
+
|
|
369
|
+
interface PortalProps {
|
|
370
|
+
/**
|
|
371
|
+
* The container to mount the portal into.
|
|
372
|
+
* Defaults to document.body
|
|
373
|
+
*/
|
|
374
|
+
container?: HTMLElement | null;
|
|
375
|
+
/**
|
|
376
|
+
* Children to render in the portal
|
|
377
|
+
*/
|
|
378
|
+
children: React.ReactNode;
|
|
379
|
+
/**
|
|
380
|
+
* Optional key for the portal
|
|
381
|
+
*/
|
|
382
|
+
key?: string | null;
|
|
383
|
+
}
|
|
384
|
+
declare const Portal: {
|
|
385
|
+
({ container, children, key }: PortalProps): React.ReactElement | null;
|
|
386
|
+
displayName: string;
|
|
387
|
+
};
|
|
388
|
+
|
|
389
|
+
interface SlotPlaceholderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
390
|
+
/** Title text */
|
|
391
|
+
title?: string;
|
|
392
|
+
/** Description text */
|
|
393
|
+
description?: string;
|
|
394
|
+
/** Custom icon */
|
|
395
|
+
icon?: React.ReactNode;
|
|
396
|
+
/** Minimum height */
|
|
397
|
+
minHeight?: string | number;
|
|
398
|
+
}
|
|
399
|
+
declare const SlotPlaceholder: React.ForwardRefExoticComponent<SlotPlaceholderProps & React.RefAttributes<HTMLDivElement>>;
|
|
400
|
+
|
|
401
|
+
interface ClusterOwnProps extends Omit<FlexOwnProps, 'wrap'> {
|
|
402
|
+
/** Whether children should wrap (default: true) */
|
|
403
|
+
wrap?: boolean;
|
|
404
|
+
}
|
|
405
|
+
type ClusterProps<C extends React.ElementType = 'div'> = PolymorphicComponentPropWithRef<C, ClusterOwnProps>;
|
|
406
|
+
/**
|
|
407
|
+
* Cluster layout component for inline elements with automatic wrapping and gap.
|
|
408
|
+
* Useful for tags, buttons, or any group of items that should wrap.
|
|
409
|
+
*/
|
|
410
|
+
declare const Cluster: React.ForwardRefExoticComponent<Omit<ClusterProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>, "ref"> & React.RefAttributes<any>>;
|
|
411
|
+
|
|
412
|
+
type TextVariant = 'display-lg' | 'display-md' | 'display-sm' | 'headline-lg' | 'headline-md' | 'headline-sm' | 'title-lg' | 'title-md' | 'title-sm' | 'body-2xl' | 'body-xl' | 'body-lg' | 'body-md' | 'body-sm' | 'label-lg' | 'label-md' | 'label-sm' | 'code-xl' | 'code-lg' | 'code-md' | 'code-sm';
|
|
413
|
+
type TextColor = 'primary' | 'primary-inverse' | 'secondary' | 'secondary-inverse' | 'brand' | 'red' | 'orange' | 'yellow' | 'green' | 'mint' | 'teal' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'pink' | 'brown';
|
|
414
|
+
type TextWeight = 'regular' | 'medium' | 'bold';
|
|
415
|
+
type TextAlign = 'left' | 'center' | 'right' | 'justify';
|
|
416
|
+
interface TextProps extends Omit<React.AllHTMLAttributes<HTMLElement>, 'color'> {
|
|
417
|
+
/** Typography variant from typescale tokens */
|
|
418
|
+
variant?: ResponsiveValue<TextVariant>;
|
|
419
|
+
/** Text color from text-* tokens */
|
|
420
|
+
color?: TextColor;
|
|
421
|
+
/** Font weight override */
|
|
422
|
+
weight?: TextWeight;
|
|
423
|
+
/** Text alignment */
|
|
424
|
+
align?: ResponsiveValue<TextAlign>;
|
|
425
|
+
/** Truncate text with ellipsis (true = single line, number = line clamp) */
|
|
426
|
+
truncate?: boolean | number;
|
|
427
|
+
/** Render as different HTML element */
|
|
428
|
+
as?: 'p' | 'span' | 'div' | 'label' | 'strong' | 'em' | 'small' | 'code' | 'pre' | 'a';
|
|
429
|
+
/** Text decoration */
|
|
430
|
+
decoration?: 'none' | 'underline';
|
|
431
|
+
/** Children */
|
|
432
|
+
children?: React.ReactNode;
|
|
433
|
+
}
|
|
434
|
+
declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLElement>>;
|
|
435
|
+
|
|
436
|
+
type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
437
|
+
type HeadingSize = 'display-lg' | 'display-md' | 'display-sm' | 'headline-lg' | 'headline-md' | 'headline-sm' | 'title-lg' | 'title-md' | 'title-sm';
|
|
438
|
+
interface HeadingProps extends Omit<React.HTMLAttributes<HTMLHeadingElement>, 'color'> {
|
|
439
|
+
/** Semantic heading level (h1-h6) */
|
|
440
|
+
as?: HeadingLevel;
|
|
441
|
+
/** Visual size (can differ from semantic level for styling) */
|
|
442
|
+
size?: HeadingSize;
|
|
443
|
+
/** Text color */
|
|
444
|
+
color?: 'primary' | 'secondary' | 'brand' | 'primary-inverse';
|
|
445
|
+
/** Text alignment */
|
|
446
|
+
align?: 'left' | 'center' | 'right';
|
|
447
|
+
/** Truncate with ellipsis */
|
|
448
|
+
truncate?: boolean;
|
|
449
|
+
/** Children */
|
|
450
|
+
children?: React.ReactNode;
|
|
451
|
+
}
|
|
452
|
+
declare const Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
453
|
+
|
|
454
|
+
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
455
|
+
/**
|
|
456
|
+
* Visual variant of the button
|
|
457
|
+
* - primary: Dark solid background (main action)
|
|
458
|
+
* - secondary: Border only, transparent background
|
|
459
|
+
* - tertiary: No border, no background (subtle action)
|
|
460
|
+
* - brand: Blue brand color background
|
|
461
|
+
*/
|
|
462
|
+
variant?: 'primary' | 'secondary' | 'tertiary' | 'brand';
|
|
463
|
+
/**
|
|
464
|
+
* Size of the button
|
|
465
|
+
* - large: 48px height
|
|
466
|
+
* - medium: 44px height, default
|
|
467
|
+
* - small: 36px height, compact
|
|
468
|
+
*/
|
|
469
|
+
size?: 'large' | 'medium' | 'small';
|
|
470
|
+
/**
|
|
471
|
+
* Icon displayed before the button text
|
|
472
|
+
*/
|
|
473
|
+
leadingIcon?: React.ReactNode;
|
|
474
|
+
/**
|
|
475
|
+
* Icon displayed after the button text
|
|
476
|
+
*/
|
|
477
|
+
trailingIcon?: React.ReactNode;
|
|
478
|
+
/**
|
|
479
|
+
* Badge count to display after the text (for filters, selects, etc.)
|
|
480
|
+
* Displays as a small text badge next to the button label
|
|
481
|
+
*/
|
|
482
|
+
badge?: number | string;
|
|
483
|
+
/**
|
|
484
|
+
* Shows loading spinner and disables interaction
|
|
485
|
+
*/
|
|
486
|
+
isLoading?: boolean;
|
|
487
|
+
/**
|
|
488
|
+
* Makes button take full width of container
|
|
489
|
+
*/
|
|
490
|
+
isFullWidth?: boolean;
|
|
491
|
+
/**
|
|
492
|
+
* When true, renders children directly instead of button element
|
|
493
|
+
* Useful for rendering as Link or other components
|
|
494
|
+
*/
|
|
495
|
+
asChild?: boolean;
|
|
496
|
+
/**
|
|
497
|
+
* Border radius shape
|
|
498
|
+
* - rounded: Default rounded corners
|
|
499
|
+
* - pill: Fully rounded (pill shape)
|
|
500
|
+
*/
|
|
501
|
+
shape?: 'rounded' | 'pill';
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* Button Component
|
|
505
|
+
*
|
|
506
|
+
* A flexible button component with multiple variants, sizes, and icon support.
|
|
507
|
+
* Structure: leading icon + Group (Text + badge) + trailing icon
|
|
508
|
+
*/
|
|
509
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
510
|
+
|
|
511
|
+
interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
512
|
+
/**
|
|
513
|
+
* Visual variant of the button
|
|
514
|
+
* - primary: Dark solid background (main action)
|
|
515
|
+
* - secondary: Border only, transparent background
|
|
516
|
+
* - tertiary: No border, no background (subtle action)
|
|
517
|
+
* - brand: Blue brand color background
|
|
518
|
+
*/
|
|
519
|
+
variant?: 'primary' | 'secondary' | 'tertiary' | 'brand';
|
|
520
|
+
/**
|
|
521
|
+
* Size of the button (square)
|
|
522
|
+
* - large: 48×48px
|
|
523
|
+
* - medium: 44×44px, default
|
|
524
|
+
* - small: 36×36px
|
|
525
|
+
*/
|
|
526
|
+
size?: 'large' | 'medium' | 'small';
|
|
527
|
+
/**
|
|
528
|
+
* Border radius shape
|
|
529
|
+
* - rounded: Default rounded corners
|
|
530
|
+
* - pill: Fully rounded (circle)
|
|
531
|
+
*/
|
|
532
|
+
shape?: 'rounded' | 'pill';
|
|
533
|
+
/**
|
|
534
|
+
* The icon to display
|
|
535
|
+
*/
|
|
536
|
+
icon: React.ReactNode;
|
|
537
|
+
/**
|
|
538
|
+
* Badge count to display at top-right corner.
|
|
539
|
+
* - Pass a number or string for a numeric/text badge.
|
|
540
|
+
* - Pass `true` for a simple dot badge.
|
|
541
|
+
*/
|
|
542
|
+
badge?: number | string | boolean;
|
|
543
|
+
/**
|
|
544
|
+
* Shows loading spinner and disables interaction
|
|
545
|
+
*/
|
|
546
|
+
isLoading?: boolean;
|
|
547
|
+
/**
|
|
548
|
+
* Accessible label for the button (required for icon-only buttons)
|
|
549
|
+
*/
|
|
550
|
+
'aria-label': string;
|
|
551
|
+
/**
|
|
552
|
+
* When true, renders children directly instead of button element
|
|
553
|
+
*/
|
|
554
|
+
asChild?: boolean;
|
|
555
|
+
}
|
|
556
|
+
/**
|
|
557
|
+
* IconButton Component
|
|
558
|
+
*
|
|
559
|
+
* A square button component that displays only an icon.
|
|
560
|
+
* Shares styling with Button but optimized for icon-only use.
|
|
561
|
+
*/
|
|
562
|
+
declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
563
|
+
|
|
564
|
+
interface CheckboxProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
|
|
565
|
+
/**
|
|
566
|
+
* Whether the checkbox is checked (controlled)
|
|
567
|
+
*/
|
|
568
|
+
checked?: boolean;
|
|
569
|
+
/** Participate in native form validation. */
|
|
570
|
+
required?: boolean;
|
|
571
|
+
/**
|
|
572
|
+
* Initial checked state when uncontrolled
|
|
573
|
+
*/
|
|
574
|
+
defaultChecked?: boolean;
|
|
575
|
+
/**
|
|
576
|
+
* Whether the checkbox is in indeterminate state (for selectAll partial)
|
|
577
|
+
*/
|
|
578
|
+
indeterminate?: boolean;
|
|
579
|
+
/**
|
|
580
|
+
* Size of the checkbox
|
|
581
|
+
*/
|
|
582
|
+
size?: 'small' | 'medium';
|
|
583
|
+
/**
|
|
584
|
+
* Label text for the checkbox
|
|
585
|
+
*/
|
|
586
|
+
label?: React.ReactNode;
|
|
587
|
+
/**
|
|
588
|
+
* Callback when checkbox state changes
|
|
589
|
+
*/
|
|
590
|
+
onChange?: (checked: boolean) => void;
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
* Checkbox Component
|
|
594
|
+
*
|
|
595
|
+
* A checkbox with three visual states:
|
|
596
|
+
* - Unchecked: Rectangle outline
|
|
597
|
+
* - Checked: Filled rectangle with checkmark
|
|
598
|
+
* - Indeterminate: Filled rectangle with minus sign
|
|
599
|
+
*
|
|
600
|
+
* Includes hover state with circular background and click ripple effect.
|
|
601
|
+
*/
|
|
602
|
+
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
603
|
+
|
|
604
|
+
interface RadioProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
|
|
605
|
+
/**
|
|
606
|
+
* Whether the radio is selected (controlled)
|
|
607
|
+
*/
|
|
608
|
+
checked?: boolean;
|
|
609
|
+
/** Participate in native form validation. */
|
|
610
|
+
required?: boolean;
|
|
611
|
+
/**
|
|
612
|
+
* Initial selected state when uncontrolled
|
|
613
|
+
*/
|
|
614
|
+
defaultChecked?: boolean;
|
|
615
|
+
/**
|
|
616
|
+
* Size of the radio
|
|
617
|
+
*/
|
|
618
|
+
size?: 'small' | 'medium';
|
|
619
|
+
/**
|
|
620
|
+
* Label text for the radio
|
|
621
|
+
*/
|
|
622
|
+
label?: React.ReactNode;
|
|
623
|
+
/**
|
|
624
|
+
* Callback when radio state changes
|
|
625
|
+
*/
|
|
626
|
+
onChange?: (checked: boolean) => void;
|
|
627
|
+
}
|
|
628
|
+
declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLButtonElement>>;
|
|
629
|
+
|
|
630
|
+
/** Props shared by RadioGroup and CheckboxGroup so the two groups read the same way. */
|
|
631
|
+
interface SelectionGroupBaseProps extends Omit<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, 'onChange' | 'defaultValue' | 'value' | 'form' | 'name'> {
|
|
632
|
+
/** Visible group label (legend). Omit only when `aria-label` names the group. */
|
|
633
|
+
label?: React.ReactNode;
|
|
634
|
+
/** Supporting text below the label. */
|
|
635
|
+
description?: React.ReactNode;
|
|
636
|
+
/** Error message; also marks the group invalid. */
|
|
637
|
+
error?: React.ReactNode;
|
|
638
|
+
/** Form field name applied to every option. */
|
|
639
|
+
name?: string;
|
|
640
|
+
/** Associates the options with a form outside the group. */
|
|
641
|
+
form?: string;
|
|
642
|
+
disabled?: boolean;
|
|
643
|
+
required?: boolean;
|
|
644
|
+
/** Layout of the options. @default 'vertical' */
|
|
645
|
+
orientation?: 'horizontal' | 'vertical';
|
|
646
|
+
children: React.ReactNode;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
interface RadioGroupProps extends SelectionGroupBaseProps {
|
|
650
|
+
/** Selected option value (controlled). */
|
|
651
|
+
value?: string;
|
|
652
|
+
/** Initially selected option value (uncontrolled). */
|
|
653
|
+
defaultValue?: string;
|
|
654
|
+
onChange?: (value: string) => void;
|
|
655
|
+
}
|
|
656
|
+
/** Single-choice group of `Radio` children with roving focus and native form support. */
|
|
657
|
+
declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLFieldSetElement>>;
|
|
658
|
+
|
|
659
|
+
interface SwitchProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
|
|
660
|
+
/**
|
|
661
|
+
* Whether the switch is on (controlled)
|
|
662
|
+
*/
|
|
663
|
+
checked?: boolean;
|
|
664
|
+
/** Participate in native form validation. */
|
|
665
|
+
required?: boolean;
|
|
666
|
+
/**
|
|
667
|
+
* Initial state when uncontrolled
|
|
668
|
+
*/
|
|
669
|
+
defaultChecked?: boolean;
|
|
670
|
+
/**
|
|
671
|
+
* Size of the switch
|
|
672
|
+
*/
|
|
673
|
+
size?: 'small' | 'large';
|
|
674
|
+
/**
|
|
675
|
+
* Label text for the switch
|
|
676
|
+
*/
|
|
677
|
+
label?: React.ReactNode;
|
|
678
|
+
/**
|
|
679
|
+
* Callback when switch state changes
|
|
680
|
+
*/
|
|
681
|
+
onChange?: (checked: boolean) => void;
|
|
682
|
+
}
|
|
683
|
+
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
|
684
|
+
|
|
685
|
+
type InputFormat = 'currency' | 'phone' | 'password' | 'bankAccount' | 'cardNumber';
|
|
686
|
+
interface InputFormatOptions {
|
|
687
|
+
/** Separator character for currency grouping. Default: ',' */
|
|
688
|
+
separator?: ',' | '.';
|
|
689
|
+
/** Maximum number of digits (excluding separators). */
|
|
690
|
+
maxDigits?: number;
|
|
691
|
+
/** Allow decimal input for currency. Default: true */
|
|
692
|
+
allowDecimal?: boolean;
|
|
693
|
+
}
|
|
694
|
+
interface TextFieldDropdownOption {
|
|
695
|
+
label: string;
|
|
696
|
+
value: string;
|
|
697
|
+
icon?: React.ReactNode;
|
|
698
|
+
disabled?: boolean;
|
|
699
|
+
}
|
|
700
|
+
interface TextFieldProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'size'> {
|
|
701
|
+
/** Style the native input without changing the field wrapper layout. */
|
|
702
|
+
inputStyle?: React.CSSProperties;
|
|
703
|
+
/** Label text. */
|
|
704
|
+
label?: string;
|
|
705
|
+
/** Whether the label is placed inside or outside the input box. Default is 'outside'. */
|
|
706
|
+
labelStyle?: 'inside' | 'outside';
|
|
707
|
+
/** Supporting text displayed below the field. */
|
|
708
|
+
helperText?: string;
|
|
709
|
+
/** If true, the field will be in error state. */
|
|
710
|
+
error?: boolean;
|
|
711
|
+
/** Mark the field as required (shows * indicator). */
|
|
712
|
+
required?: boolean;
|
|
713
|
+
/** Show character count (requires maxLength to be set). */
|
|
714
|
+
showCharacterCount?: boolean;
|
|
715
|
+
/** Icon to display at the start of the field. */
|
|
716
|
+
leadingIcon?: React.ReactNode;
|
|
717
|
+
/** Text/value to display at the start (e.g., country code "+84" or "$"). */
|
|
718
|
+
leadingText?: string;
|
|
719
|
+
/** Optional label for a dropdown action at the end of the field. */
|
|
720
|
+
trailingDropdownLabel?: string;
|
|
721
|
+
/** Options for the trailing dropdown. */
|
|
722
|
+
trailingDropdownOptions?: TextFieldDropdownOption[];
|
|
723
|
+
/** Selected value for the trailing dropdown. */
|
|
724
|
+
trailingDropdownValue?: string;
|
|
725
|
+
/** Default value for the trailing dropdown (uncontrolled mode). */
|
|
726
|
+
defaultTrailingDropdownValue?: string;
|
|
727
|
+
/** Callback when trailing dropdown value changes. */
|
|
728
|
+
onTrailingDropdownChange?: (value: string) => void;
|
|
729
|
+
/** Callback for when the trailing dropdown area is clicked (only if no options provided). */
|
|
730
|
+
onTrailingDropdownClick?: () => void;
|
|
731
|
+
/** If true, shows a clear (X) button when there is text and focused. */
|
|
732
|
+
showClear?: boolean;
|
|
733
|
+
/** Callback for when the clear button is clicked. */
|
|
734
|
+
onClear?: () => void;
|
|
735
|
+
/** Shortcut hint text to display (e.g., "Ctrl + /"). */
|
|
736
|
+
shortcutHint?: string;
|
|
737
|
+
/** Custom trailing icon element. */
|
|
738
|
+
trailingIcon?: React.ReactNode;
|
|
739
|
+
/** Callback for when the trailing icon is clicked. */
|
|
740
|
+
onTrailingIconClick?: () => void;
|
|
741
|
+
/** Size of the field. Default is 'large'. */
|
|
742
|
+
size?: 'small' | 'medium' | 'large';
|
|
743
|
+
/** If true, the field will take up the full width of its container. Default is true. */
|
|
744
|
+
fullWidth?: boolean;
|
|
745
|
+
/** Fixed width of the field. */
|
|
746
|
+
width?: string | number;
|
|
747
|
+
/** Callback when the value changes. */
|
|
748
|
+
onChange?: (value: string) => void;
|
|
749
|
+
/** Whether to render the dropdown menu in a portal. Default is true. */
|
|
750
|
+
portal?: boolean;
|
|
751
|
+
/** Preset input format for automatic masking/formatting. */
|
|
752
|
+
inputFormat?: InputFormat;
|
|
753
|
+
/** Options for the input format preset. */
|
|
754
|
+
formatOptions?: InputFormatOptions;
|
|
755
|
+
/**
|
|
756
|
+
* Select the whole value when the field gains focus, by keyboard or by click,
|
|
757
|
+
* so typing replaces it. Handy for short numeric fields.
|
|
758
|
+
*/
|
|
759
|
+
selectOnFocus?: boolean;
|
|
760
|
+
}
|
|
761
|
+
declare const TextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
762
|
+
|
|
763
|
+
interface TextAreaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'onChange'> {
|
|
764
|
+
/** Label text. */
|
|
765
|
+
label?: string;
|
|
766
|
+
/** Whether the label is placed inside or outside the input box. Default is 'outside'. */
|
|
767
|
+
labelStyle?: 'inside' | 'outside';
|
|
768
|
+
/** Mark the field as required (shows * indicator). */
|
|
769
|
+
required?: boolean;
|
|
770
|
+
/** Supporting text displayed below the field. */
|
|
771
|
+
helperText?: string;
|
|
772
|
+
/** If true, the field will be in error state. */
|
|
773
|
+
error?: boolean;
|
|
774
|
+
/** Maximum character count. */
|
|
775
|
+
maxLength?: number;
|
|
776
|
+
/** Show character count. */
|
|
777
|
+
showCount?: boolean;
|
|
778
|
+
/** Callback when value changes. */
|
|
779
|
+
onChange?: (value: string) => void;
|
|
780
|
+
/** Number of visible text lines. Default is 4. */
|
|
781
|
+
rows?: number;
|
|
782
|
+
/** Visual size of the textarea. Default is 'large'. */
|
|
783
|
+
size?: 'small' | 'medium' | 'large';
|
|
784
|
+
/** Allow resize. Default is 'vertical'. */
|
|
785
|
+
resize?: 'none' | 'vertical' | 'horizontal' | 'both';
|
|
786
|
+
/** Fixed width of the textarea. */
|
|
787
|
+
width?: string | number;
|
|
788
|
+
/** Whether the textarea takes up full width of container. Default is true. */
|
|
789
|
+
fullWidth?: boolean;
|
|
790
|
+
}
|
|
791
|
+
declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
792
|
+
|
|
793
|
+
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
794
|
+
/**
|
|
795
|
+
* Visual style of the badge
|
|
796
|
+
* - primary: Filled background (Solid)
|
|
797
|
+
* - secondary: Light background (Subtle)
|
|
798
|
+
*/
|
|
799
|
+
variant?: 'primary' | 'secondary';
|
|
800
|
+
/**
|
|
801
|
+
* Color theme of the badge
|
|
802
|
+
*/
|
|
803
|
+
color?: 'gray' | 'black' | 'white' | 'red' | 'orange' | 'yellow' | 'green' | 'mint' | 'teal' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'pink' | 'brown';
|
|
804
|
+
/**
|
|
805
|
+
* Shape of the badge
|
|
806
|
+
* - rounded: Small border radius (6px)
|
|
807
|
+
* - pill: Fully rounded (capsule) - DEFAULT
|
|
808
|
+
* - icon: Circle shape with icon only
|
|
809
|
+
* - text: Pill shape with text only
|
|
810
|
+
* - dot: Small dot status indicator (8px)
|
|
811
|
+
*/
|
|
812
|
+
shape?: 'rounded' | 'pill' | 'icon' | 'text' | 'dot';
|
|
813
|
+
/**
|
|
814
|
+
* Icon to display (for rounded, pill, icon shapes)
|
|
815
|
+
*/
|
|
816
|
+
icon?: React.ReactNode;
|
|
817
|
+
/**
|
|
818
|
+
* Icon or small control shown after the label (for rounded and pill shapes),
|
|
819
|
+
* e.g. a remove button on a selected option
|
|
820
|
+
*/
|
|
821
|
+
trailingIcon?: React.ReactNode;
|
|
822
|
+
/**
|
|
823
|
+
* Text label (for rounded, pill, text shapes)
|
|
824
|
+
*/
|
|
825
|
+
label?: string;
|
|
826
|
+
/**
|
|
827
|
+
* Numeric count (alternative to label)
|
|
828
|
+
*/
|
|
829
|
+
count?: number;
|
|
830
|
+
/**
|
|
831
|
+
* Show 2px stroke around badge (useful for overlapping effects)
|
|
832
|
+
* Creates visual separation when badge overlaps other elements
|
|
833
|
+
*/
|
|
834
|
+
stroke?: boolean;
|
|
835
|
+
/**
|
|
836
|
+
* Force a specific theme's color tokens
|
|
837
|
+
* Useful when component needs to use Light theme tokens regardless of current theme
|
|
838
|
+
*/
|
|
839
|
+
forceTheme?: 'light' | 'dark';
|
|
840
|
+
}
|
|
841
|
+
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
842
|
+
|
|
843
|
+
type AvatarSize = '16' | '24' | '28' | '32' | '40' | '44' | '48' | '64' | '80' | '120';
|
|
844
|
+
interface AvatarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
845
|
+
/**
|
|
846
|
+
* Image source
|
|
847
|
+
*/
|
|
848
|
+
src?: string;
|
|
849
|
+
/**
|
|
850
|
+
* Alt text for image
|
|
851
|
+
*/
|
|
852
|
+
alt?: string;
|
|
853
|
+
/**
|
|
854
|
+
* Name for initials fallback
|
|
855
|
+
*/
|
|
856
|
+
name?: string;
|
|
857
|
+
/**
|
|
858
|
+
* Icon for fallback
|
|
859
|
+
*/
|
|
860
|
+
icon?: React.ReactNode;
|
|
861
|
+
/**
|
|
862
|
+
* Size of the avatar
|
|
863
|
+
*/
|
|
864
|
+
size?: AvatarSize;
|
|
865
|
+
/**
|
|
866
|
+
* Status indicator
|
|
867
|
+
*/
|
|
868
|
+
status?: 'online' | 'offline' | 'busy' | 'away' | boolean;
|
|
869
|
+
/**
|
|
870
|
+
* Whether to show a border around the avatar (used in groups)
|
|
871
|
+
*/
|
|
872
|
+
stroke?: boolean;
|
|
873
|
+
}
|
|
874
|
+
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
|
|
875
|
+
|
|
876
|
+
interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
877
|
+
/**
|
|
878
|
+
* Avatar components
|
|
879
|
+
*/
|
|
880
|
+
children: React.ReactNode;
|
|
881
|
+
/**
|
|
882
|
+
* Size of all avatars in the group
|
|
883
|
+
*/
|
|
884
|
+
size?: AvatarSize;
|
|
885
|
+
/**
|
|
886
|
+
* Maximum number of avatars to display (default: 5)
|
|
887
|
+
*/
|
|
888
|
+
max?: number;
|
|
889
|
+
/**
|
|
890
|
+
* Whether to show status badges on avatars (default: false)
|
|
891
|
+
* When false, status prop on child avatars will be ignored
|
|
892
|
+
*/
|
|
893
|
+
showStatus?: boolean;
|
|
894
|
+
}
|
|
895
|
+
declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
896
|
+
|
|
897
|
+
declare const AVATAR_IMAGES: string[];
|
|
898
|
+
interface AvatarTemplateProps extends Omit<AvatarProps, 'src'> {
|
|
899
|
+
/**
|
|
900
|
+
* Index of the template image (1-6)
|
|
901
|
+
*/
|
|
902
|
+
templateId?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
903
|
+
}
|
|
904
|
+
/**
|
|
905
|
+
* AvatarTemplate component that uses the newly imported 3D character images
|
|
906
|
+
*/
|
|
907
|
+
declare const AvatarTemplate: React.ForwardRefExoticComponent<AvatarTemplateProps & React.RefAttributes<HTMLDivElement>>;
|
|
908
|
+
|
|
909
|
+
interface DividerProps extends React.HTMLAttributes<HTMLHRElement> {
|
|
910
|
+
/**
|
|
911
|
+
* Orientation of the divider
|
|
912
|
+
* @default 'horizontal'
|
|
913
|
+
*/
|
|
914
|
+
orientation?: 'horizontal' | 'vertical';
|
|
915
|
+
/**
|
|
916
|
+
* Visual style of the divider
|
|
917
|
+
* @default 'solid'
|
|
918
|
+
*/
|
|
919
|
+
variant?: 'solid' | 'dashed';
|
|
920
|
+
/**
|
|
921
|
+
* Thickness of the divider line
|
|
922
|
+
* @default 1
|
|
923
|
+
*/
|
|
924
|
+
thickness?: 0.5 | 1;
|
|
925
|
+
}
|
|
926
|
+
declare const Divider: React.ForwardRefExoticComponent<DividerProps & React.RefAttributes<HTMLHRElement>>;
|
|
927
|
+
|
|
928
|
+
interface SpinnerComponentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
929
|
+
/**
|
|
930
|
+
* Size of the spinner
|
|
931
|
+
* - small: 16px
|
|
932
|
+
* - medium: 24px (default)
|
|
933
|
+
* - large: 32px
|
|
934
|
+
*/
|
|
935
|
+
size?: 'small' | 'medium' | 'large';
|
|
936
|
+
/**
|
|
937
|
+
* Custom color for the spinner
|
|
938
|
+
* If not provided, it inherits current text color
|
|
939
|
+
*/
|
|
940
|
+
color?: string;
|
|
941
|
+
/**
|
|
942
|
+
* Visual variant
|
|
943
|
+
* - default: Standard colors for light backgrounds
|
|
944
|
+
* - inverse: Inverted colors for dark backgrounds
|
|
945
|
+
*/
|
|
946
|
+
variant?: 'default' | 'inverse';
|
|
947
|
+
/**
|
|
948
|
+
* Force a specific theme's color tokens
|
|
949
|
+
* Useful when component needs to use Light theme tokens regardless of current theme
|
|
950
|
+
*/
|
|
951
|
+
forceTheme?: 'light' | 'dark';
|
|
952
|
+
}
|
|
953
|
+
declare const Spinner: React.ForwardRefExoticComponent<SpinnerComponentProps & React.RefAttributes<HTMLDivElement>>;
|
|
954
|
+
|
|
955
|
+
type AspectRatio = '1:1' | '4:3' | '3:2' | '16:9' | '21:9' | '3:1' | '3:4' | '2:3' | '9:16' | '9:21' | '1:3';
|
|
956
|
+
interface ImageProps {
|
|
957
|
+
/**
|
|
958
|
+
* Image source URL
|
|
959
|
+
*/
|
|
960
|
+
src: string;
|
|
961
|
+
/**
|
|
962
|
+
* Alternative text for accessibility
|
|
963
|
+
*/
|
|
964
|
+
alt: string;
|
|
965
|
+
/**
|
|
966
|
+
* Fixed aspect ratio for the image
|
|
967
|
+
* @default '1:1'
|
|
968
|
+
*/
|
|
969
|
+
aspectRatio?: AspectRatio;
|
|
970
|
+
/**
|
|
971
|
+
* How the image should be resized to fit its container
|
|
972
|
+
* @default 'cover'
|
|
973
|
+
*/
|
|
974
|
+
objectFit?: 'cover' | 'contain';
|
|
975
|
+
/**
|
|
976
|
+
* Additional CSS class
|
|
977
|
+
*/
|
|
978
|
+
className?: string;
|
|
979
|
+
/**
|
|
980
|
+
* Additional inline styles
|
|
981
|
+
*/
|
|
982
|
+
style?: React__default.CSSProperties;
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* Image component with fixed aspect ratios
|
|
986
|
+
* Maintains consistent proportions regardless of container size
|
|
987
|
+
*/
|
|
988
|
+
declare const Image: React__default.FC<ImageProps>;
|
|
989
|
+
|
|
990
|
+
interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
991
|
+
/**
|
|
992
|
+
* Variant of the skeleton
|
|
993
|
+
* - text: Single line of text (16px height)
|
|
994
|
+
* - title: Heading text (24px height)
|
|
995
|
+
* - avatar: Circular avatar (40x40px)
|
|
996
|
+
* - rectangular: Custom rectangular shape
|
|
997
|
+
*/
|
|
998
|
+
variant?: 'text' | 'title' | 'avatar' | 'rectangular';
|
|
999
|
+
/**
|
|
1000
|
+
* Width of the skeleton (can be px, %, etc.)
|
|
1001
|
+
*/
|
|
1002
|
+
width?: string | number;
|
|
1003
|
+
/**
|
|
1004
|
+
* Height of the skeleton (can be px, %, etc.)
|
|
1005
|
+
*/
|
|
1006
|
+
height?: string | number;
|
|
1007
|
+
/**
|
|
1008
|
+
* Border radius variant
|
|
1009
|
+
* - default: Standard rounded corners
|
|
1010
|
+
* - circular: Perfect circle
|
|
1011
|
+
* - rounded: Fully rounded (pill)
|
|
1012
|
+
*/
|
|
1013
|
+
rounded?: 'default' | 'circular' | 'rounded';
|
|
1014
|
+
}
|
|
1015
|
+
declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
|
|
1016
|
+
|
|
1017
|
+
interface ChipProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1018
|
+
/**
|
|
1019
|
+
* The content of the chip (text)
|
|
1020
|
+
*/
|
|
1021
|
+
label: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* Optional icon on the left
|
|
1024
|
+
*/
|
|
1025
|
+
icon?: React.ReactNode;
|
|
1026
|
+
/**
|
|
1027
|
+
* Optional avatar on the left
|
|
1028
|
+
*/
|
|
1029
|
+
avatar?: React.ReactNode;
|
|
1030
|
+
/**
|
|
1031
|
+
* Visual style variant
|
|
1032
|
+
* - outline: Default unselected state
|
|
1033
|
+
* - filled: Selected state (dark background)
|
|
1034
|
+
*/
|
|
1035
|
+
variant?: 'outline' | 'filled';
|
|
1036
|
+
/**
|
|
1037
|
+
* Badge count/text to display after label
|
|
1038
|
+
*/
|
|
1039
|
+
badge?: number | string;
|
|
1040
|
+
/**
|
|
1041
|
+
* Size of the chip
|
|
1042
|
+
*/
|
|
1043
|
+
size?: 'small' | 'medium' | 'large';
|
|
1044
|
+
/**
|
|
1045
|
+
* Corner shape: 'pill' is fully rounded, 'rounded' uses the Button corner
|
|
1046
|
+
* radius (e.g. tags inside an input).
|
|
1047
|
+
*/
|
|
1048
|
+
shape?: 'pill' | 'rounded';
|
|
1049
|
+
/**
|
|
1050
|
+
* Whether the chip is disabled
|
|
1051
|
+
*/
|
|
1052
|
+
disabled?: boolean;
|
|
1053
|
+
/**
|
|
1054
|
+
* Whether the chip has dropdown functionality
|
|
1055
|
+
* - When true + outline: shows ChevronDownSmall
|
|
1056
|
+
* - When true + filled: shows clear button (X)
|
|
1057
|
+
*/
|
|
1058
|
+
hasDropdown?: boolean;
|
|
1059
|
+
/**
|
|
1060
|
+
* Callback when clear button is clicked (only for filled + hasDropdown)
|
|
1061
|
+
*/
|
|
1062
|
+
onClear?: (e: React.MouseEvent) => void;
|
|
1063
|
+
/**
|
|
1064
|
+
* Shows the chip's delete button (CancelFilled) on any variant, e.g. for
|
|
1065
|
+
* removable tags. Takes precedence over `actionIcon`.
|
|
1066
|
+
*/
|
|
1067
|
+
onRemove?: (e: React.MouseEvent) => void;
|
|
1068
|
+
/**
|
|
1069
|
+
* Accessible label for the close button
|
|
1070
|
+
* @default `Remove ${label}`
|
|
1071
|
+
*/
|
|
1072
|
+
removeLabel?: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* Optional action icon shown after the dropdown affordance
|
|
1075
|
+
*/
|
|
1076
|
+
actionIcon?: React.ReactNode;
|
|
1077
|
+
/**
|
|
1078
|
+
* Callback for the optional action button
|
|
1079
|
+
*/
|
|
1080
|
+
onAction?: (e: React.MouseEvent) => void;
|
|
1081
|
+
/**
|
|
1082
|
+
* Accessible label for the optional action button
|
|
1083
|
+
*/
|
|
1084
|
+
actionLabel?: string;
|
|
1085
|
+
}
|
|
1086
|
+
declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLDivElement>>;
|
|
1087
|
+
|
|
1088
|
+
interface ChipBarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1089
|
+
/**
|
|
1090
|
+
* Element to show on the left, typically a filter Chip or IconButton
|
|
1091
|
+
*/
|
|
1092
|
+
leading?: React.ReactNode;
|
|
1093
|
+
/**
|
|
1094
|
+
* Content (Chips) to be scrollable
|
|
1095
|
+
*/
|
|
1096
|
+
children: React.ReactNode;
|
|
1097
|
+
/**
|
|
1098
|
+
* Whether to show a divider after the leading element
|
|
1099
|
+
*/
|
|
1100
|
+
showDivider?: boolean;
|
|
1101
|
+
/**
|
|
1102
|
+
* Size of the ChipBar
|
|
1103
|
+
* - large: 60px height (default)
|
|
1104
|
+
* - medium: 52px height
|
|
1105
|
+
*/
|
|
1106
|
+
size?: 'large' | 'medium';
|
|
1107
|
+
/**
|
|
1108
|
+
* Whether the ChipBar is sticky (position sticky with elevator bg and shadow when stuck)
|
|
1109
|
+
*/
|
|
1110
|
+
sticky?: boolean;
|
|
1111
|
+
/**
|
|
1112
|
+
* Optional externally controlled stuck state
|
|
1113
|
+
*/
|
|
1114
|
+
stuck?: boolean;
|
|
1115
|
+
/**
|
|
1116
|
+
* Whether the ChipBar has horizontal padding (16px default), or custom value
|
|
1117
|
+
*/
|
|
1118
|
+
padded?: boolean | number | string;
|
|
1119
|
+
}
|
|
1120
|
+
declare const ChipBar: React.ForwardRefExoticComponent<ChipBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
1121
|
+
|
|
1122
|
+
interface VisuallyHiddenOwnProps {
|
|
1123
|
+
children?: React.ReactNode;
|
|
1124
|
+
}
|
|
1125
|
+
type VisuallyHiddenProps<C extends React.ElementType = 'span'> = PolymorphicComponentPropWithRef<C, VisuallyHiddenOwnProps>;
|
|
1126
|
+
declare const VisuallyHidden: React.ForwardRefExoticComponent<Omit<VisuallyHiddenProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>, "ref"> & React.RefAttributes<any>>;
|
|
1127
|
+
|
|
1128
|
+
interface LayoutContextValue {
|
|
1129
|
+
/** Whether a NavigationDrawer is present in the layout */
|
|
1130
|
+
hasDrawer: boolean;
|
|
1131
|
+
/** Register a drawer (called by NavigationDrawer on mount) */
|
|
1132
|
+
registerDrawer: () => void;
|
|
1133
|
+
/** Unregister a drawer (called by NavigationDrawer on unmount) */
|
|
1134
|
+
unregisterDrawer: () => void;
|
|
1135
|
+
}
|
|
1136
|
+
declare const LayoutContext: React.Context<LayoutContextValue | null>;
|
|
1137
|
+
interface LayoutProviderProps {
|
|
1138
|
+
children: React.ReactNode;
|
|
1139
|
+
}
|
|
1140
|
+
/**
|
|
1141
|
+
* LayoutProvider - Provides context for layout-aware components
|
|
1142
|
+
*
|
|
1143
|
+
* Wrap your layout with this provider to enable auto-detection of
|
|
1144
|
+
* NavigationDrawer presence by TopNavigation and other components.
|
|
1145
|
+
*
|
|
1146
|
+
* @example
|
|
1147
|
+
* ```tsx
|
|
1148
|
+
* <LayoutProvider>
|
|
1149
|
+
* <TopNavigation />
|
|
1150
|
+
* <NavigationDrawer>...</NavigationDrawer>
|
|
1151
|
+
* <main>...</main>
|
|
1152
|
+
* </LayoutProvider>
|
|
1153
|
+
* ```
|
|
1154
|
+
*/
|
|
1155
|
+
declare const LayoutProvider: React.FC<LayoutProviderProps>;
|
|
1156
|
+
/**
|
|
1157
|
+
* Hook to access layout context
|
|
1158
|
+
* Returns null if not wrapped in LayoutProvider
|
|
1159
|
+
*/
|
|
1160
|
+
declare const useLayout: () => LayoutContextValue | null;
|
|
1161
|
+
|
|
1162
|
+
/** Native fieldset with a legend, supporting text and an error message for grouped controls. */
|
|
1163
|
+
interface FieldsetProps extends React.FieldsetHTMLAttributes<HTMLFieldSetElement> {
|
|
1164
|
+
/** Visible group label. Omit only when the group is named with aria-label. */
|
|
1165
|
+
legend?: React.ReactNode;
|
|
1166
|
+
description?: React.ReactNode;
|
|
1167
|
+
error?: React.ReactNode;
|
|
1168
|
+
}
|
|
1169
|
+
declare const Fieldset: React.ForwardRefExoticComponent<FieldsetProps & React.RefAttributes<HTMLFieldSetElement>>;
|
|
1170
|
+
|
|
1171
|
+
interface CheckboxGroupProps extends SelectionGroupBaseProps {
|
|
1172
|
+
/** Checked option values (controlled). */
|
|
1173
|
+
value?: string[];
|
|
1174
|
+
/** Initially checked option values (uncontrolled). */
|
|
1175
|
+
defaultValue?: string[];
|
|
1176
|
+
onChange?: (value: string[]) => void;
|
|
1177
|
+
/** Message shown by native validation when `required` and nothing is checked. */
|
|
1178
|
+
requiredMessage?: string;
|
|
1179
|
+
}
|
|
1180
|
+
declare const CheckboxGroupContext: React.Context<{
|
|
1181
|
+
value: string[];
|
|
1182
|
+
name?: string;
|
|
1183
|
+
form?: string;
|
|
1184
|
+
disabled?: boolean;
|
|
1185
|
+
toggle: (value: string, checked: boolean) => void;
|
|
1186
|
+
} | null>;
|
|
1187
|
+
/** Multi-choice group of `Checkbox` children; same API shape as `RadioGroup`. */
|
|
1188
|
+
declare const CheckboxGroup: React.ForwardRefExoticComponent<CheckboxGroupProps & React.RefAttributes<HTMLFieldSetElement>>;
|
|
1189
|
+
|
|
1190
|
+
interface NumberFieldProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange" | "type" | "min" | "max" | "step" | "size"> {
|
|
1191
|
+
label: string;
|
|
1192
|
+
size?: "small" | "medium" | "large";
|
|
1193
|
+
inputWidth?: number | string;
|
|
1194
|
+
value?: number | null;
|
|
1195
|
+
defaultValue?: number | null;
|
|
1196
|
+
onChange?: (value: number | null) => void;
|
|
1197
|
+
min?: number;
|
|
1198
|
+
max?: number;
|
|
1199
|
+
step?: number;
|
|
1200
|
+
error?: string;
|
|
1201
|
+
description?: string;
|
|
1202
|
+
/** Accessible name of the decrement button. @default `Decrease ${label}` */
|
|
1203
|
+
decreaseLabel?: string;
|
|
1204
|
+
/** Accessible name of the increment button. @default `Increase ${label}` */
|
|
1205
|
+
increaseLabel?: string;
|
|
1206
|
+
}
|
|
1207
|
+
declare function NumberField({ label, size, inputWidth, value, defaultValue, onChange, min, max, step, error, description, disabled, readOnly, name, decreaseLabel, increaseLabel, ...props }: NumberFieldProps): react_jsx_runtime.JSX.Element;
|
|
1208
|
+
|
|
1209
|
+
interface RatingProps {
|
|
1210
|
+
label: string;
|
|
1211
|
+
value?: number;
|
|
1212
|
+
defaultValue?: number;
|
|
1213
|
+
max?: number;
|
|
1214
|
+
onChange?: (value: number) => void;
|
|
1215
|
+
disabled?: boolean;
|
|
1216
|
+
readOnly?: boolean;
|
|
1217
|
+
name?: string;
|
|
1218
|
+
form?: string;
|
|
1219
|
+
/** Show a button that resets the rating to 0. @default false */
|
|
1220
|
+
clearable?: boolean;
|
|
1221
|
+
/** Visible text of the clear button. */
|
|
1222
|
+
clearText?: string;
|
|
1223
|
+
/** Accessible name of the clear button. */
|
|
1224
|
+
clearLabel?: string;
|
|
1225
|
+
/** Accessible name of each star. */
|
|
1226
|
+
getStarLabel?: (value: number, max: number) => string;
|
|
1227
|
+
}
|
|
1228
|
+
declare function Rating({ label, value, defaultValue, max, onChange, disabled, readOnly, name, form, clearable, clearText, clearLabel, getStarLabel, }: RatingProps): react_jsx_runtime.JSX.Element;
|
|
1229
|
+
|
|
1230
|
+
interface OTPProps {
|
|
1231
|
+
label: string;
|
|
1232
|
+
length?: number;
|
|
1233
|
+
/** Insert a visual dash between groups of digits. */
|
|
1234
|
+
groupSize?: number;
|
|
1235
|
+
/** Conceal each entered digit with a dot. Used by PIN. */
|
|
1236
|
+
masked?: boolean;
|
|
1237
|
+
/** Use the label only as an accessible name, without displaying it. */
|
|
1238
|
+
hideLabel?: boolean;
|
|
1239
|
+
/** Render circular PIN indicators instead of rectangular input fields. */
|
|
1240
|
+
dotFields?: boolean;
|
|
1241
|
+
size?: "small" | "medium" | "large";
|
|
1242
|
+
value?: string;
|
|
1243
|
+
defaultValue?: string;
|
|
1244
|
+
onChange?: (value: string) => void;
|
|
1245
|
+
/** Called automatically when every cell is filled. Verify the code here and pass failures via error. */
|
|
1246
|
+
onComplete?: (value: string) => void;
|
|
1247
|
+
disabled?: boolean;
|
|
1248
|
+
/** Display an existing code without edits. Copying a cell copies the full code. */
|
|
1249
|
+
readOnly?: boolean;
|
|
1250
|
+
required?: boolean;
|
|
1251
|
+
name?: string;
|
|
1252
|
+
form?: string;
|
|
1253
|
+
/** Supporting text below the inputs; an error takes precedence. */
|
|
1254
|
+
helperText?: string;
|
|
1255
|
+
error?: string;
|
|
1256
|
+
/** Accessible name of each cell. */
|
|
1257
|
+
getCellLabel?: (label: string, position: number, length: number) => string;
|
|
1258
|
+
/**
|
|
1259
|
+
* Sequential entry, used by PIN: every tap, focus or key lands on the first empty
|
|
1260
|
+
* cell — digits fill left to right, Backspace clears from the right and no cell
|
|
1261
|
+
* can be picked by hand.
|
|
1262
|
+
*/
|
|
1263
|
+
sequential?: boolean;
|
|
1264
|
+
/** Focus the field when it mounts (on the next cell when `sequential`). */
|
|
1265
|
+
autoFocus?: boolean;
|
|
1266
|
+
}
|
|
1267
|
+
/** Segmented numeric entry with independent input cells, paste/autofill and native form support. */
|
|
1268
|
+
declare function OTP({ label, length, groupSize, masked, hideLabel, dotFields, size, value, defaultValue, onChange, onComplete, disabled, readOnly, required, name, form, helperText, error, getCellLabel, sequential, autoFocus, }: OTPProps): react_jsx_runtime.JSX.Element;
|
|
1269
|
+
|
|
1270
|
+
interface PINProps extends Omit<OTPProps, "label" | "masked" | "hideLabel" | "dotFields" | "groupSize" | "readOnly" | "size"> {
|
|
1271
|
+
/** Number of digits in the PIN. @default 4 */
|
|
1272
|
+
length?: number;
|
|
1273
|
+
/** Accessible name for the PIN inputs; no visible label is rendered. */
|
|
1274
|
+
"aria-label"?: string;
|
|
1275
|
+
/** Focus the first empty dot on mount. Only one field on a page can; pass `false` for the rest. @default true */
|
|
1276
|
+
autoFocus?: boolean;
|
|
1277
|
+
}
|
|
1278
|
+
/**
|
|
1279
|
+
* Numeric PIN entry with empty circular indicators that fill as digits are entered.
|
|
1280
|
+
* Entry is sequential: digits fill left to right, Backspace clears from the right and
|
|
1281
|
+
* no dot can be picked by hand.
|
|
1282
|
+
*/
|
|
1283
|
+
declare function PIN({ length, "aria-label": accessibleLabel, autoFocus, ...props }: PINProps): react_jsx_runtime.JSX.Element;
|
|
1284
|
+
|
|
1285
|
+
interface EmptyProps {
|
|
1286
|
+
title?: string;
|
|
1287
|
+
description?: React.ReactNode;
|
|
1288
|
+
icon?: React.ReactNode;
|
|
1289
|
+
action?: React.ReactNode;
|
|
1290
|
+
}
|
|
1291
|
+
declare function Empty({ title, description, icon, action, }: EmptyProps): react_jsx_runtime.JSX.Element;
|
|
1292
|
+
|
|
1293
|
+
interface ResultProps {
|
|
1294
|
+
status: "success" | "error" | "warning" | "info";
|
|
1295
|
+
title: string;
|
|
1296
|
+
description?: React.ReactNode;
|
|
1297
|
+
action?: React.ReactNode;
|
|
1298
|
+
}
|
|
1299
|
+
declare function Result({ status, title, description, action }: ResultProps): react_jsx_runtime.JSX.Element;
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* How each label/value pair is laid out (Figma "Detail Field"):
|
|
1303
|
+
* - `stack`: label above the value (Detail Field Stack).
|
|
1304
|
+
* - `inline`: label on the left, value right-aligned on the same row (Detail Field Inline).
|
|
1305
|
+
* - `column`: label and value in a 2 : 3 column grid, value left-aligned (Detail Field Column).
|
|
1306
|
+
*/
|
|
1307
|
+
type DataListLayout = "stack" | "inline" | "column";
|
|
1308
|
+
/**
|
|
1309
|
+
* Per-item variant (Figma Detail Field `variant`).
|
|
1310
|
+
* - `normal`: default row.
|
|
1311
|
+
* - `emphasize`: value in medium weight.
|
|
1312
|
+
* - `total`: summary row — emphasized label and value.
|
|
1313
|
+
* - `flexible` (inline/column): the label hugs its text and the value takes the remaining width.
|
|
1314
|
+
* - `hero` (stack): the value as a large headline figure, e.g. a balance; supports `masked`.
|
|
1315
|
+
* - `complex` (stack): a rich value (avatar, title, meta) that fills the row, with the action at the end.
|
|
1316
|
+
*/
|
|
1317
|
+
type DataListItemVariant = "normal" | "emphasize" | "total" | "flexible" | "hero" | "complex";
|
|
1318
|
+
interface DataListItem {
|
|
1319
|
+
id: string;
|
|
1320
|
+
label: React.ReactNode;
|
|
1321
|
+
value: React.ReactNode;
|
|
1322
|
+
/** @default "normal" */
|
|
1323
|
+
variant?: DataListItemVariant;
|
|
1324
|
+
/**
|
|
1325
|
+
* Medium-weight label (Figma Label `emphasized`): primary text. With `labelLead` the label
|
|
1326
|
+
* stays secondary and only takes the weight (`subEmphasized`). Implied by `variant="total"`.
|
|
1327
|
+
*/
|
|
1328
|
+
labelEmphasized?: boolean;
|
|
1329
|
+
/** Lead-in before the label in primary text, e.g. "Send to" (Figma Label `subNormal`/`subEmphasized`). */
|
|
1330
|
+
labelLead?: React.ReactNode;
|
|
1331
|
+
/** Icon before the label, 20px (Figma Label `hasPrefix`). */
|
|
1332
|
+
labelIcon?: React.ReactNode;
|
|
1333
|
+
/** Secondary text at the end of the label row, e.g. "20/500" (Figma Label `hasTrailing`). */
|
|
1334
|
+
labelTrailing?: React.ReactNode;
|
|
1335
|
+
/** 20px icon before the value (Figma Body `leadingIcon`). */
|
|
1336
|
+
icon?: React.ReactNode;
|
|
1337
|
+
/** Muted text before the value, e.g. a currency symbol. */
|
|
1338
|
+
valuePrefix?: React.ReactNode;
|
|
1339
|
+
/** `hero` only: replace the figure with six dots (Figma Balance `hidden`). */
|
|
1340
|
+
masked?: boolean;
|
|
1341
|
+
/** Secondary text on a second line under the value (Figma Body `2 line`). */
|
|
1342
|
+
description?: React.ReactNode;
|
|
1343
|
+
/** Status badge (Figma Body `text w badge`), e.g. `<Badge shape="rounded" color="onLight" />`. */
|
|
1344
|
+
badge?: React.ReactNode;
|
|
1345
|
+
/** `inline`: right after the value, 8px apart. `below`: on its own line under the value. @default "inline" */
|
|
1346
|
+
badgePlacement?: "inline" | "below";
|
|
1347
|
+
/**
|
|
1348
|
+
* Control after the value, e.g. a copy IconButton (Figma Body `trailingIcon`, 20px). It sits in a
|
|
1349
|
+
* 20px slot and never grows the row; use `size="medium"` so the button's icon is 20px.
|
|
1350
|
+
*/
|
|
1351
|
+
action?: React.ReactNode;
|
|
1352
|
+
}
|
|
1353
|
+
interface DataListProps {
|
|
1354
|
+
items: DataListItem[];
|
|
1355
|
+
/** Accessible name of the list. @default "Details" */
|
|
1356
|
+
label?: string;
|
|
1357
|
+
/** @default "stack" for `orientation="vertical"`, otherwise "inline" */
|
|
1358
|
+
layout?: DataListLayout;
|
|
1359
|
+
/** Label size (Figma Label `size`): `sm` = title-sm, `lg` = title-md. @default "sm" in stack, "lg" otherwise */
|
|
1360
|
+
labelSize?: "sm" | "lg";
|
|
1361
|
+
/** @deprecated Use `layout`: "horizontal" maps to `inline`, "vertical" to `stack`. */
|
|
1362
|
+
orientation?: "horizontal" | "vertical";
|
|
1363
|
+
}
|
|
1364
|
+
declare function DataList({ items, label, layout, labelSize, orientation, }: DataListProps): react_jsx_runtime.JSX.Element;
|
|
1365
|
+
|
|
1366
|
+
export { AVATAR_IMAGES, AspectRatio$1 as AspectRatio, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, AvatarTemplate, type AvatarTemplateProps, type BackgroundToken, Badge, Box, Button, type ButtonProps, Center, Checkbox, CheckboxGroup, CheckboxGroupContext, type CheckboxGroupProps, Chip, ChipBar, type ChipProps, Cluster, Container, CustomScrollbar, DataList, type DataListItem, type DataListItemVariant, type DataListLayout, type DataListProps, Divider, Empty, type EmptyProps, Fieldset, type FieldsetProps, Flex, Grid, GridItem, HStack, Heading, IconButton, Image, LayoutContext, LayoutProvider, NumberField, type NumberFieldProps, OTP, type OTPProps, PIN, type PINProps, Portal, Radio, RadioGroup, type RadioGroupProps, type RadioProps, type RadiusToken, Rating, type RatingProps, Result, type ResultProps, type ShadowToken, SimpleGrid, Skeleton, SlotPlaceholder, type SlotPlaceholderProps, Spacer, type SpacingToken, Spinner, Stack, Switch, type SwitchProps, Text, TextArea, type TextAreaProps, TextField, type TextFieldDropdownOption, type TextFieldProps, VStack, VisuallyHidden, useLayout };
|