@tylertech/forge 2.16.6 → 3.0.0-next.10
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/custom-elements.json +17659 -12326
- package/dist/button/forge-button.css +1 -1
- package/dist/esm/accordion/index.js +1 -1
- package/dist/esm/app-bar/help-button/index.js +1 -1
- package/dist/esm/app-bar/index.js +1 -1
- package/dist/esm/app-bar/menu-button/index.js +1 -1
- package/dist/esm/app-bar/notification-button/index.js +1 -1
- package/dist/esm/app-bar/profile-button/index.js +1 -1
- package/dist/esm/app-bar/search/index.js +1 -1
- package/dist/esm/autocomplete/index.js +1 -1
- package/dist/esm/avatar/index.js +1 -1
- package/dist/esm/backdrop/index.js +1 -1
- package/dist/esm/badge/index.js +1 -1
- package/dist/esm/banner/index.js +1 -1
- package/dist/esm/bottom-sheet/index.js +1 -1
- package/dist/esm/busy-indicator/index.js +1 -1
- package/dist/esm/button/index.js +1 -1
- package/dist/esm/button-toggle/button-toggle/index.js +1 -1
- package/dist/esm/button-toggle/button-toggle-group/index.js +1 -1
- package/dist/esm/button-toggle/index.js +1 -1
- package/dist/esm/calendar/calendar-dropdown/index.js +1 -1
- package/dist/esm/calendar/calendar-menu/index.js +1 -1
- package/dist/esm/calendar/core/index.js +1 -1
- package/dist/esm/calendar/index.js +1 -1
- package/dist/esm/card/index.js +1 -1
- package/dist/esm/checkbox/index.js +1 -1
- package/dist/esm/chip-field/index.js +1 -1
- package/dist/esm/chips/chip/index.js +1 -1
- package/dist/esm/chips/chip-set/index.js +1 -1
- package/dist/esm/chips/index.js +1 -1
- package/dist/esm/chunks/chunk.2O6IZ7XZ.js +7 -0
- package/dist/esm/chunks/chunk.2O6IZ7XZ.js.map +7 -0
- package/dist/esm/chunks/{chunk.3YT72ZWJ.js → chunk.2QSDH3PC.js} +2 -2
- package/dist/esm/chunks/{chunk.3YT72ZWJ.js.map → chunk.2QSDH3PC.js.map} +1 -1
- package/dist/esm/chunks/{chunk.FOLQAW63.js → chunk.2TQONIPK.js} +2 -2
- package/dist/esm/chunks/{chunk.FOLQAW63.js.map → chunk.2TQONIPK.js.map} +1 -1
- package/dist/esm/chunks/chunk.2VP57RZO.js +7 -0
- package/dist/esm/chunks/chunk.2VP57RZO.js.map +7 -0
- package/dist/esm/chunks/{chunk.3FAYFYXF.js → chunk.2ZTERGYF.js} +2 -2
- package/dist/esm/chunks/{chunk.3FAYFYXF.js.map → chunk.2ZTERGYF.js.map} +1 -1
- package/dist/esm/chunks/chunk.33EJTOVA.js +7 -0
- package/dist/esm/chunks/chunk.33EJTOVA.js.map +7 -0
- package/dist/esm/chunks/{chunk.BJZ7RB5F.js → chunk.3CTKWBV2.js} +1 -1
- package/dist/esm/chunks/{chunk.BJZ7RB5F.js.map → chunk.3CTKWBV2.js.map} +1 -1
- package/dist/esm/chunks/chunk.3JDFBEF7.js +7 -0
- package/dist/esm/chunks/chunk.44IUAOBP.js +7 -0
- package/dist/esm/chunks/{chunk.YPZNIYQL.js.map → chunk.44IUAOBP.js.map} +2 -2
- package/dist/esm/chunks/chunk.44UCSD46.js +7 -0
- package/dist/esm/chunks/{chunk.CN4XKIQI.js.map → chunk.44UCSD46.js.map} +3 -3
- package/dist/esm/chunks/chunk.46VQ2S2Z.js +7 -0
- package/dist/esm/chunks/{chunk.UVW3YDEX.js.map → chunk.46VQ2S2Z.js.map} +2 -2
- package/dist/esm/chunks/{chunk.P4Z7NC6O.js → chunk.4WB3FGEL.js} +2 -2
- package/dist/esm/chunks/{chunk.P4Z7NC6O.js.map → chunk.4WB3FGEL.js.map} +1 -1
- package/dist/esm/chunks/chunk.4WVHON6T.js +129 -0
- package/dist/esm/chunks/chunk.4WVHON6T.js.map +7 -0
- package/dist/esm/chunks/{chunk.76PI42C5.js → chunk.57IVD67K.js} +2 -2
- package/dist/esm/chunks/{chunk.76PI42C5.js.map → chunk.57IVD67K.js.map} +1 -1
- package/dist/esm/chunks/{chunk.RUK5PIER.js → chunk.5CMQ7DNL.js} +2 -2
- package/dist/esm/chunks/{chunk.SATUJNQX.js → chunk.5IQGVS6U.js} +2 -2
- package/dist/esm/chunks/{chunk.SATUJNQX.js.map → chunk.5IQGVS6U.js.map} +2 -2
- package/dist/esm/chunks/chunk.5M6Y2RU6.js +7 -0
- package/dist/esm/chunks/{chunk.KII37K76.js.map → chunk.5M6Y2RU6.js.map} +1 -1
- package/dist/esm/chunks/chunk.5V5ABSHI.js +7 -0
- package/dist/esm/chunks/{chunk.5KC43VFL.js.map → chunk.5V5ABSHI.js.map} +1 -1
- package/dist/esm/chunks/{chunk.D24CE6KE.js → chunk.6MPXRRMB.js} +2 -2
- package/dist/esm/chunks/{chunk.D24CE6KE.js.map → chunk.6MPXRRMB.js.map} +1 -1
- package/dist/esm/chunks/{chunk.7SULS4D2.js → chunk.6VDF54LZ.js} +2 -2
- package/dist/esm/chunks/{chunk.7SULS4D2.js.map → chunk.6VDF54LZ.js.map} +1 -1
- package/dist/esm/chunks/chunk.74DEHKGT.js +12 -0
- package/dist/esm/chunks/chunk.74DEHKGT.js.map +7 -0
- package/dist/esm/chunks/{chunk.NEFQWOLN.js → chunk.7DHFTAWI.js} +2 -2
- package/dist/esm/chunks/chunk.7G72CBOJ.js +7 -0
- package/dist/esm/chunks/chunk.7G72CBOJ.js.map +7 -0
- package/dist/esm/chunks/{chunk.JDLEPQKN.js → chunk.7TGGJGTG.js} +2 -2
- package/dist/esm/chunks/{chunk.JDLEPQKN.js.map → chunk.7TGGJGTG.js.map} +2 -2
- package/dist/esm/chunks/chunk.7WVTJIVR.js +7 -0
- package/dist/esm/chunks/{chunk.FFVZ6JMP.js.map → chunk.7WVTJIVR.js.map} +1 -1
- package/dist/esm/chunks/chunk.7ZQMJLHE.js +7 -0
- package/dist/esm/chunks/{chunk.274MFEUZ.js → chunk.AHHNJSZK.js} +2 -2
- package/dist/esm/chunks/{chunk.274MFEUZ.js.map → chunk.AHHNJSZK.js.map} +1 -1
- package/dist/esm/chunks/chunk.BBKRPL6R.js +7 -0
- package/dist/esm/chunks/chunk.BBKRPL6R.js.map +7 -0
- package/dist/esm/chunks/chunk.BIFQ4VOJ.js +7 -0
- package/dist/esm/chunks/chunk.BIFQ4VOJ.js.map +7 -0
- package/dist/esm/chunks/chunk.BNFJRFLW.js +7 -0
- package/dist/esm/chunks/chunk.BNFJRFLW.js.map +7 -0
- package/dist/esm/chunks/{chunk.4LA6HEA7.js → chunk.CFDK4RCW.js} +2 -2
- package/dist/esm/chunks/{chunk.4LA6HEA7.js.map → chunk.CFDK4RCW.js.map} +3 -3
- package/dist/esm/chunks/chunk.CRWP7H46.js +7 -0
- package/dist/esm/chunks/chunk.CRWP7H46.js.map +7 -0
- package/dist/esm/chunks/{chunk.PW7IGEHF.js → chunk.D2Y2CRRY.js} +2 -2
- package/dist/esm/chunks/{chunk.PW7IGEHF.js.map → chunk.D2Y2CRRY.js.map} +2 -2
- package/dist/esm/chunks/{chunk.U6WGJELL.js → chunk.DMCBAYQX.js} +1 -1
- package/dist/esm/chunks/{chunk.U6WGJELL.js.map → chunk.DMCBAYQX.js.map} +1 -1
- package/dist/esm/chunks/{chunk.QOA2O575.js → chunk.DTZFWZPB.js} +2 -2
- package/dist/esm/chunks/{chunk.QOA2O575.js.map → chunk.DTZFWZPB.js.map} +1 -1
- package/dist/esm/chunks/chunk.DXZ5LVFJ.js +7 -0
- package/dist/esm/chunks/chunk.DXZ5LVFJ.js.map +7 -0
- package/dist/esm/chunks/chunk.E6KWYFZG.js +7 -0
- package/dist/esm/chunks/{chunk.YMBLWKRP.js.map → chunk.E6KWYFZG.js.map} +1 -1
- package/dist/esm/chunks/{chunk.NLXSZNQI.js → chunk.E7Z3IRWV.js} +2 -2
- package/dist/esm/chunks/{chunk.USXO7YKN.js → chunk.ECRL6O3V.js} +2 -2
- package/dist/esm/chunks/{chunk.USXO7YKN.js.map → chunk.ECRL6O3V.js.map} +1 -1
- package/dist/esm/chunks/{chunk.4R6NK524.js → chunk.EDEYCLDU.js} +2 -2
- package/dist/esm/chunks/chunk.EYZ25QUP.js +7 -0
- package/dist/esm/chunks/chunk.EYZ25QUP.js.map +7 -0
- package/dist/esm/chunks/chunk.F776DWXU.js +7 -0
- package/dist/esm/chunks/chunk.F776DWXU.js.map +7 -0
- package/dist/esm/chunks/{chunk.3KQL7VAZ.js → chunk.FDZSLGIW.js} +2 -2
- package/dist/esm/chunks/{chunk.3KQL7VAZ.js.map → chunk.FDZSLGIW.js.map} +1 -1
- package/dist/esm/chunks/chunk.FIBGOPNP.js +7 -0
- package/dist/esm/chunks/chunk.FIBGOPNP.js.map +7 -0
- package/dist/esm/chunks/chunk.FUPNTFG7.js +7 -0
- package/dist/esm/chunks/chunk.FUPNTFG7.js.map +7 -0
- package/dist/esm/chunks/{chunk.MZLPUI6R.js → chunk.FYWPZFLJ.js} +2 -2
- package/dist/esm/chunks/{chunk.MZLPUI6R.js.map → chunk.FYWPZFLJ.js.map} +2 -2
- package/dist/esm/chunks/{chunk.2KXSGD3S.js → chunk.G4IN6Y46.js} +2 -2
- package/dist/esm/chunks/chunk.GT3XBPZY.js +7 -0
- package/dist/esm/chunks/chunk.GT3XBPZY.js.map +7 -0
- package/dist/esm/chunks/chunk.H5D54EHO.js +7 -0
- package/dist/esm/chunks/{chunk.S2YVOMLW.js.map → chunk.H5D54EHO.js.map} +1 -1
- package/dist/esm/chunks/{chunk.AVKCWA7I.js → chunk.HRGTAVNA.js} +2 -2
- package/dist/esm/chunks/{chunk.AVKCWA7I.js.map → chunk.HRGTAVNA.js.map} +1 -1
- package/dist/esm/chunks/chunk.HXJCTE47.js +7 -0
- package/dist/esm/chunks/{chunk.K7HRCGML.js → chunk.IDD54B5P.js} +2 -2
- package/dist/esm/chunks/chunk.ISC7SZSP.js +7 -0
- package/dist/esm/chunks/chunk.ISC7SZSP.js.map +7 -0
- package/dist/esm/chunks/{chunk.A4UN74PV.js → chunk.IWA3CYIB.js} +2 -2
- package/dist/esm/chunks/{chunk.A4UN74PV.js.map → chunk.IWA3CYIB.js.map} +1 -1
- package/dist/esm/chunks/{chunk.SAQSXX2T.js → chunk.J3UFSHDY.js} +2 -2
- package/dist/esm/chunks/{chunk.SAQSXX2T.js.map → chunk.J3UFSHDY.js.map} +2 -2
- package/dist/esm/chunks/chunk.JL4XB4RI.js +7 -0
- package/dist/esm/chunks/chunk.JL4XB4RI.js.map +7 -0
- package/dist/esm/chunks/chunk.JTIPXKV6.js +7 -0
- package/dist/esm/chunks/{chunk.G4DG233F.js.map → chunk.JTIPXKV6.js.map} +2 -2
- package/dist/esm/chunks/chunk.KSCUIS5C.js +7 -0
- package/dist/esm/chunks/chunk.KSCUIS5C.js.map +7 -0
- package/dist/esm/chunks/chunk.L3M6DPQB.js +12 -0
- package/dist/esm/chunks/chunk.L3M6DPQB.js.map +7 -0
- package/dist/esm/chunks/{chunk.4DAIIJ37.js → chunk.LEVFMI2Q.js} +1 -1
- package/dist/esm/chunks/{chunk.4DAIIJ37.js.map → chunk.LEVFMI2Q.js.map} +1 -1
- package/dist/esm/chunks/chunk.LHBF47UY.js +7 -0
- package/dist/esm/chunks/chunk.LHBF47UY.js.map +7 -0
- package/dist/esm/chunks/chunk.LM57DOG3.js +7 -0
- package/dist/esm/chunks/chunk.LM57DOG3.js.map +7 -0
- package/dist/esm/chunks/chunk.LYYWQGS6.js +7 -0
- package/dist/esm/chunks/chunk.LYYWQGS6.js.map +7 -0
- package/dist/esm/chunks/chunk.M2M47T4L.js +7 -0
- package/dist/esm/chunks/chunk.M2M47T4L.js.map +7 -0
- package/dist/esm/chunks/chunk.M3QDAYD2.js +7 -0
- package/dist/esm/chunks/chunk.MF36FG2X.js +7 -0
- package/dist/esm/chunks/{chunk.IZSUW7WG.js.map → chunk.MF36FG2X.js.map} +1 -1
- package/dist/esm/chunks/chunk.MGLWXAZO.js +18 -0
- package/dist/esm/chunks/{chunk.YI4JTY4T.js.map → chunk.MGLWXAZO.js.map} +2 -2
- package/dist/esm/chunks/{chunk.YJTE34LC.js → chunk.MGWY7YIL.js} +2 -2
- package/dist/esm/chunks/{chunk.YJTE34LC.js.map → chunk.MGWY7YIL.js.map} +2 -2
- package/dist/esm/chunks/{chunk.PADHAJLS.js → chunk.MJSLXZBM.js} +2 -2
- package/dist/esm/chunks/{chunk.PADHAJLS.js.map → chunk.MJSLXZBM.js.map} +2 -2
- package/dist/esm/chunks/{chunk.Q5YD3PKM.js → chunk.N7PQ2MUQ.js} +2 -2
- package/dist/esm/chunks/{chunk.Q5YD3PKM.js.map → chunk.N7PQ2MUQ.js.map} +2 -2
- package/dist/esm/chunks/chunk.NF4J3Q5X.js +7 -0
- package/dist/esm/chunks/chunk.NF4J3Q5X.js.map +7 -0
- package/dist/esm/chunks/chunk.NK7H3MMM.js +7 -0
- package/dist/esm/chunks/{chunk.HOXFK44F.js.map → chunk.NK7H3MMM.js.map} +3 -3
- package/dist/esm/chunks/{chunk.KTGSZEAG.js → chunk.NVUMRW44.js} +1 -1
- package/dist/esm/chunks/{chunk.KTGSZEAG.js.map → chunk.NVUMRW44.js.map} +1 -1
- package/dist/esm/chunks/{chunk.AMWDVFAU.js → chunk.OAHA3QOH.js} +2 -2
- package/dist/esm/chunks/{chunk.VUOTKGLB.js → chunk.OTD2SFQJ.js} +2 -2
- package/dist/esm/chunks/{chunk.VUOTKGLB.js.map → chunk.OTD2SFQJ.js.map} +1 -1
- package/dist/esm/chunks/{chunk.UW2HWAVL.js → chunk.P5QIB6OY.js} +2 -2
- package/dist/esm/chunks/{chunk.UW2HWAVL.js.map → chunk.P5QIB6OY.js.map} +1 -1
- package/dist/esm/chunks/{chunk.F5CFD2NG.js → chunk.PHBOQRF6.js} +2 -2
- package/dist/esm/chunks/{chunk.F5CFD2NG.js.map → chunk.PHBOQRF6.js.map} +1 -1
- package/dist/esm/chunks/{chunk.NMKDIHFB.js → chunk.PHTOULRR.js} +2 -2
- package/dist/esm/chunks/chunk.QI3GKORL.js +7 -0
- package/dist/esm/chunks/chunk.QI3GKORL.js.map +7 -0
- package/dist/esm/chunks/{chunk.6TTAKWXI.js → chunk.QL45FKVJ.js} +2 -2
- package/dist/esm/chunks/{chunk.6TTAKWXI.js.map → chunk.QL45FKVJ.js.map} +2 -2
- package/dist/esm/chunks/chunk.QLJBPFP5.js +7 -0
- package/dist/esm/chunks/chunk.QLJBPFP5.js.map +7 -0
- package/dist/esm/chunks/{chunk.XQ5CDWDY.js → chunk.QZK3WEH6.js} +2 -2
- package/dist/esm/chunks/chunk.RFLASSCI.js +7 -0
- package/dist/esm/chunks/{chunk.BESB4RGK.js.map → chunk.RFLASSCI.js.map} +1 -1
- package/dist/esm/chunks/{chunk.H3IPTBWM.js → chunk.RGPNNISQ.js} +2 -2
- package/dist/esm/chunks/{chunk.H3IPTBWM.js.map → chunk.RGPNNISQ.js.map} +1 -1
- package/dist/esm/chunks/chunk.SAXRW6GB.js +7 -0
- package/dist/esm/chunks/chunk.SAXRW6GB.js.map +7 -0
- package/dist/esm/chunks/chunk.SEP3L4QL.js +7 -0
- package/dist/esm/chunks/{chunk.T6NVM7TN.js.map → chunk.SEP3L4QL.js.map} +2 -2
- package/dist/esm/chunks/chunk.SN5LPTHH.js +7 -0
- package/dist/esm/chunks/chunk.SN5LPTHH.js.map +7 -0
- package/dist/esm/chunks/chunk.SQVBT7HU.js +7 -0
- package/dist/esm/chunks/{chunk.XMAKEISF.js.map → chunk.SQVBT7HU.js.map} +3 -3
- package/dist/esm/chunks/chunk.SZIM4KFZ.js +7 -0
- package/dist/esm/chunks/chunk.SZIM4KFZ.js.map +7 -0
- package/dist/esm/chunks/chunk.T5X6UNH7.js +7 -0
- package/dist/esm/chunks/{chunk.6CO3CIUY.js.map → chunk.T5X6UNH7.js.map} +1 -1
- package/dist/esm/chunks/{chunk.ZCQO3N25.js → chunk.TL6WVBGT.js} +2 -2
- package/dist/esm/chunks/{chunk.ZCQO3N25.js.map → chunk.TL6WVBGT.js.map} +1 -1
- package/dist/esm/chunks/chunk.TT2VTZJ6.js +7 -0
- package/dist/esm/chunks/chunk.TT2VTZJ6.js.map +7 -0
- package/dist/esm/chunks/{chunk.VTB27IL7.js → chunk.U4GYQOPY.js} +2 -2
- package/dist/esm/chunks/{chunk.ON2K3O3I.js → chunk.UCM6CGFM.js} +2 -2
- package/dist/esm/chunks/{chunk.ON2K3O3I.js.map → chunk.UCM6CGFM.js.map} +1 -1
- package/dist/esm/chunks/chunk.UKFJHDO7.js +7 -0
- package/dist/esm/chunks/{chunk.BKAZC53W.js.map → chunk.UKFJHDO7.js.map} +2 -2
- package/dist/esm/chunks/{chunk.DONAMICM.js → chunk.UV3WIHCM.js} +1 -1
- package/dist/esm/chunks/{chunk.DONAMICM.js.map → chunk.UV3WIHCM.js.map} +1 -1
- package/dist/esm/chunks/chunk.VNOJO2PF.js +7 -0
- package/dist/esm/chunks/{chunk.SQTM36C3.js.map → chunk.VNOJO2PF.js.map} +1 -1
- package/dist/esm/chunks/{chunk.EMV7JGHB.js → chunk.WBYXVMYI.js} +2 -2
- package/dist/esm/chunks/{chunk.EMV7JGHB.js.map → chunk.WBYXVMYI.js.map} +1 -1
- package/dist/esm/chunks/chunk.WH6C36MO.js +7 -0
- package/dist/esm/chunks/chunk.WH6C36MO.js.map +7 -0
- package/dist/esm/chunks/{chunk.3IXTRC6Z.js → chunk.WO7KEM5K.js} +2 -2
- package/dist/esm/chunks/{chunk.M6PJ3PNN.js → chunk.WYP2M5FR.js} +2 -2
- package/dist/esm/chunks/chunk.X3YNJSDT.js +7 -0
- package/dist/esm/chunks/{chunk.73GVVX4K.js.map → chunk.X3YNJSDT.js.map} +1 -1
- package/dist/esm/chunks/chunk.XATLSSAW.js +7 -0
- package/dist/esm/chunks/{chunk.D5OLAPHE.js.map → chunk.XATLSSAW.js.map} +2 -2
- package/dist/esm/chunks/chunk.XIQFHO5R.js +7 -0
- package/dist/esm/chunks/{chunk.FVRSGKJD.js.map → chunk.XIQFHO5R.js.map} +2 -2
- package/dist/esm/chunks/{chunk.QAWXAPHR.js → chunk.XOM2FYQ2.js} +2 -2
- package/dist/esm/chunks/{chunk.NX4EECNP.js → chunk.XRESQBNE.js} +2 -2
- package/dist/esm/chunks/{chunk.7K44O5RO.js → chunk.Y5UJ23LB.js} +2 -2
- package/dist/esm/chunks/chunk.YDY2IGBF.js +7 -0
- package/dist/esm/chunks/chunk.YDY2IGBF.js.map +7 -0
- package/dist/esm/chunks/{chunk.GQCUI7YS.js → chunk.YQXX5KSW.js} +2 -2
- package/dist/esm/chunks/{chunk.GQCUI7YS.js.map → chunk.YQXX5KSW.js.map} +1 -1
- package/dist/esm/chunks/chunk.YWCLKUK7.js +7 -0
- package/dist/esm/chunks/chunk.YWCLKUK7.js.map +7 -0
- package/dist/esm/chunks/chunk.YZLASVCK.js +177 -0
- package/dist/esm/chunks/chunk.YZLASVCK.js.map +7 -0
- package/dist/esm/chunks/chunk.Z4J4D5FD.js +7 -0
- package/dist/esm/chunks/{chunk.MSFGXRCM.js.map → chunk.Z4J4D5FD.js.map} +2 -2
- package/dist/esm/chunks/chunk.ZAJB7G4V.js +7 -0
- package/dist/esm/chunks/{chunk.MWHVRJW5.js.map → chunk.ZAJB7G4V.js.map} +1 -1
- package/dist/esm/chunks/chunk.ZDAXNM2P.js +7 -0
- package/dist/esm/chunks/{chunk.EAGRODVX.js.map → chunk.ZDAXNM2P.js.map} +2 -2
- package/dist/esm/chunks/chunk.ZMRDW25U.js +7 -0
- package/dist/esm/circular-progress/index.js +1 -1
- package/dist/esm/color-picker/index.js +1 -1
- package/dist/esm/core/base/index.js +1 -1
- package/dist/esm/core/delegates/index.js +1 -1
- package/dist/esm/core/index.js +1 -1
- package/dist/esm/core/mask/index.js +1 -1
- package/dist/esm/core/utils/index.js +1 -1
- package/dist/esm/date-picker/index.js +1 -1
- package/dist/esm/date-range-picker/index.js +1 -1
- package/dist/esm/dialog/index.js +1 -1
- package/dist/esm/divider/index.js +1 -1
- package/dist/esm/drawer/base/index.js +1 -1
- package/dist/esm/drawer/drawer/index.js +1 -1
- package/dist/esm/drawer/index.js +1 -1
- package/dist/esm/drawer/mini-drawer/index.js +1 -1
- package/dist/esm/drawer/modal-drawer/index.js +1 -1
- package/dist/esm/expansion-panel/index.js +1 -1
- package/dist/esm/file-picker/index.js +1 -1
- package/dist/esm/floating-action-button/index.js +1 -1
- package/dist/esm/floating-label/index.js +1 -1
- package/dist/esm/focus-indicator/index.js +7 -0
- package/dist/esm/focus-indicator/index.js.map +7 -0
- package/dist/esm/icon/index.js +1 -1
- package/dist/esm/icon-button/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/inline-message/index.js +1 -1
- package/dist/esm/keyboard-shortcut/index.js +1 -1
- package/dist/esm/label-value/index.js +1 -1
- package/dist/esm/linear-progress/index.js +1 -1
- package/dist/esm/list/index.js +1 -1
- package/dist/esm/list/list/index.js +1 -1
- package/dist/esm/list/list-item/index.js +1 -1
- package/dist/esm/list-dropdown/index.js +1 -1
- package/dist/esm/menu/index.js +1 -1
- package/dist/esm/open-icon/index.js +1 -1
- package/dist/esm/page-state/index.js +1 -1
- package/dist/esm/paginator/index.js +1 -1
- package/dist/esm/popup/index.js +1 -1
- package/dist/esm/product-icon/index.js +1 -1
- package/dist/esm/profile-card/index.js +1 -1
- package/dist/esm/quantity-field/index.js +1 -1
- package/dist/esm/radio/index.js +1 -1
- package/dist/esm/ripple/index.js +1 -1
- package/dist/esm/scaffold/index.js +1 -1
- package/dist/esm/select/core/index.js +1 -1
- package/dist/esm/select/index.js +1 -1
- package/dist/esm/select/option/index.js +1 -1
- package/dist/esm/select/option-group/index.js +1 -1
- package/dist/esm/select/select/index.js +1 -1
- package/dist/esm/select/select-dropdown/index.js +1 -1
- package/dist/esm/skeleton/index.js +1 -1
- package/dist/esm/slider/index.js +1 -1
- package/dist/esm/split-view/index.js +1 -1
- package/dist/esm/split-view/split-view/index.js +1 -1
- package/dist/esm/split-view/split-view-panel/index.js +1 -1
- package/dist/esm/stack/index.js +1 -1
- package/dist/esm/state-layer/index.js +7 -0
- package/dist/esm/state-layer/index.js.map +7 -0
- package/dist/esm/stepper/index.js +1 -1
- package/dist/esm/stepper/step/index.js +1 -1
- package/dist/esm/stepper/stepper/index.js +1 -1
- package/dist/esm/switch/index.js +1 -1
- package/dist/esm/table/index.js +1 -1
- package/dist/esm/tabs/index.js +1 -1
- package/dist/esm/tabs/tab/index.js +1 -1
- package/dist/esm/tabs/tab-bar/index.js +1 -1
- package/dist/esm/text-field/index.js +1 -1
- package/dist/esm/theme/index.js +1 -1
- package/dist/esm/time-picker/index.js +1 -1
- package/dist/esm/toast/index.js +1 -1
- package/dist/esm/toolbar/index.js +1 -1
- package/dist/esm/tooltip/index.js +1 -1
- package/dist/esm/utils/index.js +1 -1
- package/dist/esm/view-switcher/index.js +1 -1
- package/dist/esm/view-switcher/view/index.js +1 -1
- package/dist/forge-dark.css +1 -1
- package/dist/forge.css +1 -1
- package/dist/icon-button/forge-icon-button.css +1 -1
- package/dist/table/forge-table.css +1 -1
- package/dist/theme/forge-theme.css +1 -1
- package/esm/accordion/accordion.js +4 -4
- package/esm/app-bar/app-bar.js +6 -6
- package/esm/app-bar/notification-button/app-bar-notification-button.js +5 -5
- package/esm/app-bar/profile-button/app-bar-profile-button-adapter.js +1 -1
- package/esm/app-bar/profile-button/app-bar-profile-button-constants.d.ts +1 -1
- package/esm/app-bar/profile-button/app-bar-profile-button.js +4 -4
- package/esm/app-bar/search/app-bar-search.js +6 -6
- package/esm/autocomplete/autocomplete-adapter.js +1 -1
- package/esm/autocomplete/autocomplete-component-delegate.d.ts +1 -1
- package/esm/autocomplete/autocomplete-constants.d.ts +4 -4
- package/esm/autocomplete/autocomplete.js +6 -6
- package/esm/avatar/avatar-component-delegate.d.ts +1 -1
- package/esm/avatar/avatar.js +5 -5
- package/esm/backdrop/backdrop-constants.d.ts +1 -1
- package/esm/backdrop/backdrop.js +5 -5
- package/esm/badge/badge-component-delegate.d.ts +1 -1
- package/esm/badge/badge.js +5 -5
- package/esm/banner/banner.js +7 -7
- package/esm/bottom-sheet/bottom-sheet.js +6 -6
- package/esm/busy-indicator/busy-indicator-adapter.js +1 -1
- package/esm/busy-indicator/busy-indicator-constants.d.ts +1 -1
- package/esm/busy-indicator/busy-indicator.js +6 -6
- package/esm/button/button-component-delegate.d.ts +1 -1
- package/esm/button/button.d.ts +1 -0
- package/esm/button/button.js +11 -5
- package/esm/button-toggle/button-toggle/button-toggle.js +7 -7
- package/esm/button-toggle/button-toggle-group/button-toggle-group-constants.d.ts +2 -2
- package/esm/button-toggle/button-toggle-group/button-toggle-group.js +5 -5
- package/esm/calendar/calendar-component-delegate.d.ts +1 -1
- package/esm/calendar/calendar-constants.d.ts +10 -10
- package/esm/calendar/calendar-dropdown/calendar-dropdown.d.ts +0 -3
- package/esm/calendar/calendar-dropdown/calendar-dropdown.js +4 -13
- package/esm/calendar/calendar-menu/calendar-menu-constants.d.ts +2 -2
- package/esm/calendar/calendar-menu/calendar-menu.js +6 -6
- package/esm/calendar/calendar.js +7 -7
- package/esm/card/card-constants.d.ts +2 -2
- package/esm/card/card-constants.js +2 -2
- package/esm/card/card.d.ts +19 -8
- package/esm/card/card.js +34 -25
- package/esm/checkbox/checkbox-adapter.d.ts +1 -0
- package/esm/checkbox/checkbox-adapter.js +9 -2
- package/esm/checkbox/checkbox-component-delegate.d.ts +1 -1
- package/esm/checkbox/checkbox.js +4 -4
- package/esm/chip-field/chip-field-component-delegate.d.ts +1 -1
- package/esm/chip-field/chip-field-foundation.js +1 -1
- package/esm/chip-field/chip-field.js +1 -1
- package/esm/chips/chip/chip-adapter.js +2 -2
- package/esm/chips/chip/chip.js +7 -7
- package/esm/chips/chip-set/chip-set.js +5 -5
- package/esm/circular-progress/circular-progress-adapter.d.ts +7 -14
- package/esm/circular-progress/circular-progress-adapter.js +25 -25
- package/esm/circular-progress/circular-progress-constants.d.ts +6 -2
- package/esm/circular-progress/circular-progress-constants.js +8 -3
- package/esm/circular-progress/circular-progress-foundation.d.ts +0 -8
- package/esm/circular-progress/circular-progress-foundation.js +9 -27
- package/esm/circular-progress/circular-progress.d.ts +24 -5
- package/esm/circular-progress/circular-progress.js +33 -21
- package/esm/color-picker/color-picker-constants.d.ts +2 -2
- package/esm/color-picker/color-picker-foundation.d.ts +1 -0
- package/esm/color-picker/color-picker-foundation.js +5 -2
- package/esm/color-picker/color-picker.js +7 -7
- package/esm/core/base/base-component.d.ts +1 -2
- package/esm/core/delegates/base-component-delegate.d.ts +1 -1
- package/esm/core/delegates/base-component-delegate.js +3 -3
- package/esm/core/delegates/form-field-component-delegate.d.ts +1 -1
- package/esm/core/mask/time-segment-parser.d.ts +1 -1
- package/esm/core/testing/pointer.d.ts +13 -0
- package/esm/core/testing/pointer.js +42 -0
- package/esm/core/utils/utils.d.ts +33 -2
- package/esm/core/utils/utils.js +74 -6
- package/esm/date-picker/base/base-date-picker-adapter.d.ts +0 -2
- package/esm/date-picker/base/base-date-picker-adapter.js +0 -6
- package/esm/date-picker/base/base-date-picker-constants.d.ts +0 -1
- package/esm/date-picker/base/base-date-picker-constants.js +1 -2
- package/esm/date-picker/base/base-date-picker-foundation.d.ts +0 -4
- package/esm/date-picker/base/base-date-picker-foundation.js +1 -13
- package/esm/date-picker/base/base-date-picker.d.ts +0 -3
- package/esm/date-picker/base/base-date-picker.js +0 -6
- package/esm/date-picker/date-picker-adapter.js +1 -1
- package/esm/date-picker/date-picker-component-delegate.d.ts +1 -1
- package/esm/date-range-picker/date-range-picker-adapter.js +1 -1
- package/esm/date-range-picker/date-range-picker-component-delegate.d.ts +1 -1
- package/esm/dialog/dialog-adapter.d.ts +5 -5
- package/esm/dialog/dialog-adapter.js +31 -32
- package/esm/dialog/dialog-constants.d.ts +2 -2
- package/esm/dialog/dialog-foundation.d.ts +4 -2
- package/esm/dialog/dialog-foundation.js +62 -54
- package/esm/dialog/dialog.d.ts +4 -0
- package/esm/dialog/dialog.js +12 -6
- package/esm/drawer/base/base-drawer-constants.d.ts +1 -1
- package/esm/expansion-panel/expansion-panel.js +5 -5
- package/esm/field/field-adapter.js +1 -1
- package/esm/field/field-constants.d.ts +3 -3
- package/esm/field/field-foundation.js +0 -5
- package/esm/field/field.js +3 -3
- package/esm/file-picker/file-picker-component-delegate.d.ts +1 -1
- package/esm/file-picker/file-picker.js +6 -6
- package/esm/floating-action-button/floating-action-button-component-delegate.d.ts +1 -1
- package/esm/floating-action-button/floating-action-button.js +6 -6
- package/esm/focus-indicator/focus-indicator-adapter.d.ts +29 -0
- package/esm/focus-indicator/focus-indicator-adapter.js +39 -0
- package/esm/focus-indicator/focus-indicator-constants.d.ts +15 -0
- package/esm/focus-indicator/focus-indicator-constants.js +19 -0
- package/esm/focus-indicator/focus-indicator-foundation.d.ts +43 -0
- package/esm/focus-indicator/focus-indicator-foundation.js +110 -0
- package/esm/focus-indicator/focus-indicator.d.ts +67 -0
- package/esm/focus-indicator/focus-indicator.js +112 -0
- package/esm/focus-indicator/index.d.ts +10 -0
- package/esm/focus-indicator/index.js +14 -0
- package/esm/icon/icon.js +5 -5
- package/esm/icon-button/icon-button-component-delegate.d.ts +1 -1
- package/esm/icon-button/icon-button.d.ts +1 -0
- package/esm/icon-button/icon-button.js +16 -9
- package/esm/index.d.ts +2 -0
- package/esm/index.js +6 -0
- package/esm/keyboard-shortcut/keyboard-shortcut.js +4 -4
- package/esm/label-value/label-value-component-delegate.d.ts +1 -1
- package/esm/label-value/label-value-constants.d.ts +1 -1
- package/esm/label-value/label-value.js +5 -5
- package/esm/linear-progress/linear-progress-adapter.d.ts +23 -0
- package/esm/linear-progress/linear-progress-adapter.js +34 -0
- package/esm/linear-progress/linear-progress-constants.d.ts +6 -2
- package/esm/linear-progress/linear-progress-constants.js +8 -3
- package/esm/linear-progress/linear-progress-foundation.d.ts +26 -0
- package/esm/linear-progress/linear-progress-foundation.js +53 -0
- package/esm/linear-progress/linear-progress.d.ts +32 -25
- package/esm/linear-progress/linear-progress.js +49 -107
- package/esm/list/list/list-adapter.js +2 -2
- package/esm/list/list/list.js +5 -5
- package/esm/list/list-item/list-item-adapter.d.ts +3 -3
- package/esm/list/list-item/list-item-adapter.js +2 -2
- package/esm/list/list-item/list-item-foundation.d.ts +1 -0
- package/esm/list/list-item/list-item-foundation.js +8 -1
- package/esm/list/list-item/list-item.js +6 -6
- package/esm/list-dropdown/list-dropdown-adapter.js +3 -4
- package/esm/list-dropdown/list-dropdown-constants.d.ts +6 -6
- package/esm/menu/menu-constants.d.ts +3 -3
- package/esm/menu/menu.js +6 -6
- package/esm/open-icon/open-icon.js +6 -6
- package/esm/paginator/paginator-constants.d.ts +1 -1
- package/esm/paginator/paginator.js +12 -12
- package/esm/popup/popup-adapter.js +2 -2
- package/esm/popup/popup-constants.d.ts +2 -2
- package/esm/popup/popup.js +5 -5
- package/esm/product-icon/product-icon.js +5 -5
- package/esm/profile-card/profile-card.js +6 -6
- package/esm/quantity-field/quantity-field-component-delegate.d.ts +1 -1
- package/esm/quantity-field/quantity-field.js +6 -6
- package/esm/radio/radio-adapter.d.ts +1 -0
- package/esm/radio/radio-adapter.js +10 -4
- package/esm/radio/radio.js +5 -5
- package/esm/ripple/forge-ripple.d.ts +2 -0
- package/esm/ripple/forge-ripple.js +4 -0
- package/esm/ripple/ripple.js +4 -4
- package/esm/select/core/base-select-constants.d.ts +4 -4
- package/esm/select/option/option.js +4 -4
- package/esm/select/option-group/option-group.js +3 -3
- package/esm/select/select/select-adapter.d.ts +1 -1
- package/esm/select/select/select.js +1 -1
- package/esm/select/select-component-delegate.d.ts +1 -1
- package/esm/slider/slider-adapter.d.ts +79 -0
- package/esm/slider/slider-adapter.js +178 -0
- package/esm/slider/slider-component-delegate.d.ts +19 -3
- package/esm/slider/slider-component-delegate.js +48 -0
- package/esm/slider/slider-constants.d.ts +55 -19
- package/esm/slider/slider-constants.js +56 -14
- package/esm/slider/slider-foundation.d.ts +94 -0
- package/esm/slider/slider-foundation.js +313 -0
- package/esm/slider/slider-utils.d.ts +9 -0
- package/esm/slider/slider-utils.js +56 -0
- package/esm/slider/slider.d.ts +134 -66
- package/esm/slider/slider.js +240 -249
- package/esm/split-view/split-view/split-view-constants.d.ts +1 -1
- package/esm/split-view/split-view/split-view.js +5 -5
- package/esm/split-view/split-view-panel/split-view-panel-constants.d.ts +2 -2
- package/esm/split-view/split-view-panel/split-view-panel-foundation.js +18 -18
- package/esm/split-view/split-view-panel/split-view-panel.js +7 -7
- package/esm/stack/stack-constants.d.ts +1 -1
- package/esm/stack/stack.js +5 -5
- package/esm/state-layer/index.d.ts +10 -0
- package/esm/state-layer/index.js +14 -0
- package/esm/state-layer/state-layer-adapter.d.ts +41 -0
- package/esm/state-layer/state-layer-adapter.js +101 -0
- package/esm/state-layer/state-layer-constants.d.ts +79 -0
- package/esm/state-layer/state-layer-constants.js +89 -0
- package/esm/state-layer/state-layer-foundation.d.ts +57 -0
- package/esm/state-layer/state-layer-foundation.js +237 -0
- package/esm/state-layer/state-layer-utils.d.ts +26 -0
- package/esm/state-layer/state-layer-utils.js +54 -0
- package/esm/state-layer/state-layer.d.ts +66 -0
- package/esm/state-layer/state-layer.js +96 -0
- package/esm/stepper/core/stepper-utils.js +1 -2
- package/esm/stepper/step/step-constants.d.ts +1 -1
- package/esm/stepper/step/step.js +13 -13
- package/esm/stepper/stepper/stepper-adapter.js +1 -1
- package/esm/stepper/stepper/stepper-constants.d.ts +2 -2
- package/esm/stepper/stepper/stepper-foundation.js +0 -1
- package/esm/stepper/stepper/stepper.js +5 -5
- package/esm/switch/switch-component-delegate.d.ts +1 -1
- package/esm/switch/switch-constants.d.ts +1 -1
- package/esm/switch/switch.js +19 -12
- package/esm/table/table.js +5 -5
- package/esm/table/types.d.ts +4 -4
- package/esm/tabs/tab/tab-adapter.d.ts +14 -40
- package/esm/tabs/tab/tab-adapter.js +57 -79
- package/esm/tabs/tab/tab-constants.d.ts +13 -14
- package/esm/tabs/tab/tab-constants.js +17 -10
- package/esm/tabs/tab/tab-foundation.d.ts +23 -23
- package/esm/tabs/tab/tab-foundation.js +66 -62
- package/esm/tabs/tab/tab.d.ts +56 -20
- package/esm/tabs/tab/tab.js +88 -39
- package/esm/tabs/tab-bar/tab-bar-adapter.d.ts +49 -87
- package/esm/tabs/tab-bar/tab-bar-adapter.js +114 -188
- package/esm/tabs/tab-bar/tab-bar-constants.d.ts +15 -45
- package/esm/tabs/tab-bar/tab-bar-constants.js +22 -56
- package/esm/tabs/tab-bar/tab-bar-foundation.d.ts +56 -65
- package/esm/tabs/tab-bar/tab-bar-foundation.js +241 -302
- package/esm/tabs/tab-bar/tab-bar.d.ts +51 -36
- package/esm/tabs/tab-bar/tab-bar.js +89 -57
- package/esm/text-field/text-field-adapter.js +1 -2
- package/esm/text-field/text-field-component-delegate.d.ts +1 -1
- package/esm/text-field/text-field.js +1 -1
- package/esm/theme/theme-utils.d.ts +2 -2
- package/esm/time-picker/time-picker-adapter.js +1 -2
- package/esm/time-picker/time-picker-component-delegate.d.ts +1 -1
- package/esm/time-picker/time-picker-constants.d.ts +6 -6
- package/esm/time-picker/time-picker.js +6 -6
- package/esm/toast/toast-constants.d.ts +2 -2
- package/esm/toast/toast.js +7 -7
- package/esm/toolbar/toolbar.js +5 -5
- package/esm/tooltip/tooltip-constants.d.ts +1 -1
- package/esm/tooltip/tooltip.js +4 -4
- package/esm/view-switcher/view-switcher.js +5 -5
- package/package.json +2 -4
- package/styles/app-bar/_mixins.scss +8 -1
- package/styles/card/_mixins.scss +8 -7
- package/styles/chips/chip/_mixins.scss +0 -1
- package/styles/circular-progress/_animations.scss +69 -0
- package/styles/circular-progress/_configuration.scss +30 -0
- package/styles/circular-progress/_core.scss +122 -0
- package/styles/circular-progress/circular-progress.scss +92 -3
- package/styles/circular-progress/index.scss +8 -0
- package/styles/core/styles/core/_config.scss +6 -0
- package/styles/core/styles/elevation/index.scss +61 -0
- package/styles/core/styles/theme/index.scss +48 -0
- package/styles/core/styles/tokens/_color-palette.scss +299 -0
- package/styles/core/styles/tokens/_utils.scss +43 -0
- package/styles/core/styles/tokens/circular-progress/_tokens.scss +21 -0
- package/styles/core/styles/tokens/focus-indicator/_tokens.scss +30 -0
- package/styles/core/styles/tokens/index.scss +10 -0
- package/styles/core/styles/tokens/linear-progress/_tokens.scss +23 -0
- package/styles/core/styles/tokens/slider/_tokens.scss +47 -0
- package/styles/core/styles/tokens/state-layer/_tokens.scss +23 -0
- package/styles/core/styles/tokens/tabs/tab/_tokens.scss +71 -0
- package/styles/core/styles/tokens/tabs/tab-bar/_tokens.scss +19 -0
- package/styles/core/styles/tokens/theme/_elevation.scss +105 -0
- package/styles/core/styles/tokens/theme/_shape.scss +13 -0
- package/styles/core/styles/tokens/theme/_tokens.scss +133 -0
- package/styles/core/styles/tokens/typography/_tokens.scss +73 -0
- package/styles/focus-indicator/_animations.scss +36 -0
- package/styles/focus-indicator/_configuration.scss +23 -0
- package/styles/focus-indicator/_core.scss +52 -0
- package/styles/focus-indicator/focus-indicator.scss +55 -0
- package/styles/focus-indicator/index.scss +8 -0
- package/styles/linear-progress/_animations.scss +129 -0
- package/styles/linear-progress/_configuration.scss +29 -0
- package/styles/linear-progress/_core.scss +99 -0
- package/styles/linear-progress/index.scss +8 -0
- package/styles/linear-progress/linear-progress.scss +101 -18
- package/styles/list/list-item/_mixins.scss +1 -11
- package/styles/list/list-item/_variables.scss +0 -9
- package/styles/slider/_configuration.scss +60 -0
- package/styles/slider/_core.scss +343 -0
- package/styles/slider/index.scss +7 -0
- package/styles/slider/slider.scss +186 -14
- package/styles/state-layer/_configuration.scss +17 -0
- package/styles/state-layer/_core.scss +124 -0
- package/styles/state-layer/index.scss +7 -0
- package/styles/state-layer/state-layer.scss +38 -0
- package/styles/tabs/tab/_configuration.scss +64 -0
- package/styles/tabs/tab/_core.scss +189 -0
- package/styles/tabs/tab/index.scss +7 -0
- package/styles/tabs/tab/tab.scss +168 -15
- package/styles/tabs/tab-bar/_configuration.scss +13 -0
- package/styles/tabs/tab-bar/_core.scss +60 -0
- package/styles/tabs/tab-bar/index.scss +7 -0
- package/styles/tabs/tab-bar/tab-bar.scss +66 -5
- package/styles/theme/_theme-dark.scss +4 -8
- package/styles/theme/_theme.scss +3 -36
- package/dist/esm/chunks/chunk.2DAPNN6B.js +0 -29
- package/dist/esm/chunks/chunk.2DAPNN6B.js.map +0 -7
- package/dist/esm/chunks/chunk.2DXG2R3M.js +0 -73
- package/dist/esm/chunks/chunk.2DXG2R3M.js.map +0 -7
- package/dist/esm/chunks/chunk.4CWMNWZU.js +0 -7
- package/dist/esm/chunks/chunk.4CWMNWZU.js.map +0 -7
- package/dist/esm/chunks/chunk.5KC43VFL.js +0 -7
- package/dist/esm/chunks/chunk.6ATSOUJQ.js +0 -29
- package/dist/esm/chunks/chunk.6ATSOUJQ.js.map +0 -7
- package/dist/esm/chunks/chunk.6CO3CIUY.js +0 -7
- package/dist/esm/chunks/chunk.73GVVX4K.js +0 -7
- package/dist/esm/chunks/chunk.7BAO5IED.js +0 -7
- package/dist/esm/chunks/chunk.7GCT4NUC.js +0 -7
- package/dist/esm/chunks/chunk.7GCT4NUC.js.map +0 -7
- package/dist/esm/chunks/chunk.AMES2WWC.js +0 -7
- package/dist/esm/chunks/chunk.AMES2WWC.js.map +0 -7
- package/dist/esm/chunks/chunk.APHMTBRQ.js +0 -7
- package/dist/esm/chunks/chunk.APHMTBRQ.js.map +0 -7
- package/dist/esm/chunks/chunk.BESB4RGK.js +0 -7
- package/dist/esm/chunks/chunk.BKAZC53W.js +0 -7
- package/dist/esm/chunks/chunk.BL4IBI6G.js +0 -29
- package/dist/esm/chunks/chunk.BL4IBI6G.js.map +0 -7
- package/dist/esm/chunks/chunk.BTMBIAL2.js +0 -7
- package/dist/esm/chunks/chunk.BTMBIAL2.js.map +0 -7
- package/dist/esm/chunks/chunk.CE6NTUWI.js +0 -7
- package/dist/esm/chunks/chunk.CE6NTUWI.js.map +0 -7
- package/dist/esm/chunks/chunk.CG5CVENX.js +0 -7
- package/dist/esm/chunks/chunk.CG5CVENX.js.map +0 -7
- package/dist/esm/chunks/chunk.CN4XKIQI.js +0 -7
- package/dist/esm/chunks/chunk.CX7MOSLM.js +0 -7
- package/dist/esm/chunks/chunk.D5OLAPHE.js +0 -7
- package/dist/esm/chunks/chunk.DLALEZ73.js +0 -7
- package/dist/esm/chunks/chunk.DLALEZ73.js.map +0 -7
- package/dist/esm/chunks/chunk.DYF2MREZ.js +0 -7
- package/dist/esm/chunks/chunk.DYF2MREZ.js.map +0 -7
- package/dist/esm/chunks/chunk.EAGRODVX.js +0 -7
- package/dist/esm/chunks/chunk.F3MP6AXF.js +0 -29
- package/dist/esm/chunks/chunk.F3MP6AXF.js.map +0 -7
- package/dist/esm/chunks/chunk.FFVZ6JMP.js +0 -7
- package/dist/esm/chunks/chunk.FPLHVO6D.js +0 -7
- package/dist/esm/chunks/chunk.FPLHVO6D.js.map +0 -7
- package/dist/esm/chunks/chunk.FVRSGKJD.js +0 -7
- package/dist/esm/chunks/chunk.G4DG233F.js +0 -7
- package/dist/esm/chunks/chunk.HOXFK44F.js +0 -7
- package/dist/esm/chunks/chunk.HRNLQ7GB.js +0 -7
- package/dist/esm/chunks/chunk.HRNLQ7GB.js.map +0 -7
- package/dist/esm/chunks/chunk.HTH3CEDN.js +0 -7
- package/dist/esm/chunks/chunk.HTH3CEDN.js.map +0 -7
- package/dist/esm/chunks/chunk.IMEODSRH.js +0 -7
- package/dist/esm/chunks/chunk.IMEODSRH.js.map +0 -7
- package/dist/esm/chunks/chunk.ITXUKOKJ.js +0 -7
- package/dist/esm/chunks/chunk.ITXUKOKJ.js.map +0 -7
- package/dist/esm/chunks/chunk.IZSUW7WG.js +0 -7
- package/dist/esm/chunks/chunk.JD4APKZS.js +0 -29
- package/dist/esm/chunks/chunk.JD4APKZS.js.map +0 -7
- package/dist/esm/chunks/chunk.JRUIOKFS.js +0 -12
- package/dist/esm/chunks/chunk.JRUIOKFS.js.map +0 -7
- package/dist/esm/chunks/chunk.K4SWLH26.js +0 -7
- package/dist/esm/chunks/chunk.K4SWLH26.js.map +0 -7
- package/dist/esm/chunks/chunk.K6LBO4KJ.js +0 -7
- package/dist/esm/chunks/chunk.K6LBO4KJ.js.map +0 -7
- package/dist/esm/chunks/chunk.KII37K76.js +0 -7
- package/dist/esm/chunks/chunk.KRUEPHLG.js +0 -7
- package/dist/esm/chunks/chunk.KRUEPHLG.js.map +0 -7
- package/dist/esm/chunks/chunk.MCIQXNKY.js +0 -7
- package/dist/esm/chunks/chunk.MSFGXRCM.js +0 -7
- package/dist/esm/chunks/chunk.MWHVRJW5.js +0 -7
- package/dist/esm/chunks/chunk.PFYLJBUV.js +0 -7
- package/dist/esm/chunks/chunk.PFYLJBUV.js.map +0 -7
- package/dist/esm/chunks/chunk.PKVY6EWM.js +0 -29
- package/dist/esm/chunks/chunk.PKVY6EWM.js.map +0 -7
- package/dist/esm/chunks/chunk.RGAPFLQE.js +0 -7
- package/dist/esm/chunks/chunk.RGAPFLQE.js.map +0 -7
- package/dist/esm/chunks/chunk.ROQGMLH3.js +0 -7
- package/dist/esm/chunks/chunk.ROQGMLH3.js.map +0 -7
- package/dist/esm/chunks/chunk.S2YVOMLW.js +0 -7
- package/dist/esm/chunks/chunk.SQTM36C3.js +0 -7
- package/dist/esm/chunks/chunk.SXTM6OK4.js +0 -7
- package/dist/esm/chunks/chunk.SXTM6OK4.js.map +0 -7
- package/dist/esm/chunks/chunk.T6NVM7TN.js +0 -7
- package/dist/esm/chunks/chunk.UHU4FUIS.js +0 -7
- package/dist/esm/chunks/chunk.UVW3YDEX.js +0 -7
- package/dist/esm/chunks/chunk.V4TCOZLK.js +0 -29
- package/dist/esm/chunks/chunk.V4TCOZLK.js.map +0 -7
- package/dist/esm/chunks/chunk.VNLVFGQ2.js +0 -7
- package/dist/esm/chunks/chunk.VNLVFGQ2.js.map +0 -7
- package/dist/esm/chunks/chunk.VT2QJ7SM.js +0 -29
- package/dist/esm/chunks/chunk.VT2QJ7SM.js.map +0 -7
- package/dist/esm/chunks/chunk.XFAOB6LU.js +0 -7
- package/dist/esm/chunks/chunk.XMAKEISF.js +0 -7
- package/dist/esm/chunks/chunk.Y66GSZJB.js +0 -7
- package/dist/esm/chunks/chunk.Y66GSZJB.js.map +0 -7
- package/dist/esm/chunks/chunk.YG24YPYO.js +0 -7
- package/dist/esm/chunks/chunk.YG24YPYO.js.map +0 -7
- package/dist/esm/chunks/chunk.YI4JTY4T.js +0 -14
- package/dist/esm/chunks/chunk.YMBLWKRP.js +0 -7
- package/dist/esm/chunks/chunk.YPZNIYQL.js +0 -7
- package/styles/circular-progress/_keyframes.scss +0 -185
- package/styles/circular-progress/_mixins.scss +0 -320
- package/styles/circular-progress/_variables.scss +0 -50
- package/styles/linear-progress/_mixins.scss +0 -11
- package/styles/linear-progress/_variables.scss +0 -15
- package/styles/tabs/tab/_mixins.scss +0 -165
- package/styles/tabs/tab/_variables.scss +0 -9
- package/styles/tabs/tab-bar/_mixins.scss +0 -78
- /package/dist/esm/chunks/{chunk.7BAO5IED.js.map → chunk.3JDFBEF7.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.RUK5PIER.js.map → chunk.5CMQ7DNL.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.NEFQWOLN.js.map → chunk.7DHFTAWI.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.CX7MOSLM.js.map → chunk.7ZQMJLHE.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.NLXSZNQI.js.map → chunk.E7Z3IRWV.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.4R6NK524.js.map → chunk.EDEYCLDU.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.2KXSGD3S.js.map → chunk.G4IN6Y46.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.XFAOB6LU.js.map → chunk.HXJCTE47.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.K7HRCGML.js.map → chunk.IDD54B5P.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.MCIQXNKY.js.map → chunk.M3QDAYD2.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.AMWDVFAU.js.map → chunk.OAHA3QOH.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.NMKDIHFB.js.map → chunk.PHTOULRR.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.XQ5CDWDY.js.map → chunk.QZK3WEH6.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.VTB27IL7.js.map → chunk.U4GYQOPY.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.3IXTRC6Z.js.map → chunk.WO7KEM5K.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.M6PJ3PNN.js.map → chunk.WYP2M5FR.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.QAWXAPHR.js.map → chunk.XOM2FYQ2.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.NX4EECNP.js.map → chunk.XRESQBNE.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7K44O5RO.js.map → chunk.Y5UJ23LB.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.UHU4FUIS.js.map → chunk.ZMRDW25U.js.map} +0 -0
|
@@ -17,11 +17,6 @@ const styles = '.forge-expansion-panel{display:block;display:var(--forge-expansi
|
|
|
17
17
|
* @tag forge-expansion-panel
|
|
18
18
|
*/
|
|
19
19
|
let ExpansionPanelComponent = class ExpansionPanelComponent extends BaseComponent {
|
|
20
|
-
constructor() {
|
|
21
|
-
super();
|
|
22
|
-
attachShadowTemplate(this, template, styles);
|
|
23
|
-
this._foundation = new ExpansionPanelFoundation(new ExpansionPanelAdapter(this));
|
|
24
|
-
}
|
|
25
20
|
static get observedAttributes() {
|
|
26
21
|
return [
|
|
27
22
|
EXPANSION_PANEL_CONSTANTS.attributes.OPEN,
|
|
@@ -29,6 +24,11 @@ let ExpansionPanelComponent = class ExpansionPanelComponent extends BaseComponen
|
|
|
29
24
|
EXPANSION_PANEL_CONSTANTS.attributes.USE_ANIMATIONS
|
|
30
25
|
];
|
|
31
26
|
}
|
|
27
|
+
constructor() {
|
|
28
|
+
super();
|
|
29
|
+
attachShadowTemplate(this, template, styles);
|
|
30
|
+
this._foundation = new ExpansionPanelFoundation(new ExpansionPanelAdapter(this));
|
|
31
|
+
}
|
|
32
32
|
initializedCallback() {
|
|
33
33
|
this._foundation.initialize();
|
|
34
34
|
}
|
|
@@ -105,7 +105,7 @@ export class FieldAdapter extends BaseAdapter {
|
|
|
105
105
|
return this._inputElement.placeholder ? this._inputElement.placeholder.trim().length > 0 : false;
|
|
106
106
|
}
|
|
107
107
|
inputHasFocus(target) {
|
|
108
|
-
return this._inputElement === target || this._inputElement === getActiveElement(
|
|
108
|
+
return this._inputElement === target || this._inputElement === getActiveElement();
|
|
109
109
|
}
|
|
110
110
|
setLabelClass(name) {
|
|
111
111
|
if (this._labelElement) {
|
|
@@ -34,6 +34,6 @@ export declare const FIELD_CONSTANTS: {
|
|
|
34
34
|
LABEL: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
37
|
+
export type FieldDensityType = 'roomy' | 'default' | 'dense';
|
|
38
|
+
export type FieldFloatLabelType = 'always' | 'auto';
|
|
39
|
+
export type FieldShapeType = 'default' | 'rounded';
|
|
@@ -66,8 +66,6 @@ export class FieldFoundation {
|
|
|
66
66
|
disconnect() {
|
|
67
67
|
this._isInitialized = false;
|
|
68
68
|
this._adapter.destroy();
|
|
69
|
-
this._adapter.removeHostAttribute(FIELD_CONSTANTS.attributes.HOST_LABEL_FLOATING);
|
|
70
|
-
this._adapter.removeRootClass(FIELD_CONSTANTS.classes.LABEL);
|
|
71
69
|
if (this._floatingLabel) {
|
|
72
70
|
this._floatingLabel.destroy();
|
|
73
71
|
this._floatingLabel = undefined;
|
|
@@ -148,9 +146,6 @@ export class FieldFoundation {
|
|
|
148
146
|
floatLabel(value) {
|
|
149
147
|
var _a, _b;
|
|
150
148
|
if (((_a = this._floatingLabel) === null || _a === void 0 ? void 0 : _a.isFloating) === value || this._adapter.isLabelFloating() === value) {
|
|
151
|
-
if (value) {
|
|
152
|
-
this._adapter.setHostAttribute(FIELD_CONSTANTS.attributes.HOST_LABEL_FLOATING, '');
|
|
153
|
-
}
|
|
154
149
|
return;
|
|
155
150
|
}
|
|
156
151
|
if (!value && this._floatLabelType === 'always') {
|
package/esm/field/field.js
CHANGED
|
@@ -8,9 +8,6 @@ import { FIELD_CONSTANTS } from './field-constants';
|
|
|
8
8
|
import { BaseComponent } from '../core/base/base-component';
|
|
9
9
|
import { coerceBoolean, ensureChild, FoundationProperty } from '@tylertech/forge-core';
|
|
10
10
|
export class FieldComponent extends BaseComponent {
|
|
11
|
-
constructor() {
|
|
12
|
-
super();
|
|
13
|
-
}
|
|
14
11
|
static get observedAttributes() {
|
|
15
12
|
return [
|
|
16
13
|
FIELD_CONSTANTS.attributes.DENSITY,
|
|
@@ -20,6 +17,9 @@ export class FieldComponent extends BaseComponent {
|
|
|
20
17
|
FIELD_CONSTANTS.attributes.REQUIRED
|
|
21
18
|
];
|
|
22
19
|
}
|
|
20
|
+
constructor() {
|
|
21
|
+
super();
|
|
22
|
+
}
|
|
23
23
|
connectedCallback() {
|
|
24
24
|
if (this.querySelector(FIELD_CONSTANTS.selectors.INPUT)) {
|
|
25
25
|
this._initialize();
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { BaseComponentDelegate, IBaseComponentDelegateConfig, IBaseComponentDelegateOptions } from '../core/delegates/base-component-delegate';
|
|
7
7
|
import { IFilePickerComponent } from './file-picker';
|
|
8
8
|
import { IFilePickerChangeEventData } from './file-picker-constants';
|
|
9
|
-
export
|
|
9
|
+
export type FilePickerComponentDelegateProps = Partial<IFilePickerComponent>;
|
|
10
10
|
export interface IFilePickerComponentDelegateOptions extends IBaseComponentDelegateOptions {
|
|
11
11
|
primaryText?: string;
|
|
12
12
|
secondaryText?: string;
|
|
@@ -11,18 +11,13 @@ import { FilePickerAdapter } from './file-picker-adapter';
|
|
|
11
11
|
import { FILE_PICKER_CONSTANTS } from './file-picker-constants';
|
|
12
12
|
import { FilePickerFoundation } from './file-picker-foundation';
|
|
13
13
|
const template = '<template><form class=\"forge-file-picker\" id=\"container\" part=\"form\"><div class=\"forge-file-picker__primary\" id=\"primary\" part=\"primary\"><slot name=\"primary\"></slot></div><slot id=\"button-slot\"></slot><div class=\"forge-file-picker__secondary\" id=\"secondary\" part=\"secondary\"><slot name=\"secondary\"></slot></div><input type=\"file\" class=\"forge-file-picker__input\" id=\"input\" part=\"input\"></form><div class=\"forge-file-picker__helper-text\" part=\"helper-text-container\"><slot name=\"helper-text\"></slot></div></template>';
|
|
14
|
-
const styles = '.forge-file-picker{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%;background-color:rgba(189,189,189,.12);border:1px dashed #e0e0e0;display:grid;-webkit-box-pack:center;justify-content:center;align-content:center;gap:16px;padding:16px;text-align:center;cursor:pointer}.forge-file-picker__primary{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight,400);letter-spacing:.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, .009375em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration,inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform,inherit);color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));max-width:auto;max-width:var(--forge-file-picker-max-content-width,auto)}.forge-file-picker__secondary{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875rem;font-size:var(--forge-typography-subtitle2-secondary-font-size, .875rem);line-height:1.375rem;line-height:var(--forge-typography-subtitle2-secondary-line-height, 1.375rem);font-weight:400;font-weight:var(--forge-typography-subtitle2-secondary-font-weight,400);letter-spacing:.0087500001em;letter-spacing:var(--forge-typography-subtitle2-secondary-letter-spacing, .0087500001em);text-decoration:inherit;-webkit-text-decoration:var(--forge-typography-subtitle2-secondary-text-decoration,inherit);text-decoration:var(--forge-typography-subtitle2-secondary-text-decoration,inherit);text-transform:inherit;text-transform:var(--forge-typography-subtitle2-secondary-text-transform,inherit);color:var(--mdc-theme-text-secondary-on-background);color:var(--forge-typography-subtitle2-secondary-color,var(--mdc-theme-text-secondary-on-background));color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));max-width:auto;max-width:var(--forge-file-picker-max-content-width,auto)}.forge-file-picker__input{display:none}.forge-file-picker__helper-text ::slotted([slot=helper-text]){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight,400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform,inherit);display:block;min-height:1.5rem;line-height:normal;padding-top:4px;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));margin-left:12px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size, .75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight,400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform,inherit);text-align:start}.forge-file-picker[disabled]{background-color:#
|
|
14
|
+
const styles = '.forge-file-picker{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%;background-color:rgba(189,189,189,.12);border:1px dashed #e0e0e0;display:grid;-webkit-box-pack:center;justify-content:center;align-content:center;gap:16px;padding:16px;text-align:center;cursor:pointer}.forge-file-picker__primary{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight,400);letter-spacing:.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, .009375em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration,inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform,inherit);color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));max-width:auto;max-width:var(--forge-file-picker-max-content-width,auto)}.forge-file-picker__secondary{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875rem;font-size:var(--forge-typography-subtitle2-secondary-font-size, .875rem);line-height:1.375rem;line-height:var(--forge-typography-subtitle2-secondary-line-height, 1.375rem);font-weight:400;font-weight:var(--forge-typography-subtitle2-secondary-font-weight,400);letter-spacing:.0087500001em;letter-spacing:var(--forge-typography-subtitle2-secondary-letter-spacing, .0087500001em);text-decoration:inherit;-webkit-text-decoration:var(--forge-typography-subtitle2-secondary-text-decoration,inherit);text-decoration:var(--forge-typography-subtitle2-secondary-text-decoration,inherit);text-transform:inherit;text-transform:var(--forge-typography-subtitle2-secondary-text-transform,inherit);color:var(--mdc-theme-text-secondary-on-background);color:var(--forge-typography-subtitle2-secondary-color,var(--mdc-theme-text-secondary-on-background));color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));max-width:auto;max-width:var(--forge-file-picker-max-content-width,auto)}.forge-file-picker__input{display:none}.forge-file-picker__helper-text ::slotted([slot=helper-text]){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight,400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform,inherit);display:block;min-height:1.5rem;line-height:normal;padding-top:4px;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-background,rgba(0,0,0,.54));margin-left:12px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.75rem;font-size:var(--mdc-typography-caption-font-size, .75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight,400);letter-spacing:.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, .0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform,inherit);text-align:start}.forge-file-picker[disabled]{background-color:#fff;background-color:var(--mdc-theme-background,#fff);border-color:#e0e0e0;border-color:var(--forge-theme-border-color,#e0e0e0);opacity:.38;cursor:unset}.forge-file-picker.compact{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;background-color:transparent;border:none;padding:0}.forge-file-picker.compact .forge-file-picker__primary,.forge-file-picker.compact .forge-file-picker__secondary{display:none}.forge-file-picker.compact .forge-file-picker__button>button{width:auto;width:var(--forge-file-picker-width,auto);background-color:transparent}.forge-file-picker:not(.compact).highlight{border-color:#6200ee;border-color:var(--mdc-theme-primary,#6200ee);background-color:rgba(98,0,238,.12);border-width:1px;border-style:solid}.forge-file-picker.borderless{--forge-file-picker-width:100%;border:none}.forge-file-picker.borderless:not(.compact).highlight{border:none}.forge-file-picker.borderless+.forge-file-picker__helper-text{display:none}:host{width:auto;width:var(--forge-file-picker-width,auto);height:auto;height:var(--forge-file-picker-height,auto);display:inline-block}:host([hidden]){display:none}';
|
|
15
15
|
/**
|
|
16
16
|
* The web component class behind the `<forge-file-picker>` custom element.
|
|
17
17
|
*
|
|
18
18
|
* @tag forge-file-picker
|
|
19
19
|
*/
|
|
20
20
|
let FilePickerComponent = class FilePickerComponent extends BaseComponent {
|
|
21
|
-
constructor() {
|
|
22
|
-
super();
|
|
23
|
-
attachShadowTemplate(this, template, styles);
|
|
24
|
-
this._foundation = new FilePickerFoundation(new FilePickerAdapter(this));
|
|
25
|
-
}
|
|
26
21
|
static get observedAttributes() {
|
|
27
22
|
return [
|
|
28
23
|
FILE_PICKER_CONSTANTS.attributes.ACCEPT,
|
|
@@ -34,6 +29,11 @@ let FilePickerComponent = class FilePickerComponent extends BaseComponent {
|
|
|
34
29
|
FILE_PICKER_CONSTANTS.attributes.BORDERLESS
|
|
35
30
|
];
|
|
36
31
|
}
|
|
32
|
+
constructor() {
|
|
33
|
+
super();
|
|
34
|
+
attachShadowTemplate(this, template, styles);
|
|
35
|
+
this._foundation = new FilePickerFoundation(new FilePickerAdapter(this));
|
|
36
|
+
}
|
|
37
37
|
connectedCallback() {
|
|
38
38
|
this._foundation.initialize();
|
|
39
39
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { BaseComponentDelegate, IBaseComponentDelegateConfig, IBaseComponentDelegateOptions } from '../core/delegates/base-component-delegate';
|
|
7
7
|
import { IFloatingActionButtonComponent } from './floating-action-button';
|
|
8
|
-
export
|
|
8
|
+
export type FloatingActionButtonComponentDelegateProps = Partial<IFloatingActionButtonComponent>;
|
|
9
9
|
export interface IFloatingActionButtonComponentDelegateOptions extends IBaseComponentDelegateOptions {
|
|
10
10
|
text?: string;
|
|
11
11
|
}
|
|
@@ -14,12 +14,6 @@ import { FLOATING_ACTION_BUTTON_CONSTANTS } from './floating-action-button-const
|
|
|
14
14
|
* @tag forge-fab
|
|
15
15
|
*/
|
|
16
16
|
let FloatingActionButton = class FloatingActionButton extends BaseComponent {
|
|
17
|
-
constructor() {
|
|
18
|
-
super();
|
|
19
|
-
this._isExtended = false;
|
|
20
|
-
this._isMini = false;
|
|
21
|
-
this._isExited = false;
|
|
22
|
-
}
|
|
23
17
|
static get observedAttributes() {
|
|
24
18
|
return [
|
|
25
19
|
FLOATING_ACTION_BUTTON_CONSTANTS.attributes.EXITED,
|
|
@@ -27,6 +21,12 @@ let FloatingActionButton = class FloatingActionButton extends BaseComponent {
|
|
|
27
21
|
FLOATING_ACTION_BUTTON_CONSTANTS.attributes.EXTENDED
|
|
28
22
|
];
|
|
29
23
|
}
|
|
24
|
+
constructor() {
|
|
25
|
+
super();
|
|
26
|
+
this._isExtended = false;
|
|
27
|
+
this._isMini = false;
|
|
28
|
+
this._isExited = false;
|
|
29
|
+
}
|
|
30
30
|
connectedCallback() {
|
|
31
31
|
if (this.children.length) {
|
|
32
32
|
this._initialize();
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { BaseAdapter, IBaseAdapter } from '../core';
|
|
7
|
+
import { IFocusIndicatorComponent } from './focus-indicator';
|
|
8
|
+
export interface IFocusIndicatorAdapter extends IBaseAdapter {
|
|
9
|
+
destroy(): void;
|
|
10
|
+
hasTargetElement(): boolean;
|
|
11
|
+
addTargetListener(type: string, listener: EventListener): void;
|
|
12
|
+
removeTargetListener(type: string, listener: EventListener): void;
|
|
13
|
+
getTargetElement(): HTMLElement | null;
|
|
14
|
+
setTargetElement(el: HTMLElement | null): void;
|
|
15
|
+
trySetTarget(value: string | null): void;
|
|
16
|
+
isActive(selector: string): boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare class FocusIndicatorAdapter extends BaseAdapter<IFocusIndicatorComponent> implements IFocusIndicatorAdapter {
|
|
19
|
+
private _targetElement;
|
|
20
|
+
constructor(component: IFocusIndicatorComponent);
|
|
21
|
+
destroy(): void;
|
|
22
|
+
hasTargetElement(): boolean;
|
|
23
|
+
addTargetListener(type: string, listener: EventListener): void;
|
|
24
|
+
removeTargetListener(type: string, listener: EventListener): void;
|
|
25
|
+
getTargetElement(): HTMLElement | null;
|
|
26
|
+
setTargetElement(el: HTMLElement | null): void;
|
|
27
|
+
trySetTarget(value: string | null): void;
|
|
28
|
+
isActive(selector: string): boolean;
|
|
29
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { BaseAdapter, locateTargetHeuristic } from '../core';
|
|
7
|
+
export class FocusIndicatorAdapter extends BaseAdapter {
|
|
8
|
+
constructor(component) {
|
|
9
|
+
super(component);
|
|
10
|
+
this._targetElement = null;
|
|
11
|
+
}
|
|
12
|
+
destroy() {
|
|
13
|
+
this._targetElement = null;
|
|
14
|
+
}
|
|
15
|
+
hasTargetElement() {
|
|
16
|
+
return !!this._targetElement;
|
|
17
|
+
}
|
|
18
|
+
addTargetListener(type, listener) {
|
|
19
|
+
var _a;
|
|
20
|
+
(_a = this._targetElement) === null || _a === void 0 ? void 0 : _a.addEventListener(type, listener);
|
|
21
|
+
}
|
|
22
|
+
removeTargetListener(type, listener) {
|
|
23
|
+
var _a;
|
|
24
|
+
(_a = this._targetElement) === null || _a === void 0 ? void 0 : _a.removeEventListener(type, listener);
|
|
25
|
+
}
|
|
26
|
+
getTargetElement() {
|
|
27
|
+
return this._targetElement;
|
|
28
|
+
}
|
|
29
|
+
setTargetElement(el) {
|
|
30
|
+
this._targetElement = el;
|
|
31
|
+
}
|
|
32
|
+
trySetTarget(value) {
|
|
33
|
+
this._targetElement = locateTargetHeuristic(this._component, value);
|
|
34
|
+
}
|
|
35
|
+
isActive(selector) {
|
|
36
|
+
var _a;
|
|
37
|
+
return !!((_a = this._targetElement) === null || _a === void 0 ? void 0 : _a.matches(selector));
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
export declare const FOCUS_INDICATOR_CONSTANTS: {
|
|
7
|
+
elementName: "forge-focus-indicator";
|
|
8
|
+
attributes: {
|
|
9
|
+
TARGET: string;
|
|
10
|
+
ACTIVE: string;
|
|
11
|
+
INWARD: string;
|
|
12
|
+
CIRCULAR: string;
|
|
13
|
+
ALLOW_FOCUS: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { COMPONENT_NAME_PREFIX } from '../constants';
|
|
7
|
+
const elementName = `${COMPONENT_NAME_PREFIX}focus-indicator`;
|
|
8
|
+
const observedAttributes = {
|
|
9
|
+
TARGET: 'target',
|
|
10
|
+
ACTIVE: 'active',
|
|
11
|
+
INWARD: 'inward',
|
|
12
|
+
CIRCULAR: 'circular',
|
|
13
|
+
ALLOW_FOCUS: 'allow-focus'
|
|
14
|
+
};
|
|
15
|
+
const attributes = Object.assign({}, observedAttributes);
|
|
16
|
+
export const FOCUS_INDICATOR_CONSTANTS = {
|
|
17
|
+
elementName,
|
|
18
|
+
attributes
|
|
19
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { IFocusIndicatorAdapter } from './focus-indicator-adapter';
|
|
7
|
+
export interface IFocusIndicatorFoundation {
|
|
8
|
+
targetElement: HTMLElement | null;
|
|
9
|
+
target: string | null;
|
|
10
|
+
active: boolean;
|
|
11
|
+
inward: boolean;
|
|
12
|
+
circular: boolean;
|
|
13
|
+
allowFocus: boolean;
|
|
14
|
+
initialize(): void;
|
|
15
|
+
destroy(): void;
|
|
16
|
+
}
|
|
17
|
+
export declare class FocusIndicatorFoundation implements IFocusIndicatorFoundation {
|
|
18
|
+
private _adapter;
|
|
19
|
+
private _target;
|
|
20
|
+
private _active;
|
|
21
|
+
private _inward;
|
|
22
|
+
private _circular;
|
|
23
|
+
private _allowFocus;
|
|
24
|
+
private _interactionListener;
|
|
25
|
+
constructor(_adapter: IFocusIndicatorAdapter);
|
|
26
|
+
initialize(): void;
|
|
27
|
+
destroy(): void;
|
|
28
|
+
private _addListeners;
|
|
29
|
+
private _removeListeners;
|
|
30
|
+
private _onInteraction;
|
|
31
|
+
get targetElement(): HTMLElement | null;
|
|
32
|
+
set targetElement(value: HTMLElement | null);
|
|
33
|
+
get target(): string | null;
|
|
34
|
+
set target(value: string | null);
|
|
35
|
+
get active(): boolean;
|
|
36
|
+
set active(value: boolean);
|
|
37
|
+
get inward(): boolean;
|
|
38
|
+
set inward(value: boolean);
|
|
39
|
+
get circular(): boolean;
|
|
40
|
+
set circular(value: boolean);
|
|
41
|
+
get allowFocus(): boolean;
|
|
42
|
+
set allowFocus(value: boolean);
|
|
43
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { FOCUS_INDICATOR_CONSTANTS } from './focus-indicator-constants';
|
|
7
|
+
export class FocusIndicatorFoundation {
|
|
8
|
+
constructor(_adapter) {
|
|
9
|
+
this._adapter = _adapter;
|
|
10
|
+
this._target = null;
|
|
11
|
+
this._active = false;
|
|
12
|
+
this._inward = false;
|
|
13
|
+
this._circular = false;
|
|
14
|
+
this._allowFocus = false;
|
|
15
|
+
this._interactionListener = evt => this._onInteraction(evt);
|
|
16
|
+
}
|
|
17
|
+
initialize() {
|
|
18
|
+
if (!this._adapter.hasTargetElement()) {
|
|
19
|
+
this._adapter.trySetTarget(this._target);
|
|
20
|
+
}
|
|
21
|
+
this._addListeners();
|
|
22
|
+
}
|
|
23
|
+
destroy() {
|
|
24
|
+
this._adapter.destroy();
|
|
25
|
+
this._removeListeners();
|
|
26
|
+
}
|
|
27
|
+
_addListeners() {
|
|
28
|
+
this._adapter.addTargetListener('focusin', this._interactionListener);
|
|
29
|
+
this._adapter.addTargetListener('focusout', this._interactionListener);
|
|
30
|
+
this._adapter.addTargetListener('pointerdown', this._interactionListener);
|
|
31
|
+
}
|
|
32
|
+
_removeListeners() {
|
|
33
|
+
this._adapter.removeTargetListener('focusin', this._interactionListener);
|
|
34
|
+
this._adapter.removeTargetListener('focusout', this._interactionListener);
|
|
35
|
+
this._adapter.removeTargetListener('pointerdown', this._interactionListener);
|
|
36
|
+
}
|
|
37
|
+
_onInteraction(evt) {
|
|
38
|
+
switch (evt.type) {
|
|
39
|
+
case 'focusin':
|
|
40
|
+
this.active = this._adapter.isActive(this._allowFocus ? ':focus' : ':focus-visible');
|
|
41
|
+
break;
|
|
42
|
+
case 'focusout':
|
|
43
|
+
this.active = false;
|
|
44
|
+
break;
|
|
45
|
+
case 'pointerdown':
|
|
46
|
+
this.active = this._allowFocus ? this._adapter.isActive(':focus') : this._adapter.isActive(':focus-visible');
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
get targetElement() {
|
|
51
|
+
return this._adapter.getTargetElement();
|
|
52
|
+
}
|
|
53
|
+
set targetElement(value) {
|
|
54
|
+
this._removeListeners();
|
|
55
|
+
this._adapter.setTargetElement(value);
|
|
56
|
+
this._addListeners();
|
|
57
|
+
}
|
|
58
|
+
get target() {
|
|
59
|
+
return this._adapter.getHostAttribute(FOCUS_INDICATOR_CONSTANTS.attributes.TARGET);
|
|
60
|
+
}
|
|
61
|
+
set target(value) {
|
|
62
|
+
if (this._target !== value) {
|
|
63
|
+
this._target = value;
|
|
64
|
+
if (this._adapter.isConnected) {
|
|
65
|
+
this._adapter.trySetTarget(value);
|
|
66
|
+
}
|
|
67
|
+
this._adapter.toggleHostAttribute(FOCUS_INDICATOR_CONSTANTS.attributes.TARGET, Boolean(this._target), this._target);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
get active() {
|
|
71
|
+
return this._active;
|
|
72
|
+
}
|
|
73
|
+
set active(value) {
|
|
74
|
+
value = Boolean(value);
|
|
75
|
+
if (this._active !== value) {
|
|
76
|
+
this._active = value;
|
|
77
|
+
this._adapter.toggleHostAttribute(FOCUS_INDICATOR_CONSTANTS.attributes.ACTIVE, this._active);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
get inward() {
|
|
81
|
+
return this._inward;
|
|
82
|
+
}
|
|
83
|
+
set inward(value) {
|
|
84
|
+
value = Boolean(value);
|
|
85
|
+
if (this._inward !== value) {
|
|
86
|
+
this._inward = value;
|
|
87
|
+
this._adapter.toggleHostAttribute(FOCUS_INDICATOR_CONSTANTS.attributes.INWARD, this._inward);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
get circular() {
|
|
91
|
+
return this._circular;
|
|
92
|
+
}
|
|
93
|
+
set circular(value) {
|
|
94
|
+
value = Boolean(value);
|
|
95
|
+
if (this._circular !== value) {
|
|
96
|
+
this._circular = value;
|
|
97
|
+
this._adapter.toggleHostAttribute(FOCUS_INDICATOR_CONSTANTS.attributes.CIRCULAR, this._circular);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
get allowFocus() {
|
|
101
|
+
return this._allowFocus;
|
|
102
|
+
}
|
|
103
|
+
set allowFocus(value) {
|
|
104
|
+
value = Boolean(value);
|
|
105
|
+
if (this._allowFocus !== value) {
|
|
106
|
+
this._allowFocus = value;
|
|
107
|
+
this._adapter.toggleHostAttribute(FOCUS_INDICATOR_CONSTANTS.attributes.ALLOW_FOCUS, this._allowFocus);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { BaseComponent, IBaseComponent } from '../core/base/base-component';
|
|
7
|
+
export interface IFocusIndicatorComponent extends IBaseComponent {
|
|
8
|
+
targetElement: HTMLElement;
|
|
9
|
+
target: string | null;
|
|
10
|
+
active: boolean;
|
|
11
|
+
inward: boolean;
|
|
12
|
+
circular: boolean;
|
|
13
|
+
allowFocus: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare global {
|
|
16
|
+
interface HTMLElementTagNameMap {
|
|
17
|
+
'forge-focus-indicator': IFocusIndicatorComponent;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @tag forge-focus-indicator
|
|
22
|
+
*
|
|
23
|
+
* @summary Renders a focus indicator when an attached element matches `:focus-visible`.
|
|
24
|
+
*
|
|
25
|
+
* @property {HTMLElement} targetElement - The element to attach the focus indicator to.
|
|
26
|
+
* @property {string} target - The id of the element to attach the focus indicator to.
|
|
27
|
+
* @property {boolean} active - Controls whether the indicator is active.
|
|
28
|
+
* @property {boolean} inward - Controls whether the indicator renders inward.
|
|
29
|
+
* @property {boolean} circular - Controls whether the indicator renders circular.
|
|
30
|
+
* @property {boolean} allowFocus - Controls whether the indicator renders when the target element matches `:focus` instead of `:focus-visible`.
|
|
31
|
+
*
|
|
32
|
+
* @attribute {string} target - The id of the element to attach the focus indicator to.
|
|
33
|
+
* @attribute {boolean} active - Controls whether the indicator is active.
|
|
34
|
+
* @attribute {boolean} inward - Controls whether the indicator renders inward.
|
|
35
|
+
* @attribute {boolean} circular - Controls whether the indicator renders circular.
|
|
36
|
+
* @attribute {boolean} allow-focus - Controls whether the indicator renders when the target element matches `:focus` instead of `:focus-visible`.
|
|
37
|
+
*
|
|
38
|
+
* @cssproperty --forge-focus-indicator-active-width - The width of the focus indicator when active. When animating this is the max extent.
|
|
39
|
+
* @cssproperty --forge-focus-indicator-color - The color of the focus indicator.
|
|
40
|
+
* @cssproperty --forge-focus-indicator-duration - The animation duration.
|
|
41
|
+
* @cssproperty --forge-focus-indicator-outward-offset - The offset of the focus indicator when outward.
|
|
42
|
+
* @cssproperty --forge-focus-indicator-inward-offset - The offset of the focus indicator when inward.
|
|
43
|
+
* @cssproperty --forge-focus-indicator-shape - The shape of the focus indicator.
|
|
44
|
+
* @cssproperty --forge-focus-indicator-width - The width of the focus indicator when resting.
|
|
45
|
+
* @cssproperty --forge-focus-indicator-shape-start-start - The start start shape.
|
|
46
|
+
* @cssproperty --forge-focus-indicator-shape-start-end - The start end shape.
|
|
47
|
+
* @cssproperty --forge-focus-indicator-shape-end-start - The end start shape.
|
|
48
|
+
* @cssproperty --forge-focus-indicator-shape-end-end - The end end shape.
|
|
49
|
+
* @cssproperty --forge-focus-indicator-offset-block - The block offset.
|
|
50
|
+
* @cssproperty --forge-focus-indicator-offset-inline - The inline offset.
|
|
51
|
+
*
|
|
52
|
+
* @csspart indicator - The focus indicator element.
|
|
53
|
+
*/
|
|
54
|
+
export declare class FocusIndicatorComponent extends BaseComponent implements IFocusIndicatorComponent {
|
|
55
|
+
static get observedAttributes(): string[];
|
|
56
|
+
private _foundation;
|
|
57
|
+
constructor();
|
|
58
|
+
connectedCallback(): void;
|
|
59
|
+
disconnectedCallback(): void;
|
|
60
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
61
|
+
targetElement: HTMLElement;
|
|
62
|
+
target: string | null;
|
|
63
|
+
active: boolean;
|
|
64
|
+
inward: boolean;
|
|
65
|
+
circular: boolean;
|
|
66
|
+
allowFocus: boolean;
|
|
67
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { __decorate } from "tslib";
|
|
7
|
+
import { attachShadowTemplate, coerceBoolean, CustomElement, FoundationProperty } from '@tylertech/forge-core';
|
|
8
|
+
import { BaseComponent } from '../core/base/base-component';
|
|
9
|
+
import { FocusIndicatorAdapter } from './focus-indicator-adapter';
|
|
10
|
+
import { FOCUS_INDICATOR_CONSTANTS } from './focus-indicator-constants';
|
|
11
|
+
import { FocusIndicatorFoundation } from './focus-indicator-foundation';
|
|
12
|
+
const template = '<template><div class=\"forge-focus-indicator\" part=\"indicator\"></div></template>';
|
|
13
|
+
const styles = ':host{display:contents}:host([hidden]){display:none}:host([active]) .forge-focus-indicator{display:-webkit-box;display:flex}:host(:not([inward])) .forge-focus-indicator{-webkit-animation-name:outward-grow,outward-shrink;animation-name:outward-grow,outward-shrink;border-end-end-radius:calc(var(--_shape-end-end) + var(--_outward-offset));border-end-start-radius:calc(var(--_shape-end-start) + var(--_outward-offset));border-start-end-radius:calc(var(--_shape-start-end) + var(--_outward-offset));border-start-start-radius:calc(var(--_shape-start-start) + var(--_outward-offset));inset:calc(-1 * var(--_outward-offset));outline:var(--_width) solid currentColor}:host([inward]) .forge-focus-indicator{-webkit-animation-name:inward-grow,inward-shrink;animation-name:inward-grow,inward-shrink;border-end-end-radius:calc(var(--_shape-end-end) - var(--_inward-offset));border-end-start-radius:calc(var(--_shape-end-start) - var(--_inward-offset));border-start-end-radius:calc(var(--_shape-start-end) - var(--_inward-offset));border-start-start-radius:calc(var(--_shape-start-start) - var(--_inward-offset));border:var(--_width) solid currentColor;inset:var(--_inward-offset)}:host([circular]) .forge-focus-indicator{--_shape:50%}.forge-focus-indicator{--_active-width:var(--forge-focus-indicator-active-width, 6px);--_color:var(--forge-focus-indicator-color, var(--forge-theme-primary, #3f51b5));--_duration:var(--forge-focus-indicator-duration, 600ms);--_outward-offset:var(--forge-focus-indicator-outward-offset, 4px);--_inward-offset:var(--forge-focus-indicator-inward-offset, 0px);--_shape:var(--forge-focus-indicator-shape, 1px);--_width:var(--forge-focus-indicator-width, 2px);--_easing:var(--forge-focus-indicator-easing, cubic-bezier(0.2, 0, 0, 1));--_shape-start-start:var(--forge-focus-indicator-shape-start-start, var(--_shape));--_shape-start-end:var(--forge-focus-indicator-shape-start-end, var(--_shape));--_shape-end-start:var(--forge-focus-indicator-shape-end-start, var(--_shape));--_shape-end-end:var(--forge-focus-indicator-shape-end-end, var(--_shape));--_margin-block:var(--forge-focus-indicator-offset-block, 0);--_margin-inline:var(--forge-focus-indicator-offset-inline, 0);-webkit-animation-delay:0s,calc(var(--_duration) * .25);animation-delay:0s,calc(var(--_duration) * .25);-webkit-animation-duration:calc(var(--_duration) * .25),calc(var(--_duration) * .75);animation-duration:calc(var(--_duration) * .25),calc(var(--_duration) * .75);-webkit-animation-timing-function:var(--_easing);animation-timing-function:var(--_easing);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--_color);display:none;pointer-events:none;position:absolute;margin-block:var(--_margin-block);margin-inline:var(--_margin-inline)}@-webkit-keyframes outward-grow{from{outline-width:0}to{outline-width:var(--_active-width)}}@keyframes outward-grow{from{outline-width:0}to{outline-width:var(--_active-width)}}@-webkit-keyframes outward-shrink{from{outline-width:var(--_active-width)}}@keyframes outward-shrink{from{outline-width:var(--_active-width)}}@-webkit-keyframes inward-grow{from{border-width:0}to{border-width:var(--_active-width)}}@keyframes inward-grow{from{border-width:0}to{border-width:var(--_active-width)}}@-webkit-keyframes inward-shrink{from{border-width:var(--_active-width)}}@keyframes inward-shrink{from{border-width:var(--_active-width)}}@media (prefers-reduced-motion){.forge-focus-indicator{-webkit-animation:none;animation:none}}';
|
|
14
|
+
/**
|
|
15
|
+
* @tag forge-focus-indicator
|
|
16
|
+
*
|
|
17
|
+
* @summary Renders a focus indicator when an attached element matches `:focus-visible`.
|
|
18
|
+
*
|
|
19
|
+
* @property {HTMLElement} targetElement - The element to attach the focus indicator to.
|
|
20
|
+
* @property {string} target - The id of the element to attach the focus indicator to.
|
|
21
|
+
* @property {boolean} active - Controls whether the indicator is active.
|
|
22
|
+
* @property {boolean} inward - Controls whether the indicator renders inward.
|
|
23
|
+
* @property {boolean} circular - Controls whether the indicator renders circular.
|
|
24
|
+
* @property {boolean} allowFocus - Controls whether the indicator renders when the target element matches `:focus` instead of `:focus-visible`.
|
|
25
|
+
*
|
|
26
|
+
* @attribute {string} target - The id of the element to attach the focus indicator to.
|
|
27
|
+
* @attribute {boolean} active - Controls whether the indicator is active.
|
|
28
|
+
* @attribute {boolean} inward - Controls whether the indicator renders inward.
|
|
29
|
+
* @attribute {boolean} circular - Controls whether the indicator renders circular.
|
|
30
|
+
* @attribute {boolean} allow-focus - Controls whether the indicator renders when the target element matches `:focus` instead of `:focus-visible`.
|
|
31
|
+
*
|
|
32
|
+
* @cssproperty --forge-focus-indicator-active-width - The width of the focus indicator when active. When animating this is the max extent.
|
|
33
|
+
* @cssproperty --forge-focus-indicator-color - The color of the focus indicator.
|
|
34
|
+
* @cssproperty --forge-focus-indicator-duration - The animation duration.
|
|
35
|
+
* @cssproperty --forge-focus-indicator-outward-offset - The offset of the focus indicator when outward.
|
|
36
|
+
* @cssproperty --forge-focus-indicator-inward-offset - The offset of the focus indicator when inward.
|
|
37
|
+
* @cssproperty --forge-focus-indicator-shape - The shape of the focus indicator.
|
|
38
|
+
* @cssproperty --forge-focus-indicator-width - The width of the focus indicator when resting.
|
|
39
|
+
* @cssproperty --forge-focus-indicator-shape-start-start - The start start shape.
|
|
40
|
+
* @cssproperty --forge-focus-indicator-shape-start-end - The start end shape.
|
|
41
|
+
* @cssproperty --forge-focus-indicator-shape-end-start - The end start shape.
|
|
42
|
+
* @cssproperty --forge-focus-indicator-shape-end-end - The end end shape.
|
|
43
|
+
* @cssproperty --forge-focus-indicator-offset-block - The block offset.
|
|
44
|
+
* @cssproperty --forge-focus-indicator-offset-inline - The inline offset.
|
|
45
|
+
*
|
|
46
|
+
* @csspart indicator - The focus indicator element.
|
|
47
|
+
*/
|
|
48
|
+
let FocusIndicatorComponent = class FocusIndicatorComponent extends BaseComponent {
|
|
49
|
+
static get observedAttributes() {
|
|
50
|
+
return [
|
|
51
|
+
FOCUS_INDICATOR_CONSTANTS.attributes.TARGET,
|
|
52
|
+
FOCUS_INDICATOR_CONSTANTS.attributes.ACTIVE,
|
|
53
|
+
FOCUS_INDICATOR_CONSTANTS.attributes.INWARD,
|
|
54
|
+
FOCUS_INDICATOR_CONSTANTS.attributes.CIRCULAR,
|
|
55
|
+
FOCUS_INDICATOR_CONSTANTS.attributes.ALLOW_FOCUS
|
|
56
|
+
];
|
|
57
|
+
}
|
|
58
|
+
constructor() {
|
|
59
|
+
super();
|
|
60
|
+
attachShadowTemplate(this, template, styles);
|
|
61
|
+
this._foundation = new FocusIndicatorFoundation(new FocusIndicatorAdapter(this));
|
|
62
|
+
}
|
|
63
|
+
connectedCallback() {
|
|
64
|
+
this._foundation.initialize();
|
|
65
|
+
}
|
|
66
|
+
disconnectedCallback() {
|
|
67
|
+
this._foundation.destroy();
|
|
68
|
+
}
|
|
69
|
+
attributeChangedCallback(name, oldValue, newValue) {
|
|
70
|
+
switch (name) {
|
|
71
|
+
case FOCUS_INDICATOR_CONSTANTS.attributes.TARGET:
|
|
72
|
+
this.target = newValue;
|
|
73
|
+
break;
|
|
74
|
+
case FOCUS_INDICATOR_CONSTANTS.attributes.ACTIVE:
|
|
75
|
+
this.active = coerceBoolean(newValue);
|
|
76
|
+
break;
|
|
77
|
+
case FOCUS_INDICATOR_CONSTANTS.attributes.INWARD:
|
|
78
|
+
this.inward = coerceBoolean(newValue);
|
|
79
|
+
break;
|
|
80
|
+
case FOCUS_INDICATOR_CONSTANTS.attributes.CIRCULAR:
|
|
81
|
+
this.circular = coerceBoolean(newValue);
|
|
82
|
+
break;
|
|
83
|
+
case FOCUS_INDICATOR_CONSTANTS.attributes.ALLOW_FOCUS:
|
|
84
|
+
this.allowFocus = coerceBoolean(newValue);
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
__decorate([
|
|
90
|
+
FoundationProperty()
|
|
91
|
+
], FocusIndicatorComponent.prototype, "targetElement", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
FoundationProperty()
|
|
94
|
+
], FocusIndicatorComponent.prototype, "target", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
FoundationProperty()
|
|
97
|
+
], FocusIndicatorComponent.prototype, "active", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
FoundationProperty()
|
|
100
|
+
], FocusIndicatorComponent.prototype, "inward", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
FoundationProperty()
|
|
103
|
+
], FocusIndicatorComponent.prototype, "circular", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
FoundationProperty()
|
|
106
|
+
], FocusIndicatorComponent.prototype, "allowFocus", void 0);
|
|
107
|
+
FocusIndicatorComponent = __decorate([
|
|
108
|
+
CustomElement({
|
|
109
|
+
name: FOCUS_INDICATOR_CONSTANTS.elementName
|
|
110
|
+
})
|
|
111
|
+
], FocusIndicatorComponent);
|
|
112
|
+
export { FocusIndicatorComponent };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
export * from './focus-indicator-adapter';
|
|
7
|
+
export * from './focus-indicator-constants';
|
|
8
|
+
export * from './focus-indicator-foundation';
|
|
9
|
+
export * from './focus-indicator';
|
|
10
|
+
export declare function defineFocusIndicatorComponent(): void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { defineCustomElement } from '@tylertech/forge-core';
|
|
7
|
+
import { FocusIndicatorComponent } from './focus-indicator';
|
|
8
|
+
export * from './focus-indicator-adapter';
|
|
9
|
+
export * from './focus-indicator-constants';
|
|
10
|
+
export * from './focus-indicator-foundation';
|
|
11
|
+
export * from './focus-indicator';
|
|
12
|
+
export function defineFocusIndicatorComponent() {
|
|
13
|
+
defineCustomElement(FocusIndicatorComponent);
|
|
14
|
+
}
|