@orangelogic/design-system-react 1.0.0-alpha.7 → 1.0.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/3d-viewer.css +89 -63
- package/dist/3d-viewer.js +17 -17
- package/dist/action-overflow.css +32 -32
- package/dist/action-overflow.js +10 -10
- package/dist/alert.css +18 -18
- package/dist/alert.js +3 -3
- package/dist/am-chart.css +4 -4
- package/dist/am-chart.js +2 -1
- package/dist/animated-image.css +11 -11
- package/dist/animated-image.js +1 -1
- package/dist/animation.css +2 -2
- package/dist/animation.js +1 -1
- package/dist/annotator.css +104 -100
- package/dist/annotator.js +12 -11
- package/dist/array-line-clamp.css +24 -24
- package/dist/array-line-clamp.js +10 -10
- package/dist/asset-data-display.css +13 -13
- package/dist/asset-data-display.js +8 -8
- package/dist/asset-format-picker.css +43 -43
- package/dist/asset-format-picker.js +9 -9
- package/dist/asset-picker.css +113 -55
- package/dist/asset-picker.js +11 -11
- package/dist/audio.css +29 -29
- package/dist/audio.js +4 -4
- package/dist/avatar.css +3 -3
- package/dist/avatar.js +1 -1
- package/dist/badge.css +3 -3
- package/dist/badge.js +1 -1
- package/dist/bicolor-picker.css +143 -137
- package/dist/bicolor-picker.js +24 -24
- package/dist/border-input-group.css +146 -140
- package/dist/border-input-group.js +25 -25
- package/dist/box.css +3 -3
- package/dist/box.js +1 -1
- package/dist/breadcrumb-item.css +11 -11
- package/dist/breadcrumb-item.js +1 -1
- package/dist/breadcrumb.css +8 -8
- package/dist/breadcrumb.js +1 -1
- package/dist/button-group.css +7 -7
- package/dist/button-group.js +1 -1
- package/dist/button.css +3 -3
- package/dist/button.js +2 -2
- package/dist/card.css +5 -5
- package/dist/card.js +1 -1
- package/dist/chunks/{BookReader-Q2GZR6A6.css → BookReader-N6RBAAFS.css} +15 -15
- package/dist/chunks/{BookReader-4H2EJ2TH.js → BookReader-O72FDZII.js} +11 -9
- package/dist/chunks/Dark-IIQYWXLH.js +45 -0
- package/dist/chunks/{GraphView-XIVASOEO.css → GraphView-N4PSK5MJ.css} +49 -45
- package/dist/chunks/{GraphView-EK5OY5R6.js → GraphView-XSJAHCZ7.js} +17 -16
- package/dist/chunks/{KHR_materials_variants-A5HSCDI3.js → KHR_materials_variants-25S4WNIA.js} +22 -22
- package/dist/chunks/{USDZ-6E5O4KCY.js → USDZ-FZIZLW5Q.js} +28 -28
- package/dist/chunks/{amcharts5-DDJOQXLP.js → amcharts5-SYUWLQLE.js} +32 -30
- package/dist/chunks/{animationGroup-JEHAUIRC.js → animationGroup-GXBLIF4B.js} +17 -17
- package/dist/chunks/{background.fragment-7F2WK7TX.js → background.fragment-3Q6JVCR6.js} +1 -1
- package/dist/chunks/{background.fragment-PMX7L742.js → background.fragment-6PRR4CUW.js} +2 -2
- package/dist/chunks/{background.vertex-TDZMCK4X.js → background.vertex-5Z2AFJ6N.js} +2 -2
- package/dist/chunks/{background.vertex-JSOZCQ4Y.js → background.vertex-VTMB4H5N.js} +2 -2
- package/dist/chunks/{basisTextureLoader-2PCZ3ZEY.js → basisTextureLoader-L4JAATB6.js} +5 -5
- package/dist/chunks/{chunk-545OYVA2.js → chunk-25SWO3B6.js} +5 -5
- package/dist/chunks/{chunk-X2L26KKN.js → chunk-2AKMRKCM.js} +1 -1
- package/dist/chunks/{chunk-TMVHV5QT.js → chunk-2EON3HQO.js} +10 -8
- package/dist/chunks/{chunk-25MM7OYW.js → chunk-2HFMZGSK.js} +16 -16
- package/dist/chunks/{chunk-UP5LSJB7.js → chunk-2HKAR4QL.js} +47 -64
- package/dist/chunks/{chunk-OXVEJR55.js → chunk-2HTPZJDS.js} +16 -5
- package/dist/chunks/{chunk-7FYKZQCB.js → chunk-2JLZBRGG.js} +1 -1
- package/dist/chunks/{chunk-PECPHH7O.js → chunk-2NMFO6VO.js} +1 -1
- package/dist/chunks/{chunk-BILL4L45.js → chunk-2PJ2F4KL.js} +2 -2
- package/dist/chunks/{chunk-5KY3PNWI.js → chunk-2PXQFSUK.js} +2 -2
- package/dist/chunks/{chunk-YYZXO5EJ.js → chunk-2VDQTPES.js} +2 -2
- package/dist/chunks/{chunk-7KPB4OTJ.js → chunk-2ZQIPEBY.js} +3 -3
- package/dist/chunks/{chunk-UJYTGKQW.js → chunk-322PR2LS.js} +13 -8
- package/dist/chunks/{chunk-CUIZY7S5.js → chunk-3AHZHGJ2.js} +1 -1
- package/dist/chunks/{chunk-FF4Y2L7B.js → chunk-3AV52MPY.js} +2 -2
- package/dist/chunks/{chunk-HDHCYW4Y.js → chunk-3FJ4H2HJ.js} +1 -1
- package/dist/chunks/{chunk-K7C4WP6M.js → chunk-3GB6VV3S.js} +1 -1
- package/dist/chunks/{chunk-BNQYFFU3.js → chunk-3SR5UKZM.js} +6 -0
- package/dist/chunks/{chunk-EOLVAFHQ.js → chunk-3YZIMFKU.js} +8 -7
- package/dist/chunks/{chunk-QAHET45K.js → chunk-45DLS2FE.js} +2 -2
- package/dist/chunks/{chunk-QBR53Z5X.js → chunk-4AMTWG4I.js} +2 -2
- package/dist/chunks/{chunk-GORDZMMK.js → chunk-4CSY3GMG.js} +3 -3
- package/dist/chunks/{chunk-675PEYCL.js → chunk-4MBT54S2.js} +17 -15
- package/dist/chunks/{chunk-BLA6A2KU.js → chunk-4O4V7EET.js} +3 -3
- package/dist/chunks/{chunk-FKNWOK7H.js → chunk-4QTOA3CO.js} +1 -1
- package/dist/chunks/{chunk-GD7SZUVC.js → chunk-4QW7Z67X.js} +2 -2
- package/dist/chunks/{chunk-KNJASTHS.js → chunk-4R2EOZ4Q.js} +28 -20
- package/dist/chunks/{chunk-LXO7JFIS.js → chunk-55CDDZ3X.js} +6 -6
- package/dist/chunks/{chunk-KZSYVD7T.js → chunk-55KNEJCB.js} +5 -5
- package/dist/chunks/{chunk-WGAMVEB3.js → chunk-5CATWU56.js} +258 -256
- package/dist/chunks/{chunk-3XSIYTL5.js → chunk-5DY5S5QE.js} +12 -9
- package/dist/chunks/{chunk-OTBWFOG7.js → chunk-5GHFEST6.js} +6 -6
- package/dist/chunks/{chunk-5SQEAH5D.js → chunk-63GOH65S.js} +9 -9
- package/dist/chunks/{chunk-KQO5MOJZ.js → chunk-66OOQVKY.js} +25 -21
- package/dist/chunks/{chunk-SFAP5UK3.js → chunk-6HAVNV5Z.js} +1 -1
- package/dist/chunks/{chunk-7EGYGFZG.js → chunk-6IULX7A4.js} +4 -2
- package/dist/chunks/{chunk-CMQK3TLH.js → chunk-6LRI2ZOE.js} +7 -7
- package/dist/chunks/{chunk-VUSREHNY.js → chunk-6OMSBCWE.js} +2 -2
- package/dist/chunks/{chunk-T3SJGG7I.js → chunk-6SZAPTJJ.js} +1 -1
- package/dist/chunks/{chunk-VVE25P5J.js → chunk-6T7T2S2H.js} +3 -3
- package/dist/chunks/{chunk-ZGE4QZKT.js → chunk-6TIRYHTS.js} +6 -4
- package/dist/chunks/{chunk-M3R23DFI.js → chunk-6TWY2QTT.js} +1 -1
- package/dist/chunks/{chunk-GOLE3W6T.js → chunk-76R65OTY.js} +2 -2
- package/dist/chunks/{chunk-CW5XNP7G.js → chunk-7EYTGFMT.js} +1 -1
- package/dist/chunks/{chunk-O3P4224X.js → chunk-7GYCTS3L.js} +1 -1
- package/dist/chunks/{chunk-W6LZ2O47.js → chunk-7QVMNPL3.js} +6 -4
- package/dist/chunks/{chunk-XA7OKWUP.js → chunk-A26QQGFN.js} +3 -3
- package/dist/chunks/{chunk-ZAEJBROR.js → chunk-A3XMTNIZ.js} +3 -3
- package/dist/chunks/{chunk-OGF4JNOZ.js → chunk-A4KC4ILT.js} +12 -10
- package/dist/chunks/{chunk-K4C4BWSJ.js → chunk-A5H3TD5Y.js} +3 -3
- package/dist/chunks/{chunk-AF2O5LUD.js → chunk-A7CNJZVJ.js} +4 -2
- package/dist/chunks/{chunk-R4SXR3AG.js → chunk-AZZ46MCC.js} +7 -7
- package/dist/chunks/{chunk-UECJ5RS6.js → chunk-B3XA6TPG.js} +1 -1
- package/dist/chunks/{chunk-7HG6FX64.js → chunk-B4CASKOW.js} +23 -4
- package/dist/chunks/{chunk-Y5KZCUWS.js → chunk-BCGYRHP4.js} +13 -13
- package/dist/chunks/{chunk-5FMO7VJG.js → chunk-BCLOTKBC.js} +2 -2
- package/dist/chunks/{chunk-X636FDOY.js → chunk-BGVJKQY4.js} +2 -2
- package/dist/chunks/{chunk-ZV6U7B3T.js → chunk-BIQ6T4OC.js} +6 -6
- package/dist/chunks/{chunk-AAP47S77.js → chunk-BTGTLVI3.js} +2 -2
- package/dist/chunks/{chunk-HYUCRYLU.js → chunk-BU4LIKNG.js} +1 -1
- package/dist/chunks/{chunk-UJXSQEGV.js → chunk-C2L2Y6XE.js} +1 -1
- package/dist/chunks/{chunk-2RWFJDLA.js → chunk-C5ADEZQB.js} +20 -20
- package/dist/chunks/{chunk-7XKGS3D3.js → chunk-CA5PUX2F.js} +3 -3
- package/dist/chunks/{chunk-PJSQ2JPI.js → chunk-CDGGGRLG.js} +1 -1
- package/dist/chunks/{chunk-2JMYD3G2.js → chunk-CPRSDA6D.js} +17 -13
- package/dist/chunks/{chunk-LUJ6HV2K.js → chunk-CSB3NYGB.js} +38 -33
- package/dist/chunks/{chunk-KMUC57YN.js → chunk-D7F7S375.js} +32 -9
- package/dist/chunks/{chunk-RZECS4MR.js → chunk-DFAEMP4N.js} +1 -1
- package/dist/chunks/{chunk-7YZW3PFZ.js → chunk-DHNT2ACJ.js} +11 -11
- package/dist/chunks/{chunk-IZLKLRA7.js → chunk-DHOQ7C7F.js} +3 -3
- package/dist/chunks/{chunk-JPNKN7MO.js → chunk-DKGQ3W6L.js} +8 -5
- package/dist/chunks/{chunk-CTZHF6PK.js → chunk-DNUVFK6V.js} +6 -4
- package/dist/chunks/{chunk-NVIALFEZ.js → chunk-DOCYXWVC.js} +6 -3
- package/dist/chunks/{chunk-2XT7ARRR.js → chunk-DR3YEV4N.js} +1 -1
- package/dist/chunks/{chunk-4FMKEYMM.js → chunk-DRRCO3H2.js} +2 -2
- package/dist/chunks/{chunk-SFXOKZNZ.js → chunk-DVMIQENB.js} +16 -13
- package/dist/chunks/{chunk-DUR4FFHN.js → chunk-DX42PQRE.js} +4 -4
- package/dist/chunks/{chunk-4MAV25QJ.js → chunk-DZKM5FYU.js} +1 -1
- package/dist/chunks/{chunk-3W2G7C7R.js → chunk-E363NCEZ.js} +2 -2
- package/dist/chunks/{chunk-WMBCXFXO.js → chunk-E6TVLIFX.js} +15 -15
- package/dist/chunks/{chunk-LKTG6TAS.js → chunk-EFUO35HB.js} +9 -9
- package/dist/chunks/{chunk-KKUUVECJ.js → chunk-EJTRPDRY.js} +1 -1
- package/dist/chunks/{chunk-KHVYFV42.js → chunk-EMQ7EYDV.js} +35 -15
- package/dist/chunks/{chunk-KIXYQHDN.js → chunk-ET3WF5EW.js} +1 -1
- package/dist/chunks/{chunk-WOQ65PA5.js → chunk-EUVZFGGK.js} +2 -2
- package/dist/chunks/{chunk-WQHHESDD.js → chunk-EX2RC6BM.js} +3 -3
- package/dist/chunks/{chunk-R4MFZ5CV.js → chunk-EXC3FVZW.js} +5 -3
- package/dist/chunks/{chunk-GXSAM2VY.js → chunk-FHPEFUDI.js} +49 -8
- package/dist/chunks/{chunk-PPNQH4QP.js → chunk-FT5T2VP4.js} +2 -2
- package/dist/chunks/{chunk-C2TJK2KC.js → chunk-FTD3VRR3.js} +3 -3
- package/dist/chunks/{chunk-GF57CE3U.js → chunk-G2PWONLI.js} +4 -2
- package/dist/chunks/{chunk-IJQIHMR4.js → chunk-G4IGTSPB.js} +2 -2
- package/dist/chunks/{chunk-J3JCTQOX.js → chunk-GC23WI6N.js} +2 -2
- package/dist/chunks/{chunk-ONFERE7S.js → chunk-GF4GAQ7T.js} +9 -7
- package/dist/chunks/{chunk-JJ4G3G5H.js → chunk-GNXN5NBM.js} +6 -3
- package/dist/chunks/{chunk-QGWRTVYB.js → chunk-GQYRBJUE.js} +20 -20
- package/dist/chunks/{chunk-QEIYDZXY.js → chunk-GXOWHRHL.js} +3 -3
- package/dist/chunks/{chunk-C5HZWAZA.js → chunk-HFPSWY5F.js} +1 -1
- package/dist/chunks/{chunk-SATEFALB.js → chunk-HNGGZN45.js} +2 -2
- package/dist/chunks/{chunk-TICV4QHM.js → chunk-HNSAOAJX.js} +1 -1
- package/dist/chunks/{chunk-XVFXPPFZ.js → chunk-HPJXP5R6.js} +2 -2
- package/dist/chunks/{chunk-F5SXGBWS.js → chunk-HSXAXHMV.js} +13 -9
- package/dist/chunks/{chunk-LJAUCGZD.js → chunk-HVGETUVB.js} +4 -4
- package/dist/chunks/{chunk-QLE5AMY2.js → chunk-I2ONGEYE.js} +6 -6
- package/dist/chunks/{chunk-SZNEBEU4.js → chunk-I4OW2YVJ.js} +1 -1
- package/dist/chunks/{chunk-7PYVMAD5.js → chunk-IL26KN4Z.js} +41 -18
- package/dist/chunks/{chunk-URERTALC.js → chunk-IP2NYL66.js} +1 -1
- package/dist/chunks/{chunk-EPMK2AJE.js → chunk-IREXVUYZ.js} +3 -3
- package/dist/chunks/{chunk-JIKG4IV6.js → chunk-IST3HBCH.js} +3 -3
- package/dist/chunks/{chunk-GBSSBWIO.js → chunk-J2KWWPKX.js} +1 -1
- package/dist/chunks/{chunk-GIB6EIEK.js → chunk-J7E3IV76.js} +87 -5
- package/dist/chunks/{chunk-J457NFUE.js → chunk-JATRYMPD.js} +6 -4
- package/dist/chunks/{chunk-P365I6BO.js → chunk-JEDWD3NH.js} +1 -1
- package/dist/chunks/{chunk-WZWOKXCK.js → chunk-JF7G7E3I.js} +1 -1
- package/dist/chunks/{chunk-H7GHAUDZ.js → chunk-JMVXUNZP.js} +46 -7
- package/dist/chunks/{chunk-HK7Y7TON.js → chunk-JSYYBQ5X.js} +6 -4
- package/dist/chunks/{chunk-HQMY2GMP.js → chunk-KFWKJMVO.js} +1 -1
- package/dist/chunks/{chunk-N6VDSUZU.js → chunk-L4QEO2F3.js} +2 -2
- package/dist/chunks/{chunk-VHZMC5PJ.js → chunk-LLHGHGI2.js} +1 -1
- package/dist/chunks/{chunk-VDS5W3B6.js → chunk-LPDZAQQI.js} +1 -1
- package/dist/chunks/{chunk-RFPUO7LE.js → chunk-M27EVU3S.js} +3 -3
- package/dist/chunks/{chunk-CW73CRMT.js → chunk-M2MHTGNP.js} +9 -9
- package/dist/chunks/{chunk-DQVK7YKC.js → chunk-MHOQPKOE.js} +1 -1
- package/dist/chunks/{chunk-4JG5JUIF.js → chunk-MWFGSRUL.js} +24 -21
- package/dist/chunks/{chunk-UECBT4DN.js → chunk-MZD2MZLE.js} +2 -2
- package/dist/chunks/{chunk-PRLLVMEK.js → chunk-NACEAEWS.js} +15 -13
- package/dist/chunks/{chunk-XMXZHUQG.js → chunk-NCUTBBN6.js} +5 -3
- package/dist/chunks/{chunk-PPFEHEGU.js → chunk-ND4UYEI2.js} +5 -5
- package/dist/chunks/{chunk-ZQ56KRNR.js → chunk-NIP4M4Q6.js} +8 -6
- package/dist/chunks/{chunk-BQZI5CHX.js → chunk-NKLRDNQ7.js} +4 -2
- package/dist/chunks/{chunk-PHBQQW4M.js → chunk-NKWAFGD5.js} +22 -12
- package/dist/chunks/{chunk-TLFYKSCI.js → chunk-NME4ZLMV.js} +3 -2
- package/dist/chunks/{chunk-EYXFTBXJ.js → chunk-NMXNLTLZ.js} +1 -1
- package/dist/chunks/{chunk-26UXTT37.js → chunk-NOBDZH27.js} +16 -9
- package/dist/chunks/{chunk-QBAZTLJY.js → chunk-NPG3FNFR.js} +16 -14
- package/dist/chunks/{chunk-J34KEUYL.js → chunk-NT7ZVSBW.js} +98 -44
- package/dist/chunks/{chunk-GP3SDN7R.js → chunk-NTBXRYRE.js} +3 -3
- package/dist/chunks/{chunk-QXQOPOZ6.js → chunk-NXZMRY7U.js} +1 -1
- package/dist/chunks/{chunk-ET3W5VYS.js → chunk-NY6B7RIZ.js} +2 -2
- package/dist/chunks/{chunk-RJ7BOVYZ.js → chunk-O2K5C3KL.js} +5 -5
- package/dist/chunks/{chunk-7LWRDOOV.js → chunk-OEZ65UYJ.js} +3 -3
- package/dist/chunks/{chunk-NVDV4224.js → chunk-OHYCFRZ6.js} +1 -1
- package/dist/chunks/{chunk-X7OJJ7Y7.js → chunk-OLZB7DKS.js} +3 -3
- package/dist/chunks/{chunk-Z4TTPWPO.js → chunk-OPAEG2VV.js} +1 -1
- package/dist/chunks/{chunk-L5NEGTAY.js → chunk-P2FMTJWB.js} +1 -1
- package/dist/chunks/{chunk-G4NSZGSJ.js → chunk-P2G5MNQS.js} +4 -4
- package/dist/chunks/{chunk-NOIO6CO4.js → chunk-P2J4OCWV.js} +1 -1
- package/dist/chunks/{chunk-KQAEECUV.js → chunk-P64OCE7F.js} +1 -1
- package/dist/chunks/{chunk-74J2TMKD.js → chunk-PFBOJEQN.js} +1 -1
- package/dist/chunks/{chunk-DYRBJQ3G.js → chunk-PFM5ZARP.js} +8 -5
- package/dist/chunks/{chunk-5D3M4MQP.js → chunk-PKGKKUP7.js} +5 -5
- package/dist/chunks/{chunk-2HZX56MS.js → chunk-PLI6UUW6.js} +11 -11
- package/dist/chunks/{chunk-HOWDMAY2.js → chunk-POU2HYVO.js} +5 -5
- package/dist/chunks/{chunk-EL2FTFRI.js → chunk-PPMPRF74.js} +6 -6
- package/dist/chunks/{chunk-DQLOC5UE.js → chunk-PTZUYLGW.js} +4 -4
- package/dist/chunks/{chunk-ST5ZYIRQ.js → chunk-PUNDNGUM.js} +2 -2
- package/dist/chunks/{chunk-MLYSQDD4.js → chunk-Q2KD3B6R.js} +25 -23
- package/dist/chunks/{chunk-OZV46RMH.js → chunk-Q6CKXYMN.js} +1 -1
- package/dist/chunks/{chunk-DQ56PUOP.js → chunk-Q6RTKIVB.js} +7 -5
- package/dist/chunks/{chunk-HVFHXQH2.js → chunk-QEG2R5YU.js} +1 -1
- package/dist/chunks/{chunk-6WYWNC2Z.js → chunk-QERAQSAF.js} +1 -1
- package/dist/chunks/{chunk-EZMEIYUK.js → chunk-QLE4XREO.js} +4 -4
- package/dist/chunks/{chunk-7JQEP22L.js → chunk-QM7J7VYQ.js} +1 -1
- package/dist/chunks/{chunk-PXK2AN7T.js → chunk-QPHRWULU.js} +53 -41
- package/dist/chunks/chunk-QQTDGM63.js +1321 -0
- package/dist/chunks/{chunk-KT5LDNZH.js → chunk-QXBLNSVZ.js} +7 -7
- package/dist/chunks/{chunk-STQZ5WTP.js → chunk-R3624WDF.js} +10 -10
- package/dist/chunks/{chunk-KTFQGZ5N.js → chunk-R7D3ELW6.js} +2 -2
- package/dist/chunks/{chunk-KZMIV4C7.js → chunk-REVUEDTP.js} +1 -1
- package/dist/chunks/{chunk-B2CPGVTR.js → chunk-REWLZ5GZ.js} +1 -1
- package/dist/chunks/{chunk-Y7DTJRRL.js → chunk-RTLKPFSE.js} +4 -4
- package/dist/chunks/{chunk-XUO2U6W4.js → chunk-RZNNCHQM.js} +11 -5
- package/dist/chunks/{chunk-OWISGMW5.js → chunk-SBDV3T7A.js} +1 -1
- package/dist/chunks/{chunk-WSU5KT62.js → chunk-SDQ4GIH2.js} +9 -6
- package/dist/chunks/{chunk-HJWWZ2WK.js → chunk-SEGTTIMH.js} +1 -1
- package/dist/chunks/{chunk-M7SX2VRX.js → chunk-SH5DELNO.js} +7 -6
- package/dist/chunks/{chunk-AHNGXG3R.js → chunk-SNRJEW3Z.js} +1 -1
- package/dist/chunks/{chunk-WK6GU2EX.js → chunk-SRBTOSVF.js} +2 -2
- package/dist/chunks/{chunk-652ZUGRK.js → chunk-SSRFKRC3.js} +19 -19
- package/dist/chunks/{chunk-MHWL7UU4.js → chunk-TASB5CYW.js} +7 -5
- package/dist/chunks/{chunk-4W7DO33A.js → chunk-TFAXWF7H.js} +4 -2
- package/dist/chunks/{chunk-TXESPPRC.js → chunk-TKLTZFT7.js} +24 -18
- package/dist/chunks/{chunk-KBO6LXMC.js → chunk-TZYM3T73.js} +9 -9
- package/dist/chunks/{chunk-LUIXDCDX.js → chunk-UOFQ7MHM.js} +28 -1317
- package/dist/chunks/{chunk-IO4WKWWG.js → chunk-UZ6OJFCL.js} +4 -2
- package/dist/chunks/{chunk-QYQGZRIP.js → chunk-V345BQCJ.js} +7 -5
- package/dist/chunks/{chunk-6UFUOG23.js → chunk-V7SDA6VG.js} +11 -7
- package/dist/chunks/{chunk-YHCOY32B.js → chunk-VKGGN4DE.js} +1 -1
- package/dist/chunks/{chunk-EFLBI5OS.js → chunk-VKZGKDMR.js} +2 -2
- package/dist/chunks/{chunk-AEBUFMJL.js → chunk-VP3G2XOF.js} +2 -2
- package/dist/chunks/{chunk-UKN5DVNZ.js → chunk-VWPK3KFG.js} +2 -2
- package/dist/chunks/{chunk-CJY3ZYWS.js → chunk-W3Y744AX.js} +5 -3
- package/dist/chunks/{chunk-B2NH3UI5.js → chunk-W4DPFJDF.js} +1 -1
- package/dist/chunks/{chunk-NN5AOQYI.js → chunk-WCYGGQRC.js} +1 -1
- package/dist/chunks/{chunk-WA4H4IXN.js → chunk-WIYZVF73.js} +1 -1
- package/dist/chunks/{chunk-2ZHWUBAG.js → chunk-WOH4BARF.js} +304 -304
- package/dist/chunks/{chunk-ZUF7CUAC.js → chunk-WQNIFU24.js} +1 -1
- package/dist/chunks/{chunk-AEVLYOHS.js → chunk-WZHR7AZY.js} +1 -1
- package/dist/chunks/{chunk-SKZHEAV4.js → chunk-WZUUS6XK.js} +32 -32
- package/dist/chunks/{chunk-24GSHQQB.js → chunk-XADIS7HP.js} +2 -2
- package/dist/chunks/{chunk-RRC7YXE3.js → chunk-XEMP5M3B.js} +1 -1
- package/dist/chunks/{chunk-Z43JQVIG.js → chunk-XUWF6X3H.js} +9 -8
- package/dist/chunks/{chunk-W3NRPGTO.js → chunk-Y2LG737B.js} +2 -2
- package/dist/chunks/{chunk-TMFWLCJ5.js → chunk-Y2YWEVNV.js} +3 -3
- package/dist/chunks/{chunk-TRJ37OLL.js → chunk-Y6AVR4NU.js} +2 -2
- package/dist/chunks/{chunk-GG66ZULN.js → chunk-Y7HBDHDV.js} +11 -7
- package/dist/chunks/{chunk-IJJFLF5S.js → chunk-YCFPR6L6.js} +1 -1
- package/dist/chunks/{chunk-LO2A2WBZ.js → chunk-YJJDO7BY.js} +59 -30
- package/dist/chunks/{chunk-D5OUAJXF.js → chunk-YJR6HPH2.js} +22 -3
- package/dist/chunks/{chunk-JEV45G2O.js → chunk-YUFVM5FU.js} +327 -127
- package/dist/chunks/{chunk-47QZBIFP.js → chunk-Z35PCIMQ.js} +15 -15
- package/dist/chunks/{chunk-VKPF6QIK.js → chunk-ZPRIZ5S5.js} +2 -2
- package/dist/chunks/{chunk-Y5PP6HMD.js → chunk-ZQEIQA4J.js} +1 -1
- package/dist/chunks/{chunk-QZLYQC4B.js → chunk-ZQNVESPJ.js} +18 -14
- package/dist/chunks/{chunk-OM2W5TDU.js → chunk-ZZLY3REM.js} +5 -5
- package/dist/chunks/{color.vertex-VU7LJ2PA.js → color.vertex-WW6XJMNU.js} +2 -2
- package/dist/chunks/{color.vertex-F7P6BNTF.js → color.vertex-Z5WUF2Q2.js} +2 -2
- package/dist/chunks/colorPicker-WB42L444.js +22 -0
- package/dist/chunks/{computeShaderBoundingHelper-TDFMEX6R.js → computeShaderBoundingHelper-Z4XTEZ44.js} +6 -6
- package/dist/chunks/{core-677H6ENF.js → core-UKOKSAWG.js} +287 -287
- package/dist/chunks/{dds-JPB3QPPR.js → dds-MZHAVP3B.js} +12 -12
- package/dist/chunks/{ddsTextureLoader-P3B5GR6K.js → ddsTextureLoader-H3PCRE3C.js} +13 -13
- package/dist/chunks/{default.fragment-JORAGYZW.js → default.fragment-BF2Q5VHF.js} +3 -3
- package/dist/chunks/{default.fragment-BQX6MW4O.js → default.fragment-C2EC6QHW.js} +2 -2
- package/dist/chunks/{default.vertex-FOZHIN5X.js → default.vertex-G2COZRAU.js} +2 -2
- package/dist/chunks/{default.vertex-WWCJ646C.js → default.vertex-NZZZ5JFE.js} +2 -2
- package/dist/chunks/{depth.vertex-D6GA52UZ.js → depth.vertex-LQCYHD3C.js} +2 -2
- package/dist/chunks/{depth.vertex-T7YZ7WHT.js → depth.vertex-SHPH4IOE.js} +2 -2
- package/dist/chunks/{dumpTools-GXUGWTHD.js → dumpTools-JOSEI3LC.js} +6 -6
- package/dist/chunks/{envTextureLoader-I55AD6CK.js → envTextureLoader-UIMQM7SW.js} +23 -23
- package/dist/chunks/{environment-controller-5PUJP7CE.js → environment-controller-SWCU4NUG.js} +1 -1
- package/dist/chunks/{exporting-6JV2NUJK.js → exporting-LUXM2Q3G.js} +9 -7
- package/dist/chunks/{exrTextureLoader-6GTN3CUY.js → exrTextureLoader-UJCY54JE.js} +4 -4
- package/dist/chunks/{flow-XEWNAKVI.js → flow-FEB2T47U.js} +21 -19
- package/dist/chunks/{flowGraphMeshPickEventBlock-BIYPJAQI.js → flowGraphMeshPickEventBlock-BL6HA2QL.js} +2 -2
- package/dist/chunks/{flowGraphPlayAnimationBlock-BQUPVFS4.js → flowGraphPlayAnimationBlock-S7DMLO7M.js} +18 -18
- package/dist/chunks/{flowGraphPointerOutEventBlock-Z7V4Q43Q.js → flowGraphPointerOutEventBlock-7VWFRYP4.js} +2 -2
- package/dist/chunks/{flowGraphPointerOverEventBlock-KNXFYYRL.js → flowGraphPointerOverEventBlock-JVZOQVVZ.js} +2 -2
- package/dist/chunks/{flowGraphReceiveCustomEventBlock-QNNARB2G.js → flowGraphReceiveCustomEventBlock-2GX6TVC4.js} +5 -5
- package/dist/chunks/{gantt-TU7LV276.js → gantt-PKE7E7YK.js} +34 -32
- package/dist/chunks/{gaussianSplatting.vertex-HSGEWPNL.js → gaussianSplatting.vertex-A4NH2CNV.js} +1 -1
- package/dist/chunks/{gaussianSplatting.vertex-PNOUI5VU.js → gaussianSplatting.vertex-VNUJ2NNU.js} +1 -1
- package/dist/chunks/{geometry.fragment-A2OQSUWT.js → geometry.fragment-5OPSDP4F.js} +2 -2
- package/dist/chunks/{geometry.vertex-RVAI2Z6G.js → geometry.vertex-334BZJUR.js} +2 -2
- package/dist/chunks/{geometry.vertex-BTMHTFO6.js → geometry.vertex-NFXJNQQY.js} +2 -2
- package/dist/chunks/{glTF-4E46WFSF.js → glTF-MUD27F2D.js} +38 -38
- package/dist/chunks/{glTFLoaderAnimation-7EB5QVI6.js → glTFLoaderAnimation-PCFOG33N.js} +9 -9
- package/dist/chunks/{glowMapGeneration.vertex-G47YKOMJ.js → glowMapGeneration.vertex-3HMHS7QR.js} +2 -2
- package/dist/chunks/{glowMapGeneration.vertex-EVXM3SD3.js → glowMapGeneration.vertex-U5LFU7MD.js} +2 -2
- package/dist/chunks/{grid-K2BPLVA5.js → grid-KDFQ4NNV.js} +12 -12
- package/dist/chunks/{hierarchy-ZOMBE7G3.js → hierarchy-7S345RH7.js} +18 -16
- package/dist/chunks/{iblVoxelGrid.vertex-ORDUUW7E.js → iblVoxelGrid.vertex-3AQZORFT.js} +1 -1
- package/dist/chunks/{iblVoxelGrid.vertex-4BCY3LCO.js → iblVoxelGrid.vertex-TIEV3MKH.js} +1 -1
- package/dist/chunks/{inspector-OXW7QFME.js → inspector-K2UZEKXI.js} +132 -132
- package/dist/chunks/{json-IG7LZDS3.js → json-CH373W7F.js} +5 -4
- package/dist/chunks/{kernelBlur.fragment-2AMQN2Y4.js → kernelBlur.fragment-E7VYOKC6.js} +1 -1
- package/dist/chunks/{ktxTextureLoader-GZQHHGHX.js → ktxTextureLoader-UGIIBPST.js} +4 -4
- package/dist/chunks/{line.vertex-BMSRDTQC.js → line.vertex-HR2AHZEO.js} +1 -1
- package/dist/chunks/{line.vertex-AA5SEXE7.js → line.vertex-KIYC3XVR.js} +1 -1
- package/dist/chunks/{map-ZAI3S7R3.js → map-2JCTUCRT.js} +16 -14
- package/dist/chunks/{meshUVSpaceRenderer.vertex-6XQT35ET.js → meshUVSpaceRenderer.vertex-BYK5DRO5.js} +1 -1
- package/dist/chunks/{meshUVSpaceRenderer.vertex-UDMDMTXU.js → meshUVSpaceRenderer.vertex-KM27P6XF.js} +1 -1
- package/dist/chunks/{openPbrMaterial-PG5LZQVG.js → openPbrMaterial-MJUAWGZT.js} +22 -22
- package/dist/chunks/{openpbr.fragment-RLQPWAEI.js → openpbr.fragment-UM6JK2VJ.js} +2 -2
- package/dist/chunks/{openpbr.fragment-VXUTPMRA.js → openpbr.fragment-VWBDKZMF.js} +2 -2
- package/dist/chunks/{openpbr.vertex-EQEON3R6.js → openpbr.vertex-IYS5B65Z.js} +2 -2
- package/dist/chunks/{openpbr.vertex-2SHFYWU3.js → openpbr.vertex-QT2NYN3Z.js} +2 -2
- package/dist/chunks/{outline.vertex-NUQCC5LS.js → outline.vertex-GTLT6U26.js} +2 -2
- package/dist/chunks/{outline.vertex-A4HN2ZLX.js → outline.vertex-SLLRX7TL.js} +2 -2
- package/dist/chunks/{particles.fragment-CRTOTBKA.js → particles.fragment-WI65AKZV.js} +1 -1
- package/dist/chunks/{particles.vertex-TXJE6CMU.js → particles.vertex-SQS4WYKV.js} +1 -1
- package/dist/chunks/{particles.vertex-HMQCLF26.js → particles.vertex-UORXWLBF.js} +1 -1
- package/dist/chunks/{pbr.fragment-Z2U5RAU3.js → pbr.fragment-5YNWCH4P.js} +2 -2
- package/dist/chunks/{pbr.fragment-W4LSPNEW.js → pbr.fragment-BCF3C7NU.js} +3 -3
- package/dist/chunks/{pbr.vertex-F6ITDENM.js → pbr.vertex-REFISCTU.js} +2 -2
- package/dist/chunks/{pbr.vertex-4P74XT6B.js → pbr.vertex-T6W7QPU4.js} +2 -2
- package/dist/chunks/{pbrMaterial-QWA6H63W.js → pbrMaterial-5LOM5MFM.js} +25 -25
- package/dist/chunks/{percent-2YMJHJG6.js → percent-2JS2BELZ.js} +19 -17
- package/dist/chunks/{picking.vertex-3QMC6RTD.js → picking.vertex-CYORLO3H.js} +1 -1
- package/dist/chunks/{picking.vertex-TNK5BZIF.js → picking.vertex-ULDBODZ6.js} +1 -1
- package/dist/chunks/{radar-5WHNNTMQ.js → radar-V3X6VVQ2.js} +21 -19
- package/dist/chunks/{scrollbar-Z53PJLEC.js → scrollbar-4MPAWELN.js} +1 -1
- package/dist/chunks/{scrollbar-KQ2BVD4S.css → scrollbar-M3YXEQQZ.css} +35 -35
- package/dist/chunks/{shadowMap.vertex-BLOUKDUC.js → shadowMap.vertex-BJHZWX6T.js} +2 -2
- package/dist/chunks/{shadowMap.vertex-VVTNOL4H.js → shadowMap.vertex-IHNKLYR4.js} +2 -2
- package/dist/chunks/{sliceGrouper-G3MH7EZF.js → sliceGrouper-X4KAGFI4.js} +4 -3
- package/dist/chunks/{stock-ECMQQ3UV.js → stock-MKQ625EX.js} +31 -29
- package/dist/chunks/{thinEngine-NOMUUFHD.js → thinEngine-ILRFAUHX.js} +2 -2
- package/dist/chunks/{timeline-BVIVBYOU.js → timeline-46WT4JRN.js} +21 -19
- package/dist/chunks/{transformFeedbackBoundingHelper-HRIAH6ID.js → transformFeedbackBoundingHelper-BIAS4ZNS.js} +6 -6
- package/dist/chunks/{venn-NCLTZCVZ.js → venn-X5MK5TCA.js} +9 -7
- package/dist/chunks/{wc-ZT4D4FV3.js → wc-GDVWUQZG.js} +10 -8
- package/dist/chunks/{webAudioStreamingSound-VFRIMNLZ.js → webAudioStreamingSound-VTMNFKVF.js} +4 -4
- package/dist/chunks/{xy-BFOJVEB6.js → xy-PC7CIYUJ.js} +23 -21
- package/dist/color-picker.css +140 -134
- package/dist/color-picker.js +23 -23
- package/dist/color-swatch.css +25 -25
- package/dist/color-swatch.js +10 -10
- package/dist/confirm-popover.css +56 -56
- package/dist/confirm-popover.js +8 -8
- package/dist/copy-button.css +8 -8
- package/dist/copy-button.js +4 -4
- package/dist/corner-position-input-group.css +55 -55
- package/dist/corner-position-input-group.js +13 -13
- package/dist/cropper.css +22 -7
- package/dist/cropper.js +4 -3
- package/dist/dashboard-iframe.css +10 -10
- package/dist/dashboard-iframe.js +4 -3
- package/dist/data-tab-group.css +83 -73
- package/dist/data-tab-group.js +16 -16
- package/dist/date-calendar.css +30 -21
- package/dist/date-calendar.js +3 -3
- package/dist/details-group.css +9 -9
- package/dist/details-group.js +2 -2
- package/dist/details.css +6 -6
- package/dist/details.js +1 -1
- package/dist/dialog.css +39 -39
- package/dist/dialog.js +3 -3
- package/dist/diff.css +7 -7
- package/dist/diff.js +2 -2
- package/dist/divider.css +1 -1
- package/dist/divider.js +1 -1
- package/dist/document-viewer.css +129 -24
- package/dist/document-viewer.js +7 -6
- package/dist/dot-pagination.css +9 -9
- package/dist/dot-pagination.js +4 -4
- package/dist/dot-status.css +10 -10
- package/dist/dot-status.js +1 -1
- package/dist/download-format-picker.css +48 -44
- package/dist/download-format-picker.js +7 -7
- package/dist/drawer.css +17 -17
- package/dist/drawer.js +4 -4
- package/dist/dropdown.css +8 -8
- package/dist/dropdown.js +5 -5
- package/dist/dynamic-select.css +47 -45
- package/dist/dynamic-select.js +13 -12
- package/dist/e-chart.css +8 -8
- package/dist/e-chart.js +5 -4
- package/dist/element-clamp.css +3 -3
- package/dist/element-clamp.js +3 -3
- package/dist/estimated-reading-time.css +8 -8
- package/dist/estimated-reading-time.js +2 -2
- package/dist/extension-frame.css +22 -22
- package/dist/extension-frame.js +3 -3
- package/dist/facet-date-picker.css +99 -75
- package/dist/facet-date-picker.js +17 -16
- package/dist/facet-date-range.css +106 -82
- package/dist/facet-date-range.js +18 -17
- package/dist/faceted-filter-facet.css +54 -46
- package/dist/faceted-filter-facet.js +11 -10
- package/dist/faceted-filter.css +164 -126
- package/dist/faceted-filter.js +23 -22
- package/dist/folder-select.css +83 -78
- package/dist/folder-select.js +15 -15
- package/dist/font-picker.css +43 -43
- package/dist/font-picker.js +17 -16
- package/dist/format-time.css +7 -7
- package/dist/format-time.js +1 -1
- package/dist/foundation.js +1 -1
- package/dist/gallery-item.css +82 -21
- package/dist/gallery-item.js +12 -12
- package/dist/graph-view.css +48 -44
- package/dist/graph-view.js +4 -3
- package/dist/grid-item.css +1 -1
- package/dist/grid-item.js +1 -1
- package/dist/grid.css +2 -2
- package/dist/grid.js +1 -1
- package/dist/header.css +18 -18
- package/dist/header.js +5 -5
- package/dist/icon-button.css +14 -14
- package/dist/icon-button.js +2 -2
- package/dist/icon-picker.css +245 -151
- package/dist/icon-picker.js +28 -28
- package/dist/iframe.css +6 -6
- package/dist/iframe.js +2 -2
- package/dist/image-comparer.css +2 -2
- package/dist/image-comparer.js +1 -1
- package/dist/image.css +68 -10
- package/dist/image.js +5 -5
- package/dist/include.css +2 -2
- package/dist/include.js +1 -1
- package/dist/index.css +1353 -984
- package/dist/index.js +131 -131
- package/dist/input-date-picker.css +76 -67
- package/dist/input-date-picker.js +15 -14
- package/dist/input-date-range-picker.css +82 -73
- package/dist/input-date-range-picker.js +16 -15
- package/dist/input-group.css +9 -9
- package/dist/input-group.js +1 -1
- package/dist/input.css +22 -22
- package/dist/input.js +4 -4
- package/dist/integrations/unit-renderer.css +200 -139
- package/dist/integrations/unit-renderer.js +27 -26
- package/dist/integrations/widget-ui.css +120 -120
- package/dist/integrations/widget-ui.js +23 -23
- package/dist/line-clamp.css +5 -5
- package/dist/line-clamp.js +6 -6
- package/dist/markdown-viewer.css +58 -63
- package/dist/markdown-viewer.js +12 -11
- package/dist/markdown.css +14 -14
- package/dist/markdown.js +3 -3
- package/dist/masonry.css +85 -27
- package/dist/masonry.js +11 -11
- package/dist/mentions.css +25 -25
- package/dist/mentions.js +9 -9
- package/dist/menu-item.css +17 -17
- package/dist/menu-item.js +4 -4
- package/dist/menu-label.css +2 -2
- package/dist/menu-label.js +1 -1
- package/dist/menu-section.css +6 -6
- package/dist/menu-section.js +2 -2
- package/dist/menu.css +18 -18
- package/dist/menu.js +6 -6
- package/dist/multi-select.css +2963 -585
- package/dist/multi-select.js +31 -10
- package/dist/mutation-observer.css +3 -3
- package/dist/mutation-observer.js +1 -1
- package/dist/option.css +6 -6
- package/dist/option.js +1 -1
- package/dist/padding-input-group.css +35 -35
- package/dist/padding-input-group.js +6 -6
- package/dist/page-outline.css +24 -24
- package/dist/page-outline.js +9 -9
- package/dist/pagination.css +66 -60
- package/dist/pagination.js +13 -13
- package/dist/pdf-viewer-toolbar.css +258 -252
- package/dist/pdf-viewer-toolbar.js +25 -25
- package/dist/popup.css +2 -2
- package/dist/popup.js +2 -2
- package/dist/position-picker.css +25 -25
- package/dist/position-picker.js +6 -6
- package/dist/progress-bar.css +4 -4
- package/dist/progress-bar.js +1 -1
- package/dist/progress-ring.css +4 -4
- package/dist/progress-ring.js +1 -1
- package/dist/publish-page.css +75 -83
- package/dist/publish-page.js +10 -9
- package/dist/qr-code.css +2 -2
- package/dist/qr-code.js +1 -1
- package/dist/radio-card.css +17 -17
- package/dist/radio-card.js +9 -9
- package/dist/radio-group.css +13 -13
- package/dist/radio-group.js +2 -2
- package/dist/radio.css +7 -7
- package/dist/radio.js +1 -1
- package/dist/range.css +27 -27
- package/dist/range.js +5 -5
- package/dist/rating.css +7 -7
- package/dist/rating.js +1 -1
- package/dist/relative-time.css +6 -6
- package/dist/relative-time.js +1 -1
- package/dist/resize-observer.css +3 -3
- package/dist/resize-observer.js +1 -1
- package/dist/rich-text.css +186 -180
- package/dist/rich-text.js +25 -25
- package/dist/select.css +28 -28
- package/dist/select.js +10 -10
- package/dist/shadow-input-group.css +155 -149
- package/dist/shadow-input-group.js +26 -26
- package/dist/share-option-list.css +36 -33
- package/dist/share-option-list.js +6 -6
- package/dist/sidebar.css +31 -20
- package/dist/sidebar.js +5 -5
- package/dist/size-input-group.css +55 -55
- package/dist/size-input-group.js +13 -13
- package/dist/skeleton.css +4 -4
- package/dist/skeleton.js +1 -1
- package/dist/spinner.css +3 -3
- package/dist/spinner.js +1 -1
- package/dist/stat-card.css +25 -25
- package/dist/stat-card.js +5 -5
- package/dist/step.css +9 -9
- package/dist/step.js +8 -8
- package/dist/stepper-wizard.css +16 -16
- package/dist/stepper-wizard.js +11 -11
- package/dist/stepper.css +2 -2
- package/dist/stepper.js +1 -1
- package/dist/switch.js +1 -1
- package/dist/tab-group.css +47 -46
- package/dist/tab-group.js +11 -11
- package/dist/tab-panel.css +3 -3
- package/dist/tab-panel.js +1 -1
- package/dist/tab.css +29 -29
- package/dist/tab.js +8 -8
- package/dist/table.css +212 -168
- package/dist/table.js +31 -30
- package/dist/tag.css +19 -19
- package/dist/tag.js +8 -8
- package/dist/textarea.css +9 -17
- package/dist/textarea.js +1 -1
- package/dist/timecode.css +16 -16
- package/dist/timecode.js +2 -2
- package/dist/tooltip.css +2 -2
- package/dist/tooltip.js +3 -3
- package/dist/tree-item.css +33 -28
- package/dist/tree-item.js +7 -7
- package/dist/tree.css +3 -3
- package/dist/tree.js +1 -1
- package/dist/type-subtype-select.css +36 -36
- package/dist/type-subtype-select.js +13 -12
- package/dist/typeface.css +28 -28
- package/dist/typeface.js +11 -11
- package/dist/types/react/src/atoms/alert/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/am-chart/component.types.d.ts +4 -2
- package/dist/types/react/src/atoms/am-chart/service.d.ts +2 -0
- package/dist/types/react/src/atoms/array-line-clamp/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/audio/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/color-picker/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/copy-button/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/date-calendar/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/details/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/dialog/component.types.d.ts +7 -2
- package/dist/types/react/src/atoms/dialog/scrollbar.d.ts +1 -1
- package/dist/types/react/src/atoms/document-viewer/component.types.d.ts +5 -4
- package/dist/types/react/src/atoms/dot-pagination/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/drawer/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/dropdown/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/e-chart/component.types.d.ts +3 -2
- package/dist/types/react/src/atoms/element-clamp/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/grid/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/grid-item/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/header/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/icon-button/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/image/component.types.d.ts +9 -3
- package/dist/types/react/src/atoms/image/index.d.ts +1 -1
- package/dist/types/react/src/atoms/image/use-resize-controls.d.ts +12 -0
- package/dist/types/react/src/atoms/image/use-resize.d.ts +9 -3
- package/dist/types/react/src/atoms/line-clamp/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/menu/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/menu-item/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/menu-label/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/menu-section/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/option/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/pagination/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/radio-card/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/range/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/select/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/step/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/stepper/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/tab/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/tab-group/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/tab-panel/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/tag/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/timecode/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/tooltip/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/tree/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/tree-item/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/typography/component.types.d.ts +2 -2
- package/dist/types/react/src/atoms/video/component.types.d.ts +62 -4
- package/dist/types/react/src/atoms/video/index.d.ts +1 -1
- package/dist/types/react/src/molecules/annotator/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/asset-data-display/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/asset-picker/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/bicolor-picker/component.d.ts +1 -1
- package/dist/types/react/src/molecules/bicolor-picker/component.types.d.ts +2 -0
- package/dist/types/react/src/molecules/color-swatch/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/confirm-popover/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/cropper/component.types.d.ts +4 -2
- package/dist/types/react/src/molecules/dashboard-iframe/component.d.ts +1 -1
- package/dist/types/react/src/molecules/dashboard-iframe/component.types.d.ts +7 -0
- package/dist/types/react/src/molecules/data-tab-group/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/dynamic-select/component.types.d.ts +1 -0
- package/dist/types/react/src/molecules/estimated-reading-time/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/facet-date-picker/component.types.d.ts +2 -0
- package/dist/types/react/src/molecules/facet-date-range/component.types.d.ts +2 -0
- package/dist/types/react/src/molecules/faceted-filter/component.types.d.ts +3 -2
- package/dist/types/react/src/molecules/faceted-filter-facet/component.types.d.ts +3 -2
- package/dist/types/react/src/molecules/folder-select/component.types.d.ts +4 -2
- package/dist/types/react/src/molecules/gallery-item/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/graph-view/component.types.d.ts +1 -0
- package/dist/types/react/src/molecules/icon-picker/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/input-date-picker/component.types.d.ts +2 -0
- package/dist/types/react/src/molecules/input-date-range-picker/component.types.d.ts +2 -0
- package/dist/types/react/src/molecules/markdown-viewer/component.types.d.ts +4 -2
- package/dist/types/react/src/molecules/masonry/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/mentions/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/multi-select/component.types.d.ts +1 -0
- package/dist/types/react/src/molecules/page-outline/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/pdf-viewer-toolbar/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/share-option-list/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/sidebar/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/type-subtype-select/component.types.d.ts +3 -0
- package/dist/types/react/src/molecules/typeface/component.types.d.ts +2 -2
- package/dist/types/react/src/molecules/view-and-sort/component.types.d.ts +2 -2
- package/dist/typography.css +8 -8
- package/dist/typography.js +1 -1
- package/dist/uploader.css +19 -19
- package/dist/uploader.js +4 -4
- package/dist/video.css +134 -10
- package/dist/video.js +7 -7
- package/dist/view-and-sort.css +43 -40
- package/dist/view-and-sort.js +14 -14
- package/dist/visually-hidden.css +2 -2
- package/dist/visually-hidden.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/colorPicker-GG2EQTCT.js +0 -21
- /package/dist/chunks/{BookReader-Q2GZR6A6.css.LEGAL.txt → BookReader-N6RBAAFS.css.LEGAL.txt} +0 -0
- /package/dist/chunks/{GraphView-XIVASOEO.css.LEGAL.txt → GraphView-N4PSK5MJ.css.LEGAL.txt} +0 -0
- /package/dist/chunks/{chunk-CMQK3TLH.js.LEGAL.txt → chunk-6LRI2ZOE.js.LEGAL.txt} +0 -0
- /package/dist/chunks/{chunk-ZV6U7B3T.js.LEGAL.txt → chunk-BIQ6T4OC.js.LEGAL.txt} +0 -0
- /package/dist/chunks/{inspector-OXW7QFME.js.LEGAL.txt → inspector-K2UZEKXI.js.LEGAL.txt} +0 -0
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CxSkeleton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HNSAOAJX.js";
|
|
4
4
|
import {
|
|
5
5
|
CxSpace
|
|
6
6
|
} from "./chunk-2QVV7WXP.js";
|
|
7
7
|
import {
|
|
8
8
|
CxResizeObserver
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I4OW2YVJ.js";
|
|
10
10
|
import {
|
|
11
|
-
CxPopup
|
|
12
|
-
|
|
11
|
+
CxPopup,
|
|
12
|
+
autoUpdate
|
|
13
|
+
} from "./chunk-NME4ZLMV.js";
|
|
13
14
|
import {
|
|
14
15
|
CxIcon
|
|
15
16
|
} from "./chunk-SJAMEE5J.js";
|
|
@@ -18,7 +19,7 @@ import {
|
|
|
18
19
|
} from "./chunk-PYPSM56W.js";
|
|
19
20
|
|
|
20
21
|
// packages/react/src/atoms/image/component.tsx
|
|
21
|
-
import { useImperativeHandle, useLayoutEffect as
|
|
22
|
+
import { useImperativeHandle, useLayoutEffect as useLayoutEffect3, useRef as useRef3, useState as useState3 } from "react";
|
|
22
23
|
|
|
23
24
|
// packages/react/src/atoms/image/api.ts
|
|
24
25
|
var defaultImageApi = {
|
|
@@ -96,19 +97,19 @@ function clampImageResize(width, height, ratio, keepRatio, bounds, roundBeforeMi
|
|
|
96
97
|
function imageElementRatio(element) {
|
|
97
98
|
return element?.clientWidth && element.clientHeight ? element.clientWidth / element.clientHeight : 1;
|
|
98
99
|
}
|
|
99
|
-
function useImageResize(root, base, props) {
|
|
100
|
+
function useImageResize(root, base, props, onKeyboardSizeChange) {
|
|
100
101
|
const [internal, setInternal] = useState({ width: props.defaultWidth ?? "", height: props.defaultHeight ?? "" });
|
|
101
102
|
const size = { width: props.width ?? internal.width, height: props.height ?? internal.height };
|
|
102
103
|
const [active, setActive] = useState(false);
|
|
103
104
|
const [dragging, setDragging] = useState(false);
|
|
104
105
|
const [dragSize, setDragSize] = useState({ width: 0, height: 0 });
|
|
105
|
-
const latest = useRef({ props, size });
|
|
106
|
+
const latest = useRef({ props, size, onKeyboardSizeChange });
|
|
106
107
|
const layoutLifetime = useRef(null);
|
|
107
108
|
const dragOwner = useRef(null);
|
|
108
109
|
const dragCleanup = useRef(null);
|
|
109
110
|
const stopRef = useRef(null);
|
|
110
111
|
useLayoutEffect(() => {
|
|
111
|
-
latest.current = { props, size };
|
|
112
|
+
latest.current = { props, size, onKeyboardSizeChange };
|
|
112
113
|
});
|
|
113
114
|
useLayoutEffect(() => {
|
|
114
115
|
const lifetime = {};
|
|
@@ -197,7 +198,12 @@ function useImageResize(root, base, props) {
|
|
|
197
198
|
const nextSize = { width: `${final.width}px`, height: `${final.height}px` };
|
|
198
199
|
const current = latest.current;
|
|
199
200
|
setInternal((previous) => ({ width: current.props.width === void 0 ? nextSize.width : previous.width, height: current.props.height === void 0 ? nextSize.height : previous.height }));
|
|
200
|
-
|
|
201
|
+
try {
|
|
202
|
+
current.props.onSizeChange?.({ ...nextSize, reason: "resize", originalEvent: next });
|
|
203
|
+
} catch (error) {
|
|
204
|
+
if (dragOwner.current === owner) dragOwner.current = null;
|
|
205
|
+
throw error;
|
|
206
|
+
}
|
|
201
207
|
}
|
|
202
208
|
if (layoutLifetime.current === lifetime && dragOwner.current === owner) {
|
|
203
209
|
dragOwner.current = null;
|
|
@@ -216,7 +222,128 @@ function useImageResize(root, base, props) {
|
|
|
216
222
|
setDragging(true);
|
|
217
223
|
configuration.onResizeStart?.({ element, event });
|
|
218
224
|
}
|
|
219
|
-
|
|
225
|
+
function cancelResizing() {
|
|
226
|
+
dragOwner.current = null;
|
|
227
|
+
dragCleanup.current?.();
|
|
228
|
+
if (layoutLifetime.current) {
|
|
229
|
+
setDragging(false);
|
|
230
|
+
setDragSize({ width: 0, height: 0 });
|
|
231
|
+
}
|
|
232
|
+
stopResizing();
|
|
233
|
+
}
|
|
234
|
+
function handleKeyboardResize(event, direction) {
|
|
235
|
+
if (event.defaultPrevented || event.ctrlKey || event.metaKey || event.altKey) return;
|
|
236
|
+
const element = root.current, containing = base.current;
|
|
237
|
+
const view = element?.ownerDocument.defaultView;
|
|
238
|
+
const current = latest.current;
|
|
239
|
+
if (!layoutLifetime.current || !stopRef.current || !current.props.resizable || !element || !containing || !view || dragOwner.current) return;
|
|
240
|
+
const horizontal = event.key === "ArrowLeft" || event.key === "ArrowRight";
|
|
241
|
+
const vertical = event.key === "ArrowUp" || event.key === "ArrowDown";
|
|
242
|
+
const axis = current.props.resizeDirection ?? "both";
|
|
243
|
+
if (!horizontal && !vertical || horizontal && axis === "vertical" || vertical && axis === "horizontal") return;
|
|
244
|
+
event.preventDefault();
|
|
245
|
+
event.stopPropagation();
|
|
246
|
+
const step = event.shiftKey ? 10 : 1;
|
|
247
|
+
const delta = event.key === "ArrowLeft" || event.key === "ArrowUp" ? -step : step;
|
|
248
|
+
let width = containing.offsetWidth, height = containing.offsetHeight;
|
|
249
|
+
if (horizontal) width += direction.includes("left") ? -delta : delta;
|
|
250
|
+
if (vertical) height += direction.includes("top") ? -delta : delta;
|
|
251
|
+
const ratio = imageElementRatio(element);
|
|
252
|
+
const keepRatio = axis === "both" && current.props.heightMode === "auto";
|
|
253
|
+
if (keepRatio) {
|
|
254
|
+
if (vertical) width = height * ratio;
|
|
255
|
+
else height = width / ratio;
|
|
256
|
+
}
|
|
257
|
+
const style = view.getComputedStyle(element);
|
|
258
|
+
const bounds = {
|
|
259
|
+
maxWidth: Number.parseInt(style.getPropertyValue("--max-width")) || current.props.parentContainer?.clientWidth || element.parentElement?.clientWidth || Infinity,
|
|
260
|
+
maxHeight: Number.parseInt(style.getPropertyValue("--max-height")) || Infinity,
|
|
261
|
+
minWidth: Number.parseInt(style.getPropertyValue("--min-width")) || 40,
|
|
262
|
+
minHeight: Number.parseInt(style.getPropertyValue("--min-height")) || 40
|
|
263
|
+
};
|
|
264
|
+
if (!current.props.noLimit && element.parentElement) {
|
|
265
|
+
const parentStyle = view.getComputedStyle(element.parentElement);
|
|
266
|
+
const padding = Math.max(Number(parentStyle.paddingLeft.replace("px", "")) + Number(parentStyle.paddingRight.replace("px", "")), Number(parentStyle.getPropertyValue("--padding").trim().replace("px", "")) * 2);
|
|
267
|
+
bounds.maxWidth = Math.max(bounds.maxWidth - (padding || 0), 0);
|
|
268
|
+
}
|
|
269
|
+
const final = clampImageResize(width, height, ratio, keepRatio, bounds);
|
|
270
|
+
const nextSize = { width: `${final.width}px`, height: `${final.height}px` };
|
|
271
|
+
setInternal((previous) => ({ width: current.props.width === void 0 ? nextSize.width : previous.width, height: current.props.height === void 0 ? nextSize.height : previous.height }));
|
|
272
|
+
current.onKeyboardSizeChange?.({ ...nextSize, reason: "keyboard-resize", originalEvent: event.nativeEvent });
|
|
273
|
+
}
|
|
274
|
+
return { size, active, dragging, dragSize, startResizing, stopResizing, handleResizeDragging, handleKeyboardResize, cancelResizing };
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
// packages/react/src/atoms/image/use-resize-controls.ts
|
|
278
|
+
import { useLayoutEffect as useLayoutEffect2, useRef as useRef2, useState as useState2 } from "react";
|
|
279
|
+
function cssKeyword(value, allowed, fallback) {
|
|
280
|
+
return allowed.find((candidate) => candidate === value) ?? fallback;
|
|
281
|
+
}
|
|
282
|
+
function useImageResizeControls(base, controls, active) {
|
|
283
|
+
const [geometry, setGeometry] = useState2(null);
|
|
284
|
+
const refresh = useRef2(null);
|
|
285
|
+
useLayoutEffect2(() => {
|
|
286
|
+
const element = base.current, layer = controls.current;
|
|
287
|
+
const view = element?.ownerDocument.defaultView;
|
|
288
|
+
if (!active || !element || !layer || !view) {
|
|
289
|
+
setGeometry(null);
|
|
290
|
+
return;
|
|
291
|
+
}
|
|
292
|
+
let live = true;
|
|
293
|
+
const measure = () => {
|
|
294
|
+
if (!live || base.current !== element || controls.current !== layer) return;
|
|
295
|
+
const style = view.getComputedStyle(element);
|
|
296
|
+
const parentStyle = element.parentElement ? view.getComputedStyle(element.parentElement) : null;
|
|
297
|
+
const outer = {
|
|
298
|
+
position: style.position === "fixed" ? "fixed" : "absolute",
|
|
299
|
+
inset: "auto",
|
|
300
|
+
left: element.offsetLeft,
|
|
301
|
+
top: element.offsetTop,
|
|
302
|
+
width: element.offsetWidth,
|
|
303
|
+
height: element.offsetHeight,
|
|
304
|
+
transform: style.transform,
|
|
305
|
+
transformOrigin: style.transformOrigin,
|
|
306
|
+
translate: style.translate,
|
|
307
|
+
rotate: style.rotate,
|
|
308
|
+
scale: style.scale,
|
|
309
|
+
transformBox: cssKeyword(style.transformBox, ["content-box", "border-box", "fill-box", "stroke-box", "view-box"], "view-box"),
|
|
310
|
+
transformStyle: cssKeyword(style.transformStyle, ["flat", "preserve-3d"], "flat"),
|
|
311
|
+
perspective: style.perspective,
|
|
312
|
+
perspectiveOrigin: style.perspectiveOrigin,
|
|
313
|
+
visibility: cssKeyword(style.visibility, ["visible", "hidden", "collapse"], "visible"),
|
|
314
|
+
opacity: style.opacity,
|
|
315
|
+
filter: style.filter,
|
|
316
|
+
colorScheme: style.colorScheme,
|
|
317
|
+
direction: cssKeyword(style.direction, ["ltr", "rtl"], "ltr"),
|
|
318
|
+
zIndex: style.zIndex,
|
|
319
|
+
display: style.display === "none" ? "none" : void 0
|
|
320
|
+
};
|
|
321
|
+
for (let index = 0; index < style.length; index++) {
|
|
322
|
+
const name = style.item(index);
|
|
323
|
+
if (name.startsWith("--") && style.getPropertyValue(name) !== parentStyle?.getPropertyValue(name)) outer[name] = style.getPropertyValue(name);
|
|
324
|
+
}
|
|
325
|
+
const next = { outer, inner: { top: style.borderTopWidth, right: style.borderRightWidth, bottom: style.borderBottomWidth, left: style.borderLeftWidth } };
|
|
326
|
+
setGeometry((previous) => JSON.stringify(previous) === JSON.stringify(next) ? previous : next);
|
|
327
|
+
};
|
|
328
|
+
refresh.current = measure;
|
|
329
|
+
const stop = autoUpdate(element, layer, measure, { animationFrame: true });
|
|
330
|
+
const attributes = new MutationObserver(measure);
|
|
331
|
+
attributes.observe(element, { attributes: true, attributeFilter: ["class", "style", "hidden"] });
|
|
332
|
+
element.addEventListener("pointerenter", measure);
|
|
333
|
+
element.addEventListener("pointerleave", measure);
|
|
334
|
+
return () => {
|
|
335
|
+
live = false;
|
|
336
|
+
if (refresh.current === measure) refresh.current = null;
|
|
337
|
+
stop();
|
|
338
|
+
attributes.disconnect();
|
|
339
|
+
element.removeEventListener("pointerenter", measure);
|
|
340
|
+
element.removeEventListener("pointerleave", measure);
|
|
341
|
+
};
|
|
342
|
+
}, [active, base, controls]);
|
|
343
|
+
useLayoutEffect2(() => {
|
|
344
|
+
refresh.current?.();
|
|
345
|
+
});
|
|
346
|
+
return geometry;
|
|
220
347
|
}
|
|
221
348
|
|
|
222
349
|
// packages/react/src/atoms/image/component.module.css
|
|
@@ -294,7 +421,12 @@ var component_default = {
|
|
|
294
421
|
"highlighter--zoom-style-pop-out": "component_highlighter--zoom-style-pop-out",
|
|
295
422
|
"highlightable-item--effect-text-reveal": "component_highlightable-item--effect-text-reveal",
|
|
296
423
|
"highlightable-item--text-reveal-style-slide": "component_highlightable-item--text-reveal-style-slide",
|
|
297
|
-
"highlightable-item--text-reveal-style-fade": "component_highlightable-item--text-reveal-style-fade"
|
|
424
|
+
"highlightable-item--text-reveal-style-fade": "component_highlightable-item--text-reveal-style-fade",
|
|
425
|
+
"resize-activation": "component_resize-activation",
|
|
426
|
+
"resize-frame": "component_resize-frame",
|
|
427
|
+
"resize-frame--inactive": "component_resize-frame--inactive",
|
|
428
|
+
"resize-controls": "component_resize-controls",
|
|
429
|
+
"resize-controls-anchor": "component_resize-controls-anchor"
|
|
298
430
|
};
|
|
299
431
|
|
|
300
432
|
// packages/react/src/atoms/image/component.tsx
|
|
@@ -373,19 +505,38 @@ function CxImage(props) {
|
|
|
373
505
|
decoding = "async",
|
|
374
506
|
...native
|
|
375
507
|
} = props;
|
|
376
|
-
const root =
|
|
377
|
-
const highlighter =
|
|
508
|
+
const root = useRef3(null), base = useRef3(null);
|
|
509
|
+
const highlighter = useRef3(null), image = useRef3(null), zoomImage = useRef3(null);
|
|
378
510
|
const { messages } = useCortex();
|
|
379
|
-
const [loadState, setLoadState] =
|
|
511
|
+
const [loadState, setLoadState] = useState3(() => initialLoad(src));
|
|
380
512
|
const current = loadState.source === src ? loadState : initialLoad(src);
|
|
381
|
-
const [zoomed, setZoomed] =
|
|
382
|
-
const [, refreshOrientation] =
|
|
383
|
-
const resize = useImageResize(root, base, props);
|
|
384
|
-
const
|
|
385
|
-
const
|
|
386
|
-
const
|
|
387
|
-
|
|
388
|
-
|
|
513
|
+
const [zoomed, setZoomed] = useState3(false), [hovering, setHovering] = useState3(false);
|
|
514
|
+
const [, refreshOrientation] = useState3(0);
|
|
515
|
+
const resize = useImageResize(root, base, props, props.onSizeChange);
|
|
516
|
+
const resizeFrame = useRef3(null), resizeActivation = useRef3(null), resizeControls = useRef3(null);
|
|
517
|
+
const controlsGeometry = useImageResizeControls(base, resizeControls, resizable && resize.active);
|
|
518
|
+
const pendingResizeFocus = useRef3(null);
|
|
519
|
+
useLayoutEffect3(() => {
|
|
520
|
+
pendingResizeFocus.current = null;
|
|
521
|
+
return () => {
|
|
522
|
+
pendingResizeFocus.current = null;
|
|
523
|
+
};
|
|
524
|
+
}, []);
|
|
525
|
+
useLayoutEffect3(() => {
|
|
526
|
+
const destination = pendingResizeFocus.current;
|
|
527
|
+
if (destination === "handle" && resize.active && controlsGeometry) {
|
|
528
|
+
pendingResizeFocus.current = null;
|
|
529
|
+
resizeFrame.current?.querySelector('[data-cx-part="resizer"]')?.focus();
|
|
530
|
+
} else if (destination === "activation" && !resize.active) {
|
|
531
|
+
pendingResizeFocus.current = null;
|
|
532
|
+
resizeActivation.current?.focus();
|
|
533
|
+
}
|
|
534
|
+
}, [resize.active, controlsGeometry]);
|
|
535
|
+
const configuration = useRef3({ src, retryOnError, maxRetries, onLoad, onError, onZoomOpen, onZoomClose, onZoomError });
|
|
536
|
+
const owner = useRef3(null);
|
|
537
|
+
const retryTimer = useRef3(null), orientationTimer = useRef3(null);
|
|
538
|
+
const zoom = useRef3(null);
|
|
539
|
+
const lastPatchedWidth = useRef3(null);
|
|
389
540
|
const imageSource = retrySource(src, current.token) || placeholder;
|
|
390
541
|
const empty = !src && !placeholder;
|
|
391
542
|
const showSkeleton = !current.error && (empty ? loading : skeleton && !current.loaded || loading || current.retrying);
|
|
@@ -400,10 +551,10 @@ function CxImage(props) {
|
|
|
400
551
|
if (numericWidth && numericHeight) boxRatio = numericWidth / numericHeight;
|
|
401
552
|
const orientation = boxRatio > current.imageRatio ? "portrait" : "landscape";
|
|
402
553
|
const css = (name) => component_default[name];
|
|
403
|
-
|
|
554
|
+
useLayoutEffect3(() => {
|
|
404
555
|
configuration.current = { src, retryOnError, maxRetries, onLoad, onError, onZoomOpen, onZoomClose, onZoomError };
|
|
405
556
|
});
|
|
406
|
-
|
|
557
|
+
useLayoutEffect3(() => {
|
|
407
558
|
const generation = { source: src, index: 0, retryCount: 0, loaded: false };
|
|
408
559
|
owner.current = generation;
|
|
409
560
|
setLoadState(initialLoad(src));
|
|
@@ -413,10 +564,10 @@ function CxImage(props) {
|
|
|
413
564
|
retryTimer.current = null;
|
|
414
565
|
};
|
|
415
566
|
}, [src]);
|
|
416
|
-
|
|
567
|
+
useLayoutEffect3(() => {
|
|
417
568
|
if (owner.current?.source === src) owner.current.index = current.index;
|
|
418
569
|
}, [src, current.index]);
|
|
419
|
-
|
|
570
|
+
useLayoutEffect3(() => {
|
|
420
571
|
let active = true;
|
|
421
572
|
let controller = null;
|
|
422
573
|
const node = zoomImage.current;
|
|
@@ -458,10 +609,10 @@ function CxImage(props) {
|
|
|
458
609
|
if (zoom.current === controller) zoom.current = null;
|
|
459
610
|
};
|
|
460
611
|
}, [api, canZoom, src, placeholder, current.loaded, current.index]);
|
|
461
|
-
|
|
612
|
+
useLayoutEffect3(() => () => {
|
|
462
613
|
if (orientationTimer.current !== null) clearTimeout(orientationTimer.current);
|
|
463
614
|
}, []);
|
|
464
|
-
useImperativeHandle(ref, () => image.current, [imageSource, current.index, empty, current.error]);
|
|
615
|
+
useImperativeHandle(ref, () => image.current, [src, imageSource, current.index, empty, current.error, effect === "jump" || effect === "zoom"]);
|
|
465
616
|
useImperativeHandle(apiRef, () => ({
|
|
466
617
|
get root() {
|
|
467
618
|
return root.current;
|
|
@@ -550,7 +701,7 @@ function CxImage(props) {
|
|
|
550
701
|
{
|
|
551
702
|
...native,
|
|
552
703
|
ref: image,
|
|
553
|
-
key: `${src}:${
|
|
704
|
+
key: `${src}:${current.index}`,
|
|
554
705
|
"data-cx-part": "image",
|
|
555
706
|
src: imageSource || void 0,
|
|
556
707
|
srcSet: srcSet || void 0,
|
|
@@ -580,6 +731,16 @@ function CxImage(props) {
|
|
|
580
731
|
}
|
|
581
732
|
) }) : null;
|
|
582
733
|
const directions = resizeDirection === "horizontal" ? ["left", "right"] : resizeDirection === "vertical" ? ["top", "bottom"] : ["top-left", "top-right", "bottom-left", "bottom-right"];
|
|
734
|
+
const resizeLabels = {
|
|
735
|
+
left: messages.resizeImageLeft ?? "Resize image left",
|
|
736
|
+
right: messages.resizeImageRight ?? "Resize image right",
|
|
737
|
+
top: messages.resizeImageTop ?? "Resize image top",
|
|
738
|
+
bottom: messages.resizeImageBottom ?? "Resize image bottom",
|
|
739
|
+
"top-left": messages.resizeImageTopLeft ?? "Resize image top-left",
|
|
740
|
+
"top-right": messages.resizeImageTopRight ?? "Resize image top-right",
|
|
741
|
+
"bottom-left": messages.resizeImageBottomLeft ?? "Resize image bottom-left",
|
|
742
|
+
"bottom-right": messages.resizeImageBottomRight ?? "Resize image bottom-right"
|
|
743
|
+
};
|
|
583
744
|
return /* @__PURE__ */ jsx(
|
|
584
745
|
"div",
|
|
585
746
|
{
|
|
@@ -592,106 +753,144 @@ function CxImage(props) {
|
|
|
592
753
|
"data-zoom-style": zoomStyle,
|
|
593
754
|
className: classes(css("root"), rootProps?.className),
|
|
594
755
|
style: rootStyle,
|
|
595
|
-
children: /* @__PURE__ */ jsxs(
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
event.
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
},
|
|
611
|
-
children: [
|
|
612
|
-
/* @__PURE__ */ jsx(CxResizeObserver, { onResize: ({ entries }) => {
|
|
613
|
-
for (const entry of entries) if (entry.target === highlighter.current && resize.size.width.endsWith("%") && !resize.dragging && Math.abs(entry.contentRect.width - (lastPatchedWidth.current ?? 0)) > 1) {
|
|
614
|
-
if (orientationTimer.current !== null) clearTimeout(orientationTimer.current);
|
|
615
|
-
orientationTimer.current = setTimeout(() => {
|
|
616
|
-
orientationTimer.current = null;
|
|
617
|
-
lastPatchedWidth.current = entry.contentRect.width;
|
|
618
|
-
refreshOrientation((previous) => previous + 1);
|
|
619
|
-
}, 100);
|
|
756
|
+
children: /* @__PURE__ */ jsxs("div", { ref: resizeFrame, className: resizable ? css("resize-frame") : css("resize-frame--inactive"), children: [
|
|
757
|
+
/* @__PURE__ */ jsxs(
|
|
758
|
+
"div",
|
|
759
|
+
{
|
|
760
|
+
ref: base,
|
|
761
|
+
"data-cx-part": "base",
|
|
762
|
+
"data-empty-label": messages.emptyImage ?? "Empty image",
|
|
763
|
+
className: classes(css("container"), empty && css("container--empty"), loading && css("container--loading"), resizable && resize.active && css("container--resizing"), classNames?.base),
|
|
764
|
+
style: { "--easing": easings[easing] ?? easings.linear },
|
|
765
|
+
onClick: resize.startResizing,
|
|
766
|
+
onKeyDown: (event) => {
|
|
767
|
+
if (event.target !== highlighter.current) return;
|
|
768
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
769
|
+
event.preventDefault();
|
|
770
|
+
highlighter.current.click();
|
|
620
771
|
}
|
|
621
|
-
},
|
|
622
|
-
|
|
623
|
-
{
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
772
|
+
},
|
|
773
|
+
children: [
|
|
774
|
+
/* @__PURE__ */ jsx(CxResizeObserver, { onResize: ({ entries }) => {
|
|
775
|
+
for (const entry of entries) if (entry.target === highlighter.current && resize.size.width.endsWith("%") && !resize.dragging && Math.abs(entry.contentRect.width - (lastPatchedWidth.current ?? 0)) > 1) {
|
|
776
|
+
if (orientationTimer.current !== null) clearTimeout(orientationTimer.current);
|
|
777
|
+
orientationTimer.current = setTimeout(() => {
|
|
778
|
+
orientationTimer.current = null;
|
|
779
|
+
lastPatchedWidth.current = entry.contentRect.width;
|
|
780
|
+
refreshOrientation((previous) => previous + 1);
|
|
781
|
+
}, 100);
|
|
782
|
+
}
|
|
783
|
+
}, children: /* @__PURE__ */ jsxs(
|
|
784
|
+
"div",
|
|
785
|
+
{
|
|
786
|
+
...highlighterProps,
|
|
787
|
+
ref: highlighter,
|
|
788
|
+
"data-cx-part": "highlighter",
|
|
789
|
+
tabIndex: highlighterProps?.tabIndex ?? (autoAction ? 0 : void 0),
|
|
790
|
+
role: highlighterProps?.role ?? (autoAction ? "button" : "img"),
|
|
791
|
+
"aria-label": highlighterProps?.["aria-label"] ?? alt,
|
|
792
|
+
"aria-roledescription": highlighterProps?.["aria-roledescription"] ?? messages.image ?? "Image",
|
|
793
|
+
className: classes(
|
|
794
|
+
!empty && css("highlighter"),
|
|
795
|
+
!empty && css(`highlighter--effect-${effect}`),
|
|
796
|
+
!empty && css(`highlighter--zoom-style-${zoomStyle}`),
|
|
797
|
+
highlightBackground && css("highlighter--background"),
|
|
798
|
+
highlightBorder && css("highlighter--border"),
|
|
799
|
+
current.error && css("highlighter--centered"),
|
|
800
|
+
highlightColorOverlay && css("highlighter--color-overlay"),
|
|
801
|
+
highlightDropShadow && css("highlighter--drop-shadow"),
|
|
802
|
+
highlightOpacity && css("highlighter--opacity"),
|
|
803
|
+
loadingRatio !== void 0 && css("highlighter--loading-ratio"),
|
|
804
|
+
highlighterProps?.className,
|
|
805
|
+
classNames?.highlighter
|
|
806
|
+
),
|
|
807
|
+
onClick: (event) => {
|
|
808
|
+
highlighterProps?.onClick?.(event);
|
|
809
|
+
if (!event.defaultPrevented && clickHandlerType !== "manual" && event.target instanceof event.currentTarget.ownerDocument.defaultView.HTMLElement && canZoom) zoom.current?.open();
|
|
810
|
+
},
|
|
811
|
+
onMouseEnter: (event) => {
|
|
812
|
+
setHovering(true);
|
|
813
|
+
highlighterProps?.onMouseEnter?.(event);
|
|
814
|
+
},
|
|
815
|
+
onMouseLeave: (event) => {
|
|
816
|
+
setHovering(false);
|
|
817
|
+
highlighterProps?.onMouseLeave?.(event);
|
|
818
|
+
},
|
|
819
|
+
onBlur: (event) => {
|
|
820
|
+
if (zoomed) zoom.current?.close();
|
|
821
|
+
highlighterProps?.onBlur?.(event);
|
|
822
|
+
},
|
|
823
|
+
children: [
|
|
824
|
+
effect === "jump" || effect === "zoom" ? /* @__PURE__ */ jsx(CxPopup, { className: css("popup-container"), active: true, placement: "center", strategy: "absolute", sync: "both", anchorContent: content }) : content,
|
|
825
|
+
/* @__PURE__ */ jsx("div", { className: css("zoom-image-container"), children: canZoom && /* @__PURE__ */ jsx(
|
|
826
|
+
"img",
|
|
827
|
+
{
|
|
828
|
+
ref: zoomImage,
|
|
829
|
+
"data-cx-part": "zoom-image",
|
|
830
|
+
src: imageSource || void 0,
|
|
831
|
+
alt: "",
|
|
832
|
+
"aria-hidden": "true",
|
|
833
|
+
decoding: "async",
|
|
834
|
+
draggable: false,
|
|
835
|
+
crossOrigin: noCrossorigin ? void 0 : crossOrigin,
|
|
836
|
+
className: classes(css("zoom-image"), !zoomed && css("zoom-image--hidden"), classNames?.["zoom-image"])
|
|
837
|
+
}
|
|
838
|
+
) }),
|
|
839
|
+
showSkeleton && /* @__PURE__ */ jsx("div", { "data-cx-part": "skeleton", className: classes(css("skeleton"), classNames?.skeleton), children: skeletonContent ?? /* @__PURE__ */ jsx(CxSkeleton, { effect: "sheen", role: "status", "aria-live": "polite", "aria-label": messages.loading ?? "Loading", rootProps: { style: { width: "100%", height: "100%" } }, style: { width: "100%", height: "100%", "--border-radius": "0" } }) }),
|
|
840
|
+
current.error && /* @__PURE__ */ jsx("div", { "data-cx-part": "fallback", className: classes(css("fallback"), classNames?.fallback), children: fallbackContent ?? /* @__PURE__ */ jsx(CxSpace, { direction: "vertical", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ jsx(CxIcon, { name: "hide_image", "data-cx-part": "fallback-icon", className: classNames?.["fallback-icon"] }) }) })
|
|
841
|
+
]
|
|
842
|
+
}
|
|
843
|
+
) }),
|
|
844
|
+
resizable && /* @__PURE__ */ jsx(
|
|
845
|
+
"button",
|
|
846
|
+
{
|
|
847
|
+
type: "button",
|
|
848
|
+
ref: resizeActivation,
|
|
849
|
+
hidden: resize.active,
|
|
850
|
+
"data-cx-image-resize-activation": "",
|
|
851
|
+
className: css("resize-activation"),
|
|
852
|
+
"aria-label": messages.resizeImage ?? "Resize image",
|
|
853
|
+
"aria-pressed": resize.active,
|
|
854
|
+
onClick: (event) => {
|
|
855
|
+
event.stopPropagation();
|
|
856
|
+
if (resize.active) {
|
|
857
|
+
pendingResizeFocus.current = "activation";
|
|
858
|
+
resize.cancelResizing();
|
|
859
|
+
} else {
|
|
860
|
+
if (event.detail === 0) pendingResizeFocus.current = "handle";
|
|
861
|
+
resize.startResizing();
|
|
675
862
|
}
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
))
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
863
|
+
},
|
|
864
|
+
children: /* @__PURE__ */ jsx(CxIcon, { name: "open_in_full", "aria-hidden": "true" })
|
|
865
|
+
}
|
|
866
|
+
)
|
|
867
|
+
]
|
|
868
|
+
}
|
|
869
|
+
),
|
|
870
|
+
resizable && resize.active && /* @__PURE__ */ jsx("div", { ref: resizeControls, className: css("resize-controls"), style: controlsGeometry?.outer, children: /* @__PURE__ */ jsx("div", { className: css("resize-controls-anchor"), style: controlsGeometry?.inner, children: directions.map((direction) => /* @__PURE__ */ jsx(
|
|
871
|
+
"button",
|
|
872
|
+
{
|
|
873
|
+
type: "button",
|
|
874
|
+
"data-cx-part": "resizer",
|
|
875
|
+
"data-direction": direction,
|
|
876
|
+
"aria-label": resizeLabels[direction],
|
|
877
|
+
title: messages.resizeImageInstructions ?? "Arrow keys resize; Shift resizes by ten pixels; Escape finishes",
|
|
878
|
+
className: classes(css("resizer"), css(`resizer--${direction}`), classNames?.resizer),
|
|
879
|
+
onClick: (event) => event.stopPropagation(),
|
|
880
|
+
onKeyDown: (event) => {
|
|
881
|
+
if (event.defaultPrevented) return;
|
|
882
|
+
if (event.key === "Escape") {
|
|
883
|
+
event.preventDefault();
|
|
884
|
+
event.stopPropagation();
|
|
885
|
+
pendingResizeFocus.current = "activation";
|
|
886
|
+
resize.cancelResizing();
|
|
887
|
+
} else resize.handleKeyboardResize(event, direction);
|
|
888
|
+
},
|
|
889
|
+
onMouseDown: (event) => resize.handleResizeDragging(event.nativeEvent, direction.includes("left"), direction.includes("top"))
|
|
890
|
+
},
|
|
891
|
+
direction
|
|
892
|
+
)) }) })
|
|
893
|
+
] })
|
|
695
894
|
}
|
|
696
895
|
);
|
|
697
896
|
}
|
|
@@ -699,5 +898,6 @@ function CxImage(props) {
|
|
|
699
898
|
export {
|
|
700
899
|
imageElementRatio,
|
|
701
900
|
useImageResize,
|
|
901
|
+
useImageResizeControls,
|
|
702
902
|
CxImage
|
|
703
903
|
};
|