boardplot 0.0.0-stage → 0.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +49 -0
- package/LICENSE +201 -0
- package/NOTICE.md +180 -0
- package/README.md +208 -2
- package/THIRD_PARTY_NOTICES.md +1110 -0
- package/dist/DiagnosticDetails-UNYNYCAH.js +69 -0
- package/dist/ReaderBox-VOJSJ66R.js +137 -0
- package/dist/annotateEngine-DLMFJZ67.js +30 -0
- package/dist/build-identity.json +6 -0
- package/dist/chunk-24BHMKDD.js +83 -0
- package/dist/chunk-263SZKIL.js +8 -0
- package/dist/chunk-27QADBDV.js +211 -0
- package/dist/chunk-2CVH5E57.js +128 -0
- package/dist/chunk-2DOR5SS6.js +446 -0
- package/dist/chunk-2EQE4E3I.js +22 -0
- package/dist/chunk-2FNNAPCI.js +24 -0
- package/dist/chunk-2L2Q53EP.js +251 -0
- package/dist/chunk-2LMCD3ZR.js +6 -0
- package/dist/chunk-2ND7ZITT.js +3069 -0
- package/dist/chunk-2QT5ZUHO.js +2937 -0
- package/dist/chunk-2RSG7JYI.js +24 -0
- package/dist/chunk-2V6CLH33.js +1392 -0
- package/dist/chunk-2VWJ5BGO.js +566 -0
- package/dist/chunk-2WNYRWHG.js +51 -0
- package/dist/chunk-323YZWYJ.js +548 -0
- package/dist/chunk-33PB4V6K.js +382 -0
- package/dist/chunk-33PLBIMA.js +176 -0
- package/dist/chunk-3A2IEBCN.js +195 -0
- package/dist/chunk-3D3D3D23.js +25 -0
- package/dist/chunk-3EZRM4YM.js +92 -0
- package/dist/chunk-3H2W76TB.js +2353 -0
- package/dist/chunk-3JEQGGVD.js +19 -0
- package/dist/chunk-3QWZAEW5.js +26 -0
- package/dist/chunk-3SIRPKMP.js +12 -0
- package/dist/chunk-3SQCCESO.js +1592 -0
- package/dist/chunk-3XHJHQWU.js +42 -0
- package/dist/chunk-4G2O2ZPJ.js +83 -0
- package/dist/chunk-4JLBVIGW.js +24 -0
- package/dist/chunk-4RRNJLCM.js +746 -0
- package/dist/chunk-4UVW5WU6.js +76 -0
- package/dist/chunk-4X66BTP5.js +344 -0
- package/dist/chunk-53OYF4ZT.js +687 -0
- package/dist/chunk-57ZGVAU3.js +179 -0
- package/dist/chunk-5HECRVXJ.js +62 -0
- package/dist/chunk-5LGSRWFC.js +63 -0
- package/dist/chunk-5LYXD6ME.js +1112 -0
- package/dist/chunk-66RFKRGO.js +28 -0
- package/dist/chunk-6KWIQ5KF.js +18 -0
- package/dist/chunk-6OCR6ITN.js +72 -0
- package/dist/chunk-6RBTTCQD.js +802 -0
- package/dist/chunk-6Y7EXYLR.js +563 -0
- package/dist/chunk-7CTKTIPF.js +613 -0
- package/dist/chunk-7EVIIADO.js +185 -0
- package/dist/chunk-7X2ZYVAX.js +89 -0
- package/dist/chunk-7X65ZQN4.js +38 -0
- package/dist/chunk-A4QZXLXF.js +7 -0
- package/dist/chunk-A6CQPJWR.js +49 -0
- package/dist/chunk-A7IEVBYI.js +35 -0
- package/dist/chunk-ACXX2JNL.js +6 -0
- package/dist/chunk-ADKCLH3Z.js +98 -0
- package/dist/chunk-ADWSGPH5.js +23 -0
- package/dist/chunk-AG2CJ4JY.js +203 -0
- package/dist/chunk-AHQ4L3BE.js +30 -0
- package/dist/chunk-AOQ6VF5H.js +6 -0
- package/dist/chunk-AQROQDLR.js +3303 -0
- package/dist/chunk-AWTG3RFF.js +85 -0
- package/dist/chunk-B54RN2FD.js +692 -0
- package/dist/chunk-B67K6OWJ.js +48 -0
- package/dist/chunk-B6GFKYBZ.js +40 -0
- package/dist/chunk-BBL3R5YZ.js +186 -0
- package/dist/chunk-BBRBCMNR.js +28 -0
- package/dist/chunk-BIDIGDGH.js +6 -0
- package/dist/chunk-BLFWUMTD.js +12 -0
- package/dist/chunk-BM6SFFWF.js +6 -0
- package/dist/chunk-BMRD6MAH.js +24 -0
- package/dist/chunk-BPKXEMRE.js +197 -0
- package/dist/chunk-BUPLB3EX.js +129 -0
- package/dist/chunk-BW5VLBSZ.js +15 -0
- package/dist/chunk-BWGRWGVA.js +295 -0
- package/dist/chunk-BWLOXQDV.js +131 -0
- package/dist/chunk-BWTX7LUG.js +203 -0
- package/dist/chunk-C54QLNE4.js +69 -0
- package/dist/chunk-CAQ5P4VN.js +296 -0
- package/dist/chunk-CCCEBIUZ.js +296 -0
- package/dist/chunk-CDZHNLO6.js +42 -0
- package/dist/chunk-CJGSJKPO.js +25 -0
- package/dist/chunk-CN7JRHST.js +25 -0
- package/dist/chunk-CNX7EGSU.js +266 -0
- package/dist/chunk-COYOTQC2.js +75 -0
- package/dist/chunk-CRNMNZJD.js +1161 -0
- package/dist/chunk-CUVUDK4O.js +68 -0
- package/dist/chunk-CWDHCSL2.js +2919 -0
- package/dist/chunk-CYOJZ3GQ.js +631 -0
- package/dist/chunk-D4SOADBD.js +19 -0
- package/dist/chunk-D7SHZDA3.js +1808 -0
- package/dist/chunk-DAVHGK27.js +657 -0
- package/dist/chunk-DCCJRLAJ.js +422 -0
- package/dist/chunk-DCTCUZ5L.js +51 -0
- package/dist/chunk-DDCB7ZA5.js +2511 -0
- package/dist/chunk-DDI2W4TR.js +149 -0
- package/dist/chunk-DIHUGBZO.js +61 -0
- package/dist/chunk-DJHIQWSG.js +25 -0
- package/dist/chunk-DO5OZJAO.js +302 -0
- package/dist/chunk-DOFYKPTC.js +18 -0
- package/dist/chunk-DRTA6JG5.js +160 -0
- package/dist/chunk-DRW6KGBK.js +1062 -0
- package/dist/chunk-DU4A5AOY.js +1156 -0
- package/dist/chunk-DYS7EIXY.js +294 -0
- package/dist/chunk-E4IQ6M4S.js +24 -0
- package/dist/chunk-EFUWFB64.js +24 -0
- package/dist/chunk-EHBB2Z4D.js +290 -0
- package/dist/chunk-EHVESNLV.js +30 -0
- package/dist/chunk-EJPVVGD7.js +67 -0
- package/dist/chunk-EKQK5D6G.js +14 -0
- package/dist/chunk-EUADDXAV.js +30 -0
- package/dist/chunk-F6CNPC4L.js +47 -0
- package/dist/chunk-FBAYZSFC.js +2806 -0
- package/dist/chunk-FBB4BWKN.js +30 -0
- package/dist/chunk-FF23FYQD.js +1269 -0
- package/dist/chunk-FG6EDGMI.js +53 -0
- package/dist/chunk-FHA3KMFC.js +43 -0
- package/dist/chunk-FIANWJXX.js +19 -0
- package/dist/chunk-FIWNDOMO.js +6 -0
- package/dist/chunk-FV3VF36K.js +2721 -0
- package/dist/chunk-G5FMTRG5.js +37 -0
- package/dist/chunk-GCBOHVDZ.js +229 -0
- package/dist/chunk-GDOW2KNP.js +19 -0
- package/dist/chunk-GTG3IGLF.js +2674 -0
- package/dist/chunk-GZTNTHSW.js +21 -0
- package/dist/chunk-H4H4O62O.js +46 -0
- package/dist/chunk-H5G7T35P.js +24 -0
- package/dist/chunk-H63XQ3OO.js +942 -0
- package/dist/chunk-H67RTX46.js +43 -0
- package/dist/chunk-HA4IPWMM.js +841 -0
- package/dist/chunk-HKYTOJLV.js +33 -0
- package/dist/chunk-HOAH5XBR.js +542 -0
- package/dist/chunk-HTYFQHRC.js +24 -0
- package/dist/chunk-HYY5V2KL.js +19 -0
- package/dist/chunk-HZI56ASJ.js +79 -0
- package/dist/chunk-I6VAWNNU.js +24 -0
- package/dist/chunk-IBXXZVG7.js +80 -0
- package/dist/chunk-IDDA5INB.js +60 -0
- package/dist/chunk-IK4BHOPZ.js +33 -0
- package/dist/chunk-IL5T7I2A.js +27 -0
- package/dist/chunk-ILSXT6KT.js +24 -0
- package/dist/chunk-IV2UXZXX.js +16 -0
- package/dist/chunk-IYEFEBRN.js +41 -0
- package/dist/chunk-IYMI7YI4.js +829 -0
- package/dist/chunk-J6I2YFJH.js +58 -0
- package/dist/chunk-JFBEAUJ6.js +24 -0
- package/dist/chunk-JR7Y5ONB.js +27 -0
- package/dist/chunk-JSEYUJUQ.js +836 -0
- package/dist/chunk-JYBT2JNY.js +61 -0
- package/dist/chunk-K3HSQPSM.js +24 -0
- package/dist/chunk-KAXJFL7N.js +43 -0
- package/dist/chunk-KDMKHR5A.js +32 -0
- package/dist/chunk-KKWZWP67.js +24 -0
- package/dist/chunk-KOJ5QETJ.js +8 -0
- package/dist/chunk-KPKXJYQH.js +19 -0
- package/dist/chunk-KSJVENRU.js +113 -0
- package/dist/chunk-KZJOV4QW.js +33 -0
- package/dist/chunk-KZS46KDY.js +58 -0
- package/dist/chunk-L3JWM7FR.js +50 -0
- package/dist/chunk-L4S6UFTL.js +26 -0
- package/dist/chunk-L6DJ4ZY5.js +2008 -0
- package/dist/chunk-L7RHB734.js +23 -0
- package/dist/chunk-LCWJS34U.js +38 -0
- package/dist/chunk-LFTAMH7I.js +24 -0
- package/dist/chunk-LFX7W4B7.js +113 -0
- package/dist/chunk-LINZPU5D.js +8 -0
- package/dist/chunk-LIWLBLCT.js +83 -0
- package/dist/chunk-LNKY5Z2X.js +23 -0
- package/dist/chunk-LS7HVBI7.js +24 -0
- package/dist/chunk-M4EUXOLU.js +170 -0
- package/dist/chunk-M4SPKUZE.js +7 -0
- package/dist/chunk-M4YLED7M.js +17 -0
- package/dist/chunk-MBKZYJRC.js +1424 -0
- package/dist/chunk-MCYM3RNF.js +227 -0
- package/dist/chunk-MF6IVSBJ.js +48 -0
- package/dist/chunk-MIAPBQCA.js +24 -0
- package/dist/chunk-MJZHFH5R.js +1075 -0
- package/dist/chunk-MQFCG4KS.js +1467 -0
- package/dist/chunk-MVV6RQMG.js +128 -0
- package/dist/chunk-MYMT5KJL.js +1182 -0
- package/dist/chunk-MZL6LGKO.js +587 -0
- package/dist/chunk-N23YFPPI.js +47 -0
- package/dist/chunk-N3G2FYDL.js +300 -0
- package/dist/chunk-N3TPMXS3.js +161 -0
- package/dist/chunk-N73IBH55.js +58 -0
- package/dist/chunk-N7J7CZS6.js +43 -0
- package/dist/chunk-NCB3YLHF.js +28 -0
- package/dist/chunk-NHQGRKEA.js +63 -0
- package/dist/chunk-NKIYLFXZ.js +2774 -0
- package/dist/chunk-NOSDEJ3K.js +25934 -0
- package/dist/chunk-NQDVMUHX.js +433 -0
- package/dist/chunk-NSSNYY6Y.js +58 -0
- package/dist/chunk-NY5NUFDZ.js +117 -0
- package/dist/chunk-O3S2KNIW.js +25 -0
- package/dist/chunk-O3VN6BTL.js +24 -0
- package/dist/chunk-ONZLC47B.js +88 -0
- package/dist/chunk-OQEBOVUO.js +30 -0
- package/dist/chunk-OUEGGWH7.js +24 -0
- package/dist/chunk-OURX73UJ.js +728 -0
- package/dist/chunk-P25VEGGX.js +24 -0
- package/dist/chunk-P26Z62UV.js +24 -0
- package/dist/chunk-P5RNWMZC.js +2984 -0
- package/dist/chunk-P6KZIZDV.js +987 -0
- package/dist/chunk-PEUSKIFV.js +168 -0
- package/dist/chunk-PFVTYFSL.js +24 -0
- package/dist/chunk-PWROWDZS.js +137 -0
- package/dist/chunk-Q3CV2JJ2.js +3650 -0
- package/dist/chunk-QBR6IKIX.js +50 -0
- package/dist/chunk-QGCEHR6S.js +13 -0
- package/dist/chunk-QHRE2M6V.js +26 -0
- package/dist/chunk-QKL7IY42.js +38 -0
- package/dist/chunk-QO6HEXIZ.js +272 -0
- package/dist/chunk-QOIVXZUF.js +24 -0
- package/dist/chunk-QPWRHDLZ.js +17 -0
- package/dist/chunk-QSXK6PJL.js +19 -0
- package/dist/chunk-QTZVVZ2A.js +54 -0
- package/dist/chunk-QWXWVPNE.js +18 -0
- package/dist/chunk-QY5ZKUWY.js +383 -0
- package/dist/chunk-QZAT46PP.js +95 -0
- package/dist/chunk-RA66JA3D.js +24 -0
- package/dist/chunk-REOPXBUR.js +600 -0
- package/dist/chunk-RGZGLKFB.js +648 -0
- package/dist/chunk-RL3NUWMY.js +3378 -0
- package/dist/chunk-RNOJSEES.js +16 -0
- package/dist/chunk-ROXO4R3J.js +16 -0
- package/dist/chunk-RPIW5T55.js +40 -0
- package/dist/chunk-RQ5DNYLG.js +10 -0
- package/dist/chunk-RZNYW7UP.js +133 -0
- package/dist/chunk-S32YYDIB.js +420 -0
- package/dist/chunk-S4QSJAGY.js +44 -0
- package/dist/chunk-S6UX7KB6.js +335 -0
- package/dist/chunk-SDSONLMZ.js +2546 -0
- package/dist/chunk-SGD3ZHID.js +250 -0
- package/dist/chunk-SKRSCTT5.js +28 -0
- package/dist/chunk-SMCDXUIO.js +24 -0
- package/dist/chunk-SPTPFY4S.js +528 -0
- package/dist/chunk-SREWFAAJ.js +90 -0
- package/dist/chunk-SS42FJVN.js +3875 -0
- package/dist/chunk-SVZDXFPX.js +891 -0
- package/dist/chunk-SZPTTNW7.js +16 -0
- package/dist/chunk-T3IGJARD.js +22 -0
- package/dist/chunk-TA3TFKYZ.js +86 -0
- package/dist/chunk-TBGUEF3M.js +939 -0
- package/dist/chunk-TGK6KUGN.js +331 -0
- package/dist/chunk-TJSND556.js +1783 -0
- package/dist/chunk-TKOJZQAJ.js +24 -0
- package/dist/chunk-TM4OC53S.js +97 -0
- package/dist/chunk-TNEHPP3H.js +18 -0
- package/dist/chunk-TWOREVKJ.js +1760 -0
- package/dist/chunk-TXS3U77A.js +60 -0
- package/dist/chunk-UB6ODJHO.js +134 -0
- package/dist/chunk-UBZXQIDR.js +24 -0
- package/dist/chunk-ULTSSIOU.js +38 -0
- package/dist/chunk-UMDEWWXT.js +33 -0
- package/dist/chunk-V6O6KVOA.js +347 -0
- package/dist/chunk-VABRPZVC.js +43 -0
- package/dist/chunk-VDAKTZQP.js +18 -0
- package/dist/chunk-VDAZPGR2.js +79 -0
- package/dist/chunk-VERLFNWR.js +25 -0
- package/dist/chunk-VH2UUU7K.js +24 -0
- package/dist/chunk-VJ3FCGQF.js +12 -0
- package/dist/chunk-VK5ZDV67.js +47 -0
- package/dist/chunk-VKQNDOAI.js +40 -0
- package/dist/chunk-VTEV3WVF.js +690 -0
- package/dist/chunk-VXZFQKBJ.js +21 -0
- package/dist/chunk-WI5ITCOH.js +22 -0
- package/dist/chunk-WLZ54FWG.js +120 -0
- package/dist/chunk-WYJEOMNY.js +31 -0
- package/dist/chunk-WZGJSQKN.js +29 -0
- package/dist/chunk-WZL4EEBS.js +11 -0
- package/dist/chunk-X4YNDLVA.js +54 -0
- package/dist/chunk-X6SUFTD7.js +17 -0
- package/dist/chunk-XB4KZ6WO.js +81 -0
- package/dist/chunk-XJI6SWFS.js +569 -0
- package/dist/chunk-XJP5DKIL.js +29 -0
- package/dist/chunk-XN4ARQ2W.js +47 -0
- package/dist/chunk-XN7MQO45.js +359 -0
- package/dist/chunk-XQCQZBGX.js +100 -0
- package/dist/chunk-XXOHXA3A.js +69 -0
- package/dist/chunk-XZOHR765.js +127 -0
- package/dist/chunk-YCNLQYTC.js +133 -0
- package/dist/chunk-YCRGWQBS.js +526 -0
- package/dist/chunk-YF2PYLC4.js +210 -0
- package/dist/chunk-YG5GUELW.js +935 -0
- package/dist/chunk-YS6KMYM4.js +91 -0
- package/dist/chunk-YWP7XFKD.js +12 -0
- package/dist/chunk-Z2MGTKDR.js +20 -0
- package/dist/chunk-Z6CL7AR6.js +24 -0
- package/dist/chunk-Z7X3RGGA.js +22 -0
- package/dist/chunk-ZF43WRG3.js +29 -0
- package/dist/chunk-ZMF7WEGG.js +60 -0
- package/dist/chunk-ZNHFLJSY.js +375 -0
- package/dist/chunk-ZQ4VFQID.js +76 -0
- package/dist/chunk-ZQF34VPS.js +72 -0
- package/dist/chunk-ZU425HNM.js +24 -0
- package/dist/chunk-ZZU5R5UU.js +24 -0
- package/dist/cli/index.js +9 -0
- package/dist/core-3VCCUFVX.js +32 -0
- package/dist/core-4BZQQSHS.js +33 -0
- package/dist/core-4VT4MHNB.js +38 -0
- package/dist/core-5535KXRD.js +40 -0
- package/dist/core-5HQBPCHL.js +35 -0
- package/dist/core-6RYHWUJO.js +35 -0
- package/dist/core-7BZJCIXN.js +35 -0
- package/dist/core-AJTVU6X7.js +37 -0
- package/dist/core-C6YUSTZI.js +57 -0
- package/dist/core-EEB7HTCL.js +33 -0
- package/dist/core-EFMVDWNH.js +38 -0
- package/dist/core-ETAGQBZO.js +34 -0
- package/dist/core-FVR3WZEC.js +36 -0
- package/dist/core-GCTFVYMH.js +29 -0
- package/dist/core-GES44OTS.js +33 -0
- package/dist/core-GGQREDSI.js +47 -0
- package/dist/core-HRYOV6QD.js +38 -0
- package/dist/core-IKD3EE3S.js +38 -0
- package/dist/core-JM4R426L.js +32 -0
- package/dist/core-KKQS3WI2.js +40 -0
- package/dist/core-LA6XDYG7.js +40 -0
- package/dist/core-MJ7JWQT5.js +37 -0
- package/dist/core-MLROKJ2M.js +53 -0
- package/dist/core-MR52YBRX.js +31 -0
- package/dist/core-NP4VHWXL.js +29 -0
- package/dist/core-NQLNZDX5.js +41 -0
- package/dist/core-NSIJEKLI.js +44 -0
- package/dist/core-OJUQLIQ5.js +35 -0
- package/dist/core-PB3VUQSS.js +32 -0
- package/dist/core-Q6VLFFYC.js +56 -0
- package/dist/core-QY7AVIKZ.js +51 -0
- package/dist/core-SBQMHWTA.js +52 -0
- package/dist/core-UHECQHJ2.js +38 -0
- package/dist/core-V5FV4NWL.js +56 -0
- package/dist/core-WGM4XUN3.js +58 -0
- package/dist/core-WUQVFARS.js +34 -0
- package/dist/core-Z2F3IGSR.js +42 -0
- package/dist/dataTable-3CPPIHB3.js +58 -0
- package/dist/engine-FXFBCWHB.js +961 -0
- package/dist/fixtures.d.ts +1 -0
- package/dist/fixtures.js +41 -0
- package/dist/fontTables-WYCZNRE7.js +18 -0
- package/dist/fonts.d.ts +1 -0
- package/dist/fonts.js +19 -0
- package/dist/geo/dach.d.ts +1 -0
- package/dist/geo/dach.js +14 -0
- package/dist/geo/de-states.d.ts +1 -0
- package/dist/geo/de-states.js +14 -0
- package/dist/geo/eu27.d.ts +1 -0
- package/dist/geo/eu27.js +14 -0
- package/dist/geo/europe.d.ts +1 -0
- package/dist/geo/europe.js +14 -0
- package/dist/geo/index.d.ts +1 -0
- package/dist/geo/index.js +41 -0
- package/dist/geo/us-states.d.ts +1 -0
- package/dist/geo/us-states.js +14 -0
- package/dist/geo/world.d.ts +1 -0
- package/dist/geo/world.js +14 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +364 -0
- package/dist/main-YLKBTHJP.js +569 -0
- package/dist/mcp/server.js +1025 -0
- package/dist/module-SVEW5ZUE.js +137233 -0
- package/dist/react/bar.d.ts +1 -0
- package/dist/react/bar.js +81 -0
- package/dist/react/bartable.d.ts +1 -0
- package/dist/react/bartable.js +70 -0
- package/dist/react/box.d.ts +1 -0
- package/dist/react/box.js +65 -0
- package/dist/react/bullet.d.ts +1 -0
- package/dist/react/bullet.js +72 -0
- package/dist/react/butterfly.d.ts +1 -0
- package/dist/react/butterfly.js +66 -0
- package/dist/react/choropleth.d.ts +1 -0
- package/dist/react/choropleth.js +67 -0
- package/dist/react/cohort.d.ts +1 -0
- package/dist/react/cohort.js +70 -0
- package/dist/react/column.d.ts +1 -0
- package/dist/react/column.js +86 -0
- package/dist/react/combo.d.ts +1 -0
- package/dist/react/combo.js +86 -0
- package/dist/react/creative.d.ts +1 -0
- package/dist/react/creative.js +61 -0
- package/dist/react/diagram.d.ts +1 -0
- package/dist/react/diagram.js +60 -0
- package/dist/react/dimswitch.d.ts +1 -0
- package/dist/react/dimswitch.js +72 -0
- package/dist/react/dot.d.ts +1 -0
- package/dist/react/dot.js +70 -0
- package/dist/react/export.d.ts +1 -0
- package/dist/react/export.js +658 -0
- package/dist/react/funnel.d.ts +1 -0
- package/dist/react/funnel.js +63 -0
- package/dist/react/gantt.d.ts +1 -0
- package/dist/react/gantt.js +62 -0
- package/dist/react/grid.d.ts +1 -0
- package/dist/react/grid.js +67 -0
- package/dist/react/heatmap.d.ts +1 -0
- package/dist/react/heatmap.js +68 -0
- package/dist/react/histogram.d.ts +1 -0
- package/dist/react/histogram.js +86 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +504 -0
- package/dist/react/kpi.d.ts +1 -0
- package/dist/react/kpi.js +67 -0
- package/dist/react/likert.d.ts +1 -0
- package/dist/react/likert.js +83 -0
- package/dist/react/line.d.ts +1 -0
- package/dist/react/line.js +81 -0
- package/dist/react/mekko.d.ts +1 -0
- package/dist/react/mekko.js +71 -0
- package/dist/react/pareto.d.ts +1 -0
- package/dist/react/pareto.js +90 -0
- package/dist/react/pie.d.ts +1 -0
- package/dist/react/pie.js +64 -0
- package/dist/react/prepare.d.ts +1 -0
- package/dist/react/prepare.js +278 -0
- package/dist/react/pvm.d.ts +1 -0
- package/dist/react/pvm.js +68 -0
- package/dist/react/pyramid.d.ts +1 -0
- package/dist/react/pyramid.js +67 -0
- package/dist/react/sankey.d.ts +1 -0
- package/dist/react/sankey.js +59 -0
- package/dist/react/scatter.d.ts +1 -0
- package/dist/react/scatter.js +63 -0
- package/dist/react/slope.d.ts +1 -0
- package/dist/react/slope.js +64 -0
- package/dist/react/sparkline.d.ts +1 -0
- package/dist/react/sparkline.js +59 -0
- package/dist/react/spec.d.ts +1 -0
- package/dist/react/spec.js +379 -0
- package/dist/react/status.d.ts +1 -0
- package/dist/react/status.js +64 -0
- package/dist/react/story.d.ts +1 -0
- package/dist/react/story.js +140 -0
- package/dist/react/table.d.ts +1 -0
- package/dist/react/table.js +69 -0
- package/dist/react/theme.d.ts +1 -0
- package/dist/react/theme.js +53 -0
- package/dist/react/tilemap.d.ts +1 -0
- package/dist/react/tilemap.js +66 -0
- package/dist/react/treemap.d.ts +1 -0
- package/dist/react/treemap.js +61 -0
- package/dist/react/variance.d.ts +1 -0
- package/dist/react/variance.js +65 -0
- package/dist/react/waffle.d.ts +1 -0
- package/dist/react/waffle.js +62 -0
- package/dist/react/waterfall.d.ts +1 -0
- package/dist/react/waterfall.js +68 -0
- package/dist/resvg-ZOVDIZTV.js +23 -0
- package/dist/rows.d.ts +1 -0
- package/dist/rows.js +23 -0
- package/dist/rowsModule-YVLAROIP.js +27 -0
- package/dist/schema-2K6C3U24.js +23 -0
- package/dist/schema-2KIHLTYI.js +23 -0
- package/dist/schema-4HY2MWZC.js +30 -0
- package/dist/schema-4S5CXHAO.js +24 -0
- package/dist/schema-5BKQV56C.js +27 -0
- package/dist/schema-5HA5DSYN.js +24 -0
- package/dist/schema-5NKJPSBD.js +23 -0
- package/dist/schema-65FOKNHK.js +43 -0
- package/dist/schema-6OHZWHUI.js +23 -0
- package/dist/schema-6RYJS2GM.js +24 -0
- package/dist/schema-6W4M3WJ4.js +23 -0
- package/dist/schema-7TLSFG6M.js +24 -0
- package/dist/schema-AMFRKUFS.js +27 -0
- package/dist/schema-B7CZPPB4.js +28 -0
- package/dist/schema-BNRNHGHQ.js +26 -0
- package/dist/schema-E4MRCGPZ.js +24 -0
- package/dist/schema-F3WYTR65.js +26 -0
- package/dist/schema-FA6XIHTW.js +23 -0
- package/dist/schema-GZNOW4LX.js +23 -0
- package/dist/schema-HEIDGCSL.js +23 -0
- package/dist/schema-JB2H6KPA.js +23 -0
- package/dist/schema-MPXZNWV3.js +23 -0
- package/dist/schema-NHNQK6XO.js +23 -0
- package/dist/schema-NN6UPDPW.js +23 -0
- package/dist/schema-O4YNAGIY.js +23 -0
- package/dist/schema-O7AKK232.js +29 -0
- package/dist/schema-OJCML6LV.js +24 -0
- package/dist/schema-ORTRMYI6.js +24 -0
- package/dist/schema-PJ6P52BC.js +23 -0
- package/dist/schema-RTWES6NR.js +24 -0
- package/dist/schema-S36SRYGO.js +24 -0
- package/dist/schema-S3TCLTYD.js +23 -0
- package/dist/schema-SWWMOLOR.js +54 -0
- package/dist/schema-WOSEZNKG.js +26 -0
- package/dist/schema-Y6KBWUUR.js +23 -0
- package/dist/schema-YQYTLKSW.js +23 -0
- package/dist/schema-ZUUUY3QS.js +33 -0
- package/dist/specValidation-VNWIKLHH.js +49 -0
- package/dist/theme.d.ts +1 -0
- package/dist/theme.js +24 -0
- package/dist/themeShapeRules-2D3KWSPQ.js +11 -0
- package/dist/types/core/a11y/accessibility.d.ts +43 -0
- package/dist/types/core/a11y/recordsShared.d.ts +44 -0
- package/dist/types/core/a11y/structuralRecords.d.ts +6 -0
- package/dist/types/core/a11y/types.d.ts +116 -0
- package/dist/types/core/annotate.d.ts +300 -0
- package/dist/types/core/annotateArms.d.ts +37 -0
- package/dist/types/core/annotateFields.d.ts +30 -0
- package/dist/types/core/annotateGapBracket.d.ts +66 -0
- package/dist/types/core/annotateLinks.d.ts +47 -0
- package/dist/types/core/annotateTargets.d.ts +90 -0
- package/dist/types/core/axis.d.ts +179 -0
- package/dist/types/core/bandSelect.d.ts +10 -0
- package/dist/types/core/bands.d.ts +14 -0
- package/dist/types/core/calendarLabels.d.ts +101 -0
- package/dist/types/core/charts/band/stacks.d.ts +155 -0
- package/dist/types/core/charts/bar/fixtures.d.ts +9 -0
- package/dist/types/core/charts/bar/layout.d.ts +95 -0
- package/dist/types/core/charts/bartable/fixtures.d.ts +4 -0
- package/dist/types/core/charts/bartable/types.d.ts +192 -0
- package/dist/types/core/charts/box/fixtures.d.ts +12 -0
- package/dist/types/core/charts/box/types.d.ts +110 -0
- package/dist/types/core/charts/bullet/fixtures.d.ts +11 -0
- package/dist/types/core/charts/butterfly/fixtures.d.ts +9 -0
- package/dist/types/core/charts/choropleth/fixtures.d.ts +3 -0
- package/dist/types/core/charts/choropleth/overlayTypes.d.ts +68 -0
- package/dist/types/core/charts/choropleth/types.d.ts +117 -0
- package/dist/types/core/charts/cohort/fixtures.d.ts +12 -0
- package/dist/types/core/charts/cohort/types.d.ts +165 -0
- package/dist/types/core/charts/column/anomaly.d.ts +204 -0
- package/dist/types/core/charts/column/fixtures.d.ts +12 -0
- package/dist/types/core/charts/column/layout.d.ts +116 -0
- package/dist/types/core/charts/column/model.d.ts +295 -0
- package/dist/types/core/charts/column/types.d.ts +56 -0
- package/dist/types/core/charts/combo/endpoints.d.ts +165 -0
- package/dist/types/core/charts/combo/fixtures.d.ts +12 -0
- package/dist/types/core/charts/combo/layout.d.ts +48 -0
- package/dist/types/core/charts/creative/fixtures.d.ts +4 -0
- package/dist/types/core/charts/creative/types.d.ts +73 -0
- package/dist/types/core/charts/diagram/fixtures.d.ts +3 -0
- package/dist/types/core/charts/dimswitch/compile.d.ts +20 -0
- package/dist/types/core/charts/dimswitch/fixtures.d.ts +3 -0
- package/dist/types/core/charts/dimswitch/types.d.ts +152 -0
- package/dist/types/core/charts/dot/fixtures.d.ts +11 -0
- package/dist/types/core/charts/funnel/fixtures.d.ts +11 -0
- package/dist/types/core/charts/gantt/fixtures.d.ts +9 -0
- package/dist/types/core/charts/gantt/layout.d.ts +63 -0
- package/dist/types/core/charts/grid/fixtures.d.ts +3 -0
- package/dist/types/core/charts/grid/metricStack.d.ts +108 -0
- package/dist/types/core/charts/grid/metricStackSchema.d.ts +74 -0
- package/dist/types/core/charts/grid/normalize.d.ts +99 -0
- package/dist/types/core/charts/grid/schema.d.ts +168 -0
- package/dist/types/core/charts/heatmap/fixtures.d.ts +11 -0
- package/dist/types/core/charts/histogram/fixtures.d.ts +15 -0
- package/dist/types/core/charts/histogram/types.d.ts +98 -0
- package/dist/types/core/charts/kpi/fixtures.d.ts +9 -0
- package/dist/types/core/charts/likert/fixtures.d.ts +11 -0
- package/dist/types/core/charts/likert/layout.d.ts +111 -0
- package/dist/types/core/charts/line/fixtures.d.ts +16 -0
- package/dist/types/core/charts/line/types.d.ts +6 -0
- package/dist/types/core/charts/mekko/fixtures.d.ts +13 -0
- package/dist/types/core/charts/pareto/fixtures.d.ts +5 -0
- package/dist/types/core/charts/pareto/layout.d.ts +68 -0
- package/dist/types/core/charts/pie/fixtures.d.ts +14 -0
- package/dist/types/core/charts/pvm/fixtures.d.ts +13 -0
- package/dist/types/core/charts/pvm/types.d.ts +118 -0
- package/dist/types/core/charts/pyramid/fixtures.d.ts +4 -0
- package/dist/types/core/charts/pyramid/types.d.ts +92 -0
- package/dist/types/core/charts/sankey/fixtures.d.ts +4 -0
- package/dist/types/core/charts/sankey/types.d.ts +116 -0
- package/dist/types/core/charts/scatter/fixtures.d.ts +12 -0
- package/dist/types/core/charts/scatter/types.d.ts +58 -0
- package/dist/types/core/charts/slope/fixtures.d.ts +13 -0
- package/dist/types/core/charts/sparkline/fixtures.d.ts +9 -0
- package/dist/types/core/charts/status/fixtures.d.ts +8 -0
- package/dist/types/core/charts/status/layout.d.ts +71 -0
- package/dist/types/core/charts/table/fitFormats.d.ts +67 -0
- package/dist/types/core/charts/table/fixtures.d.ts +7 -0
- package/dist/types/core/charts/table/resolve.d.ts +72 -0
- package/dist/types/core/charts/table/view.d.ts +156 -0
- package/dist/types/core/charts/tilemap/fixtures.d.ts +3 -0
- package/dist/types/core/charts/tilemap/types.d.ts +94 -0
- package/dist/types/core/charts/treemap/fixtures.d.ts +4 -0
- package/dist/types/core/charts/treemap/types.d.ts +78 -0
- package/dist/types/core/charts/variance/fixtures.d.ts +12 -0
- package/dist/types/core/charts/waffle/fixtures.d.ts +5 -0
- package/dist/types/core/charts/waffle/types.d.ts +117 -0
- package/dist/types/core/charts/waterfall/fixtures.d.ts +9 -0
- package/dist/types/core/claims/browser.d.ts +49 -0
- package/dist/types/core/claims/manifest.d.ts +22 -0
- package/dist/types/core/dateFormat.d.ts +39 -0
- package/dist/types/core/deferred.d.ts +121 -0
- package/dist/types/core/diagnostics/describe.d.ts +149 -0
- package/dist/types/core/diagnostics/jsonPatch.d.ts +36 -0
- package/dist/types/core/doc/bareChart.d.ts +2 -0
- package/dist/types/core/doc/diagnostics.d.ts +124 -0
- package/dist/types/core/doc/docExpand.d.ts +39 -0
- package/dist/types/core/doc/document.d.ts +43 -0
- package/dist/types/core/doc/ownedDocumentCopy.d.ts +5 -0
- package/dist/types/core/doc/specError.d.ts +6 -0
- package/dist/types/core/emptyData.d.ts +27 -0
- package/dist/types/core/eventLane.d.ts +208 -0
- package/dist/types/core/fontMetrics/index.d.ts +47 -0
- package/dist/types/core/fontMetrics/injected.d.ts +40 -0
- package/dist/types/core/fontMetrics/tableDocument.d.ts +73 -0
- package/dist/types/core/fontMetrics/tables.generated.d.ts +17 -0
- package/dist/types/core/footer.d.ts +59 -0
- package/dist/types/core/format.d.ts +149 -0
- package/dist/types/core/formatPrecision.d.ts +136 -0
- package/dist/types/core/formatSpec.d.ts +304 -0
- package/dist/types/core/frame.d.ts +583 -0
- package/dist/types/core/geo/packs/all.d.ts +7 -0
- package/dist/types/core/geo/packs/dach.d.ts +16 -0
- package/dist/types/core/geo/packs/de-states.d.ts +16 -0
- package/dist/types/core/geo/packs/eu27.d.ts +16 -0
- package/dist/types/core/geo/packs/europe.d.ts +16 -0
- package/dist/types/core/geo/packs/index.d.ts +22 -0
- package/dist/types/core/geo/packs/registry.d.ts +37 -0
- package/dist/types/core/geo/packs/us-states.d.ts +16 -0
- package/dist/types/core/geo/packs/world.d.ts +16 -0
- package/dist/types/core/geo/tiles/eu27.generated.d.ts +412 -0
- package/dist/types/core/geo/tiles/europe.generated.d.ts +842 -0
- package/dist/types/core/geo/tiles/index.d.ts +8 -0
- package/dist/types/core/geo/tiles/types.d.ts +36 -0
- package/dist/types/core/geo/tiles/us-states.generated.d.ts +952 -0
- package/dist/types/core/geo/tiles/world.generated.d.ts +968 -0
- package/dist/types/core/geo/types.d.ts +146 -0
- package/dist/types/core/geometry.d.ts +102 -0
- package/dist/types/core/grid/sharedScale.d.ts +82 -0
- package/dist/types/core/icons.d.ts +227 -0
- package/dist/types/core/inputError.d.ts +14 -0
- package/dist/types/core/isoDate.d.ts +2 -0
- package/dist/types/core/isoTime.d.ts +7 -0
- package/dist/types/core/label/categoryRow.d.ts +332 -0
- package/dist/types/core/label/occupied.d.ts +41 -0
- package/dist/types/core/label/ownership.d.ts +83 -0
- package/dist/types/core/label/solver.d.ts +384 -0
- package/dist/types/core/label/tickRow.d.ts +78 -0
- package/dist/types/core/live/types.d.ts +50 -0
- package/dist/types/core/normalize/shared.d.ts +56 -0
- package/dist/types/core/notes.d.ts +174 -0
- package/dist/types/core/othersShade.d.ts +9 -0
- package/dist/types/core/periodYears.d.ts +9 -0
- package/dist/types/core/polyline.d.ts +11 -0
- package/dist/types/core/rangeRules.d.ts +19 -0
- package/dist/types/core/ratioTier.d.ts +120 -0
- package/dist/types/core/readerStrings.d.ts +13 -0
- package/dist/types/core/reading.d.ts +120 -0
- package/dist/types/core/registry.d.ts +178 -0
- package/dist/types/core/repaintGeometry.d.ts +19 -0
- package/dist/types/core/request.d.ts +124 -0
- package/dist/types/core/rows.d.ts +47 -0
- package/dist/types/core/scale.d.ts +106 -0
- package/dist/types/core/schema/capability.d.ts +229 -0
- package/dist/types/core/schema/namedColumns.d.ts +45 -0
- package/dist/types/core/schema/reference.d.ts +31 -0
- package/dist/types/core/schema/refusals.d.ts +45 -0
- package/dist/types/core/schema/unknownKeys.d.ts +45 -0
- package/dist/types/core/seriesIdentity.d.ts +120 -0
- package/dist/types/core/shareRounding.d.ts +49 -0
- package/dist/types/core/sizing.d.ts +330 -0
- package/dist/types/core/staticFooter.d.ts +6 -0
- package/dist/types/core/story.d.ts +41 -0
- package/dist/types/core/structureCounts.d.ts +10 -0
- package/dist/types/core/svg/renderSvg.d.ts +51 -0
- package/dist/types/core/target.d.ts +89 -0
- package/dist/types/core/text.d.ts +113 -0
- package/dist/types/core/theme.d.ts +478 -0
- package/dist/types/core/themeFields.d.ts +11 -0
- package/dist/types/core/themeRules.d.ts +111 -0
- package/dist/types/core/themeShape.d.ts +87 -0
- package/dist/types/core/themeValidate.d.ts +15 -0
- package/dist/types/core/timeAxis.d.ts +106 -0
- package/dist/types/core/types/annotations.d.ts +227 -0
- package/dist/types/core/types/cell.d.ts +82 -0
- package/dist/types/core/types/data.d.ts +314 -0
- package/dist/types/core/types/diagram.d.ts +234 -0
- package/dist/types/core/types/index.d.ts +8 -0
- package/dist/types/core/types/options.d.ts +1583 -0
- package/dist/types/core/types/scene.d.ts +990 -0
- package/dist/types/core/types/sizing.d.ts +51 -0
- package/dist/types/core/types/table.d.ts +873 -0
- package/dist/types/core/types/theme.d.ts +806 -0
- package/dist/types/core/zoom.d.ts +106 -0
- package/dist/types/fixtures/index.d.ts +40 -0
- package/dist/types/fixtures/registry.d.ts +15 -0
- package/dist/types/fonts.d.ts +10 -0
- package/dist/types/index.d.ts +70 -0
- package/dist/types/react/BoardplotTheme.d.ts +9 -0
- package/dist/types/react/DimSwitchChart.d.ts +36 -0
- package/dist/types/react/ScaleGroup.d.ts +31 -0
- package/dist/types/react/SceneRenderer.d.ts +23 -0
- package/dist/types/react/SizePlaceholder.d.ts +51 -0
- package/dist/types/react/StoryFrame.d.ts +42 -0
- package/dist/types/react/TableChart.d.ts +220 -0
- package/dist/types/react/a11ySurface.d.ts +20 -0
- package/dist/types/react/barrelCharts.d.ts +1023 -0
- package/dist/types/react/charts/bar.d.ts +28 -0
- package/dist/types/react/charts/bartable.d.ts +27 -0
- package/dist/types/react/charts/box.d.ts +27 -0
- package/dist/types/react/charts/bullet.d.ts +28 -0
- package/dist/types/react/charts/butterfly.d.ts +28 -0
- package/dist/types/react/charts/choropleth.d.ts +27 -0
- package/dist/types/react/charts/cohort.d.ts +52 -0
- package/dist/types/react/charts/column.d.ts +27 -0
- package/dist/types/react/charts/combo.d.ts +7 -0
- package/dist/types/react/charts/creative.d.ts +27 -0
- package/dist/types/react/charts/diagram.d.ts +162 -0
- package/dist/types/react/charts/dimswitch.d.ts +6 -0
- package/dist/types/react/charts/dot.d.ts +28 -0
- package/dist/types/react/charts/funnel.d.ts +28 -0
- package/dist/types/react/charts/gantt.d.ts +28 -0
- package/dist/types/react/charts/grid.d.ts +29 -0
- package/dist/types/react/charts/heatmap.d.ts +28 -0
- package/dist/types/react/charts/histogram.d.ts +27 -0
- package/dist/types/react/charts/kpi.d.ts +28 -0
- package/dist/types/react/charts/likert.d.ts +27 -0
- package/dist/types/react/charts/line.d.ts +28 -0
- package/dist/types/react/charts/mekko.d.ts +28 -0
- package/dist/types/react/charts/pareto.d.ts +28 -0
- package/dist/types/react/charts/pie.d.ts +28 -0
- package/dist/types/react/charts/pvm.d.ts +27 -0
- package/dist/types/react/charts/pyramid.d.ts +27 -0
- package/dist/types/react/charts/sankey.d.ts +27 -0
- package/dist/types/react/charts/scatter.d.ts +28 -0
- package/dist/types/react/charts/slope.d.ts +28 -0
- package/dist/types/react/charts/sparkline.d.ts +28 -0
- package/dist/types/react/charts/status.d.ts +27 -0
- package/dist/types/react/charts/table.d.ts +6 -0
- package/dist/types/react/charts/tilemap.d.ts +27 -0
- package/dist/types/react/charts/treemap.d.ts +27 -0
- package/dist/types/react/charts/variance.d.ts +28 -0
- package/dist/types/react/charts/waffle.d.ts +28 -0
- package/dist/types/react/charts/waterfall.d.ts +28 -0
- package/dist/types/react/createChartComponent.d.ts +135 -0
- package/dist/types/react/export/clipboard.d.ts +8 -0
- package/dist/types/react/export/csv.d.ts +2 -0
- package/dist/types/react/export/frame.d.ts +35 -0
- package/dist/types/react/export/index.d.ts +7 -0
- package/dist/types/react/export/png.d.ts +14 -0
- package/dist/types/react/export/svg.d.ts +5 -0
- package/dist/types/react/export/types.d.ts +69 -0
- package/dist/types/react/export/useExport.d.ts +17 -0
- package/dist/types/react/exportLink.d.ts +49 -0
- package/dist/types/react/footerFrame.d.ts +25 -0
- package/dist/types/react/hover/dataTable.d.ts +13 -0
- package/dist/types/react/hover/engine.d.ts +210 -0
- package/dist/types/react/hover/keyboard.d.ts +44 -0
- package/dist/types/react/hover/labelCard.d.ts +170 -0
- package/dist/types/react/hover/placement.d.ts +49 -0
- package/dist/types/react/index.d.ts +16 -0
- package/dist/types/react/parseChartSpec.d.ts +16 -0
- package/dist/types/react/prepare.d.ts +32 -0
- package/dist/types/react/prepared.d.ts +53 -0
- package/dist/types/react/preparedTable.d.ts +15 -0
- package/dist/types/react/rowsInput.d.ts +55 -0
- package/dist/types/react/rowsModule.d.ts +18 -0
- package/dist/types/react/rowsStore.d.ts +50 -0
- package/dist/types/react/scale-group.d.ts +2 -0
- package/dist/types/react/scaleGroupContext.d.ts +22 -0
- package/dist/types/react/scenePaint.d.ts +10 -0
- package/dist/types/react/scrollState.d.ts +26 -0
- package/dist/types/react/spec.d.ts +82 -0
- package/dist/types/react/specValidation.d.ts +45 -0
- package/dist/types/react/story.d.ts +15 -0
- package/dist/types/react/theme.d.ts +9 -0
- package/dist/types/react/themeContext.d.ts +44 -0
- package/dist/types/react/useChartLayout.d.ts +22 -0
- package/dist/types/react/useContainerSize.d.ts +57 -0
- package/dist/types/react/useHover.d.ts +100 -0
- package/dist/types/react/useZoom.d.ts +50 -0
- package/dist/types/rows.d.ts +63 -0
- package/dist/types/tableLooks.d.ts +6 -0
- package/dist/types/theme.d.ts +3 -0
- package/dist/types/validate.d.ts +3 -0
- package/dist/validate.d.ts +1 -0
- package/dist/validate.js +223 -0
- package/docs/FONTS.md +68 -0
- package/docs/TELEMETRY.md +94 -0
- package/docs/manual.md +850 -0
- package/docs/reference/bar.md +222 -0
- package/docs/reference/bartable.md +143 -0
- package/docs/reference/box.md +93 -0
- package/docs/reference/bullet.md +118 -0
- package/docs/reference/butterfly.md +117 -0
- package/docs/reference/choropleth.md +148 -0
- package/docs/reference/cohort.md +149 -0
- package/docs/reference/column.md +275 -0
- package/docs/reference/combo.md +219 -0
- package/docs/reference/creative.md +147 -0
- package/docs/reference/diagram.md +191 -0
- package/docs/reference/dimswitch.md +1395 -0
- package/docs/reference/dot.md +117 -0
- package/docs/reference/fixtures.md +1089 -0
- package/docs/reference/funnel.md +121 -0
- package/docs/reference/gantt.md +138 -0
- package/docs/reference/grid.md +302 -0
- package/docs/reference/heatmap.md +127 -0
- package/docs/reference/histogram.md +77 -0
- package/docs/reference/kpi.md +115 -0
- package/docs/reference/likert.md +113 -0
- package/docs/reference/line.md +436 -0
- package/docs/reference/mekko.md +114 -0
- package/docs/reference/options.md +313 -0
- package/docs/reference/pareto.md +102 -0
- package/docs/reference/pie.md +114 -0
- package/docs/reference/pvm.md +114 -0
- package/docs/reference/pyramid.md +99 -0
- package/docs/reference/react.md +706 -0
- package/docs/reference/reading.md +28 -0
- package/docs/reference/sankey.md +110 -0
- package/docs/reference/scatter.md +211 -0
- package/docs/reference/slope.md +126 -0
- package/docs/reference/sparkline.md +74 -0
- package/docs/reference/status.md +107 -0
- package/docs/reference/table.md +673 -0
- package/docs/reference/theme.md +361 -0
- package/docs/reference/tilemap.md +121 -0
- package/docs/reference/treemap.md +86 -0
- package/docs/reference/variance.md +126 -0
- package/docs/reference/waffle.md +106 -0
- package/docs/reference/waterfall.md +164 -0
- package/llms.txt +57 -0
- package/package.json +437 -4
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
import type { Margin } from './geometry.js';
|
|
2
|
+
import type { RenderTarget } from './types/options.js';
|
|
3
|
+
import { type FontSpec } from './text.js';
|
|
4
|
+
import type { Scenario } from './types/cell.js';
|
|
5
|
+
import type { HatchCue, HatchLook, LintWarning, Paint, PaintToken, SceneNode, ThemePaintSource } from './types/scene.js';
|
|
6
|
+
import type { DashRole, StrokeRole, Theme, ThemeRef, ThemeTable } from './types/theme.js';
|
|
7
|
+
/** Width classes: W-S 480–719, W-M 720–1079 (canonical), W-L ≥ 1080. */
|
|
8
|
+
export type TypeWidthClass = 'S' | 'M' | 'L';
|
|
9
|
+
/**
|
|
10
|
+
* The width class a canvas width selects for the type scale. Widths under
|
|
11
|
+
* the W-S band (<480, too narrow for full charts; the
|
|
12
|
+
* card families that legitimately live there are exempt at their call sites)
|
|
13
|
+
* clamp to the smallest class rather than inventing a sub-S scale.
|
|
14
|
+
*/
|
|
15
|
+
export declare function typeWidthClass(width: number): TypeWidthClass;
|
|
16
|
+
/**
|
|
17
|
+
* The smallest size the theme gives its title across the width classes. A
|
|
18
|
+
* compact frame sets its title at this size in the title weight, so
|
|
19
|
+
* a small chart keeps a title that reads as one. A theme without steps
|
|
20
|
+
* returns its one title size.
|
|
21
|
+
*/
|
|
22
|
+
export declare function smallestTitleSize(theme: Theme): number;
|
|
23
|
+
/**
|
|
24
|
+
* Grid-panel width-class override, read from an INTERNAL options key the
|
|
25
|
+
* grid layouts set when invoking panel layouts: a panel is not a canvas
|
|
26
|
+
* (the boundary the aspect lints draw), so a slot-sized panel must
|
|
27
|
+
* render the parent canvas's width class, not re-class itself at slot width.
|
|
28
|
+
* Deliberately NOT declared on `BaseOptions` and NOT in any JSON schema —
|
|
29
|
+
* declarations follow the runtime,
|
|
30
|
+
* and this key belongs to the engine, not to authors; an authored
|
|
31
|
+
* `typeClass` in JSON is refused as an unknown option.
|
|
32
|
+
*/
|
|
33
|
+
export declare function panelTypeClass(options: unknown): TypeWidthClass | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* `labels: false` takes the data labels off, not the names under
|
|
36
|
+
* the marks, on Cartesian types with a category axis; a grid panel leaves
|
|
37
|
+
* its names to its grid.
|
|
38
|
+
*/
|
|
39
|
+
export declare function labelsOffKeepsNames(options: unknown): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Micro role accessor. External themes may predate the token; they get
|
|
42
|
+
* footnote − 1 px, never under the 9 px a reader label needs (the
|
|
43
|
+
* micro role names regions, tiles and events, so the column runs 9, 9,
|
|
44
|
+
* 9.5).
|
|
45
|
+
*/
|
|
46
|
+
export declare function microType(theme: Theme): FontSpec;
|
|
47
|
+
/**
|
|
48
|
+
* The secondary text role: tick labels, axis titles,
|
|
49
|
+
* scenario markers and background series labels. A theme without it (an
|
|
50
|
+
* external theme) gets its axis role, so it renders as before. A default size
|
|
51
|
+
* is never larger than the axis role; an authored size wins.
|
|
52
|
+
*/
|
|
53
|
+
export declare function secondaryType(theme: Theme): FontSpec;
|
|
54
|
+
/** The secondary role's font with the theme family, for measuring and drawing. */
|
|
55
|
+
export declare function secondaryFont(theme: Theme): FontSpec;
|
|
56
|
+
/**
|
|
57
|
+
* Activate the type scale for one width class (or a canvas width).
|
|
58
|
+
* Returns a theme whose role sizes are the active class column, whose micro
|
|
59
|
+
* role is materialised, and whose `scale` braces are stripped — scene fonts
|
|
60
|
+
* built from the result never carry step metadata, and the W-M canonical
|
|
61
|
+
* column IS each role's own `size`, so a theme without `scale` renders its
|
|
62
|
+
* one fixed set at every class (external-theme compatibility).
|
|
63
|
+
*
|
|
64
|
+
* Callers: every chart layout, once, at its own resolved canvas width — the
|
|
65
|
+
* two card types (kpi, bullet) are EXEMPT from the width classes
|
|
66
|
+
* and simply skip this call at their sites, which leaves them on the
|
|
67
|
+
* W-M canonical column; grid panels inherit the
|
|
68
|
+
* parent canvas class through `options.typeClass`, because a panel is not a
|
|
69
|
+
* canvas (the same boundary the aspect lints draw).
|
|
70
|
+
*/
|
|
71
|
+
export declare function themeForWidth(theme: Theme, widthOrClass: number | TypeWidthClass): Theme;
|
|
72
|
+
/** line weights. `theme.stroke` overrides each role. */
|
|
73
|
+
export declare const GRAMMAR_STROKE: Readonly<Record<StrokeRole, number>>;
|
|
74
|
+
/** The two text weights: role text, and emphasis. */
|
|
75
|
+
export declare const WEIGHT_REGULAR = 400;
|
|
76
|
+
export declare const WEIGHT_EMPHASIS = 700;
|
|
77
|
+
/** The stroke width in px a chart draws for one grammar role. */
|
|
78
|
+
export declare function strokeToken(theme: Pick<Theme, 'stroke'>, role: StrokeRole): number;
|
|
79
|
+
/** The dash array a chart draws for one grammar role; a fresh copy, so a node may own it. */
|
|
80
|
+
export declare function dashToken(theme: Pick<Theme, 'dash'>, role: DashRole): number[];
|
|
81
|
+
/** The dash a value axis draws its gridlines in (`theme.valueAxis.gridDash`); none when solid. */
|
|
82
|
+
export declare function gridDash(theme: Pick<Theme, 'dash' | 'valueAxis'>): {
|
|
83
|
+
dash?: number[];
|
|
84
|
+
};
|
|
85
|
+
/** The weight of a total, a hero figure or an authored focus. */
|
|
86
|
+
export declare function emphasisWeight(theme: Pick<Theme, 'type'>): number;
|
|
87
|
+
/**
|
|
88
|
+
* The theme an annotation pass measures in when its chart draws every
|
|
89
|
+
* annotation label in the emphasis weight: the seats then hold the bold text.
|
|
90
|
+
*/
|
|
91
|
+
export declare function emphasisLabelTheme<T extends Pick<Theme, 'type'>>(theme: T): T;
|
|
92
|
+
/** The weight of table totals, subtotals, results and parent rows: `table.weights.emphasis`, else the emphasis weight. */
|
|
93
|
+
export declare function tableEmphasis(theme: Pick<Theme, 'type' | 'table'>): number;
|
|
94
|
+
/**
|
|
95
|
+
* A table ink by role: the authored `table.inks` key, else the text ink, or
|
|
96
|
+
* `table.inks.secondary` (else the muted ink) for the roles that step back.
|
|
97
|
+
* 'rule' is `table.ruleInk`, else 25% of the ink in the background.
|
|
98
|
+
*/
|
|
99
|
+
export declare function tableInkColor(theme: Pick<Theme, 'color' | 'table'>, role: keyof NonNullable<ThemeTable['inks']> | 'rule'): string;
|
|
100
|
+
/** The weight of a structural heading such as a diagram pillar, phase or branch: semibold, never above the emphasis weight. */
|
|
101
|
+
export declare function headingWeight(theme: Pick<Theme, 'type'>): number;
|
|
102
|
+
/**
|
|
103
|
+
* The shipped presets below form one token system.
|
|
104
|
+
*
|
|
105
|
+
* tests/theme-presets-validate.test.ts runs validateTheme over every preset.
|
|
106
|
+
* Shared semantic layer across all three: good #0FA060 / bad #E2564A used
|
|
107
|
+
* ONLY for judgment; the accent used ONLY for emphasis/totals; neutral
|
|
108
|
+
* ramps carry all structure.
|
|
109
|
+
*/
|
|
110
|
+
/** Steel neutrals, deep blue accent. */
|
|
111
|
+
export declare const standardTheme: Theme;
|
|
112
|
+
/** Atlantic identity on a dark navy surface; judgment colors stay fixed. */
|
|
113
|
+
export declare const standardDarkTheme: Theme;
|
|
114
|
+
/** Strict notation — pure greys, grey totals, denser rhythm. */
|
|
115
|
+
export declare const notationTheme: Theme;
|
|
116
|
+
/**
|
|
117
|
+
* Notation dark profile. Printed notation assumes white paper; on screen the
|
|
118
|
+
* grey hierarchy is inverted so AC is the strongest light solid, PY is the
|
|
119
|
+
* quieter grey, FC stays hatched, and PL stays outlined against the surface.
|
|
120
|
+
*/
|
|
121
|
+
export declare const notationDarkTheme: Theme;
|
|
122
|
+
/**
|
|
123
|
+
* The four design families, parsed from src/core/themeFamilies/*.json, the
|
|
124
|
+
* files the demo build renders with — ONE source per family. The
|
|
125
|
+
* schema pass runs at module load so a family that stops parsing breaks the
|
|
126
|
+
* build, not a later render; tsup inlines the JSON, so the installed package
|
|
127
|
+
* carries the themes without any repo-relative file read.
|
|
128
|
+
*/
|
|
129
|
+
export declare const roadshowFamilyThemes: Readonly<Record<'boardroom' | 'capital' | 'studio' | 'glass', Theme>>;
|
|
130
|
+
/** The glass design family. */
|
|
131
|
+
export declare const glassTheme: Theme;
|
|
132
|
+
/**
|
|
133
|
+
* Theme registry. Null-prototype ON PURPOSE: this map is indexed by
|
|
134
|
+
* caller-supplied names (`--theme <name>`, `options.theme`), and on a plain
|
|
135
|
+
* object `themes['constructor']` resolves to Object's own constructor — the
|
|
136
|
+
* clean unknown-theme error is bypassed and the caller gets a raw TypeError
|
|
137
|
+
* from chart code instead. `Object.create(null)` removes the inherited keys
|
|
138
|
+
* for EVERY consumer of this export (CLI included), not just resolveTheme.
|
|
139
|
+
*/
|
|
140
|
+
export declare const themes: Record<string, Theme>;
|
|
141
|
+
/**
|
|
142
|
+
* Design-interface entry point: register a validated external theme so every
|
|
143
|
+
* surface (React, CLI, demo) can reference it by name. Presets cannot be
|
|
144
|
+
* overwritten. Re-registering the same custom name replaces it (live editor).
|
|
145
|
+
*/
|
|
146
|
+
export declare function registerTheme(theme: Theme): void;
|
|
147
|
+
/** Counts registerTheme calls: a layout cache keyed by a theme name adds it, so a replaced theme misses. */
|
|
148
|
+
export declare const themeRegistrations: () => number;
|
|
149
|
+
/** Marks `patch` as built by the library when everything it carries over from `authored` is already checked. */
|
|
150
|
+
export declare function libraryPatch<T extends object>(patch: T, authored: object): T;
|
|
151
|
+
/** Replace the six role sizes and their S/L steps; keep all other type tokens. */
|
|
152
|
+
export declare function typeForTarget(base: Theme['type'], target: RenderTarget): Theme['type'];
|
|
153
|
+
/**
|
|
154
|
+
* Preset appearance, target sizes, authored overrides, then `textScale`
|
|
155
|
+
* (custom themes stay authored, and are scaled too). A resolved theme that
|
|
156
|
+
* travels back as full overrides is already scaled and comes back as it is.
|
|
157
|
+
* With `textSize` the theme drops its S and L columns and scales the middle
|
|
158
|
+
* column so its label is `textSize` px: every width class draws the same sizes.
|
|
159
|
+
*/
|
|
160
|
+
export declare function resolveTargetTheme(ref: ThemeRef | undefined, target: RenderTarget, textScale?: number, textSize?: number): Theme;
|
|
161
|
+
/** Carries the removal warnings of the authored request through the wrapped theme reference to the layout. */
|
|
162
|
+
export declare const REMOVED_NAMES: unique symbol;
|
|
163
|
+
/** The deprecation warning for `table.weights.change` in one chart's authored theme. */
|
|
164
|
+
export declare function removedNameWarnings(options: {
|
|
165
|
+
theme?: unknown;
|
|
166
|
+
palette?: unknown;
|
|
167
|
+
} | undefined): LintWarning[];
|
|
168
|
+
export declare function resolveTheme(ref?: ThemeRef): Theme;
|
|
169
|
+
/**
|
|
170
|
+
* The stripe paint of a hatch. Stripes are lines a reader has to see, so a
|
|
171
|
+
* fill too pale to reach 3:1 on the page as a line (a pale corridor or band)
|
|
172
|
+
* draws its stripes in the same hue deepened toward the mark ink until
|
|
173
|
+
* they do; a fill that reaches it keeps its own colour. An authored colour is
|
|
174
|
+
* left as authored.
|
|
175
|
+
*/
|
|
176
|
+
export declare function hatchPaint(fill: Paint, theme: Theme, ground?: Paint, look?: HatchLook): Paint;
|
|
177
|
+
/**
|
|
178
|
+
* options.hatchStrength: how strongly forecast, partial and no-data
|
|
179
|
+
* hatches draw, 0 to 100, where 100 is the theme's recipe. Below 100 a stripe
|
|
180
|
+
* fades toward its ground, and a second-cue hatch (a line or area forecast,
|
|
181
|
+
* where the dashed line, the divider and the key already say "forecast") also
|
|
182
|
+
* spreads its stripes, up to 2.5 times the theme's gap at 0. The fade stops at
|
|
183
|
+
* the floor the cue needs: a sole-cue hatch keeps its stripes 3:1 on their
|
|
184
|
+
* ground (the mark floor plus the FC margin) and its spacing, so its cell
|
|
185
|
+
* still reads on the page; a second-cue hatch keeps 2:1, the faintest stripe
|
|
186
|
+
* that still reads as a hatch. Default 60 on a second cue, 100 on a sole one.
|
|
187
|
+
*/
|
|
188
|
+
export declare const HATCH_STRENGTH_DEFAULT: Readonly<Record<HatchCue, number>>;
|
|
189
|
+
/** The stripe pitch a hatch draws at, as a multiple of the theme's gap: 1 for a sole cue. */
|
|
190
|
+
export declare function hatchGapFactor(look: HatchLook | undefined): number;
|
|
191
|
+
/**
|
|
192
|
+
* The stripe weight a hatch draws at, in px. A sole-cue hatch draws at the theme's
|
|
193
|
+
* weight (0.75 px at 6 px pitch, 12.5%); a second-cue hatch (a line or area
|
|
194
|
+
* forecast, where the dashed edge, the divider and the key also say "forecast") draws 0.7 of it.
|
|
195
|
+
*/
|
|
196
|
+
export declare function hatchStrokeWidthFor(theme: Pick<Theme, 'pattern'>, look: HatchLook | undefined): number;
|
|
197
|
+
/**
|
|
198
|
+
* Stamps every hatched node of one chart with the strength it draws at
|
|
199
|
+
* (registry, after layout): the forecast area of a line or an area is a second
|
|
200
|
+
* cue, every other hatch a sole one; a key swatch draws like the marks it
|
|
201
|
+
* keys, sole when any of them is. A node already stamped (a grid panel's) keeps
|
|
202
|
+
* its look.
|
|
203
|
+
*/
|
|
204
|
+
export declare function stampHatchLook(nodes: SceneNode[], strength: number | undefined): SceneNode[];
|
|
205
|
+
/**
|
|
206
|
+
* A fill that separates from the page and the page-like surfaces it may lie
|
|
207
|
+
* on without an outline: a pale status bar deepens toward the mark ink
|
|
208
|
+
* until it clears the page floor on each of them; a fill that already does
|
|
209
|
+
* stays as it is.
|
|
210
|
+
*/
|
|
211
|
+
export declare function surfaceFloorPaint(base: Paint, surfaces: Paint[]): Paint;
|
|
212
|
+
/**
|
|
213
|
+
* A sankey ribbon carries its flow value, so it is a data mark: on a light page
|
|
214
|
+
* it clears the mark floor (markVisibilityFloor). The alpha starts at the
|
|
215
|
+
* theme's `surface.ribbonAlpha` and rises only as far as the floor needs, so
|
|
216
|
+
* crossing ribbons still show through each other. A base that misses the floor
|
|
217
|
+
* even when opaque draws opaque and warns as a series (series-invisible).
|
|
218
|
+
* A dark page keeps `surface.ribbonAlpha`: its 3:1 floor needs ribbons of up to
|
|
219
|
+
* 97% alpha, and those hide the node bar they leave and the ribbons they cross.
|
|
220
|
+
*/
|
|
221
|
+
export declare function ribbonPaint(base: Paint): Paint;
|
|
222
|
+
/**
|
|
223
|
+
* The ground a hatch lies on inside its own mark (a forecast segment):
|
|
224
|
+
* the fill washed toward the page, so the key still names the cell. Pass it
|
|
225
|
+
* to `hatchPaint` as well; stripes and ground are resolved together.
|
|
226
|
+
*/
|
|
227
|
+
export declare function hatchGroundPaint(fill: Paint, peers?: readonly Paint[], grounding?: {
|
|
228
|
+
strength: number;
|
|
229
|
+
apart: Paint;
|
|
230
|
+
}): Paint;
|
|
231
|
+
/**
|
|
232
|
+
* Hand every grounded hatch of one chart the fills of the others,
|
|
233
|
+
* so the forecast stripes of series drawn together are resolved
|
|
234
|
+
* together and keep the swatch floor between them, as their keys do.
|
|
235
|
+
*/
|
|
236
|
+
export declare function joinHatchPeers(nodes: SceneNode[]): SceneNode[];
|
|
237
|
+
/**
|
|
238
|
+
* A wash of a colour role over the page that still separates from it: `amount`
|
|
239
|
+
* toward the page, pulled back until the wash reaches the fill-separation
|
|
240
|
+
* floor (a gap fill or a zone on a dark page).
|
|
241
|
+
* 'surface-gap' reads `surface.gapTint` from the theme each scheme paints in.
|
|
242
|
+
*/
|
|
243
|
+
export declare function separatedWashPaint(token: PaintToken, amount: number | 'surface-gap'): Paint;
|
|
244
|
+
/**
|
|
245
|
+
* The fill of a plan mark under a theme's 'solidMuted' plan look:
|
|
246
|
+
* color.inkMuted at 35 % over the background, with no outline.
|
|
247
|
+
*/
|
|
248
|
+
export declare const PLAN_MUTED_PAINT: {
|
|
249
|
+
readonly token: 'inkMuted';
|
|
250
|
+
readonly tint: 0.65;
|
|
251
|
+
};
|
|
252
|
+
/**
|
|
253
|
+
* Whether a mark in the outline notation draws solid and muted. The
|
|
254
|
+
* scene keeps `pattern: 'outline'` either way and the renderers resolve the
|
|
255
|
+
* look from the theme, as they resolve every other paint.
|
|
256
|
+
*/
|
|
257
|
+
export declare function solidMutedPlan(theme: Theme): boolean;
|
|
258
|
+
/**
|
|
259
|
+
* The fill a viewer actually SEES for a patterned mark: hatched fills render mostly background with thin colored strokes
|
|
260
|
+
* (coverage = strokeWidth / hatchGap); outlined fills render as
|
|
261
|
+
* background. Auto-ink must contrast against THIS, not the base color —
|
|
262
|
+
* otherwise a dark hatched forecast bar picks invisible white ink.
|
|
263
|
+
*/
|
|
264
|
+
export declare function effectiveFill(fill: string, pattern: 'hatch45' | 'crosshatch' | 'horizontal' | 'vertical' | 'outline' | undefined, theme: Theme): string;
|
|
265
|
+
export declare function warnColor(theme: Theme): string;
|
|
266
|
+
/** Surface anatomy with defaults (chip/badge wash, row/elapsed tints, chip radius). */
|
|
267
|
+
export declare function resolveSurface(theme: Theme): {
|
|
268
|
+
chipTint: number;
|
|
269
|
+
rowTint: number;
|
|
270
|
+
elapsedTint: number;
|
|
271
|
+
anchorTint: number;
|
|
272
|
+
bandTint: number;
|
|
273
|
+
gapTint: number;
|
|
274
|
+
ribbonAlpha: number;
|
|
275
|
+
ribbonSheetAlpha: number;
|
|
276
|
+
chipRadius: number;
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* Space tokens.
|
|
280
|
+
*
|
|
281
|
+
* ONE resolver, not four preset copies: the values are constants, so
|
|
282
|
+
* presets do not restate them (a list restated per preset drifts)
|
|
283
|
+
* and external themes may override them through the optional
|
|
284
|
+
* `theme.space.canvas` / `.gap` / `.legendRowH` fields, bounds-checked by
|
|
285
|
+
* `themeValidate`. Tier-1 tokens step by width class, not by a raw width
|
|
286
|
+
* split: `wide` = W-L (≥ 1080 px), `base` = W-S/W-M.
|
|
287
|
+
*/
|
|
288
|
+
export interface SpaceTokens {
|
|
289
|
+
margin: Margin;
|
|
290
|
+
gapTitleSubtitle: number;
|
|
291
|
+
gapSubtitlePlot: number;
|
|
292
|
+
gapAxisFootnote: number;
|
|
293
|
+
/** The gap between a key row under the plot and the footer. */
|
|
294
|
+
gapKeyFootnote: number;
|
|
295
|
+
gapFootnoteSource: number;
|
|
296
|
+
gapLegend: number;
|
|
297
|
+
legendRowH: number;
|
|
298
|
+
}
|
|
299
|
+
/** W-L begins at 1080 px canvas width. */
|
|
300
|
+
export declare const WIDE_CANVAS_MIN_WIDTH = 1080;
|
|
301
|
+
export declare function spaceTokens(theme: Theme, width: number): SpaceTokens;
|
|
302
|
+
/**
|
|
303
|
+
* The canvas margin for a chart at a given width — the single source for
|
|
304
|
+
* per-chart margins. Card-class charts (kpi, bullet) do NOT call this:
|
|
305
|
+
* they are exempt from the width classes that key the token.
|
|
306
|
+
*/
|
|
307
|
+
export declare function canvasMargin(theme: Theme, width: number): Margin;
|
|
308
|
+
/** The actual ramp entry painted after overflow, also used by theme diagnostics. */
|
|
309
|
+
export declare function seriesColorIndex(theme: Theme, index: number, ramp?: string[]): number;
|
|
310
|
+
/**
|
|
311
|
+
* The ramp rank of each series of one chart. `own[i]` is the paint of a series
|
|
312
|
+
* that does not take the ramp (an authored fill, a colorRole, the focus), else
|
|
313
|
+
* undefined. A ramp series keeps its position in the ramp unless that step
|
|
314
|
+
* resolves to the colour of an own-paint series, or to a step an earlier ramp
|
|
315
|
+
* series took; it then moves on to the next free step. Without a collision
|
|
316
|
+
* every rank is its index, as before. Past the ramp's end a series takes a step
|
|
317
|
+
* no series took; with none left it repeats or cycles per seriesOverflow.
|
|
318
|
+
*/
|
|
319
|
+
export declare function rampSlots(theme: Theme, own: readonly (Paint | undefined)[], palette?: string, repeats?: {
|
|
320
|
+
labels: readonly string[];
|
|
321
|
+
warnings: LintWarning[];
|
|
322
|
+
},
|
|
323
|
+
/** A stack's segments touch: a plain series also skips a step that is not apart from an authored colour (swatchesApart), while one is. */
|
|
324
|
+
stacked?: boolean): number[];
|
|
325
|
+
/** Resolve optional and custom status tokens through the renderer's fallback chain. */
|
|
326
|
+
export declare function resolvedPaintToken(theme: Theme, token: PaintToken): PaintToken;
|
|
327
|
+
/** Resolve one scene token without losing its symbolic identity beforehand. */
|
|
328
|
+
export declare function paintTokenColor(theme: Theme, token: PaintToken): string;
|
|
329
|
+
/** Whether a cached copy of a paint recipe still equals the recipe. */
|
|
330
|
+
export declare function sameRecipe(a: unknown, b: unknown): boolean;
|
|
331
|
+
/** Resolve the original visibility walk without storing its theme-specific result. */
|
|
332
|
+
export declare function visibleTintAmount(theme: Theme, source: Extract<ThemePaintSource, {
|
|
333
|
+
kind: 'visible-tint';
|
|
334
|
+
}>): number;
|
|
335
|
+
/** The widest wash a funnel stage takes toward its brighter pole (shadeStage). */
|
|
336
|
+
export declare const STAGE_SHADE_MAX = 0.6;
|
|
337
|
+
/** Build a computed theme paint while retaining enough recipe data for the dark pair. */
|
|
338
|
+
export declare function mixedPaint(from: Paint, to: Paint, weight: number, token?: PaintToken): Paint;
|
|
339
|
+
/** Series identity as text at 4.5:1 on the page and on each surface it may lie on (a table band or total ground). */
|
|
340
|
+
export declare function seriesTextPaint(base: Paint, surfaces?: Paint[]): Paint;
|
|
341
|
+
/** Text on an authored ground, decided again in the theme it is painted in (see the 'ground-text' recipe). */
|
|
342
|
+
export declare function groundTextPaint(near: Paint, ground: Paint, far?: Paint): Paint;
|
|
343
|
+
/** A ground needs its own ink when it crosses the page's lightness or the page ink cannot read on it. */
|
|
344
|
+
export declare function farGround(theme: Theme, ground: Paint): string | undefined;
|
|
345
|
+
/** The tone step that reads at 4.5:1 on `ground` alone, or undefined when only the pole itself would. */
|
|
346
|
+
export declare function seriesTextAlone(base: string, ground: string): string | undefined;
|
|
347
|
+
/** Select ink/inkInverse independently on each side of a validated pair. */
|
|
348
|
+
export declare function contrastInkPaint(fill: Paint, pattern?: import('./types/scene.js').HatchPattern | 'outline'): Paint;
|
|
349
|
+
/** Construct a series paint without materialising a theme hex in chart code. */
|
|
350
|
+
export declare function seriesPaint(index: number, palette?: string, scenario?: Scenario, deEmphasizePy?: boolean, surfaceFade?: boolean): Paint;
|
|
351
|
+
/**
|
|
352
|
+
* When the author makes one series the focus
|
|
353
|
+
* (colorRole 'highlight', or its id in options.highlight), the one other
|
|
354
|
+
* series without its own fill or colorRole recedes to the muted mark (a
|
|
355
|
+
* neutral grey held at 3:1, mutedMarkPaint), so
|
|
356
|
+
* the accent is the only colour that asks for attention. With two or more
|
|
357
|
+
* such series the ramp keeps them apart, so none recedes.
|
|
358
|
+
*/
|
|
359
|
+
export declare function recedingSeriesId(series: readonly {
|
|
360
|
+
id: string;
|
|
361
|
+
fill?: string;
|
|
362
|
+
colorRole?: string;
|
|
363
|
+
}[], highlights: ReadonlySet<string>): string | undefined;
|
|
364
|
+
/**
|
|
365
|
+
* A series paint on the theme's ordered ramp, for marks whose
|
|
366
|
+
* order is the encoding, such as cohorts: rung 0 of `count` is the weakest,
|
|
367
|
+
* still 3:1 on the page, and the last rung is the full mark ink. It follows
|
|
368
|
+
* the scheme, so it never needs a literal colour.
|
|
369
|
+
*/
|
|
370
|
+
export declare function orderedRampPaint(index: number, count: number, withOthers?: boolean): Paint;
|
|
371
|
+
/**
|
|
372
|
+
* A plain series of a stacked or 100% column or bar on the
|
|
373
|
+
* theme's stack ramp, dark to light in authored order. It resolves in the
|
|
374
|
+
* active theme, so a repaint follows; a theme without `color.stack` paints
|
|
375
|
+
* the series rank `slot`.
|
|
376
|
+
*/
|
|
377
|
+
export declare function stackRampPaint(index: number, count: number, slot: number): Paint;
|
|
378
|
+
/** A plain series of a stack beside authored colours (`own`, in series order): its ramp step, chosen in the active theme. */
|
|
379
|
+
export declare function stackApartPaint(own: readonly (Paint | undefined)[], index: number, slot: number, palette?: string): Paint;
|
|
380
|
+
/**
|
|
381
|
+
* A muted data mark: a receded dot, a context slope line. The
|
|
382
|
+
* neutral mark washed toward the page, pulled back until it still reaches 3:1
|
|
383
|
+
* there, so muted reads lighter and never invisible. Area fills that recede
|
|
384
|
+
* keep `rest` and the fill-separation floor.
|
|
385
|
+
*/
|
|
386
|
+
export declare function mutedMarkPaint(): Paint;
|
|
387
|
+
/** Construct a colorblind-safe judgment paint without baking its theme value. */
|
|
388
|
+
export declare function colorblindPaint(role: 'good' | 'bad', fill?: boolean): Paint;
|
|
389
|
+
/**
|
|
390
|
+
* under colorblindSafe a layout that paints its judgments in many
|
|
391
|
+
* places (the table: tone ink, heat grounds, in-cell bars, badges, washes)
|
|
392
|
+
* swaps them in one pass. Every good / bad / goodFill / badFill token in
|
|
393
|
+
* `value`, nested recipe bases included, takes theme.color.colorblind;
|
|
394
|
+
* `swapped` counts the paints it changed.
|
|
395
|
+
*/
|
|
396
|
+
export declare function colorblindRoles<T>(value: T): {
|
|
397
|
+
value: T;
|
|
398
|
+
swapped: number;
|
|
399
|
+
};
|
|
400
|
+
/** The theme with its good / bad pair (and fill pair) taken from theme.color.colorblind, for a surface that paints from theme colours (the React table). */
|
|
401
|
+
export declare function colorblindTheme(theme: Theme): Theme;
|
|
402
|
+
/** Resolve any scene paint to the color used by layout-side contrast math. */
|
|
403
|
+
export declare function paintColor(theme: Theme, paint: Paint): string;
|
|
404
|
+
/**
|
|
405
|
+
* Resolve options.palette to a named ramp. Unknown names return the default
|
|
406
|
+
* `series` ramp and report a warning through `warn` so charts surface an
|
|
407
|
+
* `unknown-palette` lint instead of silently recoloring.
|
|
408
|
+
*/
|
|
409
|
+
export declare function resolvePalette(theme: Theme, name: string | undefined, warn?: (code: string, message: string) => void): string[] | undefined;
|
|
410
|
+
export declare function resolveSemanticPaletteTheme(theme: Theme, name: string | undefined, warnings: LintWarning[]): Theme;
|
|
411
|
+
/**
|
|
412
|
+
* The colour of a mark `options.highlight` selects, for layout-side
|
|
413
|
+
* contrast choices. The mark itself always carries the `focus` token, so a
|
|
414
|
+
* scene laid out under a theme without the role repaints into one that has
|
|
415
|
+
* it; a theme without it resolves the token to its `highlight`.
|
|
416
|
+
*/
|
|
417
|
+
export declare function focusColor(theme: Theme): string;
|
|
418
|
+
/**
|
|
419
|
+
* The paint of a mark larger than a point that names a colour role:
|
|
420
|
+
* a line, area, bar, slice, cell or point group. The highlight role resolves
|
|
421
|
+
* through `focus`, which falls back to the highlight, so the highlight stays
|
|
422
|
+
* the one point accent. A `fill` (a bar, area, slice or cell) also
|
|
423
|
+
* takes good, bad and warn through their fill twins. Every other role passes.
|
|
424
|
+
*/
|
|
425
|
+
export declare function markRolePaint(role: string, fill?: boolean): Paint;
|
|
426
|
+
/**
|
|
427
|
+
* The fill of each series that draws in a colour role, by series id. Series of
|
|
428
|
+
* one chart that share a role take distinct steps of the role's colour (the
|
|
429
|
+
* pie ramp, decided in the active theme), the first series the full colour, so
|
|
430
|
+
* the reader can tell them apart by more than their order. A series with its
|
|
431
|
+
* own fill keeps it and takes no step. `fill: false` steps the role's stroke
|
|
432
|
+
* colour (a dot), as markRolePaint.
|
|
433
|
+
*/
|
|
434
|
+
export declare function colorRolePaints(series: readonly {
|
|
435
|
+
id: string;
|
|
436
|
+
colorRole?: string;
|
|
437
|
+
fill?: string;
|
|
438
|
+
}[], fill?: boolean): Map<string, Paint>;
|
|
439
|
+
/** A mark's colour role as its paint token: the neutral paints a mark through `neutralMark`. */
|
|
440
|
+
export declare function markRoleToken(role: string): PaintToken;
|
|
441
|
+
/**
|
|
442
|
+
* The paint of a large signed fill: a bar, column, area or cell
|
|
443
|
+
* that the judgment colours. It resolves `color.goodFill` / `color.badFill`,
|
|
444
|
+
* which fall back to good / bad. Text, ticks, strokes and small squares keep
|
|
445
|
+
* the `good` / `bad` tokens.
|
|
446
|
+
*/
|
|
447
|
+
export declare function signedFillPaint(tone: 'good' | 'bad'): Paint;
|
|
448
|
+
/**
|
|
449
|
+
* The paint as the given themes name it when none of them sets an optional
|
|
450
|
+
* role: every `focus` token read as `highlight`, every `spark`
|
|
451
|
+
* token as `neutralMark` and that as `neutral`, every `goodFill` / `badFill` / `warnFill` token as
|
|
452
|
+
* `good` / `bad` / `warn` and every `inkMeta` token as `inkMuted`,
|
|
453
|
+
* nested recipe bases included. The
|
|
454
|
+
* CSS-variable writers and the React scene paint use it so a theme, or a
|
|
455
|
+
* pair, that sets neither role keeps the variable names and recipe hashes it
|
|
456
|
+
* always had. Returns the paint itself when it names no such role.
|
|
457
|
+
*/
|
|
458
|
+
export declare function unsetRolesAsFallback<T>(paint: T, themes: readonly Theme[]): T;
|
|
459
|
+
/**
|
|
460
|
+
* Semantic layouts normally keep paints symbolic so the renderer owns theme
|
|
461
|
+
* resolution. A named palette is a layout option, however, and is not visible
|
|
462
|
+
* to the renderer. Materialise only the compatible semantic roles when a
|
|
463
|
+
* valid named ramp was selected; judgment roles never pass through here.
|
|
464
|
+
*/
|
|
465
|
+
export declare function semanticPalettePaint(theme: Theme, name: string | undefined, token: 'neutral' | 'neutralMark' | 'neutralLight' | 'highlight' | 'focus' | 'spark' | 'total' | 'others' | 'sequential', tintAmount?: number): Paint;
|
|
466
|
+
/**
|
|
467
|
+
* The grounds a judged cell and a size bar paint under `table.tones: 'fill'`
|
|
468
|
+
* and a cell's `bar`, one answer for both table surfaces. A key the theme
|
|
469
|
+
* leaves out washes its role toward the background.
|
|
470
|
+
*/
|
|
471
|
+
export declare function cellGrounds(theme: Theme): {
|
|
472
|
+
good: string;
|
|
473
|
+
goodStrong: string;
|
|
474
|
+
warn: string;
|
|
475
|
+
bad: string;
|
|
476
|
+
bar: string;
|
|
477
|
+
barMuted: string;
|
|
478
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One description per theme field, keyed by theme JSON path ('color.good'),
|
|
3
|
+
* and the field rows `boardplot describe theme` prints from `THEME_SHAPE`.
|
|
4
|
+
*
|
|
5
|
+
* A field that shares its description with its siblings (type roles, scale
|
|
6
|
+
* columns, table faces) is keyed with the wildcard spelled out, e.g.
|
|
7
|
+
* 'type.<role>.size'; its shape node names that key in `doc`.
|
|
8
|
+
*/
|
|
9
|
+
import type { SchemaFieldReference } from './schema/reference.js';
|
|
10
|
+
/** The `describe theme` rows: one per object key in `THEME_SHAPE`, with the value in `defaults` as its default. */
|
|
11
|
+
export declare function themeFieldReference(defaults: unknown): SchemaFieldReference[];
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Theme validation — the guardrails of the design interface. A theme JSON
|
|
3
|
+
* from any source (designer, Claude Design, brand-ingestion agent) passes
|
|
4
|
+
* through schema + perceptual lints before it can touch a chart. Layout is
|
|
5
|
+
* unreachable from here by construction: themes carry only tokens.
|
|
6
|
+
*/
|
|
7
|
+
import type { LintWarning } from './types/scene.js';
|
|
8
|
+
import type { Theme } from './types/theme.js';
|
|
9
|
+
/** The paint roles and chart types present in a render. Omitted for full theme validation. */
|
|
10
|
+
export interface ThemeUsage {
|
|
11
|
+
roles: ReadonlySet<string>;
|
|
12
|
+
types: ReadonlySet<string>;
|
|
13
|
+
series?: ReadonlyMap<string, ReadonlySet<string>>;
|
|
14
|
+
}
|
|
15
|
+
export declare const PALETTE_NORMAL_FLOOR = 12;
|
|
16
|
+
export declare const PALETTE_CVD_FLOOR = 6;
|
|
17
|
+
export declare const PALETTE_TRITAN_FLOOR = 4;
|
|
18
|
+
/** Two colours shown side by side meet the swatch floor: 12 normal, 6 protan and deutan, 4 tritan. */
|
|
19
|
+
export declare function swatchApart(a: string, b: string): boolean;
|
|
20
|
+
type PaletteVision = 'normal' | 'protan' | 'deutan' | 'tritan';
|
|
21
|
+
export declare const FONT_FAMILY_MAX_LENGTH = 240;
|
|
22
|
+
/** The published font-family grammar. Anchored, ASCII-only, no backtracking. */
|
|
23
|
+
export declare const FONT_FAMILY_PATTERN: RegExp;
|
|
24
|
+
export declare const FONT_FAMILY_GRAMMAR = "comma-separated ASCII family names: unquoted idents (Arial, -apple-system, Helvetica Neue) or quoted names ('Helvetica Neue', \"Acme, Display\"), plus a generic (sans-serif)";
|
|
25
|
+
/** True when `value` is a font-family list inside the allowlisted grammar. */
|
|
26
|
+
export declare function isSafeFontFamily(value: string): boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Fail-closed accessor used by every surface that PAINTS the family into CSS
|
|
29
|
+
* (HTML table stylesheet, theme stylesheet). Mirrors `checkedColor` on the
|
|
30
|
+
* SVG side: a theme that never went through `parseThemeJson` still cannot
|
|
31
|
+
* smuggle markup past this point.
|
|
32
|
+
*/
|
|
33
|
+
export declare function checkedFontFamily(value: string): string;
|
|
34
|
+
export declare const SHADOW_MAX_LENGTH = 400;
|
|
35
|
+
/** The published shadow grammar: `none` or comma-separated layers. */
|
|
36
|
+
export declare const SHADOW_PATTERN: RegExp;
|
|
37
|
+
export declare const SHADOW_GRAMMAR = "'none' or comma-separated box-shadow layers: optional 'inset', 2-4 px lengths, then a hex/rgb()/rgba() color (e.g. '0 1px 2px rgba(13,42,67,0.10)')";
|
|
38
|
+
export declare const MOTION_EASING_MAX_LENGTH = 64;
|
|
39
|
+
/** The published easing grammar: a keyword or a four-point cubic-bezier(). */
|
|
40
|
+
export declare const MOTION_EASING_PATTERN: RegExp;
|
|
41
|
+
export declare const MOTION_EASING_GRAMMAR = "'linear', 'ease-out', or a cubic-bezier() with four numeric control points (e.g. 'cubic-bezier(.2,.7,.2,1)')";
|
|
42
|
+
/**
|
|
43
|
+
* Fail-closed accessor for every surface that PAINTS the easing into CSS
|
|
44
|
+
* (the table stylesheet's transitions). Mirrors `checkedCssColor`.
|
|
45
|
+
*/
|
|
46
|
+
export declare function checkedMotionEasing(value: string): string;
|
|
47
|
+
/**
|
|
48
|
+
* Perceptual lints. Severity 'error' blocks (`--validate` exits 1);
|
|
49
|
+
* 'warn' ships but is reported.
|
|
50
|
+
*/
|
|
51
|
+
export declare function judgmentErasure(key: string, mark: string, background: string): LintWarning | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Fill readability, kept apart from text contrast.
|
|
54
|
+
*
|
|
55
|
+
* The checks above answer "can a reader still see the text": `ink` and
|
|
56
|
+
* `inkMuted` are gated against the background, and `contrast-inside-label`
|
|
57
|
+
* gates the ink that sits ON a fill. Neither one says anything about whether a
|
|
58
|
+
* FILL itself separates from the surface, which is the channel a pale PY or
|
|
59
|
+
* Others mark actually uses. So this check names that channel explicitly and
|
|
60
|
+
* reports it as `fill-separation`, never as a text-contrast failure.
|
|
61
|
+
*
|
|
62
|
+
* A fill that sinks into the surface is still a legitimate rendering: under
|
|
63
|
+
* PL notation the library paints those marks background-coloured on
|
|
64
|
+
* purpose, and the position, label and hatch outline carry the reading. The
|
|
65
|
+
* finding therefore stays a WARN and its suggestion names the qualifying cue
|
|
66
|
+
* (an outline or a hatch pattern) instead of asking for a text-level ratio.
|
|
67
|
+
*
|
|
68
|
+
* THE FLOOR (measured over the shipped presets): the lowest
|
|
69
|
+
* separation any preset ships is `others` at 1.14
|
|
70
|
+
* (standard). 1.1 reports none of them while still catching a fill
|
|
71
|
+
* that is effectively the background, which is the defect this check exists
|
|
72
|
+
* for. A preset that drops below it fails the pinned warning counts in
|
|
73
|
+
* tests/theme-presets-validate.test.ts, so the number can only move on purpose.
|
|
74
|
+
*/
|
|
75
|
+
/** The fill-separation floor: a fill under it is effectively the background. */
|
|
76
|
+
export declare const FILL_SEPARATION_FLOOR = 1.1;
|
|
77
|
+
export declare function fillReadabilityWarnings(theme: Theme, usage?: ThemeUsage): LintWarning[];
|
|
78
|
+
/**
|
|
79
|
+
* THE COLOUR CHECK. Every
|
|
80
|
+
* number, name and colour a theme paints has to be readable without guessing:
|
|
81
|
+
*
|
|
82
|
+
* 1. ink-on-fill: on every fill text can sit on, the theme ink, the inverse
|
|
83
|
+
* ink or an on-fill ink (near-black, or white on a dark theme's mid-tone
|
|
84
|
+
* fill) reaches 4.5:1 (WCAG AA body text).
|
|
85
|
+
* 2. tone-text-contrast: good, bad and warn printed as text reach 4.5:1 on
|
|
86
|
+
* the background and on their own chip tint.
|
|
87
|
+
* 3. series-invisible (floor 3 here): series and the neutral mark
|
|
88
|
+
* reach 3:1 as marks (WCAG 2.2 SC 1.4.11); markInk and reference have
|
|
89
|
+
* their own 3:1 checks above.
|
|
90
|
+
* 4. swatch-similar: the colours one chart shows side by side meet the swatch
|
|
91
|
+
* floor pairwise (12 normal, 6 protan and deutan, 4 tritan; the series
|
|
92
|
+
* ramp keeps its own series-similar check).
|
|
93
|
+
* 5. ramp-order: the sequential ramp and each side of the diverging ramp
|
|
94
|
+
* rise in contrast against the page class by class and neighbouring
|
|
95
|
+
* classes stay 6 OKLab apart; the sequential ramp's top class reaches 3:1.
|
|
96
|
+
* 6. accent-reads-as-loss: the accent, the selection colour, the first series, the neutral mark and the ramp base neither
|
|
97
|
+
* read as loss nor sit within 40 degrees of OKLCH hue of bad. Warn and the
|
|
98
|
+
* semantic negatives are exempt.
|
|
99
|
+
*
|
|
100
|
+
* Warn level, so a host's own theme gets them as diagnostics and still draws;
|
|
101
|
+
* tests/theme-presets-validate.test.ts holds the six gallery presets to zero.
|
|
102
|
+
*/
|
|
103
|
+
export declare const TEXT_CONTRAST_FLOOR = 4.5;
|
|
104
|
+
export declare const MARK_CONTRAST_FLOOR = 3;
|
|
105
|
+
export declare const COLOUR_CHECK_CODES: readonly ['ink-on-fill', 'tone-text-contrast', 'series-invisible', 'mark-ink-invisible', 'contrast-reference', 'series-similar', 'swatch-similar', 'ramp-order', 'accent-reads-as-loss', 'highlight-bad-similar', 'fill-separation', 'semantic-invisible'];
|
|
106
|
+
export declare function validateTheme(theme: Theme, usage?: ThemeUsage, measuredFamilies?: readonly string[]): LintWarning[];
|
|
107
|
+
/** OKLab DeltaE x100 under normal vision or a severity-1 CVD simulation transform. */
|
|
108
|
+
export declare function palettePerceptualDistance(a: string, b: string, vision?: PaletteVision): number;
|
|
109
|
+
/** Lightness comparisons do not need chroma and hue calculations. */
|
|
110
|
+
export declare function oklabLightness(hex: string): number | null;
|
|
111
|
+
export {};
|