boardplot 0.0.0-stage → 0.52.5
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 +18 -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-VUNSFKZY.js +137 -0
- package/dist/annotateEngine-H7OW4H3W.js +30 -0
- package/dist/build-identity.json +6 -0
- package/dist/chunk-24WB3HMB.js +621 -0
- package/dist/chunk-263SZKIL.js +8 -0
- package/dist/chunk-27QQEWNV.js +18 -0
- package/dist/chunk-2AKWCMS4.js +24 -0
- package/dist/chunk-2DHJJ2EN.js +24 -0
- package/dist/chunk-2EQE4E3I.js +22 -0
- package/dist/chunk-2GELJH37.js +88 -0
- package/dist/chunk-2JAWQ7VV.js +3874 -0
- package/dist/chunk-2LMCD3ZR.js +6 -0
- package/dist/chunk-2MTWKMEG.js +841 -0
- package/dist/chunk-2SGIHKKU.js +33 -0
- package/dist/chunk-2UVTHU7A.js +1146 -0
- package/dist/chunk-33CBPK5Q.js +2800 -0
- package/dist/chunk-33PLBIMA.js +176 -0
- package/dist/chunk-35DZP2R2.js +22 -0
- package/dist/chunk-3D3D3D23.js +25 -0
- package/dist/chunk-3EZRM4YM.js +92 -0
- package/dist/chunk-3GZECHOK.js +802 -0
- package/dist/chunk-3HHNQPAH.js +68 -0
- package/dist/chunk-3I6RANBJ.js +1058 -0
- package/dist/chunk-3SIRPKMP.js +12 -0
- package/dist/chunk-3W23F7EY.js +185 -0
- package/dist/chunk-3XQ635KD.js +24 -0
- package/dist/chunk-3ZCKEANJ.js +24 -0
- package/dist/chunk-4DNOEV3Q.js +25857 -0
- package/dist/chunk-4GB7TBY7.js +373 -0
- package/dist/chunk-4SM2ONUC.js +18 -0
- package/dist/chunk-5C7TWNYZ.js +79 -0
- package/dist/chunk-5DJXJXDE.js +58 -0
- package/dist/chunk-5ENRZX6I.js +687 -0
- package/dist/chunk-5KWXRYAT.js +294 -0
- package/dist/chunk-5T5YW52S.js +47 -0
- package/dist/chunk-627P6T25.js +936 -0
- package/dist/chunk-62FR4FYJ.js +23 -0
- package/dist/chunk-6JUJ2DU3.js +67 -0
- package/dist/chunk-6KWIQ5KF.js +18 -0
- package/dist/chunk-6UBEGKIQ.js +25 -0
- package/dist/chunk-6XE3GVGU.js +116 -0
- package/dist/chunk-76ANFJOI.js +227 -0
- package/dist/chunk-7IFLQMJL.js +160 -0
- package/dist/chunk-7JVAQX6C.js +28 -0
- package/dist/chunk-7QDAHY5M.js +63 -0
- package/dist/chunk-7VXZDB45.js +149 -0
- package/dist/chunk-7X65ZQN4.js +38 -0
- package/dist/chunk-A2FHZH7E.js +1410 -0
- package/dist/chunk-A372DLQX.js +54 -0
- package/dist/chunk-A3ULWR5N.js +76 -0
- package/dist/chunk-A4QZXLXF.js +7 -0
- package/dist/chunk-A5JWFZVU.js +1467 -0
- package/dist/chunk-A5LZUYK4.js +59 -0
- package/dist/chunk-A6XCAQ52.js +89 -0
- package/dist/chunk-A7A4PDG5.js +24 -0
- package/dist/chunk-A7IEVBYI.js +35 -0
- package/dist/chunk-ACXX2JNL.js +6 -0
- package/dist/chunk-AFK47A6O.js +25 -0
- package/dist/chunk-ALKTNXMR.js +3650 -0
- package/dist/chunk-AOQ6VF5H.js +6 -0
- package/dist/chunk-ASAON7G4.js +648 -0
- package/dist/chunk-ATTE3FYC.js +24 -0
- package/dist/chunk-AZOUSKZD.js +728 -0
- package/dist/chunk-B2EBEXIS.js +113 -0
- package/dist/chunk-B67K5X4M.js +58 -0
- package/dist/chunk-BBL3R5YZ.js +186 -0
- package/dist/chunk-BIDIGDGH.js +6 -0
- package/dist/chunk-BKYMLFUG.js +69 -0
- package/dist/chunk-BLFWUMTD.js +12 -0
- package/dist/chunk-BM6SFFWF.js +6 -0
- package/dist/chunk-BUPLB3EX.js +129 -0
- package/dist/chunk-BVWU6GOB.js +47 -0
- package/dist/chunk-BW5VLBSZ.js +15 -0
- package/dist/chunk-C64FBRJO.js +290 -0
- package/dist/chunk-CAE2HK2G.js +295 -0
- package/dist/chunk-CCQNL33L.js +446 -0
- package/dist/chunk-CDZHNLO6.js +42 -0
- package/dist/chunk-COKHNEJP.js +24 -0
- package/dist/chunk-COYPDRJK.js +21 -0
- package/dist/chunk-CRZKGHZ6.js +1810 -0
- package/dist/chunk-CS4DHFNG.js +128 -0
- package/dist/chunk-CYDZP5W6.js +1589 -0
- package/dist/chunk-D4BIV6WG.js +1072 -0
- package/dist/chunk-D4SOADBD.js +19 -0
- package/dist/chunk-DCCJRLAJ.js +422 -0
- package/dist/chunk-DFKTS6XJ.js +75 -0
- package/dist/chunk-DGDOGOTQ.js +25 -0
- package/dist/chunk-DLC23CKC.js +53 -0
- package/dist/chunk-DRTA6JG5.js +160 -0
- package/dist/chunk-DVKBU23L.js +97 -0
- package/dist/chunk-E2HEVF23.js +692 -0
- package/dist/chunk-EC2NAYPQ.js +24 -0
- package/dist/chunk-EKQK5D6G.js +14 -0
- package/dist/chunk-EKQMYG2B.js +2353 -0
- package/dist/chunk-ELYU6TRQ.js +98 -0
- package/dist/chunk-EQT3EPTB.js +203 -0
- package/dist/chunk-ERAIVAK5.js +1359 -0
- package/dist/chunk-ETHWK2RZ.js +16 -0
- package/dist/chunk-EWVKBRLV.js +72 -0
- package/dist/chunk-F77BNDAT.js +43 -0
- package/dist/chunk-FGAGGPFF.js +566 -0
- package/dist/chunk-FIANWJXX.js +19 -0
- package/dist/chunk-FIWNDOMO.js +6 -0
- package/dist/chunk-FOKEGVPB.js +24 -0
- package/dist/chunk-FT3F72C3.js +30 -0
- package/dist/chunk-FT47HQ5U.js +47 -0
- package/dist/chunk-GDOW2KNP.js +19 -0
- package/dist/chunk-GDQ3NGDZ.js +17 -0
- package/dist/chunk-GH3ZMBFX.js +563 -0
- package/dist/chunk-GQPESFAF.js +3378 -0
- package/dist/chunk-GQS46LC3.js +50 -0
- package/dist/chunk-GULJ6KVT.js +587 -0
- package/dist/chunk-GWQIXU37.js +2774 -0
- package/dist/chunk-GZ2VNM4L.js +24 -0
- package/dist/chunk-GZ4RHGIW.js +836 -0
- package/dist/chunk-H4H4O62O.js +46 -0
- package/dist/chunk-H57TJD3B.js +72 -0
- package/dist/chunk-H7UZZ7KP.js +24 -0
- package/dist/chunk-HAAUJDGB.js +83 -0
- package/dist/chunk-HFG76JTS.js +296 -0
- package/dist/chunk-HJXXFPOL.js +211 -0
- package/dist/chunk-HTYFQHRC.js +24 -0
- package/dist/chunk-HUF6TQ2J.js +24 -0
- package/dist/chunk-HUFCSX2Y.js +89 -0
- package/dist/chunk-HX3MQ3H4.js +26 -0
- package/dist/chunk-HZQEQ34U.js +296 -0
- package/dist/chunk-I322G5UG.js +888 -0
- package/dist/chunk-IDDA5INB.js +60 -0
- package/dist/chunk-IDTLHPTK.js +60 -0
- package/dist/chunk-II7652VA.js +2918 -0
- package/dist/chunk-IN4QT33I.js +38 -0
- package/dist/chunk-IV2UXZXX.js +16 -0
- package/dist/chunk-IXSZ7OKR.js +133 -0
- package/dist/chunk-IYEFEBRN.js +41 -0
- package/dist/chunk-IZ35GMGB.js +2543 -0
- package/dist/chunk-IZCOG3FS.js +28 -0
- package/dist/chunk-JA755JHN.js +379 -0
- package/dist/chunk-JETXFF3M.js +33 -0
- package/dist/chunk-JFBEAUJ6.js +24 -0
- package/dist/chunk-JFG4DHKQ.js +48 -0
- package/dist/chunk-JL5BRMDT.js +179 -0
- package/dist/chunk-JLCAWQ3H.js +195 -0
- package/dist/chunk-JLZM7XMZ.js +525 -0
- package/dist/chunk-JMH5MD5A.js +19 -0
- package/dist/chunk-JRPI64AQ.js +3066 -0
- package/dist/chunk-JSX3C6LL.js +344 -0
- package/dist/chunk-JY4R3GML.js +83 -0
- package/dist/chunk-JYBT2JNY.js +61 -0
- package/dist/chunk-K2HNV4LE.js +2008 -0
- package/dist/chunk-KAXJFL7N.js +43 -0
- package/dist/chunk-KDMKHR5A.js +32 -0
- package/dist/chunk-KFFNCDX6.js +19 -0
- package/dist/chunk-KKWZWP67.js +24 -0
- package/dist/chunk-KOJ5QETJ.js +8 -0
- package/dist/chunk-KPMGGE4W.js +51 -0
- package/dist/chunk-KS7DXCXH.js +27 -0
- package/dist/chunk-KSYVTEKR.js +24 -0
- package/dist/chunk-KU4YS6HN.js +61 -0
- package/dist/chunk-KYELSLDJ.js +40 -0
- package/dist/chunk-LC3PSQJJ.js +383 -0
- package/dist/chunk-LC6DYCTG.js +85 -0
- package/dist/chunk-LNKY5Z2X.js +23 -0
- package/dist/chunk-LO2DANS6.js +302 -0
- package/dist/chunk-M4SPKUZE.js +7 -0
- package/dist/chunk-M4YLED7M.js +17 -0
- package/dist/chunk-M6KTNAND.js +746 -0
- package/dist/chunk-MCOIEWW6.js +54 -0
- package/dist/chunk-MDYLOIS2.js +48 -0
- package/dist/chunk-MEISCROL.js +24 -0
- package/dist/chunk-MFLH5ZDQ.js +69 -0
- package/dist/chunk-MIXKQJ64.js +935 -0
- package/dist/chunk-MJMJEURO.js +359 -0
- package/dist/chunk-MNJ2DHU6.js +526 -0
- package/dist/chunk-NEVSQGOI.js +63 -0
- package/dist/chunk-NG5IGZXC.js +1179 -0
- package/dist/chunk-NLOMCLKI.js +3303 -0
- package/dist/chunk-NMCOUVN5.js +24 -0
- package/dist/chunk-NT3HAZYT.js +51 -0
- package/dist/chunk-NXNQQ3DS.js +382 -0
- package/dist/chunk-NYEY6W5R.js +569 -0
- package/dist/chunk-OAPCJO6W.js +23 -0
- package/dist/chunk-OH7FA4TF.js +251 -0
- package/dist/chunk-OLNORNCT.js +331 -0
- package/dist/chunk-OQEBOVUO.js +30 -0
- package/dist/chunk-ORUJI3VB.js +83 -0
- package/dist/chunk-PEN2DK7T.js +49 -0
- package/dist/chunk-PGIQMQRU.js +1650 -0
- package/dist/chunk-PTVOXB5T.js +39 -0
- package/dist/chunk-PUVGWJQ5.js +24 -0
- package/dist/chunk-PWROWDZS.js +137 -0
- package/dist/chunk-Q6XJOJTY.js +29 -0
- package/dist/chunk-QBR6IKIX.js +50 -0
- package/dist/chunk-QETGGFH2.js +30 -0
- package/dist/chunk-QG6MOQLI.js +2934 -0
- package/dist/chunk-QGCEHR6S.js +13 -0
- package/dist/chunk-QHFQHQDC.js +43 -0
- package/dist/chunk-QHRE2M6V.js +26 -0
- package/dist/chunk-QKL7IY42.js +38 -0
- package/dist/chunk-QN6JHMGU.js +44 -0
- package/dist/chunk-QNHZXFRA.js +347 -0
- package/dist/chunk-QPWRHDLZ.js +17 -0
- package/dist/chunk-QVABTUDS.js +80 -0
- package/dist/chunk-QXILAMAU.js +28 -0
- package/dist/chunk-QZAT46PP.js +95 -0
- package/dist/chunk-R3WI7ZLE.js +545 -0
- package/dist/chunk-R5SWC3EW.js +30 -0
- package/dist/chunk-RJQ5YS3Q.js +40 -0
- package/dist/chunk-RNOD2UWF.js +613 -0
- package/dist/chunk-RNXITK5M.js +24 -0
- package/dist/chunk-ROXO4R3J.js +16 -0
- package/dist/chunk-RQ5DNYLG.js +10 -0
- package/dist/chunk-RSWVH7DB.js +24 -0
- package/dist/chunk-RTJXOIIQ.js +12 -0
- package/dist/chunk-RZNYW7UP.js +133 -0
- package/dist/chunk-S4F27M7N.js +37 -0
- package/dist/chunk-S4ONWRJE.js +28 -0
- package/dist/chunk-S53OGZL6.js +168 -0
- package/dist/chunk-S5ADHIZK.js +2508 -0
- package/dist/chunk-S62M63LU.js +19 -0
- package/dist/chunk-S7VDRUED.js +62 -0
- package/dist/chunk-SGD3ZHID.js +250 -0
- package/dist/chunk-SGSPYHFE.js +40 -0
- package/dist/chunk-SLTMRTXV.js +597 -0
- package/dist/chunk-SXGTRZFN.js +26 -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-TNEHPP3H.js +18 -0
- package/dist/chunk-TPYV2FTV.js +25 -0
- package/dist/chunk-TPZB2YWR.js +25 -0
- package/dist/chunk-TSR5YDPS.js +1266 -0
- package/dist/chunk-TTR7EWNH.js +170 -0
- package/dist/chunk-TVHLKVUO.js +24 -0
- package/dist/chunk-TXINIAFL.js +198 -0
- package/dist/chunk-TXZBBZOG.js +58 -0
- package/dist/chunk-UEU46Q3D.js +300 -0
- package/dist/chunk-UMDEWWXT.js +33 -0
- package/dist/chunk-UQSVWO7Z.js +334 -0
- package/dist/chunk-UZF3G2FN.js +942 -0
- package/dist/chunk-V422EKLW.js +24 -0
- package/dist/chunk-V4DYVLOO.js +433 -0
- package/dist/chunk-V4VC25UL.js +128 -0
- package/dist/chunk-V667FCIJ.js +12 -0
- package/dist/chunk-VABRPZVC.js +43 -0
- package/dist/chunk-VB2MJLET.js +19 -0
- package/dist/chunk-VDAKTZQP.js +18 -0
- package/dist/chunk-VDAZPGR2.js +79 -0
- package/dist/chunk-VXZFQKBJ.js +21 -0
- package/dist/chunk-VYMGZ27S.js +133 -0
- package/dist/chunk-W2RGSGRR.js +131 -0
- package/dist/chunk-W7UZXD5D.js +1109 -0
- package/dist/chunk-WDUNR2VI.js +2718 -0
- package/dist/chunk-WHSTEAVP.js +229 -0
- package/dist/chunk-WJMUMN3I.js +127 -0
- package/dist/chunk-WLZ54FWG.js +120 -0
- package/dist/chunk-WMJPFLF3.js +2980 -0
- package/dist/chunk-WRHFBCVY.js +24 -0
- package/dist/chunk-WVSNSWBJ.js +47 -0
- package/dist/chunk-WYJEOMNY.js +31 -0
- package/dist/chunk-WYJMV62X.js +24 -0
- package/dist/chunk-WZGJSQKN.js +29 -0
- package/dist/chunk-WZL4EEBS.js +11 -0
- package/dist/chunk-X7TXGKRX.js +272 -0
- package/dist/chunk-XB4KZ6WO.js +81 -0
- package/dist/chunk-XDLQRSSH.js +266 -0
- package/dist/chunk-XDS4UZGR.js +113 -0
- package/dist/chunk-XEGRWWNO.js +30 -0
- package/dist/chunk-XO5ONLVM.js +420 -0
- package/dist/chunk-XPWRD424.js +24 -0
- package/dist/chunk-XTNV2YMB.js +50 -0
- package/dist/chunk-XW5J5JAX.js +42 -0
- package/dist/chunk-XY5O74BH.js +33 -0
- package/dist/chunk-XYONCO5Q.js +984 -0
- package/dist/chunk-Y4PXIJMD.js +829 -0
- package/dist/chunk-YAYRRKC7.js +24 -0
- package/dist/chunk-YEDYBMCW.js +210 -0
- package/dist/chunk-YFG4E3N2.js +1161 -0
- package/dist/chunk-YHTO46W2.js +2670 -0
- package/dist/chunk-YI2ZVTCB.js +38 -0
- package/dist/chunk-YKO3VCTF.js +24 -0
- package/dist/chunk-YP3I6W7T.js +24 -0
- package/dist/chunk-YQ2B3YVF.js +687 -0
- package/dist/chunk-YS6KMYM4.js +91 -0
- package/dist/chunk-YTSSXSZR.js +197 -0
- package/dist/chunk-Z256ACGC.js +27 -0
- package/dist/chunk-Z2MGTKDR.js +20 -0
- package/dist/chunk-Z5VSLLNY.js +23 -0
- package/dist/chunk-Z7X3RGGA.js +22 -0
- package/dist/chunk-ZF43WRG3.js +29 -0
- package/dist/chunk-ZJKOLOVF.js +1754 -0
- package/dist/chunk-ZQ4VFQID.js +76 -0
- package/dist/chunk-ZSLGN6CO.js +89 -0
- package/dist/chunk-ZVTFZF4V.js +542 -0
- package/dist/cli/index.js +9 -0
- package/dist/core-5Z6UW5DS.js +31 -0
- package/dist/core-6ANZ2OWO.js +40 -0
- package/dist/core-6LLJNZ4O.js +37 -0
- package/dist/core-CPN2HF75.js +33 -0
- package/dist/core-CS7AKNME.js +37 -0
- package/dist/core-DBRILYNB.js +38 -0
- package/dist/core-DU77ZYPR.js +34 -0
- package/dist/core-E6YD7VU4.js +32 -0
- package/dist/core-EE55P6XK.js +56 -0
- package/dist/core-FFLPH5XK.js +41 -0
- package/dist/core-IV26EL5C.js +32 -0
- package/dist/core-IZVZ2B7Y.js +34 -0
- package/dist/core-JQV7STNF.js +34 -0
- package/dist/core-KBH3EJZV.js +32 -0
- package/dist/core-KFBW5PRT.js +36 -0
- package/dist/core-KWGXHBJE.js +37 -0
- package/dist/core-MZMR2DF4.js +32 -0
- package/dist/core-OK2ZY5OJ.js +29 -0
- package/dist/core-OV5MPTZP.js +43 -0
- package/dist/core-OW5V74Q4.js +40 -0
- package/dist/core-PL64QPOH.js +57 -0
- package/dist/core-PVINU5JJ.js +33 -0
- package/dist/core-QUYSNTC7.js +34 -0
- package/dist/core-RE3L6YCM.js +29 -0
- package/dist/core-RUA3EWW3.js +39 -0
- package/dist/core-RY6IFRKM.js +35 -0
- package/dist/core-SCWEVNUY.js +34 -0
- package/dist/core-SE67HHFG.js +55 -0
- package/dist/core-T5Q4DSH2.js +32 -0
- package/dist/core-TJX3I7KH.js +37 -0
- package/dist/core-ULUA5ZB2.js +55 -0
- package/dist/core-WLVU2HWX.js +46 -0
- package/dist/core-WQPHNVNY.js +51 -0
- package/dist/core-XXIOJY2X.js +52 -0
- package/dist/core-ZH7XTJTD.js +39 -0
- package/dist/core-ZHE7N4NS.js +50 -0
- package/dist/core-ZJYLJWZQ.js +38 -0
- package/dist/dataTable-IL7HVDHL.js +58 -0
- package/dist/engine-MYLZI5VH.js +961 -0
- package/dist/fixtures.d.ts +1 -0
- package/dist/fixtures.js +40 -0
- package/dist/fontTables-ZYBUCJ5N.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 +363 -0
- package/dist/main-ISJ53IS5.js +568 -0
- package/dist/mcp/server.js +1023 -0
- package/dist/module-SVEW5ZUE.js +137233 -0
- package/dist/react/bar.d.ts +1 -0
- package/dist/react/bar.js +80 -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 +64 -0
- package/dist/react/bullet.d.ts +1 -0
- package/dist/react/bullet.js +71 -0
- package/dist/react/butterfly.d.ts +1 -0
- package/dist/react/butterfly.js +65 -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 +69 -0
- package/dist/react/column.d.ts +1 -0
- package/dist/react/column.js +85 -0
- package/dist/react/combo.d.ts +1 -0
- package/dist/react/combo.js +85 -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 +71 -0
- package/dist/react/dot.d.ts +1 -0
- package/dist/react/dot.js +69 -0
- package/dist/react/export.d.ts +1 -0
- package/dist/react/export.js +657 -0
- package/dist/react/funnel.d.ts +1 -0
- package/dist/react/funnel.js +62 -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 +66 -0
- package/dist/react/heatmap.d.ts +1 -0
- package/dist/react/heatmap.js +67 -0
- package/dist/react/histogram.d.ts +1 -0
- package/dist/react/histogram.js +85 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +503 -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 +82 -0
- package/dist/react/line.d.ts +1 -0
- package/dist/react/line.js +80 -0
- package/dist/react/mekko.d.ts +1 -0
- package/dist/react/mekko.js +70 -0
- package/dist/react/pareto.d.ts +1 -0
- package/dist/react/pareto.js +89 -0
- package/dist/react/pie.d.ts +1 -0
- package/dist/react/pie.js +63 -0
- package/dist/react/prepare.d.ts +1 -0
- package/dist/react/prepare.js +277 -0
- package/dist/react/pvm.d.ts +1 -0
- package/dist/react/pvm.js +67 -0
- package/dist/react/pyramid.d.ts +1 -0
- package/dist/react/pyramid.js +66 -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 +62 -0
- package/dist/react/slope.d.ts +1 -0
- package/dist/react/slope.js +63 -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 +370 -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 +68 -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 +64 -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 +67 -0
- package/dist/resvg-ZOVDIZTV.js +23 -0
- package/dist/rows.d.ts +1 -0
- package/dist/rows.js +23 -0
- package/dist/rowsModule-3Y4I3M3E.js +27 -0
- package/dist/schema-2BMZOHXI.js +22 -0
- package/dist/schema-2GUBWOBC.js +26 -0
- package/dist/schema-34ZELWRQ.js +25 -0
- package/dist/schema-3BHL2B76.js +22 -0
- package/dist/schema-4735XAZX.js +29 -0
- package/dist/schema-5YTNQ6JY.js +22 -0
- package/dist/schema-7J3NAIN2.js +27 -0
- package/dist/schema-AOJJ7JZB.js +22 -0
- package/dist/schema-CVMV4LRA.js +22 -0
- package/dist/schema-D3RCMN3T.js +22 -0
- package/dist/schema-E2ISJ65D.js +23 -0
- package/dist/schema-E6YOSOWB.js +28 -0
- package/dist/schema-EQQB43AY.js +22 -0
- package/dist/schema-EVLLL5UF.js +22 -0
- package/dist/schema-EYQ5IBLF.js +23 -0
- package/dist/schema-EYZVD73N.js +22 -0
- package/dist/schema-G4KFMQBL.js +22 -0
- package/dist/schema-GH7IKSOU.js +23 -0
- package/dist/schema-IF5N3J56.js +42 -0
- package/dist/schema-IG7JIR4H.js +23 -0
- package/dist/schema-JJYJOQTT.js +23 -0
- package/dist/schema-KFC4WYH4.js +32 -0
- package/dist/schema-L7263JMT.js +25 -0
- package/dist/schema-MEAFRXVH.js +53 -0
- package/dist/schema-P63S63GE.js +23 -0
- package/dist/schema-P7LJFJAJ.js +22 -0
- package/dist/schema-PA2MXYY4.js +23 -0
- package/dist/schema-PDZ6256H.js +23 -0
- package/dist/schema-PNC3Z7AH.js +25 -0
- package/dist/schema-QEVSIMGO.js +22 -0
- package/dist/schema-QJJPRRE7.js +22 -0
- package/dist/schema-S3EQKVOT.js +23 -0
- package/dist/schema-STGL44TL.js +22 -0
- package/dist/schema-T4NE2EAO.js +22 -0
- package/dist/schema-TQYTESG3.js +22 -0
- package/dist/schema-W376PAJG.js +22 -0
- package/dist/schema-XYYDUUHS.js +26 -0
- package/dist/specValidation-NVBIZMEE.js +48 -0
- package/dist/theme.d.ts +1 -0
- package/dist/theme.js +24 -0
- package/dist/themeShapeRules-5C2463YH.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 +56 -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 +302 -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 +380 -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 +45 -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 +223 -0
- package/dist/types/core/types/cell.d.ts +82 -0
- package/dist/types/core/types/data.d.ts +309 -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 +65 -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 +58 -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 +222 -0
- package/docs/FONTS.md +68 -0
- package/docs/TELEMETRY.md +94 -0
- package/docs/manual.md +838 -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 +1088 -0
- package/docs/reference/funnel.md +121 -0
- package/docs/reference/gantt.md +132 -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 +703 -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,566 @@
|
|
|
1
|
+
import {
|
|
2
|
+
interactionTokens
|
|
3
|
+
} from "./chunk-TNEHPP3H.js";
|
|
4
|
+
import {
|
|
5
|
+
INLINE_LINE_RATIO,
|
|
6
|
+
LINE_BOX_EPSILON,
|
|
7
|
+
LINE_RATIO,
|
|
8
|
+
levelLadder,
|
|
9
|
+
tableDisplayFloor,
|
|
10
|
+
tableFootnotes,
|
|
11
|
+
tableFrameMode
|
|
12
|
+
} from "./chunk-IZ35GMGB.js";
|
|
13
|
+
import {
|
|
14
|
+
CHANGE_LINE_MIN_PX,
|
|
15
|
+
CHANGE_LINE_SIZE_STEP_PX,
|
|
16
|
+
ENGINE_NOTES,
|
|
17
|
+
INLINE_LABEL_INDENT,
|
|
18
|
+
changeLineFont,
|
|
19
|
+
tableFonts
|
|
20
|
+
} from "./chunk-QNHZXFRA.js";
|
|
21
|
+
import {
|
|
22
|
+
chipPaints,
|
|
23
|
+
onTableGround,
|
|
24
|
+
tableGround,
|
|
25
|
+
toneTextPaint
|
|
26
|
+
} from "./chunk-A3ULWR5N.js";
|
|
27
|
+
import {
|
|
28
|
+
tableInk
|
|
29
|
+
} from "./chunk-Z2MGTKDR.js";
|
|
30
|
+
import {
|
|
31
|
+
isSafeSvgColor,
|
|
32
|
+
numericVariant,
|
|
33
|
+
resolvePaint
|
|
34
|
+
} from "./chunk-2JAWQ7VV.js";
|
|
35
|
+
import {
|
|
36
|
+
defaultNotePlacement,
|
|
37
|
+
footerType,
|
|
38
|
+
notesPointer
|
|
39
|
+
} from "./chunk-YTSSXSZR.js";
|
|
40
|
+
import {
|
|
41
|
+
localeStrings
|
|
42
|
+
} from "./chunk-YQ2B3YVF.js";
|
|
43
|
+
import {
|
|
44
|
+
cellGrounds,
|
|
45
|
+
colorblindTheme,
|
|
46
|
+
farGround,
|
|
47
|
+
panelTypeClass,
|
|
48
|
+
resolveSurface,
|
|
49
|
+
sameRecipe,
|
|
50
|
+
smallestTitleSize,
|
|
51
|
+
strokeToken,
|
|
52
|
+
tableEmphasis,
|
|
53
|
+
tableInkColor,
|
|
54
|
+
themeForWidth,
|
|
55
|
+
warnColor
|
|
56
|
+
} from "./chunk-II7652VA.js";
|
|
57
|
+
import {
|
|
58
|
+
checkedFontFamily,
|
|
59
|
+
checkedMotionEasing,
|
|
60
|
+
compositeColor,
|
|
61
|
+
contrastRatio,
|
|
62
|
+
mixColors
|
|
63
|
+
} from "./chunk-2MTWKMEG.js";
|
|
64
|
+
import {
|
|
65
|
+
DEFAULT_TARGET,
|
|
66
|
+
formatScenarios,
|
|
67
|
+
resolveCanvasOptions,
|
|
68
|
+
resolveSubtitle,
|
|
69
|
+
scaleTextPx
|
|
70
|
+
} from "./chunk-SGD3ZHID.js";
|
|
71
|
+
|
|
72
|
+
// src/react/tablePresentation.ts
|
|
73
|
+
function tableRenderTheme(request) {
|
|
74
|
+
let typeClass = panelTypeClass(request.options) ?? request.size.width, theme = typeClass === void 0 ? request.theme : themeForWidth(request.theme, typeClass);
|
|
75
|
+
return request.options.colorblindSafe ? colorblindTheme(theme) : theme;
|
|
76
|
+
}
|
|
77
|
+
function tablePresentation(request, table) {
|
|
78
|
+
return tableDisplayFloor(
|
|
79
|
+
table,
|
|
80
|
+
tableRenderTheme(request),
|
|
81
|
+
request.options,
|
|
82
|
+
request.target,
|
|
83
|
+
request.size.width,
|
|
84
|
+
tableFrame(table, request.options)
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
var COHORT_GROWTH = `
|
|
88
|
+
.bp-table-grid[data-bp-density^="cohort"] [role="row"]>*{height:auto;min-height:var(--bp-row-h)}
|
|
89
|
+
.bp-table-grid[data-bp-density^="cohort"] [role="row"].bp-total>*{height:auto;min-height:calc(var(--bp-row-h) + 8px)}
|
|
90
|
+
.bp-table-grid[data-bp-density^="cohort"] [role="row"]:not(.bp-total)>[role="rowheader"] .bp-value{line-height:round(up,1.2em,1px);margin-block:calc((var(--bp-row-h) - round(up,1.2em,1px) - var(--bp-rule-top,var(--bp-stroke-hair)))/2)}
|
|
91
|
+
.bp-table-grid[data-bp-density^="cohort"] :is([data-bp-rowgroup="body"],[data-bp-row-page="0"])>.bp-rowwrap:first-child>[role="row"]>*,.bp-table-grid[data-bp-density^="cohort"] [role="row"][data-bp-spacer]:not(.bp-total)>*,.bp-table-grid[data-bp-density^="cohort"] .bp-rowwrap:has(>.bp-total)+.bp-rowwrap>[role="row"]>*{--bp-rule-top:0px}`;
|
|
92
|
+
function tableFrame(table, options, rows = table.rows, columns = table.columns) {
|
|
93
|
+
options = resolveCanvasOptions(options);
|
|
94
|
+
let title = options.title === !1 ? void 0 : options.title, padding = options.margin ? `${options.margin.top ?? 0}px ${options.margin.right ?? 0}px ${options.margin.bottom ?? 0}px ${options.margin.left ?? 0}px` : void 0, mode = tableFrameMode(options), subtitle = subtitleText(options.subtitle, table.unit ?? options.unit), authored = options.footnotes === !1 ? [] : options.footnotes ?? [], markerNotes = mode === "compact" && options.title ? authored : [], derived = [...tableFootnotes(table, rows, columns), ...options[ENGINE_NOTES] ?? []], notes = options.footnotes === !1 || markerNotes.length > 0 ? [] : authored, placement = options.notes?.placement ?? defaultNotePlacement(options.target), framed = placement === "frame" && (options.notes?.show ?? ["note"]).includes("note"), budget = options.notes?.maxLines === void 0 ? 1 / 0 : Math.max(0, options.notes.maxLines - (options.source ? 1 : 0)), inFrame = framed ? notes.slice(0, budget) : [], disclosed = (options.notes?.show ?? []).includes("disclosure"), footnotes = [...inFrame, ...disclosed ? derived : []], listed = options.notes?.pointer === !1 ? [] : [...notes.slice(inFrame.length), ...!disclosed && placement === "info" ? derived : []], words = { ...localeStrings(options.locale?.language), ...options.strings };
|
|
95
|
+
return {
|
|
96
|
+
mode,
|
|
97
|
+
title,
|
|
98
|
+
subtitle,
|
|
99
|
+
source: options.source && sourceLine(options.source, options.strings?.source ?? "Source"),
|
|
100
|
+
footnotes,
|
|
101
|
+
padding,
|
|
102
|
+
listed,
|
|
103
|
+
pointer: listed.length === 0 ? void 0 : placement === "info" ? `${words.notesAndSources} (${listed.length})` : notesPointer(listed.length, words),
|
|
104
|
+
markerNotes: markerNotes.join(" "),
|
|
105
|
+
summary: options.caption ?? [
|
|
106
|
+
title,
|
|
107
|
+
subtitle,
|
|
108
|
+
`Table with ${table.rows.length} rows and ${table.columns.length} columns.`
|
|
109
|
+
].filter((part) => !!part).join(" \xB7 ")
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
function sourceLine(source, word) {
|
|
113
|
+
return source.slice(0, word.length).toLowerCase() === word.toLowerCase() && /^\p{L}*\s*:/u.test(source.slice(word.length)) ? source : `${word}: ${source}`;
|
|
114
|
+
}
|
|
115
|
+
function subtitleText(subtitle, unit) {
|
|
116
|
+
let sub = resolveSubtitle(subtitle);
|
|
117
|
+
if (sub === void 0) return;
|
|
118
|
+
let measure = unit ? `${sub.measure} in ${unit}` : sub.measure;
|
|
119
|
+
return [sub.company, measure, sub.period, sub.scenarios?.length ? formatScenarios(sub.scenarios) : void 0].filter((part) => !!part).join(" \xB7 ");
|
|
120
|
+
}
|
|
121
|
+
function headPadVars(theme) {
|
|
122
|
+
return [
|
|
123
|
+
["head-pad-top", theme.table?.headPad?.top],
|
|
124
|
+
["head-pad-bottom", theme.table?.headPad?.bottom],
|
|
125
|
+
["group-pad-top", theme.table?.groupPad?.top],
|
|
126
|
+
["group-pad-bottom", theme.table?.groupPad?.bottom]
|
|
127
|
+
].filter((entry) => entry[1] !== void 0);
|
|
128
|
+
}
|
|
129
|
+
function headPadRules() {
|
|
130
|
+
return `
|
|
131
|
+
.bp-table-grid [data-bp-rowgroup="head"] .bp-columns>*{padding-top:var(--bp-head-pad-top,0px);padding-bottom:var(--bp-head-pad-bottom,7px)}.bp-table-grid [data-bp-rowgroup="head"] .bp-groups>*{padding-top:var(--bp-group-pad-top,6px);padding-bottom:var(--bp-group-pad-bottom,2px)}.bp-table-grid [data-bp-rowgroup="head"] [role="row"]>*{height:auto;white-space:normal;overflow-wrap:break-word}.bp-table-grid [role="row"]>:is([data-bp-hidden],[data-bp-opening]),.bp-table-grid [role="row"]>:is([data-bp-hidden],[data-bp-opening]) *{white-space:nowrap}.bp-table-grid .bp-head-label{min-width:0;max-width:calc(100% + var(--bp-header-tracking,0px));margin-inline-end:calc(-1*var(--bp-header-tracking,0px))}.bp-table-grid .bp-sort>span,.bp-table-grid .bp-head-sub{min-width:0;white-space:normal;overflow-wrap:break-word;text-overflow:clip}`;
|
|
132
|
+
}
|
|
133
|
+
var insetTint = (color) => ({
|
|
134
|
+
backgroundImage: `linear-gradient(${color},${color})`,
|
|
135
|
+
backgroundPosition: "center",
|
|
136
|
+
backgroundSize: "calc(100% - 2px) calc(100% - 2px)",
|
|
137
|
+
backgroundRepeat: "no-repeat"
|
|
138
|
+
}), insetTintCss = (color) => Object.entries(insetTint(color)).map(([key, value]) => `${key.replace(/[A-Z]/g, (c) => `-${c.toLowerCase()}`)}:${value}`).join(";");
|
|
139
|
+
function tableStylesheet(theme, target = DEFAULT_TARGET, statement = !1, cohort = !1, sticky = !1, textScale = 1, palette) {
|
|
140
|
+
return renderTableStyle(theme, { inCellBar: !0, rowHighlight: !0, anchorWash: !0, statement, cohort, sticky }, target, textScale, palette);
|
|
141
|
+
}
|
|
142
|
+
var STICKY_RULES = `
|
|
143
|
+
.bp-table-grid[data-bp-sticky-head="off"] [data-bp-rowgroup="head"]{position:static}
|
|
144
|
+
.bp-table-grid[data-bp-sticky-head="page"]{width:auto;border-bottom:0}
|
|
145
|
+
.bp-table-grid[data-bp-sticky-head="page"]>.bp-page-head{position:sticky;top:var(--bp-sticky-top,0px);z-index:4;overflow:hidden;background:var(--bp-background)}
|
|
146
|
+
.bp-table-grid[data-bp-sticky-head="page"]>.bp-page-head>[data-bp-rowgroup="head"]{position:static;width:var(--bp-table-width,max-content)}
|
|
147
|
+
.bp-table-grid[data-bp-sticky-head="page"]>.bp-scroll{overflow-x:auto;overflow-y:visible}
|
|
148
|
+
.bp-table-grid[data-bp-sticky-head="page"] [data-bp-rowgroup="body"]{width:var(--bp-table-width,max-content);border-bottom:var(--bp-stroke-hair) solid var(--bp-rule)}
|
|
149
|
+
.bp-table-grid[data-bp-sticky-head="page"] [data-bp-rowgroup="body"]:has(>.bp-rowwrap:last-child>.bp-total),.bp-table-grid[data-bp-sticky-head="page"] [data-bp-rowgroup="body"]:has(>.bp-section-scope:last-child>.bp-rowwrap:last-child>.bp-total){border-bottom:0}
|
|
150
|
+
.bp-table-grid[data-bp-sticky-sections]:not([data-bp-sticky-head="page"]) [role="row"][data-role="section"]{position:sticky;top:var(--bp-sections-top,0px);z-index:3}
|
|
151
|
+
.bp-table-grid[data-bp-sticky-sections]:not([data-bp-sticky-head="page"]) [role="row"][data-role="section"]>*{background-color:var(--bp-background);background-image:linear-gradient(var(--bp-row-ground),var(--bp-row-ground))}
|
|
152
|
+
.bp-table-grid[data-bp-sticky-head="page"]>.bp-section-float{position:sticky;top:var(--bp-sections-top,0px);height:0;z-index:3;pointer-events:none}
|
|
153
|
+
.bp-section-float-clip{position:absolute;left:0;right:0;top:0;overflow:hidden}
|
|
154
|
+
.bp-section-float-inner{width:var(--bp-table-width,max-content);background:var(--bp-background)}
|
|
155
|
+
.bp-section-float-inner [role="row"]>*{background-color:var(--bp-background);background-image:linear-gradient(var(--bp-row-ground),var(--bp-row-ground))}
|
|
156
|
+
.bp-table-grid[data-bp-sticky-sections] .bp-section-scope>.bp-rowwrap:first-child:not(:has(>.bp-children)){display:contents}
|
|
157
|
+
.bp-table-grid[data-bp-sticky-sections] [data-bp-rowgroup="body"]>.bp-section-scope:first-child>.bp-rowwrap:first-child>[role="row"]>*{border-top:0}
|
|
158
|
+
.bp-table-grid[data-bp-sticky-sections]:has([data-bp-rowgroup="body"]>.bp-section-scope:last-child>.bp-rowwrap:last-child>.bp-total){border-bottom:0}
|
|
159
|
+
@media print{.bp-table-grid[data-bp-sticky-head="page"]>.bp-section-float{display:none}.bp-table-grid[data-bp-sticky-head="page"]>.bp-page-head{overflow:visible}.bp-table-grid[data-bp-sticky-head="page"] [data-bp-rowgroup]{width:100%!important}.bp-table-grid[data-bp-sticky-head]>.bp-page-head,.bp-table-grid[data-bp-sticky-head] [data-bp-rowgroup="head"],.bp-table-grid[data-bp-sticky-sections] [role="row"][data-role="section"]{position:static}}`;
|
|
160
|
+
function renderTableStyle(theme, features = { inCellBar: !1, rowHighlight: !1, anchorWash: !1 }, target = DEFAULT_TARGET, textScale = 1, palette) {
|
|
161
|
+
let colorDeclarations = [
|
|
162
|
+
["ink", theme.color.ink],
|
|
163
|
+
["ink-inverse", theme.color.inkInverse],
|
|
164
|
+
["ink-muted", theme.color.inkMuted],
|
|
165
|
+
// The tertiary ink, only where the theme sets it.
|
|
166
|
+
...theme.color.inkMeta === void 0 ? [] : [["ink-meta", theme.color.inkMeta]],
|
|
167
|
+
["good", theme.color.good],
|
|
168
|
+
["bad", theme.color.bad],
|
|
169
|
+
["warn", theme.color.warn ?? "#8F6A00"],
|
|
170
|
+
["neutral", theme.color.neutral],
|
|
171
|
+
["neutral-light", theme.color.neutralLight],
|
|
172
|
+
["highlight", theme.color.highlight],
|
|
173
|
+
["total", theme.color.total],
|
|
174
|
+
["others", theme.color.others],
|
|
175
|
+
["axis", theme.color.axis],
|
|
176
|
+
["grid", theme.color.grid],
|
|
177
|
+
["leader", theme.color.leader],
|
|
178
|
+
["background", theme.color.background],
|
|
179
|
+
// Grounds and rules: the total band, the group band one step
|
|
180
|
+
// lighter, and the structural rule the header, total and close share.
|
|
181
|
+
["emphasis", mixColors(theme.color.neutral, theme.color.background, Math.min(1, resolveSurface(theme).bandTint * 2))],
|
|
182
|
+
["column-band-strong", mixColors(
|
|
183
|
+
theme.color.ink,
|
|
184
|
+
mixColors(theme.color.neutral, theme.color.background, Math.min(1, resolveSurface(theme).bandTint * 2)),
|
|
185
|
+
resolveSurface(theme).bandTint
|
|
186
|
+
)],
|
|
187
|
+
["band", mixColors(theme.color.neutral, theme.color.background, resolveSurface(theme).bandTint)],
|
|
188
|
+
["rule", theme.color.rule ?? theme.color.axis],
|
|
189
|
+
// The table's quiet rule and its secondary and toggle inks (`table.ruleInk`, `table.inks`).
|
|
190
|
+
["rule-row", tableInkColor(theme, "rule")],
|
|
191
|
+
["ink-2", tableInkColor(theme, "secondary")],
|
|
192
|
+
["toggle", tableInkColor(theme, "toggle")],
|
|
193
|
+
["tile-shadow", mixColors(theme.color.ink, theme.color.background, 0.12)]
|
|
194
|
+
].map(([name, value]) => `--bp-${name}:${cssValue(checkedCssColor(value))}`), chipDeclarations = ["good", "bad", "warn", "neutral"].flatMap((tone) => {
|
|
195
|
+
let chip = chipPaints(theme, tone, palette);
|
|
196
|
+
return [
|
|
197
|
+
`--bp-chip-${tone}-bg:${cssValue(checkedCssColor(resolvePaint(chip.fill, theme)))}`,
|
|
198
|
+
`--bp-chip-${tone}-ink:${cssValue(checkedCssColor(resolvePaint(chip.ink, theme)))}`
|
|
199
|
+
];
|
|
200
|
+
}), toneTextDeclarations = ["good", "bad", "warn"].map((tone) => `--bp-${tone}-text:${cssValue(checkedCssColor(resolvePaint(toneTextPaint(theme, tone, palette), theme)))}`), typeVars = ["title", "subtitle", "label", "axis", "footnote"].flatMap((name) => {
|
|
201
|
+
let font = theme.type[name];
|
|
202
|
+
return [
|
|
203
|
+
[`${name}-size`, `${font.size}px`],
|
|
204
|
+
[`${name}-weight`, String(font.weight)],
|
|
205
|
+
[`${name}-line-height`, String(font.lineHeight ?? 1.2)]
|
|
206
|
+
];
|
|
207
|
+
}), ladder = levelLadder(theme, "regular", target, textScale), levelVars = [1, 2, 3].map(
|
|
208
|
+
(level) => [`level-${level}-size`, `${ladder.size(level)}px`]
|
|
209
|
+
), padVars = [
|
|
210
|
+
["pad-anchor", ladder.pad(0, !0)],
|
|
211
|
+
["pad-leaf", ladder.pad(1, !1)],
|
|
212
|
+
["pad-deep", ladder.pad(3, !1)],
|
|
213
|
+
["pad-total", ladder.totalPad]
|
|
214
|
+
], motion = interactionTokens(theme), surface = resolveSurface(theme), headFace = tableFonts(theme, ladder).header, changeFace = changeLineFont(theme, ladder, 0), headRatio = theme.table?.head?.lineHeight ?? LINE_RATIO, sectionSpace = theme.table?.section?.spaceBefore ?? ladder.lineBox(ladder.label), declarations = [
|
|
215
|
+
...colorDeclarations,
|
|
216
|
+
...chipDeclarations,
|
|
217
|
+
...toneTextDeclarations,
|
|
218
|
+
`--bp-stroke-hair:${strokeToken(theme, "hair")}px`,
|
|
219
|
+
`--bp-stroke-rule:${strokeToken(theme, "rule")}px`,
|
|
220
|
+
`--bp-stroke-row:${theme.table?.ruleWidths?.row ?? strokeToken(theme, "hair")}px`,
|
|
221
|
+
`--bp-stroke-mark:${strokeToken(theme, "mark")}`,
|
|
222
|
+
`--bp-font-family:${cssValue(checkedFontFamily(theme.type.family))}`,
|
|
223
|
+
...typeVars.map(([name, value]) => `--bp-${name}:${cssValue(value)}`),
|
|
224
|
+
...levelVars.map(([name, value]) => `--bp-${name}:${cssValue(value)}`),
|
|
225
|
+
`--bp-group-size:${cssValue(`${ladder.group}px`)}`,
|
|
226
|
+
`--bp-micro-size:${cssValue(`${ladder.micro}px`)}`,
|
|
227
|
+
// The footer's text (notes, source, notes list): the small role the SVG footer draws (footerType).
|
|
228
|
+
`--bp-foot-size:${cssValue(`${footerType(theme.type.footnote, target, textScale).size}px`)}`,
|
|
229
|
+
...padVars.map(([name, value]) => `--bp-${name}:${cssValue(`max(1px,calc(${value}px + var(--bp-pad-step)))`)}`),
|
|
230
|
+
`--bp-inline-gap:${cssValue(`${ladder.inlineGap}px`)}`,
|
|
231
|
+
// The air above the label of a section that follows other rows, inside its row as on the SVG,
|
|
232
|
+
// and the smaller air of a section that is the first row under the head.
|
|
233
|
+
`--bp-section-space:${cssValue(`${sectionSpace}px`)}`,
|
|
234
|
+
`--bp-section-lead:${cssValue(`${Math.round(Math.min(sectionSpace, ladder.lineBox(ladder.label) / 4))}px`)}`,
|
|
235
|
+
// The chip corner the SVG draws, from the theme. A status table
|
|
236
|
+
// squares its chips on both surfaces.
|
|
237
|
+
`--bp-chip-radius:${cssValue(`${surface.chipRadius}px`)}`,
|
|
238
|
+
// The head block's air, only where the theme names it; unset,
|
|
239
|
+
// the head rules fall back to the row air they always had.
|
|
240
|
+
...headPadVars(theme).map(([name, value]) => `--bp-${name}:${cssValue(`${value}px`)}`),
|
|
241
|
+
`--bp-line-ratio:${cssValue(String(LINE_RATIO))}`,
|
|
242
|
+
`--bp-head-size:${cssValue(`${headFace.size}px`)}`,
|
|
243
|
+
`--bp-head-ratio:${cssValue(String(headRatio))}`,
|
|
244
|
+
`--bp-inline-ratio:${cssValue(String(INLINE_LINE_RATIO))}`,
|
|
245
|
+
`--bp-title-compact-size:${cssValue(`${smallestTitleSize(theme)}px`)}`,
|
|
246
|
+
`--bp-motion-fade:${cssValue(`${motion.fade}ms`)}`,
|
|
247
|
+
`--bp-motion-layout:${cssValue(`${motion.layout}ms`)}`,
|
|
248
|
+
`--bp-motion-easing:${cssValue(checkedMotionEasing(motion.easing))}`
|
|
249
|
+
].join(";"), figures = numericVariant("value", theme) ?? "tabular-nums", featureStyles = renderFeatureStyles(theme, features), tableRules = renderTableConventions(theme, target, features.statement, textScale) + (features.cohort ? COHORT_GROWTH : "");
|
|
250
|
+
return `<style>
|
|
251
|
+
.bp-table{${declarations};margin:0;color:var(--bp-ink);background:var(--bp-background);font-family:var(--bp-font-family);font-size:var(--bp-label-size);line-height:var(--bp-label-line-height)}
|
|
252
|
+
.bp-table figcaption{margin:0 0 .9em}.bp-table .bp-title,.bp-table .bp-subtitle{display:block}.bp-table .bp-title{font-size:var(--bp-title-size);font-weight:var(--bp-title-weight);line-height:var(--bp-title-line-height)}.bp-table .bp-subtitle{margin-top:.2em;color:var(--bp-ink);font-size:var(--bp-subtitle-size);font-weight:var(--bp-subtitle-weight);line-height:var(--bp-subtitle-line-height)}
|
|
253
|
+
.bp-table .bp-key{display:flex;flex-wrap:wrap;gap:0 14px;margin-top:8px;font-size:var(--bp-footnote-size);font-weight:var(--bp-footnote-weight);line-height:18px}.bp-table .bp-key>span{display:inline-flex;align-items:center;gap:5px}.bp-table .bp-key i{flex:none;box-sizing:border-box;width:12px;height:12px;border:var(--bp-stroke-hair) solid var(--bp-grid)}.bp-table .bp-key .bp-key-glyph{flex:none;width:12px;font-weight:inherit;text-align:center}
|
|
254
|
+
figure.bp-table[data-bp-mode="compact"] .bp-title{font-size:var(--bp-title-compact-size)}.bp-table .bp-footnote-marker{font-size:var(--bp-footnote-size);font-weight:var(--bp-footnote-weight);line-height:0;vertical-align:super}.bp-table .bp-source{margin:.7em 0 0;padding-inline:var(--bp-note-indent,0);color:var(--bp-ink-muted);font-size:var(--bp-foot-size);font-weight:var(--bp-footnote-weight);line-height:var(--bp-footnote-line-height)}
|
|
255
|
+
.bp-scroll{overflow-x:auto;max-width:100%;scrollbar-width:thin;scrollbar-color:var(--bp-grid) transparent}.bp-scroll:has(>[data-bp-sticky]){overflow:auto}
|
|
256
|
+
figure.bp-table[data-bp-fill-height]{box-sizing:border-box;display:flex;flex-direction:column;height:100%;min-height:0}figure.bp-table[data-bp-fill-height]>.bp-scroll{flex:1 1 auto;min-height:0;overflow:auto}.bp-hover-table:has(>figure.bp-table[data-bp-fill-height]){height:100%}
|
|
257
|
+
.bp-table-grid .bp-arrow{margin-inline-end:4px}.bp-table .bp-summary,.bp-table-grid .bp-spark-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
|
|
258
|
+
.bp-table-grid [role="row"]>[data-encoding="sparkline"]{padding:0;align-items:stretch}.bp-table-grid .bp-spark{display:block}
|
|
259
|
+
.bp-table-grid{width:var(--bp-table-width,max-content);border-bottom:var(--bp-stroke-rule) solid var(--bp-rule);--bp-pad-step:0px;--bp-size-step:0px;--bp-cell-pad-x:12px;--bp-inline-size:max(var(--bp-micro-size),calc(var(--bp-label-size) + var(--bp-size-step) - 2px));--bp-inline-box:calc(var(--bp-inline-size)*var(--bp-inline-ratio))}
|
|
260
|
+
.bp-table-grid{--bp-inline-box:round(up,calc(var(--bp-inline-size)*var(--bp-inline-ratio)),1px)}
|
|
261
|
+
.bp-table-grid:has([data-bp-rowgroup="body"]>.bp-rowwrap:last-child>.bp-total){border-bottom:0}
|
|
262
|
+
.bp-table-grid[data-bp-density="compact"]{--bp-pad-step:-1px;--bp-size-step:-.5px}.bp-table-grid[data-bp-density="relaxed"]{--bp-pad-step:2px}
|
|
263
|
+
.bp-table-grid[data-bp-density="cohort"]{--bp-size-step:-.5px;--bp-row-h:26px}.bp-table-grid[data-bp-density="cohort-small"]{--bp-size-step:-1px;--bp-row-h:20px}
|
|
264
|
+
.bp-table-grid[data-bp-density="cohort"] [role="row"]>*,.bp-table-grid[data-bp-density="cohort-small"] [role="row"]>*{box-sizing:border-box;height:var(--bp-row-h);padding-top:0;padding-bottom:0}
|
|
265
|
+
.bp-table-grid[data-bp-density="cohort"] [role="row"].bp-total>*,.bp-table-grid[data-bp-density="cohort-small"] [role="row"].bp-total>*{box-sizing:border-box;height:calc(var(--bp-row-h) + 8px)}
|
|
266
|
+
.bp-table-grid [role="row"]{display:grid;grid-template-columns:var(--bp-cols);--bp-row-size:calc(var(--bp-label-size) + var(--bp-size-step));--bp-change-size:max(${CHANGE_LINE_MIN_PX}px,calc(var(--bp-row-size) - ${CHANGE_LINE_SIZE_STEP_PX}px));--bp-row-pad:var(--bp-pad-anchor);--bp-row-ground:transparent;--bp-row-line:calc(var(--bp-row-size)*var(--bp-line-ratio));transition:grid-template-columns var(--bp-motion-layout) var(--bp-motion-easing)}
|
|
267
|
+
.bp-table-grid [role="row"]{--bp-row-line:round(up,calc(var(--bp-row-size)*var(--bp-line-ratio)),1px)}
|
|
268
|
+
.bp-table-grid [role="row"]:has(.bp-line[data-bp-line]:not(.bp-line-off)){--bp-inline-box:round(up,calc(max(var(--bp-inline-size),var(--bp-change-size))*var(--bp-inline-ratio)),1px)}
|
|
269
|
+
.bp-table-grid [role="row"]:has(.bp-line[data-bp-line]:not(.bp-line-off)){--bp-row-line:round(up,calc(max(${CHANGE_LINE_MIN_PX}px,var(--bp-row-size))*var(--bp-line-ratio)),1px)}
|
|
270
|
+
.bp-table-grid [role="row"]:has(.bp-line[data-bp-line]:not(.bp-line-off))>*{font-size:max(${CHANGE_LINE_MIN_PX}px,var(--bp-row-size))}
|
|
271
|
+
.bp-table-grid [role="row"][data-bp-ground="emphasis"]{--bp-row-ground:var(--bp-emphasis)}.bp-table-grid [role="row"][data-bp-ground="band"]{--bp-row-ground:var(--bp-band)}
|
|
272
|
+
.bp-table-grid [role="row"]>*{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;padding:var(--bp-row-pad) var(--bp-cell-pad-x);background:var(--bp-row-ground);font-size:var(--bp-row-size);line-height:var(--bp-row-line);text-align:left;white-space:nowrap;overflow:hidden;transition:background-color var(--bp-motion-fade) var(--bp-motion-easing),opacity var(--bp-motion-fade) ease}
|
|
273
|
+
.bp-table-grid [data-bp-hidden]{padding-inline:0;opacity:0;border-inline-start-width:0}
|
|
274
|
+
.bp-table-grid [data-bp-rowgroup="body"] [role="row"]>*{border-top:var(--bp-stroke-row) solid var(--bp-rule-row)}.bp-table-grid[data-bp-figures="off"] [data-bp-rowgroup="body"] [role="row"]>*{border-top-width:var(--bp-stroke-hair);border-top-color:var(--bp-grid)}.bp-table-grid :is([data-bp-rowgroup="body"],[data-bp-row-page="0"])>.bp-rowwrap:first-child>[role="row"]>*{border-top:0}
|
|
275
|
+
.bp-table-grid [role="row"][data-bp-spacer]{padding-top:var(--bp-row-spacer)}.bp-table-grid :is([data-bp-rowgroup="body"],[data-bp-row-page="0"])>.bp-rowwrap:first-child>[role="row"][data-bp-spacer]{padding-top:0}.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-bp-spacer]:not(.bp-total)>*{border-top:0}
|
|
276
|
+
.bp-table-grid .bp-rowwrap:has(>.bp-total)+.bp-rowwrap>[role="row"]>*{border-top:0}
|
|
277
|
+
.bp-table-grid .bp-value,.bp-table-grid .bp-line{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}
|
|
278
|
+
.bp-table-grid:not([data-bp-label-lines="1"]) [role="rowheader"] .bp-value{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow-wrap:normal}.bp-table-grid [data-bp-wrap]{white-space:pre-line}.bp-table-grid [data-bp-wrap] .bp-value{overflow:visible;text-overflow:clip;line-height:round(up,1.2em,1px);padding-top:calc(round(up,calc(1em*var(--bp-line-ratio)),1px) - round(up,1.2em,1px))}
|
|
279
|
+
.bp-table-grid .bp-line{height:var(--bp-inline-box);margin-top:var(--bp-inline-gap);font-size:var(--bp-change-size);font-weight:${changeFace.weight};line-height:var(--bp-inline-box);color:var(--bp-ink-2);transition:height var(--bp-motion-layout) var(--bp-motion-easing),margin-top var(--bp-motion-layout) var(--bp-motion-easing),opacity var(--bp-motion-fade) ease}
|
|
280
|
+
.bp-table-grid [role="rowheader"] .bp-line{box-sizing:border-box;padding-inline-start:${INLINE_LABEL_INDENT}px}
|
|
281
|
+
.bp-table-grid .bp-line:not(.bp-line-off)~.bp-line,.bp-table-grid .bp-note-line~.bp-line,.bp-table-grid .bp-note-spacer~.bp-line{margin-top:0}
|
|
282
|
+
.bp-table-grid .bp-line[data-tone="good"]{color:var(--bp-good-text)}.bp-table-grid .bp-line[data-tone="bad"]{color:var(--bp-bad-text)}.bp-table-grid .bp-line[data-tone="warn"]{color:var(--bp-warn-text)}
|
|
283
|
+
.bp-table-grid .bp-line-off{height:0;margin-top:0;opacity:0}
|
|
284
|
+
.bp-table-grid .bp-children{overflow:clip;transition:max-height var(--bp-motion-layout) var(--bp-motion-easing),opacity var(--bp-motion-fade) ease}
|
|
285
|
+
.bp-table-grid .bp-children[data-bp-collapsed]{max-height:0;opacity:0;pointer-events:none}
|
|
286
|
+
.bp-table-grid [data-bp-rowgroup="head"] [role="row"]>*{font-size:var(--bp-header-size,var(--bp-head-size));font-weight:${cssValue(String(headFace.weight))};line-height:round(up,calc(var(--bp-header-size,var(--bp-head-size))*var(--bp-head-ratio) - ${LINE_BOX_EPSILON}px),1px);justify-content:flex-end;border-bottom:0;background:transparent;color:var(--bp-ink)}
|
|
287
|
+
.bp-table-grid [data-bp-rowgroup="head"]{border-bottom:${theme.table?.ruleWidths?.head ?? strokeToken(theme, "hair")}px solid var(--bp-rule)}.bp-table-grid [data-bp-rowgroup="head"] .bp-columns>*{letter-spacing:var(--bp-header-tracking,normal)}
|
|
288
|
+
.bp-table-grid .bp-sort{min-width:24px;min-height:24px;display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:0;margin:0;color:inherit;background:transparent;border:0;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer}.bp-table-grid .bp-sort>span{overflow:hidden;text-overflow:ellipsis}.bp-table-grid .bp-sort svg{flex:none;color:var(--bp-ink-2)}
|
|
289
|
+
.bp-table-grid [aria-sort="ascending"] .bp-sort,.bp-table-grid [aria-sort="descending"] .bp-sort{font-weight:${cssValue(String(headFace.weight))}}.bp-table-grid [aria-sort="ascending"] .bp-sort svg,.bp-table-grid [aria-sort="descending"] .bp-sort svg{color:var(--bp-ink)}
|
|
290
|
+
.bp-table-grid .bp-sort:focus-visible{outline:2px solid var(--bp-highlight);outline-offset:2px}
|
|
291
|
+
.bp-table-grid[data-bp-sort-indicator="sorted"] .bp-sort:not([data-bp-sort-direction]) svg{visibility:hidden}.bp-table-grid[data-bp-sort-indicator="sorted"] .bp-sort:not([data-bp-sort-direction]):hover svg,.bp-table-grid[data-bp-sort-indicator="sorted"] .bp-sort:not([data-bp-sort-direction]):focus-visible svg{visibility:visible}
|
|
292
|
+
.bp-table-grid .bp-head-sub{display:block;max-width:calc(100% + var(--bp-cell-pad-x));margin-inline-end:calc(-1*var(--bp-cell-pad-x));overflow:hidden;text-overflow:ellipsis;font-size:var(--bp-micro-size);font-weight:${(theme.type.micro ?? theme.type.footnote).weight};line-height:1.3;letter-spacing:normal;text-transform:none;color:var(--bp-ink)}.bp-table-grid .bp-num>.bp-head-sub{margin-inline-end:0;margin-inline-start:calc(-1*var(--bp-cell-pad-x))}.bp-table-grid .bp-center>.bp-head-sub{margin-inline:calc(-1*var(--bp-cell-pad-x));max-width:calc(100% + 2*var(--bp-cell-pad-x))}.bp-table-grid .bp-head-sub-spacer{height:calc(var(--bp-micro-size)*1.3)}
|
|
293
|
+
.bp-table-grid [data-bp-rowgroup="head"] .bp-groups>*{padding-bottom:.2em;align-items:safe center;font-size:var(--bp-group-head-size,var(--bp-group-size));line-height:round(up,calc(var(--bp-group-head-size,var(--bp-group-size))*var(--bp-head-ratio) - ${LINE_BOX_EPSILON}px),1px);font-weight:${theme.type.axis.weight};text-transform:uppercase;letter-spacing:var(--bp-group-head-tracking,.12em);color:var(--bp-ink)}.bp-table-grid .bp-groups>*>span{display:inline-block;border-bottom:var(--bp-stroke-row) solid var(--bp-rule-row);position:sticky;left:calc(var(--bp-pin-end,0px) + var(--bp-cell-pad-x));right:var(--bp-cell-pad-x)}.bp-table-grid [data-bp-rowgroup="head"] .bp-groups>*{overflow:clip}.bp-table-grid .bp-group-note{border-bottom:0;font-weight:${theme.type.label.weight};text-transform:none;letter-spacing:normal;color:var(--bp-ink-2)}
|
|
294
|
+
.bp-table-grid:not([data-bp-group-align]) [data-bp-rowgroup="head"] .bp-groups>[data-bp-group-wide],.bp-table-grid[data-bp-group-align="left"] [data-bp-rowgroup="head"] .bp-groups>*{align-items:flex-start}@media print{.bp-table-grid:not([data-bp-group-align]) [data-bp-rowgroup="head"] .bp-groups>[data-bp-group-wide]{align-items:safe center}}.bp-table-grid[data-bp-group-align="right"] [data-bp-rowgroup="head"] .bp-groups>*{align-items:safe flex-end}.bp-table-grid[data-bp-group-rule="span"] .bp-groups>*>span{border-bottom-color:transparent}.bp-table-grid[data-bp-group-rule="span"] [data-bp-rowgroup="head"] .bp-groups>[data-group-id]{background-image:linear-gradient(var(--bp-rule-row),var(--bp-rule-row));background-repeat:no-repeat;background-origin:content-box;background-position:left bottom;background-size:100% var(--bp-stroke-row)}
|
|
295
|
+
.bp-table-grid [role="rowheader"]{position:relative;padding-inline-start:calc(var(--bp-cell-pad-x) + var(--bp-indent-base,24px) + var(--bp-level)*var(--bp-indent-step,16px));font-weight:${theme.type.label.weight}}
|
|
296
|
+
.bp-table-grid[data-bp-tree] .bp-columns>*:first-child{padding-inline-start:calc(var(--bp-cell-pad-x) + var(--bp-indent-base,24px))}
|
|
297
|
+
.bp-table-grid .bp-note-line{display:block;max-width:100%;height:var(--bp-inline-box);margin-top:var(--bp-inline-gap);overflow:hidden;text-overflow:ellipsis;font-size:var(--bp-inline-size);font-weight:${theme.type.label.weight};line-height:var(--bp-inline-box);color:var(--bp-ink-2)}
|
|
298
|
+
.bp-table-grid .bp-note-spacer{display:block;height:var(--bp-inline-box);margin-top:var(--bp-inline-gap)}
|
|
299
|
+
.bp-table-grid .bp-unit-affix{margin-inline-start:.35em;font-size:var(--bp-inline-size);font-weight:${theme.type.label.weight};line-height:0;color:var(--bp-ink-2);text-transform:none;letter-spacing:normal}
|
|
300
|
+
.bp-table-grid:not([data-bp-tree]) [role="rowheader"]{padding-inline-start:calc(var(--bp-cell-pad-x) + var(--bp-level)*1.15em)}
|
|
301
|
+
.bp-table-grid .bp-tree-toggle{position:absolute;inset-inline-start:calc(-1*min(24px,var(--bp-cell-pad-x) + var(--bp-indent-base,24px) + var(--bp-level)*var(--bp-indent-step,16px)));top:50%;display:grid;place-items:center;width:16px;height:16px;padding:0;transform:translateY(-50%);color:var(--bp-toggle);background:transparent;border:0;cursor:pointer;transition:color var(--bp-motion-fade) var(--bp-motion-easing)}.bp-table-grid .bp-tree-toggle svg{display:block;overflow:visible}
|
|
302
|
+
.bp-table-grid .bp-label-lead{display:inline-flex;align-items:center;flex:none;vertical-align:middle;overflow:hidden}.bp-table-grid .bp-tree-mark{position:absolute;inset-inline-start:calc(-1*min(24px,var(--bp-cell-pad-x) + var(--bp-indent-base,24px) + var(--bp-level)*var(--bp-indent-step,16px)));top:50%;display:grid;place-items:center;width:16px;height:16px;transform:translateY(-50%);color:var(--bp-toggle);pointer-events:none}.bp-table-grid .bp-tree-mark svg{display:block;overflow:visible}
|
|
303
|
+
.bp-table-grid:not([data-bp-wired]) .bp-tree-toggle{visibility:hidden}
|
|
304
|
+
.bp-table-grid[data-bp-wired][data-bp-tree]:not([data-bp-readonly]) [role="row"][data-has-children]{cursor:pointer}.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-bp-selectable]{cursor:pointer}
|
|
305
|
+
.bp-table-grid [role="row"]>[data-bp-filler]{padding:0}
|
|
306
|
+
.bp-table-grid[data-bp-reach] [role="row"]>:first-child{--bp-cell-pad-x:var(--bp-reach-pad-x);padding-inline-end:var(--bp-pad-x-base)}
|
|
307
|
+
${theme.table?.ofWhich === "ink" ? "" : `.bp-table-grid [role="row"][data-relation="ofWhich"]>*{color:var(--bp-ink-2)}
|
|
308
|
+
`}.bp-table-grid .bp-hint{margin-inline-start:.4em;color:var(--bp-ink-2);font-size:var(--bp-group-size);font-weight:${theme.type.axis.weight};line-height:0;text-transform:none;letter-spacing:normal}
|
|
309
|
+
.bp-table-grid [role="row"][data-role="section"]>[role="rowheader"],.bp-table-grid [role="row"][data-role="section"]>[data-bp-section-rest]{position:relative;isolation:isolate}.bp-table-grid [role="row"][data-role="section"] .bp-section-rule{position:absolute;inset-block:calc(-1*var(--bp-stroke-hair)) 0;width:0;z-index:-1;border-inline-start:var(--bp-stroke-row) solid var(--bp-rule-row);pointer-events:none}
|
|
310
|
+
.bp-table-grid [role="row"][data-role="section"]>*{justify-content:flex-end;padding-block:var(--bp-pad-leaf);font-weight:${tableEmphasis(theme)};text-transform:uppercase;letter-spacing:.14em;color:var(--bp-ink)}
|
|
311
|
+
.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-role="section"]>*{padding-top:calc(var(--bp-pad-leaf) + var(--bp-section-space))}.bp-table-grid :is([data-bp-rowgroup="body"],[data-bp-row-page="0"])>.bp-rowwrap:first-child>[role="row"][data-role="section"]>*,.bp-table-grid [data-bp-rowgroup="body"]>.bp-section-scope:first-child>.bp-rowwrap:first-child>[role="row"][data-role="section"]>*{padding-top:calc(var(--bp-pad-leaf) + var(--bp-section-lead))}
|
|
312
|
+
.bp-table-grid [role="row"][data-bp-step="1"]{--bp-row-size:calc(var(--bp-level-1-size) + var(--bp-size-step))}.bp-table-grid [role="row"][data-bp-step="2"]{--bp-row-size:calc(var(--bp-level-2-size) + var(--bp-size-step))}.bp-table-grid [role="row"][data-bp-step="3"]{--bp-row-size:calc(var(--bp-level-3-size) + var(--bp-size-step))}.bp-table-grid [role="row"][data-role="section"]{--bp-row-size:calc(var(--bp-label-size) + var(--bp-size-step) - 1px)}
|
|
313
|
+
.bp-table-grid [role="row"][data-bp-step="1"]:not([data-has-children]),.bp-table-grid [role="row"][data-bp-step="2"]{--bp-row-pad:var(--bp-pad-leaf)}.bp-table-grid [role="row"][data-bp-step="3"]{--bp-row-pad:var(--bp-pad-deep)}
|
|
314
|
+
.bp-table-grid [role="row"][data-role="data"][data-bp-step]>*{font-weight:${theme.type.label.weight}}.bp-table-grid [role="row"][data-role="data"][data-bp-step][data-has-children]>*{font-weight:${tableEmphasis(theme)}}
|
|
315
|
+
.bp-table-grid [role="row"][data-bp-step="3"][data-role="data"] [role="rowheader"]{color:var(--bp-ink)}
|
|
316
|
+
.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-role="data"][data-bp-step][data-bp-kind]>*{font-weight:${theme.type.label.weight}}.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-role="data"][data-bp-step][data-bp-kind][data-has-children]>*{font-weight:${tableEmphasis(theme)}}
|
|
317
|
+
.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-role="data"][data-bp-step][data-bp-kind]>[data-emphasis="strong"]{font-weight:${theme.table?.weights?.block ?? tableEmphasis(theme)}}.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-role="data"][data-bp-step][data-bp-kind]>[data-emphasis="strong"].bp-muted{font-weight:${theme.type.label.weight}}
|
|
318
|
+
.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-role="data"][data-bp-step][data-bp-kind="member"]>[role="rowheader"]{font-weight:${cssValue(String(theme.table?.weights?.member ?? theme.type.label.weight))};color:var(--bp-ink)}.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-role="data"][data-bp-step][data-bp-kind="member"][data-has-children]>[role="rowheader"]{font-weight:${cssValue(String(theme.table?.weights?.member ?? tableEmphasis(theme)))}}
|
|
319
|
+
.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-role="data"][data-bp-step][data-bp-kind="measure"]>[role="rowheader"]{font-weight:${cssValue(String(theme.table?.weights?.measure ?? theme.type.label.weight))};color:var(--bp-ink)}.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-role="data"][data-bp-step][data-bp-kind="measure"][data-has-children]>[role="rowheader"]{font-weight:${cssValue(String(theme.table?.weights?.measure ?? tableEmphasis(theme)))}}
|
|
320
|
+
.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-role="data"][data-bp-step][data-bp-kind="detail"]>[role="rowheader"],.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-role="data"][data-bp-step][data-bp-kind="split"]>[role="rowheader"]{font-weight:${theme.type.label.weight};color:var(--bp-ink)}.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-role="data"][data-bp-step][data-bp-kind="detail"][data-has-children]>[role="rowheader"]{font-weight:${tableEmphasis(theme)}}.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-role="data"][data-bp-step][data-bp-kind="split"][data-has-children]>[role="rowheader"]{font-weight:${tableEmphasis(theme)}}
|
|
321
|
+
.bp-table-grid [role="row"][data-role="total"].bp-total{--bp-row-size:calc(var(--bp-label-size) + var(--bp-size-step));--bp-row-pad:var(--bp-pad-total)}.bp-table-grid [role="row"][data-role="total"].bp-total>*{font-weight:${tableEmphasis(theme)};border-top:var(--bp-stroke-rule) solid var(--bp-rule);border-bottom:var(--bp-stroke-rule) solid var(--bp-rule)}
|
|
322
|
+
.bp-table-grid [data-bp-band]{background:var(--bp-emphasis)}.bp-table-grid [role="row"][data-bp-ground="emphasis"]>[data-bp-band]{background:var(--bp-column-band-strong)}.bp-table-grid [data-bp-group-start]{border-inline-start:var(--bp-stroke-row) solid var(--bp-rule-row)}.bp-table-grid [data-bp-group-end]{border-inline-end:var(--bp-stroke-row) solid var(--bp-rule-row)}
|
|
323
|
+
.bp-table-grid[data-bp-mark-style="boxed"] .bp-tree-toggle,.bp-table-grid[data-bp-mark-style="boxed"] .bp-tree-mark{box-sizing:border-box;width:${theme.table?.toggle?.size ?? 11}px;height:${theme.table?.toggle?.size ?? 11}px;inset-inline-start:-${theme.table?.toggle?.gap ?? 17}px;top:round(down,calc((var(--bp-row-line) - ${theme.table?.toggle?.size ?? 11}px)/2),1px);transform:none;border:var(--bp-stroke-hair) solid var(--bp-toggle);color:var(--bp-ink);background:linear-gradient(currentColor,currentColor) center/5px 1px no-repeat,var(--bp-background)}.bp-table-grid[data-bp-mark-style="boxed"] .bp-tree-toggle[aria-expanded="false"],.bp-table-grid[data-bp-mark-style="boxed"] .bp-tree-mark[data-bp-outline-mark="closed"]{background:linear-gradient(currentColor,currentColor) center/5px 1px no-repeat,linear-gradient(currentColor,currentColor) center/1px 5px no-repeat,var(--bp-background)}.bp-table-grid[data-bp-mark-style="boxed"] .bp-tree-toggle svg,.bp-table-grid[data-bp-mark-style="boxed"] .bp-tree-mark svg{display:none}
|
|
324
|
+
.bp-table-grid .bp-tree-toggle::after{content:"";position:absolute;inset:50% auto auto 50%;width:max(24px,100%);height:max(24px,100%);transform:translate(-50%,-50%)}
|
|
325
|
+
.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-bp-kind="member"]>*{border-top:var(--bp-stroke-rule) solid var(--bp-rule)}
|
|
326
|
+
.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-bp-kind="section"]>*{border-bottom:var(--bp-stroke-hair) solid var(--bp-rule)}
|
|
327
|
+
.bp-table-grid [data-bp-defer-row]{content-visibility:auto;contain-intrinsic-size:auto calc(var(--bp-label-size)*var(--bp-line-ratio) + 2*var(--bp-pad-anchor) + 1px + var(--bp-defer-lines,0)*(var(--bp-inline-box) + var(--bp-inline-gap)))}
|
|
328
|
+
.bp-table-grid [data-bp-member-open]>[role="gridcell"]>*,.bp-table-grid [data-bp-member-open] .bp-line,.bp-table-grid [data-bp-member-open] .bp-unit-affix{visibility:hidden}
|
|
329
|
+
.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-bp-divider]>*{border-top-color:var(--bp-rule)}
|
|
330
|
+
.bp-table-grid [role="row"]>[data-bp-bar]:not([data-bp-pin]){position:relative}.bp-table-grid [role="row"]>[data-bp-bar]>*{position:relative}.bp-table-grid [role="row"]>[data-bp-bar]::before{content:"";position:absolute;left:1px;top:calc(var(--bp-row-pad) + 2px);height:calc(var(--bp-row-line) - 4px);width:calc((100% - 1px)*var(--bp-bar,0));background:var(--bp-size-bar);pointer-events:none}.bp-table-grid [role="row"]>[data-bp-bar][data-emphasis="muted"]::before{background:var(--bp-size-bar-muted)}.bp-table-grid [role="row"][data-bp-member-open]>[data-bp-bar]::before{content:none}
|
|
331
|
+
.bp-table-grid[data-bp-end="grid"]{--bp-end-ink:var(--bp-rule-row)}.bp-table-grid[data-bp-end="rule"]{--bp-end-ink:var(--bp-rule)}.bp-table-grid[data-bp-end] [role="row"]{position:relative}.bp-table-grid[data-bp-end] [role="row"]::after{content:"";position:absolute;top:var(--bp-end-top,0px);bottom:0;inset-inline-end:0;width:var(--bp-stroke-hair);background:var(--bp-end-ink);pointer-events:none}.bp-table-grid[data-bp-end] [role="row"][data-bp-spacer]{--bp-end-top:var(--bp-row-spacer)}.bp-table-grid[data-bp-end] :is([data-bp-rowgroup="body"],[data-bp-row-page="0"])>.bp-rowwrap:first-child>[role="row"]{--bp-end-top:0px}.bp-table-grid[data-bp-end="grid"] [role="row"].bp-total::after{top:calc(var(--bp-end-top,0px) + 1px);bottom:1px}.bp-table-grid [data-emphasis="muted"]{color:var(--bp-ink-2)}.bp-table-grid [data-emphasis="strong"]{font-weight:${theme.table?.weights?.block ?? tableEmphasis(theme)}}
|
|
332
|
+
.bp-table-grid .bp-num{align-items:flex-end;text-align:right}.bp-table-grid .bp-figures{font-variant-numeric:${figures} lining-nums}.bp-table-grid .bp-center{align-items:center;text-align:center}.bp-table-grid [data-tone="good"]{color:var(--bp-good-text)}.bp-table-grid [data-tone="bad"]{color:var(--bp-bad-text)}.bp-table-grid [data-tone="warn"]{color:var(--bp-warn-text)}.bp-table-grid .bp-muted{color:var(--bp-ink-2)}.bp-table-grid .bp-note{margin-inline-start:.35em;color:var(--bp-ink-2);font-size:var(--bp-footnote-size);font-weight:var(--bp-footnote-weight);line-height:var(--bp-footnote-line-height)}
|
|
333
|
+
.bp-table-grid a{color:inherit;text-decoration-thickness:.08em;text-underline-offset:.14em}.bp-table-grid[data-bp-variant="status"] .bp-chip{border-radius:0}.bp-table-grid .bp-label-line{position:relative;align-self:stretch;max-width:100%;min-width:0}.bp-table-grid .bp-section-line{position:relative;align-self:stretch;display:flex;align-items:center;max-width:100%;min-width:0}.bp-table-grid .bp-num>.bp-section-line{justify-content:flex-end}.bp-table-grid .bp-center>.bp-section-line{justify-content:center}.bp-table-grid .bp-section-line>.bp-value{min-width:0}.bp-table-grid .bp-section-badge{display:flex;flex:none;margin-inline-start:8px;text-transform:none;letter-spacing:normal}.bp-table-grid .bp-chip{display:inline-block;vertical-align:top;padding:.16em .52em;border-radius:var(--bp-chip-radius);background:var(--bp-chip-neutral-bg);color:var(--bp-chip-neutral-ink);font-size:var(--bp-footnote-size);font-weight:${theme.type.label.weight};line-height:var(--bp-axis-line-height);white-space:nowrap;max-width:100%;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis}${["good", "bad", "warn"].map((tone) => `.bp-table-grid [data-tone="${tone}"] .bp-chip{background:var(--bp-chip-${tone}-bg);color:var(--bp-chip-${tone}-ink)}`).join("")}.bp-table-grid .bp-status-mark{display:inline-flex;align-items:center;gap:.4em;max-width:100%;font-size:calc(var(--bp-label-size) + var(--bp-size-step));color:var(--bp-ink);font-weight:${theme.type.label.weight};white-space:nowrap}.bp-table-grid .bp-status-text{min-width:0;overflow:hidden;text-overflow:ellipsis}.bp-table-grid .bp-status-square{flex:none;width:.6em;height:.6em;background:var(--bp-ink-muted)}${["good", "bad", "warn"].map((tone) => `.bp-table-grid [data-tone="${tone}"] .bp-status-square{background:var(--bp-${tone})}`).join("")}
|
|
334
|
+
.bp-table-grid [role="gridcell"]:focus-visible,.bp-table-grid [role="rowheader"]:focus-visible{outline:2px solid var(--bp-highlight);outline-offset:-2px}
|
|
335
|
+
figure.bp-table>.bp-col-toolbar .bp-col-toggle:focus-visible,.bp-table .bp-col-toggle:focus-visible,.bp-table-grid .bp-tree-toggle:focus-visible,figure.bp-table>.bp-expand:focus-visible{outline:2px solid var(--bp-highlight);outline-offset:2px}
|
|
336
|
+
figure.bp-table>.bp-col-toolbar{display:inline-flex;flex-wrap:wrap;gap:2px;padding:2px;align-items:center;margin:.15em 0 .6em;background:var(--bp-emphasis);isolation:isolate}figure.bp-table>.bp-col-toolbar .bp-col-toggle{margin-inline-start:0}.bp-table .bp-col-toggle{position:relative;margin-inline-start:.65em;padding:3px 10px;color:var(--bp-ink-muted);background:transparent;border:0;font:inherit;font-weight:${theme.type.axis.weight};font-size:var(--bp-axis-size);cursor:pointer;transition:background var(--bp-motion-fade) var(--bp-motion-easing),color var(--bp-motion-fade) var(--bp-motion-easing),box-shadow var(--bp-motion-fade) var(--bp-motion-easing)}.bp-table .bp-col-toggle[aria-pressed="true"]{color:var(--bp-background);background:var(--bp-ink);box-shadow:0 0 0 .5px var(--bp-grid),0 1px 2px var(--bp-tile-shadow)}@media (pointer:coarse){.bp-table .bp-col-toggle::before{content:"";position:absolute;z-index:-1;top:50%;left:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}}
|
|
337
|
+
.bp-table-grid[data-bp-sticky] [data-bp-rowgroup="head"]{position:sticky;top:0;z-index:3;background:var(--bp-background)}.bp-table-grid[data-bp-sticky] [data-bp-rowgroup="head"] [role="row"]>*{background:var(--bp-background)}.bp-table-grid[data-bp-sticky] [role="row"]>[data-bp-pin]{position:sticky;left:var(--bp-pin-left,0px);z-index:2;background:var(--bp-background)}.bp-table-grid[data-bp-sticky] [role="row"][data-bp-ground]>[data-bp-pin]{background:linear-gradient(var(--bp-row-ground),var(--bp-row-ground)),var(--bp-background)}.bp-table-grid[data-bp-sticky] [data-bp-rowgroup="head"] [role="row"]>[data-bp-pin]{z-index:4}.bp-table-grid[data-bp-sticky] [role="row"]>[data-bp-pin-last]{box-shadow:1px 0 0 var(--bp-rule-row)}.bp-table-grid[data-bp-sticky] [role="row"]>[data-bp-section-pin]{overflow:clip}.bp-table-grid[data-bp-sticky] [data-bp-section-pin]>*{position:sticky;left:calc(var(--bp-pin-left,0px) + var(--bp-cell-pad-x));align-self:flex-start}
|
|
338
|
+
.bp-table-grid[data-bp-sticky] [role="row"]>[data-bp-pin][data-bp-band]{background:var(--bp-emphasis)}
|
|
339
|
+
.bp-table-grid[data-bp-sticky] [role="row"][data-bp-ground="emphasis"]>[data-bp-pin][data-bp-band]{background:var(--bp-column-band-strong)}
|
|
340
|
+
.bp-table-grid [role="row"][data-bp-member-open][data-bp-ground]>*{background:var(--bp-band)}
|
|
341
|
+
.bp-table-grid[data-bp-sticky] [role="row"][data-bp-member-open]>[data-bp-pin][data-bp-band]{background:var(--bp-band)}
|
|
342
|
+
.bp-table-grid[data-bp-sticky]:not([data-bp-scrolled]) [role="row"]>[data-bp-pin-last]{box-shadow:none}
|
|
343
|
+
.bp-table-grid[data-bp-figures="off"] [data-bp-rowgroup="body"] [role="row"][data-role="data"]>*{box-sizing:content-box;height:max(14px,calc((var(--bp-label-size) + var(--bp-size-step))*var(--bp-line-ratio)));height:max(14px,round(up,calc((var(--bp-label-size) + var(--bp-size-step))*var(--bp-line-ratio)),1px));padding-top:0;padding-bottom:0}.bp-table-grid [data-bp-grounds-only]{padding-inline:0}
|
|
344
|
+
.bp-table .bp-footnotes{margin:.7em 0 0;padding-inline:var(--bp-note-indent,0);list-style:none;color:var(--bp-ink-muted);font-size:var(--bp-foot-size);font-weight:var(--bp-footnote-weight);line-height:var(--bp-footnote-line-height)}.bp-table .bp-notes{margin:.7em 0 0;padding-inline:var(--bp-note-indent,0);color:var(--bp-ink-muted);font-size:var(--bp-foot-size)}.bp-table .bp-notes .bp-footnotes{margin-top:.3em;padding-inline:0}.bp-table .bp-notes-print{display:none}@media print{.bp-table .bp-notes{display:none}.bp-table .bp-notes-print{display:block}}figure.bp-table>.bp-expand{display:none;margin-top:.7em;padding:.35em .65em;color:var(--bp-highlight);background:transparent;border:var(--bp-stroke-hair) solid var(--bp-highlight);font:inherit;cursor:pointer}figure.bp-table:has(>.bp-scroll>[data-bp-wired])>.bp-expand{display:inline-block}.bp-table [hidden]{display:none!important}
|
|
345
|
+
@media print{.bp-table .bp-tree-toggle,.bp-table .bp-col-toggle,figure.bp-table>.bp-col-toolbar,.bp-table .bp-sort svg{display:none!important}.bp-scroll,.bp-scroll:has(>[data-bp-sticky]){overflow:visible}.bp-table-grid{width:100%}.bp-table-grid [role="row"]{grid-template-columns:var(--bp-cols-print,var(--bp-cols))}.bp-table-grid .bp-children{max-height:none!important;opacity:1!important}}
|
|
346
|
+
@keyframes bp-rows-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}.bp-table[data-bp-mount="open"] .bp-children{animation:bp-rows-in var(--bp-motion-layout) var(--bp-motion-easing)}
|
|
347
|
+
@keyframes bp-card-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
|
|
348
|
+
@media (prefers-reduced-motion:reduce){.bp-interaction-card-slot{animation:none!important}.bp-table-grid [role="row"],.bp-table-grid [role="row"]>*,.bp-table-grid .bp-line,.bp-table-grid .bp-children,.bp-table .bp-tree-toggle,.bp-table .bp-col-toggle{transition:none}}${tableRules}${headPadRules()}${featureStyles}${features.sticky ? STICKY_RULES : ""}
|
|
349
|
+
</style>`;
|
|
350
|
+
}
|
|
351
|
+
function renderTableConventions(theme, target = DEFAULT_TARGET, statement = !1, textScale = 1) {
|
|
352
|
+
let table = theme.table, rules = [
|
|
353
|
+
'.bp-table-grid [role="row"]>[data-state="open"]{background:var(--bp-band)}',
|
|
354
|
+
// The unshaded baseline of a cohort grid (a muted M0 column) prints at the
|
|
355
|
+
// body weight, as the SVG draws it.
|
|
356
|
+
`.bp-table-grid[data-bp-density^="cohort"] [role="row"][data-role="data"]>[data-emphasis="muted"][data-state="value"]{font-weight:${theme.type.label.weight}}`
|
|
357
|
+
];
|
|
358
|
+
rules.push(".bp-table-grid :where([data-bp-zero]){color:var(--bp-ink-2)}"), rules.push('.bp-table-grid [role="row"]>[data-state]:not([data-state="value"]),.bp-table-grid .bp-line[data-state]{color:var(--bp-ink-2)}'), theme.color.inkMeta !== void 0 && rules.push(".bp-table .bp-footnotes{color:var(--bp-ink-meta)}");
|
|
359
|
+
let section = table?.section, sectionFace = tableFonts(theme, levelLadder(theme, "regular", target, textScale)).section;
|
|
360
|
+
if (rules.push(`.bp-table-grid [role="row"][data-role="section"]{--bp-row-size:calc(${cssValue(`${sectionFace.size}px`)} + var(--bp-size-step))}`), section !== void 0) {
|
|
361
|
+
let row = [];
|
|
362
|
+
section.lineHeight !== void 0 && row.push(`--bp-row-line:round(up,calc(var(--bp-row-size)*${cssValue(String(section.lineHeight))} - ${LINE_BOX_EPSILON}px),1px)`);
|
|
363
|
+
let cell = [];
|
|
364
|
+
section.weight !== void 0 && cell.push(`font-weight:${cssValue(String(section.weight))}`), section.tracking !== void 0 && cell.push(`letter-spacing:${cssValue(`${section.tracking}em`)}`), section.ink !== void 0 && cell.push(`color:${section.ink === "ink" ? "var(--bp-ink)" : section.ink === "inkMeta" ? "var(--bp-ink-meta,var(--bp-ink-muted))" : "var(--bp-ink-muted)"}`), row.length > 0 && rules.push(`.bp-table-grid [role="row"][data-role="section"]{${row.join(";")}}`), cell.length > 0 && rules.push(`.bp-table-grid [role="row"][data-role="section"]>*{${cell.join(";")}}`);
|
|
365
|
+
}
|
|
366
|
+
let paints = cellGrounds(theme), paint = (value) => cssValue(checkedCssColor(value));
|
|
367
|
+
rules.push(`.bp-table{--bp-size-bar:${paint(paints.bar)};--bp-size-bar-muted:${paint(paints.barMuted)}}`);
|
|
368
|
+
let bodyRow = '.bp-table-grid [data-bp-rowgroup="body"] [role="row"]', kinds = ["member", "measure", "subtotal", "result"];
|
|
369
|
+
for (let kind of kinds) {
|
|
370
|
+
if (!statement && (kind === "subtotal" || kind === "result")) continue;
|
|
371
|
+
let figures = table?.weights?.figures?.[kind] ?? (kind === "subtotal" || kind === "result" ? tableEmphasis(theme) : void 0), label = table?.weights?.[kind] ?? (kind === "subtotal" || kind === "result" ? tableEmphasis(theme) : void 0), statementKind = kind === "subtotal" || kind === "result" ? "[data-role]" : "";
|
|
372
|
+
figures !== void 0 && rules.push(`${bodyRow}${statementKind}[data-bp-kind="${kind}"][data-bp-step]>[role="gridcell"]{font-weight:${figures}}`), label !== void 0 && (kind === "subtotal" || kind === "result") && rules.push(`${bodyRow}${statementKind}[data-bp-kind="${kind}"][data-bp-step]>[role="rowheader"]{font-weight:${label}}`);
|
|
373
|
+
}
|
|
374
|
+
if (statement) {
|
|
375
|
+
let resultRule = table?.resultRule ?? "ink";
|
|
376
|
+
rules.push(`${bodyRow}[data-role][data-row-id][data-bp-step][data-bp-kind="result"]>*{border-top:${resultRule === "none" ? "0" : `1px solid var(--bp-${resultRule})`}}`);
|
|
377
|
+
let finalRule = table?.finalRule ?? "double";
|
|
378
|
+
rules.push(
|
|
379
|
+
`${bodyRow}[data-bp-final]>*{border-bottom:${finalRule === "none" ? "0" : finalRule === "double" ? "3px double var(--bp-ink)" : "1px solid var(--bp-rule)"}}`,
|
|
380
|
+
'.bp-table-grid:has([data-bp-rowgroup="body"]>.bp-rowwrap:last-child>[data-bp-final]),.bp-table-grid:has([data-bp-rowgroup="body"]>[data-bp-row-page]:last-child>.bp-rowwrap:last-child>[data-bp-final]){border-bottom:0}',
|
|
381
|
+
'.bp-table-grid .bp-rowwrap:has(>[data-bp-final])+.bp-rowwrap>[role="row"]>*,.bp-table-grid [data-bp-row-page]:has(>.bp-rowwrap:last-child>[data-bp-final])+[data-bp-row-page]>.bp-rowwrap:first-child>[role="row"]>*{border-top:0}'
|
|
382
|
+
);
|
|
383
|
+
let driverInk = table?.inks?.driver === void 0 ? "var(--bp-ink-2)" : paint(table.inks.driver), driverRow = `${bodyRow}[data-role][data-bp-kind="driver"][data-bp-step]`;
|
|
384
|
+
rules.push(
|
|
385
|
+
`${driverRow}>[role],${bodyRow}[data-bp-kind="driver"] .bp-line,${bodyRow} .bp-line[data-bp-kind="driver"]{font-style:${table?.driver?.italic === !1 ? "normal" : "italic"}}`,
|
|
386
|
+
`${driverRow}:not([data-bp-driver-tone])>[role],${driverRow}[data-bp-driver-tone]>[role]:not([data-tone]),${bodyRow}[data-bp-kind="driver"] .bp-line:not([data-tone]),${bodyRow}[data-bp-kind="driver"]:not([data-bp-driver-tone]) .bp-line:not([data-bp-driver-tone]),${bodyRow} .bp-line[data-bp-kind="driver"]:not([data-tone]),${bodyRow} .bp-line[data-bp-kind="driver"]:not([data-bp-driver-tone]){color:${driverInk}}`
|
|
387
|
+
);
|
|
388
|
+
}
|
|
389
|
+
let unwashed = ":not([data-highlight-tone]):not([data-anchor])", surface = resolveSurface(theme), totalGround = mixColors(theme.color.neutral, theme.color.background, Math.min(1, surface.bandTint * 2));
|
|
390
|
+
for (let [selector, ground] of [
|
|
391
|
+
[`${bodyRow}${unwashed}>[data-bp-band]`, { css: totalGround }],
|
|
392
|
+
[`${bodyRow}[data-bp-ground="emphasis"]${unwashed}>[data-bp-band]`, { css: mixColors(theme.color.ink, totalGround, surface.bandTint) }]
|
|
393
|
+
]) {
|
|
394
|
+
let inks = farGroundInks(theme, ground, !1), cells = table?.tones === "fill" ? `${selector}:not([data-tone]),${selector.replace('[role="row"]', '[role="row"].bp-total')}` : selector;
|
|
395
|
+
inks !== void 0 && rules.push(`${cells}{${inks}}`, `:where(${cells}){color:var(--bp-ink)}`);
|
|
396
|
+
}
|
|
397
|
+
for (let kind of ["subtotal", "total"]) {
|
|
398
|
+
let ground = table?.grounds?.[kind], row = `${bodyRow}[${kind === "total" ? "data-role" : "data-bp-kind"}="${kind}"]`;
|
|
399
|
+
ground !== void 0 && rules.push(`${row}{--bp-row-ground:${paint(ground)}}`, `${row}${unwashed}>*{background:${paint(ground)}}`, `${row}${unwashed}>[data-bp-pin]{background:linear-gradient(var(--bp-row-ground),var(--bp-row-ground)),var(--bp-background)}`);
|
|
400
|
+
}
|
|
401
|
+
let inkSelectors = {
|
|
402
|
+
head: '.bp-table-grid [data-bp-rowgroup="head"] .bp-columns>*,.bp-table-grid [data-bp-rowgroup="head"] .bp-groups>*',
|
|
403
|
+
subLabel: ".bp-table-grid .bp-head-sub",
|
|
404
|
+
label: `${bodyRow}[data-bp-step][data-role]:not([data-role="section"]):not([data-bp-kind="driver"]):not([data-bp-kind="detail"]):not([data-bp-kind="split"])>[role="rowheader"]:not([data-emphasis="muted"])`,
|
|
405
|
+
child: `${bodyRow}[data-role][data-bp-kind="detail"][data-bp-step]>[role="rowheader"],${bodyRow}[data-role][data-bp-kind="split"][data-bp-step]>[role="rowheader"]`,
|
|
406
|
+
figure: `${bodyRow}:not([data-bp-kind="driver"])>[role="gridcell"]:not(.bp-muted):not([data-emphasis="muted"]):not([data-bp-zero]):not([data-state="missing"]):not([data-state="na"]):not([data-state="nm"]):not([data-state="suppressed"]):not([data-tone="good"]):not([data-tone="bad"]):not([data-tone="warn"])`,
|
|
407
|
+
qualifier: ".bp-table-grid .bp-unit-affix",
|
|
408
|
+
operator: ".bp-table-grid .bp-operator"
|
|
409
|
+
};
|
|
410
|
+
for (let [role, selector] of Object.entries(inkSelectors)) {
|
|
411
|
+
let ink = table?.inks?.[role];
|
|
412
|
+
ink !== void 0 && rules.push(`${selector}{color:${paint(ink)}}`);
|
|
413
|
+
}
|
|
414
|
+
for (let kind of ["subtotal", "total"]) {
|
|
415
|
+
let ground = table?.grounds?.[kind], inks = ground === void 0 ? void 0 : farGroundInks(theme, { css: ground });
|
|
416
|
+
if (inks === void 0) continue;
|
|
417
|
+
let row = `${bodyRow}[${kind === "total" ? "data-role" : "data-bp-kind"}="${kind}"]${unwashed}`;
|
|
418
|
+
rules.push(
|
|
419
|
+
`${row}{${inks}}`,
|
|
420
|
+
`${row}>[data-state]:not([data-state="value"]),${row} .bp-line[data-state]{color:var(--bp-ink-meta)}`,
|
|
421
|
+
`${row.replace(".bp-table-grid", '.bp-table-grid[data-bp-mark-style="boxed"]')} :is(.bp-tree-toggle,.bp-tree-mark){color:${paint(theme.color.ink)}}`
|
|
422
|
+
);
|
|
423
|
+
let far = farGround(theme, { css: ground }) !== void 0;
|
|
424
|
+
for (let [role, selector] of Object.entries(inkSelectors)) {
|
|
425
|
+
let authored = table?.inks?.[role];
|
|
426
|
+
if (role === "head" || role === "subLabel" || authored === void 0) continue;
|
|
427
|
+
let scoped = selector.split(",").map((one) => one.startsWith(bodyRow) ? row + one.slice(bodyRow.length) : `${row} ${one.replace(".bp-table-grid ", "")}`), color = far ? `var(${role === "label" || role === "figure" ? "--bp-ink" : "--bp-ink-muted"})` : paint(resolvePaint(onTableGround({ css: authored }, { css: ground }), theme));
|
|
428
|
+
rules.push(`${scoped.join(",")}{color:${color}}`);
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
if (table?.inks?.toggle !== void 0 && rules.push(`.bp-table-grid[data-bp-mark-style="boxed"] .bp-tree-toggle,.bp-table-grid[data-bp-mark-style="boxed"] .bp-tree-mark{border-color:${paint(table.inks.toggle)}}`), table?.section?.case !== void 0 && rules.push(`${bodyRow}[data-role="section"]>*{text-transform:${table.section.case === "asis" ? "none" : "uppercase"}}`), table?.qualifier !== void 0 && rules.push(`.bp-table-grid .bp-unit-affix{font-size:max(1px,calc(var(--bp-row-size) + ${table.qualifier.sizeDelta ?? -2}px));margin-inline-start:${table.qualifier.gap ?? 4}px}`), statement) {
|
|
432
|
+
let operatorSize = table?.operator?.width ?? 14;
|
|
433
|
+
rules.push(`.bp-table-grid[data-bp-operators] .bp-columns>*:first-child{padding-inline-start:calc(var(--bp-cell-pad-x) + ${operatorSize}px)}.bp-table-grid[data-bp-operators][data-bp-tree] .bp-columns>*:first-child{padding-inline-start:calc(var(--bp-cell-pad-x) + var(--bp-indent-base,24px) + ${operatorSize}px)}`), rules.push(`.bp-table-grid .bp-operator{display:none}.bp-table-grid[data-bp-operators] [role="rowheader"]>.bp-value,.bp-table-grid[data-bp-operators] [role="rowheader"]>.bp-label-line>.bp-value{position:relative;padding-inline-start:${operatorSize}px;box-sizing:border-box}.bp-table-grid[data-bp-operators] .bp-operator{display:block;position:absolute;inset-inline-start:0;width:${operatorSize}px;color:${table?.inks?.operator === void 0 ? "var(--bp-ink-2)" : paint(table.inks.operator)}}`);
|
|
434
|
+
}
|
|
435
|
+
if (table?.rows !== void 0) {
|
|
436
|
+
let ratio = table.rows.lineHeight;
|
|
437
|
+
ratio !== void 0 && rules.push(
|
|
438
|
+
`.bp-table{--bp-line-ratio:${cssValue(String(ratio))}}`,
|
|
439
|
+
`.bp-table-grid [role="row"]{--bp-row-line:round(up,calc(var(--bp-row-size)*${cssValue(String(ratio))} - ${LINE_BOX_EPSILON}px),1px)}`
|
|
440
|
+
), rules.push(
|
|
441
|
+
'.bp-table-grid [role="row"][data-role="section"]>*{padding-block:var(--bp-pad-leaf)}',
|
|
442
|
+
'.bp-table-grid [data-bp-rowgroup="body"]>.bp-rowwrap:first-child>[role="row"][data-role="section"]>*{padding-block:var(--bp-pad-leaf)}'
|
|
443
|
+
);
|
|
444
|
+
}
|
|
445
|
+
if (rules.push(
|
|
446
|
+
".bp-table-grid .bp-polarity-badge{font:inherit;line-height:inherit;letter-spacing:inherit;padding:2px 6px;margin:-2px -6px;vertical-align:baseline;max-width:none;overflow:visible}",
|
|
447
|
+
".bp-table-grid .bp-value:has(>.bp-polarity-badge){padding:2px 6px;margin:-2px -6px}"
|
|
448
|
+
), table?.tones === "fill" && rules.push(
|
|
449
|
+
`.bp-table{--bp-ground-good:${paint(paints.good)};--bp-ground-good-strong:${paint(paints.goodStrong)};--bp-ground-warn:${paint(paints.warn)};--bp-ground-bad:${paint(paints.bad)}}`,
|
|
450
|
+
'.bp-table-grid [data-bp-rowgroup="body"] [role="row"]:not(.bp-total)>[role="gridcell"][data-bp-figure][data-tone]{color:var(--bp-ink)}',
|
|
451
|
+
...["good", "warn", "bad"].map((tone) => `.bp-table-grid [data-bp-rowgroup="body"] [role="row"]:not([data-bp-member-open]):not(.bp-total)>[role="gridcell"][data-bp-figure][data-tone="${tone}"]{${insetTintCss(`var(--bp-ground-${tone})`)}}`),
|
|
452
|
+
`.bp-table-grid [data-bp-rowgroup="body"] [role="row"]:not([data-bp-member-open]):not(.bp-total)>[role="gridcell"][data-bp-figure][data-tone="good"][data-bp-strong]{${insetTintCss("var(--bp-ground-good-strong)")}}`,
|
|
453
|
+
'.bp-table-grid .bp-line[data-tone="warn"]{color:var(--bp-ink-2)}'
|
|
454
|
+
), table?.headRule === "ink" && rules.push(
|
|
455
|
+
'.bp-table-grid [data-bp-rowgroup="head"]{border-bottom-color:var(--bp-ink)}',
|
|
456
|
+
'.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-role="section"]>*{border-bottom:var(--bp-stroke-hair) solid var(--bp-ink)}',
|
|
457
|
+
'.bp-table-grid .bp-rowwrap:has(>[role="row"][data-role="section"])+.bp-rowwrap>[role="row"]>*,.bp-table-grid [data-bp-rowgroup="body"] [role="row"][data-role="section"]>*{border-top:0}'
|
|
458
|
+
), table?.section?.rule !== "hair" && (rules.push(
|
|
459
|
+
`.bp-table-grid :is([data-bp-rowgroup="body"],.bp-section-float-inner) [role="row"][data-role="section"]>*{border-bottom:${cssValue(`${2 * strokeToken(theme, "rule")}px`)} solid var(--bp-ink)}`,
|
|
460
|
+
'.bp-table-grid .bp-rowwrap:has(>[role="row"][data-role="section"])+.bp-rowwrap>[role="row"]>*,.bp-table-grid [role="row"][data-role="section"]+.bp-children>.bp-rowwrap:first-child>[role="row"]>*{border-top:0}'
|
|
461
|
+
), table?.closeRule === "none" && rules.push('.bp-table-grid :is([data-bp-rowgroup="body"]>.bp-rowwrap:last-child,[data-bp-rowgroup="body"]>.bp-section-scope:last-child>.bp-rowwrap:last-child)>[role="row"][data-role="section"]:not(:has(+.bp-children:not([data-bp-collapsed])))>*{border-bottom:0}'), table?.resultRule === "none" && rules.push('.bp-table-grid .bp-rowwrap:has(+.bp-rowwrap>[role="row"][data-bp-kind="result"])>[role="row"][data-role="section"]>*,.bp-table-grid [role="row"][data-role="section"]:has(+.bp-children>.bp-rowwrap:first-child>[role="row"][data-bp-kind="result"])>*{border-bottom:0}')), table?.blockRule === "rule" && rules.push(
|
|
462
|
+
'.bp-table-grid [data-bp-rowgroup="body"]>.bp-rowwrap>[role="row"]:not([data-role="section"]):has(>[aria-expanded="true"])>*{border-top-color:var(--bp-rule);border-top-width:var(--bp-stroke-rule)}',
|
|
463
|
+
'.bp-table-grid [data-bp-rowgroup="body"]>.bp-rowwrap:has(>[role="row"]:not([data-role="section"])+.bp-children:not([data-bp-collapsed]))+.bp-rowwrap>[role="row"]>*{border-top-color:var(--bp-rule);border-top-width:var(--bp-stroke-rule)}'
|
|
464
|
+
), table?.closeRule === "grid" && rules.push(".bp-table-grid{border-bottom:var(--bp-stroke-row) solid var(--bp-rule-row)}"), table?.closeRule === "none" && rules.push(".bp-table-grid{border-bottom:0}"), textScale !== 1) {
|
|
465
|
+
let px = (value) => cssValue(`${scaleTextPx(value, textScale)}px`);
|
|
466
|
+
rules.push(
|
|
467
|
+
`.bp-table-grid[data-bp-density="compact"],.bp-table-grid[data-bp-density="cohort"]{--bp-size-step:${px(-0.5)}}`,
|
|
468
|
+
`.bp-table-grid[data-bp-density="cohort-small"]{--bp-size-step:${px(-1)}}`,
|
|
469
|
+
`.bp-table-grid{--bp-inline-size:max(var(--bp-micro-size),calc(var(--bp-label-size) + var(--bp-size-step) - ${px(2)}))}`
|
|
470
|
+
);
|
|
471
|
+
}
|
|
472
|
+
if (table?.fixedType === !0) {
|
|
473
|
+
let label = theme.type.label.size;
|
|
474
|
+
rules.push(
|
|
475
|
+
'.bp-table-grid[data-bp-density="compact"]{--bp-size-step:0px}',
|
|
476
|
+
`.bp-table-grid[data-bp-density^="cohort"] [role="row"][data-role="total"].bp-total>[role="rowheader"]{font-size:${cssValue(`${label}px`)};line-height:${cssValue(`${levelLadder(theme, "regular", target, textScale).lineBox(label)}px`)}}`
|
|
477
|
+
);
|
|
478
|
+
}
|
|
479
|
+
if (table?.inks?.figure !== void 0 && table.tones === "fill" && rules.push(`${bodyRow}:not(.bp-total)>[role="gridcell"][data-bp-figure][data-tone]{color:${paint(table.inks.figure)}}`), table?.tones === "fill")
|
|
480
|
+
for (let [tone, strong] of [["good", !1], ["good", !0], ["warn", !1], ["bad", !1]]) {
|
|
481
|
+
let inks = farGroundInks(theme, tableGround(strong ? "goodStrong" : tone));
|
|
482
|
+
inks !== void 0 && rules.push(`${bodyRow}:not([data-bp-member-open]):not(.bp-total)>[role="gridcell"][data-bp-figure][data-tone="${tone}"]${strong ? "[data-bp-strong]" : ":not([data-bp-strong])"}{${inks}}`);
|
|
483
|
+
}
|
|
484
|
+
if (statement) {
|
|
485
|
+
let ink = table?.inks?.driver === void 0 ? "var(--bp-ink-2)" : paint(table.inks.driver), driverRow = `${bodyRow}[data-role][data-bp-kind="driver"][data-bp-step]`;
|
|
486
|
+
rules.push(`${driverRow}:not([data-bp-driver-tone])>[role],${driverRow}[data-bp-driver-tone]>[role]:not([data-tone]),${bodyRow}[data-bp-kind="driver"] .bp-unit-affix{color:${ink}}`);
|
|
487
|
+
}
|
|
488
|
+
return `
|
|
489
|
+
${rules.join(`
|
|
490
|
+
`)}`;
|
|
491
|
+
}
|
|
492
|
+
function renderFeatureStyles(theme, features) {
|
|
493
|
+
let styles = [], { anchorTint, rowTint } = resolveSurface(theme), hoverWash = cssValue(checkedCssColor(mixColors(theme.color.ink, theme.color.background, 1 - rowTint)));
|
|
494
|
+
if (styles.push(
|
|
495
|
+
`.bp-table{--bp-hover-wash:${hoverWash}}`,
|
|
496
|
+
'@media (hover:hover){.bp-table-grid [data-bp-rowgroup="body"] [role="row"]:hover>*{background:var(--bp-hover-wash)}}'
|
|
497
|
+
), features.anchorWash) {
|
|
498
|
+
let anchorWash = cssValue(checkedCssColor(mixColors(theme.color.neutral, theme.color.background, 1 - anchorTint)));
|
|
499
|
+
styles.push(
|
|
500
|
+
`.bp-table{--bp-anchor-wash:${anchorWash}}`,
|
|
501
|
+
'.bp-table-grid [role="row"][data-anchor]>*{background:var(--bp-anchor-wash)}'
|
|
502
|
+
);
|
|
503
|
+
}
|
|
504
|
+
if (features.rowHighlight) {
|
|
505
|
+
let toneWeight = 1 - resolveSurface(theme).rowTint, wash = (tone) => cssValue(checkedCssColor(mixColors(tone, theme.color.background, toneWeight))), focusEdge = theme.color.focus === void 0 ? "var(--bp-highlight)" : cssValue(checkedCssColor(theme.color.focus));
|
|
506
|
+
styles.push(
|
|
507
|
+
`.bp-table{--bp-row-highlight-wash:${wash(theme.color.focus ?? theme.color.highlight)};--bp-row-good-wash:${wash(theme.color.goodFill ?? theme.color.good)};--bp-row-bad-wash:${wash(theme.color.badFill ?? theme.color.bad)};--bp-row-warn-wash:${wash(theme.color.warnFill ?? warnColor(theme))}}`,
|
|
508
|
+
'.bp-table-grid [data-highlight-tone="highlight"]>*{background:var(--bp-row-highlight-wash)}.bp-table-grid [data-highlight-tone="good"]>*{background:var(--bp-row-good-wash)}.bp-table-grid [data-highlight-tone="bad"]>*{background:var(--bp-row-bad-wash)}.bp-table-grid [data-highlight-tone="warn"]>*{background:var(--bp-row-warn-wash)}',
|
|
509
|
+
`.bp-table-grid [data-highlight-tone="highlight"]>:first-child{box-shadow:inset 3px 0 ${focusEdge}}.bp-table-grid [data-highlight-tone="good"]>:first-child{box-shadow:inset 3px 0 var(--bp-good)}.bp-table-grid [data-highlight-tone="bad"]>:first-child{box-shadow:inset 3px 0 var(--bp-bad)}.bp-table-grid [data-highlight-tone="warn"]>:first-child{box-shadow:inset 3px 0 var(--bp-warn)}`
|
|
510
|
+
);
|
|
511
|
+
}
|
|
512
|
+
if (features.inCellBar) {
|
|
513
|
+
let barPaint = (fallback) => cssValue(checkedCssColor(mixColors(fallback, theme.color.background, 0.45)));
|
|
514
|
+
styles.push(
|
|
515
|
+
// The bar is a large fill: the focus and the bad fill, as in the SVG.
|
|
516
|
+
`.bp-table{--bp-bar-positive:${barPaint(theme.color.focus ?? theme.color.highlight)};--bp-bar-negative:${barPaint(theme.color.badFill ?? theme.color.bad)}}`,
|
|
517
|
+
'.bp-table-grid .bp-in-cell-bar{display:grid;grid-template-columns:minmax(3em,1fr) max-content;column-gap:.5em;align-items:center;width:100%}.bp-table-grid .bp-in-cell-track{display:block;height:.62em}.bp-table-grid .bp-in-cell-fill{display:block;height:100%;background:var(--bp-bar-positive)}.bp-table-grid .bp-in-cell-bar[data-bar-sign="negative"] .bp-in-cell-fill{background:var(--bp-bar-negative)}.bp-table-grid .bp-in-cell-value{text-align:right}'
|
|
518
|
+
);
|
|
519
|
+
}
|
|
520
|
+
return styles.length === 0 ? "" : `
|
|
521
|
+
${styles.join(`
|
|
522
|
+
`)}`;
|
|
523
|
+
}
|
|
524
|
+
function tableGroundTextStyle(theme, ground) {
|
|
525
|
+
let byGround = GROUND_TEXT_STYLES.get(theme);
|
|
526
|
+
byGround || GROUND_TEXT_STYLES.set(theme, byGround = /* @__PURE__ */ new WeakMap());
|
|
527
|
+
let known = byGround.get(ground);
|
|
528
|
+
if (known !== void 0 && sameRecipe(known.ground, ground)) return known.style;
|
|
529
|
+
let css = (ink, tone) => checkedCssColor(resolvePaint(onTableGround(ink, ground, tone), theme)), style = {
|
|
530
|
+
"--bp-ink": css({ token: "ink" }),
|
|
531
|
+
"--bp-ink-muted": css({ token: "inkMuted" }),
|
|
532
|
+
"--bp-ink-meta": css({ token: "inkMeta" }),
|
|
533
|
+
"--bp-ink-2": css(tableInk("secondary")),
|
|
534
|
+
...Object.fromEntries(["good", "bad", "warn"].map((tone) => [`--bp-${tone}-text`, css(toneTextPaint(theme, tone), tone)]))
|
|
535
|
+
};
|
|
536
|
+
return byGround.set(ground, { ground: structuredClone(ground), style }), style;
|
|
537
|
+
}
|
|
538
|
+
var GROUND_TEXT_STYLES = /* @__PURE__ */ new WeakMap();
|
|
539
|
+
function farGroundInks(theme, ground, textColor = !0) {
|
|
540
|
+
let background = compositeColor(resolvePaint(ground, theme), theme.color.background);
|
|
541
|
+
if (!(farGround(theme, ground) === void 0 && [theme.color.inkMuted, theme.color.inkMeta ?? theme.color.inkMuted].every((ink) => contrastRatio(ink, background) >= 4.5)))
|
|
542
|
+
return [
|
|
543
|
+
...Object.entries(tableGroundTextStyle(theme, ground)).map(([key, value]) => `${key}:${cssValue(value)}`),
|
|
544
|
+
...textColor ? ["color:var(--bp-ink)"] : []
|
|
545
|
+
].join(";");
|
|
546
|
+
}
|
|
547
|
+
function checkedCssColor(value) {
|
|
548
|
+
let color = value.trim();
|
|
549
|
+
if (!isSafeSvgColor(color))
|
|
550
|
+
throw new Error(
|
|
551
|
+
`invalid theme color '${color.slice(0, 80)}' \u2014 CSS paint accepts hex, rgb()/rgba(), and the shared color keywords only`
|
|
552
|
+
);
|
|
553
|
+
return color;
|
|
554
|
+
}
|
|
555
|
+
function cssValue(value) {
|
|
556
|
+
return value.replaceAll("\\", "\\5c ").replaceAll("<", "\\3c ").replaceAll(">", "\\3e ").replaceAll("&", "\\26 ").replaceAll(";", "\\3b ").replaceAll("{", "\\7b ").replaceAll("}", "\\7d ").replaceAll("\0", "\uFFFD").replace(/[\r\n\f]/g, " ");
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
export {
|
|
560
|
+
tableRenderTheme,
|
|
561
|
+
tablePresentation,
|
|
562
|
+
tableFrame,
|
|
563
|
+
insetTint,
|
|
564
|
+
tableStylesheet,
|
|
565
|
+
tableGroundTextStyle
|
|
566
|
+
};
|