@tylertech/forge 3.0.0-next.15 → 3.0.0-next.16
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 +47415 -39475
- package/dist/esm/accordion/index.js +1 -1
- package/dist/esm/app-bar/app-bar/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-area/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/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.24NQGTNU.js +7 -0
- package/dist/esm/chunks/chunk.24NQGTNU.js.map +7 -0
- package/dist/esm/chunks/chunk.2JCTFKCR.js +7 -0
- package/dist/esm/chunks/{chunk.Q54DACHS.js.map → chunk.2JCTFKCR.js.map} +1 -1
- package/dist/esm/chunks/chunk.2OZ2HVBZ.js +7 -0
- package/dist/esm/chunks/{chunk.PMSCH6VK.js.map → chunk.2OZ2HVBZ.js.map} +3 -3
- package/dist/esm/chunks/chunk.2YE556AM.js +7 -0
- package/dist/esm/chunks/{chunk.5KYKGNGY.js.map → chunk.2YE556AM.js.map} +1 -1
- package/dist/esm/chunks/chunk.3U6A353B.js +7 -0
- package/dist/esm/chunks/{chunk.ZT7U7WOX.js.map → chunk.3U6A353B.js.map} +1 -1
- package/dist/esm/chunks/chunk.3VHQPHQP.js +7 -0
- package/dist/esm/chunks/chunk.3VHQPHQP.js.map +7 -0
- package/dist/esm/chunks/chunk.436USWLL.js +7 -0
- package/dist/esm/chunks/{chunk.4JDJ33IU.js.map → chunk.436USWLL.js.map} +1 -1
- package/dist/esm/chunks/chunk.4GMGQZOW.js +7 -0
- package/dist/esm/chunks/{chunk.6FUXTHO6.js.map → chunk.4GMGQZOW.js.map} +1 -1
- package/dist/esm/chunks/chunk.4JB3SESQ.js +7 -0
- package/dist/esm/chunks/{chunk.AIPDMLJD.js.map → chunk.4JB3SESQ.js.map} +1 -1
- package/dist/esm/chunks/chunk.4JL5LW5J.js +7 -0
- package/dist/esm/chunks/{chunk.BS73Y6IN.js.map → chunk.4JL5LW5J.js.map} +1 -1
- package/dist/esm/chunks/chunk.4O6OEUGY.js +7 -0
- package/dist/esm/chunks/{chunk.4XN2WGMP.js.map → chunk.4O6OEUGY.js.map} +2 -2
- package/dist/esm/chunks/chunk.4OG3OGVO.js +7 -0
- package/dist/esm/chunks/chunk.4OG3OGVO.js.map +7 -0
- package/dist/esm/chunks/chunk.4QOXI2GM.js +7 -0
- package/dist/esm/chunks/chunk.4QOXI2GM.js.map +7 -0
- package/dist/esm/chunks/{chunk.MTSWCXTY.js → chunk.55D2BMXX.js} +2 -2
- package/dist/esm/chunks/chunk.5LCWC3A7.js +7 -0
- package/dist/esm/chunks/{chunk.VG452D3L.js.map → chunk.5LCWC3A7.js.map} +1 -1
- package/dist/esm/chunks/chunk.5T7TT3AB.js +7 -0
- package/dist/esm/chunks/{chunk.YMSX4F3J.js.map → chunk.5T7TT3AB.js.map} +1 -1
- package/dist/esm/chunks/{chunk.JHELTQKA.js → chunk.5WVOPPBY.js} +2 -2
- package/dist/esm/chunks/{chunk.JHELTQKA.js.map → chunk.5WVOPPBY.js.map} +2 -2
- package/dist/esm/chunks/chunk.5XLCY232.js +7 -0
- package/dist/esm/chunks/chunk.5XLCY232.js.map +7 -0
- package/dist/esm/chunks/chunk.65WE722H.js +7 -0
- package/dist/esm/chunks/chunk.65WE722H.js.map +7 -0
- package/dist/esm/chunks/chunk.6IPX5C4B.js +7 -0
- package/dist/esm/chunks/chunk.6IPX5C4B.js.map +7 -0
- package/dist/esm/chunks/chunk.6PB5OWMP.js +7 -0
- package/dist/esm/chunks/{chunk.ONII3BV3.js.map → chunk.6PB5OWMP.js.map} +2 -2
- package/dist/esm/chunks/chunk.74HZVSDM.js +7 -0
- package/dist/esm/chunks/chunk.74HZVSDM.js.map +7 -0
- package/dist/esm/chunks/chunk.74JHE77R.js +7 -0
- package/dist/esm/chunks/{chunk.Y4ZS3A6F.js.map → chunk.74JHE77R.js.map} +2 -2
- package/dist/esm/chunks/chunk.7SYU6KRU.js +15 -0
- package/dist/esm/chunks/chunk.7SYU6KRU.js.map +7 -0
- package/dist/esm/chunks/{chunk.BC7WB5RG.js → chunk.B53Q676I.js} +2 -2
- package/dist/esm/chunks/chunk.BKQSLDMK.js +7 -0
- package/dist/esm/chunks/{chunk.NVR6KN2B.js.map → chunk.BKQSLDMK.js.map} +1 -1
- package/dist/esm/chunks/chunk.BZG47SA5.js +7 -0
- package/dist/esm/chunks/{chunk.THNCYT3E.js.map → chunk.BZG47SA5.js.map} +2 -2
- package/dist/esm/chunks/chunk.BZVLSWZR.js +7 -0
- package/dist/esm/chunks/{chunk.4IMRT2B3.js.map → chunk.BZVLSWZR.js.map} +1 -1
- package/dist/esm/chunks/chunk.C72LM2AL.js +7 -0
- package/dist/esm/chunks/chunk.C72LM2AL.js.map +7 -0
- package/dist/esm/chunks/chunk.DGG5ABL3.js +7 -0
- package/dist/esm/chunks/{chunk.WARVAVAW.js.map → chunk.DGG5ABL3.js.map} +1 -1
- package/dist/esm/chunks/chunk.DPIWAXEW.js +7 -0
- package/dist/esm/chunks/{chunk.UOEJCU6R.js.map → chunk.DPIWAXEW.js.map} +1 -1
- package/dist/esm/chunks/chunk.E62ZPQSM.js +7 -0
- package/dist/esm/chunks/chunk.E62ZPQSM.js.map +7 -0
- package/dist/esm/chunks/chunk.ECJBVX3D.js +7 -0
- package/dist/esm/chunks/{chunk.DLBAZD5X.js.map → chunk.ECJBVX3D.js.map} +1 -1
- package/dist/esm/chunks/chunk.EN2HVFJ4.js +7 -0
- package/dist/esm/chunks/chunk.EN2HVFJ4.js.map +7 -0
- package/dist/esm/chunks/chunk.EPRRK33O.js +7 -0
- package/dist/esm/chunks/chunk.EPRRK33O.js.map +7 -0
- package/dist/esm/chunks/chunk.ETDUW5K2.js +7 -0
- package/dist/esm/chunks/{chunk.FSILMO6U.js.map → chunk.ETDUW5K2.js.map} +1 -1
- package/dist/esm/chunks/chunk.EWFNM4WO.js +7 -0
- package/dist/esm/chunks/chunk.EWFNM4WO.js.map +7 -0
- package/dist/esm/chunks/{chunk.U7S4DJTU.js → chunk.FGHSNC2V.js} +2 -2
- package/dist/esm/chunks/chunk.FPRBYGET.js +7 -0
- package/dist/esm/chunks/{chunk.LK6QHLW2.js.map → chunk.FPRBYGET.js.map} +1 -1
- package/dist/esm/chunks/chunk.FQVR2QNF.js +7 -0
- package/dist/esm/chunks/{chunk.X3QZY7V4.js.map → chunk.FQVR2QNF.js.map} +1 -1
- package/dist/esm/chunks/chunk.FWWBFNQA.js +7 -0
- package/dist/esm/chunks/{chunk.O6F4U4VY.js.map → chunk.FWWBFNQA.js.map} +1 -1
- package/dist/esm/chunks/{chunk.URKQICJD.js → chunk.FZELFLPE.js} +2 -2
- package/dist/esm/chunks/chunk.FZZUNYH5.js +7 -0
- package/dist/esm/chunks/{chunk.5QZPUOGG.js.map → chunk.FZZUNYH5.js.map} +1 -1
- package/dist/esm/chunks/chunk.GHMAI3SM.js +15 -0
- package/dist/esm/chunks/chunk.GHMAI3SM.js.map +7 -0
- package/dist/esm/chunks/{chunk.5EGEZ4IY.js → chunk.GLUKTMQU.js} +2 -2
- package/dist/esm/chunks/chunk.GTBCTNMI.js +7 -0
- package/dist/esm/chunks/{chunk.ICIGXLJW.js.map → chunk.GTBCTNMI.js.map} +1 -1
- package/dist/esm/chunks/chunk.GTGXHY4A.js +7 -0
- package/dist/esm/chunks/chunk.GTGXHY4A.js.map +7 -0
- package/dist/esm/chunks/chunk.GURV4TDZ.js +7 -0
- package/dist/esm/chunks/{chunk.TSUAFZGY.js.map → chunk.GURV4TDZ.js.map} +1 -1
- package/dist/esm/chunks/chunk.H6MMHAQI.js +15 -0
- package/dist/esm/chunks/chunk.H6MMHAQI.js.map +7 -0
- package/dist/esm/chunks/chunk.HJUFU2PV.js +7 -0
- package/dist/esm/chunks/{chunk.RCPUTZON.js.map → chunk.HJUFU2PV.js.map} +2 -2
- package/dist/esm/chunks/chunk.HPCXVNG6.js +7 -0
- package/dist/esm/chunks/{chunk.CZOABXEQ.js.map → chunk.HPCXVNG6.js.map} +3 -3
- package/dist/esm/chunks/chunk.IA27LU2O.js +7 -0
- package/dist/esm/chunks/{chunk.JEZR25US.js.map → chunk.IA27LU2O.js.map} +1 -1
- package/dist/esm/chunks/chunk.INQZNXG6.js +7 -0
- package/dist/esm/chunks/chunk.INQZNXG6.js.map +7 -0
- package/dist/esm/chunks/chunk.IO3TM653.js +7 -0
- package/dist/esm/chunks/chunk.IO3TM653.js.map +7 -0
- package/dist/esm/chunks/chunk.JXJVPJRO.js +177 -0
- package/dist/esm/chunks/{chunk.AVRBHXDT.js.map → chunk.JXJVPJRO.js.map} +1 -1
- package/dist/esm/chunks/chunk.K3STAW42.js +7 -0
- package/dist/esm/chunks/{chunk.XQLQ73NG.js.map → chunk.K3STAW42.js.map} +1 -1
- package/dist/esm/chunks/chunk.KM5XYTE3.js +7 -0
- package/dist/esm/chunks/chunk.KM5XYTE3.js.map +7 -0
- package/dist/esm/chunks/chunk.KPC6IS3C.js +7 -0
- package/dist/esm/chunks/{chunk.OTUEB7SD.js.map → chunk.KPC6IS3C.js.map} +1 -1
- package/dist/esm/chunks/{chunk.PRJHBUU2.js → chunk.KPNGLSCU.js} +1 -1
- package/dist/esm/chunks/chunk.KPNGLSCU.js.map +7 -0
- package/dist/esm/chunks/chunk.KV7PGQJ7.js +7 -0
- package/dist/esm/chunks/{chunk.KR4BNI6X.js.map → chunk.KV7PGQJ7.js.map} +1 -1
- package/dist/esm/chunks/chunk.LCS2O4Y7.js +7 -0
- package/dist/esm/chunks/chunk.LCS2O4Y7.js.map +7 -0
- package/dist/esm/chunks/chunk.M4KCRUKW.js +7 -0
- package/dist/esm/chunks/chunk.M4KCRUKW.js.map +7 -0
- package/dist/esm/chunks/{chunk.IHIKIZIT.js → chunk.M5JGYRH4.js} +2 -2
- package/dist/esm/chunks/{chunk.O6MGA3XK.js → chunk.N75VD4S4.js} +2 -2
- package/dist/esm/chunks/chunk.NHOGZDLN.js +7 -0
- package/dist/esm/chunks/chunk.NHOGZDLN.js.map +7 -0
- package/dist/esm/chunks/chunk.NKEAMFO4.js +7 -0
- package/dist/esm/chunks/{chunk.KUNIEX72.js.map → chunk.NKEAMFO4.js.map} +1 -1
- package/dist/esm/chunks/{chunk.KDJZN6EW.js → chunk.NW54VA4E.js} +2 -2
- package/dist/esm/chunks/chunk.OJGPKHHC.js +7 -0
- package/dist/esm/chunks/{chunk.EMCY55MX.js.map → chunk.OJGPKHHC.js.map} +2 -2
- package/dist/esm/chunks/chunk.OSCODMUG.js +7 -0
- package/dist/esm/chunks/chunk.OSCODMUG.js.map +7 -0
- package/dist/esm/chunks/chunk.OT3JZ6JO.js +7 -0
- package/dist/esm/chunks/{chunk.7PVVZC7P.js.map → chunk.OT3JZ6JO.js.map} +3 -3
- package/dist/esm/chunks/{chunk.BAQYPAUM.js → chunk.OXVCCHM5.js} +2 -2
- package/dist/esm/chunks/chunk.P5XHGSJY.js +7 -0
- package/dist/esm/chunks/{chunk.5FCUOZSU.js.map → chunk.P5XHGSJY.js.map} +1 -1
- package/dist/esm/chunks/chunk.Q5YXX4DU.js +7 -0
- package/dist/esm/chunks/{chunk.ZIRA4PYV.js.map → chunk.Q5YXX4DU.js.map} +1 -1
- package/dist/esm/chunks/{chunk.MHH26REX.js → chunk.QKTNCOVX.js} +2 -2
- package/dist/esm/chunks/chunk.QZ57WM3D.js +7 -0
- package/dist/esm/chunks/{chunk.Q2Q626DG.js.map → chunk.QZ57WM3D.js.map} +1 -1
- package/dist/esm/chunks/chunk.R2QENXIL.js +7 -0
- package/dist/esm/chunks/{chunk.LYZXJYTW.js.map → chunk.R2QENXIL.js.map} +1 -1
- package/dist/esm/chunks/chunk.R53VHVKB.js +12 -0
- package/dist/esm/chunks/chunk.R53VHVKB.js.map +7 -0
- package/dist/esm/chunks/{chunk.42YDA5FH.js → chunk.RDQ3QGWS.js} +2 -2
- package/dist/esm/chunks/chunk.RFKKHN7V.js +7 -0
- package/dist/esm/chunks/{chunk.KGHABAFA.js.map → chunk.RFKKHN7V.js.map} +1 -1
- package/dist/esm/chunks/{chunk.AR6YUJUH.js → chunk.RKG66YKS.js} +2 -2
- package/dist/esm/chunks/chunk.RRNSZCVJ.js +7 -0
- package/dist/esm/chunks/{chunk.T4J66YX5.js.map → chunk.RRNSZCVJ.js.map} +4 -4
- package/dist/esm/chunks/chunk.S32JKL3M.js +7 -0
- package/dist/esm/chunks/chunk.S32JKL3M.js.map +7 -0
- package/dist/esm/chunks/chunk.SJQPD3CO.js +7 -0
- package/dist/esm/chunks/chunk.SJQPD3CO.js.map +7 -0
- package/dist/esm/chunks/chunk.T235SNYZ.js +7 -0
- package/dist/esm/chunks/{chunk.CBY7M4X6.js.map → chunk.T235SNYZ.js.map} +1 -1
- package/dist/esm/chunks/chunk.T4N7KZHZ.js +7 -0
- package/dist/esm/chunks/chunk.T4N7KZHZ.js.map +7 -0
- package/dist/esm/chunks/chunk.TE6ZNUAM.js +7 -0
- package/dist/esm/chunks/{chunk.JZ27GPZJ.js.map → chunk.TE6ZNUAM.js.map} +2 -2
- package/dist/esm/chunks/{chunk.WMP2OLMG.js → chunk.TNEUDWZU.js} +2 -2
- package/dist/esm/chunks/{chunk.WMP2OLMG.js.map → chunk.TNEUDWZU.js.map} +2 -2
- package/dist/esm/chunks/{chunk.BTWJPE4Y.js → chunk.TZ67MC2N.js} +2 -2
- package/{styles/focus-indicator/_configuration.scss → dist/esm/chunks/chunk.U6FJJGO3.js} +1 -5
- package/dist/esm/chunks/chunk.U6FJJGO3.js.map +7 -0
- package/dist/esm/chunks/chunk.V3IHX6B2.js +7 -0
- package/dist/esm/chunks/{chunk.GGQL3OZB.js.map → chunk.V3IHX6B2.js.map} +1 -1
- package/dist/esm/chunks/chunk.V564JB6A.js +7 -0
- package/dist/esm/chunks/chunk.V564JB6A.js.map +7 -0
- package/dist/esm/chunks/{chunk.7LOMI6J3.js → chunk.VGIZJ32U.js} +2 -2
- package/dist/esm/chunks/chunk.VZTV4GXC.js +7 -0
- package/dist/esm/chunks/chunk.VZTV4GXC.js.map +7 -0
- package/dist/esm/chunks/chunk.W5TDBDVY.js +7 -0
- package/dist/esm/chunks/{chunk.BIVQ4GTK.js.map → chunk.W5TDBDVY.js.map} +1 -1
- package/dist/esm/chunks/chunk.WA2YP4NC.js +7 -0
- package/dist/esm/chunks/{chunk.MROUV35N.js.map → chunk.WA2YP4NC.js.map} +1 -1
- package/dist/esm/chunks/{chunk.U42I3PGF.js → chunk.WFQYTXCB.js} +2 -2
- package/dist/esm/chunks/chunk.WNH7EHZP.js +7 -0
- package/dist/esm/chunks/{chunk.FQUZWINF.js.map → chunk.WNH7EHZP.js.map} +2 -2
- package/dist/esm/chunks/{chunk.KWBYYSH3.js → chunk.WQHKUNR7.js} +2 -2
- package/dist/esm/chunks/chunk.WYSUQK6Z.js +7 -0
- package/dist/esm/chunks/{chunk.L27ANAIL.js.map → chunk.WYSUQK6Z.js.map} +2 -2
- package/dist/esm/chunks/{chunk.NBLL7VAA.js → chunk.X57DRPFB.js} +2 -2
- package/dist/esm/chunks/{chunk.L45HXBDS.js → chunk.X7YTDVNT.js} +2 -2
- package/dist/esm/chunks/chunk.XBFH6M72.js +7 -0
- package/dist/esm/chunks/{chunk.FXGY5IVK.js.map → chunk.XBFH6M72.js.map} +2 -2
- package/dist/esm/chunks/chunk.XOH2JCRS.js +7 -0
- package/dist/esm/chunks/{chunk.AEO2X5OZ.js.map → chunk.XOH2JCRS.js.map} +1 -1
- package/dist/esm/chunks/chunk.Y6D5Z56X.js +7 -0
- package/dist/esm/chunks/{chunk.3KEXRSB5.js.map → chunk.Y6D5Z56X.js.map} +2 -2
- package/dist/esm/chunks/chunk.YBPAGWVG.js +7 -0
- package/dist/esm/chunks/chunk.YBPAGWVG.js.map +7 -0
- package/dist/esm/chunks/chunk.YWDYBX3G.js +7 -0
- package/dist/esm/chunks/chunk.YWDYBX3G.js.map +7 -0
- package/dist/esm/chunks/chunk.ZHMV5SR4.js +7 -0
- package/dist/esm/chunks/{chunk.Z37CZMMR.js.map → chunk.ZHMV5SR4.js.map} +1 -1
- package/dist/esm/chunks/chunk.ZLACSRD4.js +7 -0
- package/dist/esm/chunks/{chunk.WJCZJ6XD.js.map → chunk.ZLACSRD4.js.map} +1 -1
- package/dist/esm/chunks/chunk.ZPVRRFT7.js +7 -0
- package/dist/esm/chunks/{chunk.W7BP2DDU.js.map → chunk.ZPVRRFT7.js.map} +2 -2
- package/dist/esm/chunks/chunk.ZS3T6MJS.js +7 -0
- package/dist/esm/chunks/{chunk.YA5OQD37.js.map → chunk.ZS3T6MJS.js.map} +2 -2
- package/dist/esm/chunks/chunk.ZUTQPJ2B.js +7 -0
- package/dist/esm/chunks/{chunk.Q74SG6BV.js.map → chunk.ZUTQPJ2B.js.map} +1 -1
- package/dist/esm/chunks/chunk.ZWIEYVZC.js +7 -0
- package/dist/esm/chunks/chunk.ZWIEYVZC.js.map +7 -0
- package/dist/esm/chunks/chunk.ZY3ETQ3D.js +7 -0
- package/dist/esm/chunks/chunk.ZY3ETQ3D.js.map +7 -0
- package/dist/esm/chunks/chunk.ZYCKD6K5.js +7 -0
- package/dist/esm/chunks/{chunk.447QNYAZ.js.map → chunk.ZYCKD6K5.js.map} +1 -1
- 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/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 +1 -1
- 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/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/overlay/index.js +7 -0
- package/dist/esm/overlay/index.js.map +7 -0
- package/dist/esm/page-state/index.js +1 -1
- package/dist/esm/paginator/index.js +1 -1
- package/dist/esm/popover/index.js +7 -0
- package/dist/esm/popover/index.js.map +7 -0
- 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/radio/radio/index.js +1 -1
- package/dist/esm/radio/radio-group/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-button/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 +1 -1
- 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/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/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/theme/forge-theme.css +1 -1
- package/esm/app-bar/help-button/app-bar-help-button-adapter.js +3 -3
- package/esm/app-bar/help-button/app-bar-help-button.js +1 -1
- package/esm/app-bar/menu-button/app-bar-menu-button.js +4 -4
- package/esm/app-bar/notification-button/app-bar-notification-button-adapter.js +3 -3
- package/esm/app-bar/notification-button/app-bar-notification-button.js +1 -1
- package/esm/app-bar/profile-button/app-bar-profile-button-adapter.js +3 -3
- package/esm/app-bar/profile-button/app-bar-profile-button-foundation.js +1 -0
- package/esm/app-bar/profile-button/app-bar-profile-button.js +1 -1
- package/esm/banner/banner.js +1 -1
- package/esm/button/base/base-button-adapter.d.ts +0 -3
- package/esm/button/base/base-button-adapter.js +5 -14
- package/esm/button/base/base-button-constants.d.ts +28 -28
- package/esm/button/base/base-button-foundation.d.ts +0 -2
- package/esm/button/base/base-button-foundation.js +1 -4
- package/esm/button/base/base-button.d.ts +8 -6
- package/esm/button/base/base-button.js +19 -15
- package/esm/button/button.js +2 -2
- package/esm/button-toggle/button-toggle/button-toggle-adapter.d.ts +6 -14
- package/esm/button-toggle/button-toggle/button-toggle-adapter.js +19 -45
- package/esm/button-toggle/button-toggle/button-toggle-constants.d.ts +11 -15
- package/esm/button-toggle/button-toggle/button-toggle-constants.js +6 -17
- package/esm/button-toggle/button-toggle/button-toggle-foundation.d.ts +18 -12
- package/esm/button-toggle/button-toggle/button-toggle-foundation.js +74 -30
- package/esm/button-toggle/button-toggle/button-toggle.d.ts +67 -14
- package/esm/button-toggle/button-toggle/button-toggle.js +82 -29
- package/esm/button-toggle/button-toggle-group/button-toggle-group-adapter.d.ts +7 -13
- package/esm/button-toggle/button-toggle-group/button-toggle-group-adapter.js +26 -91
- package/esm/button-toggle/button-toggle-group/button-toggle-group-constants.d.ts +20 -11
- package/esm/button-toggle/button-toggle-group/button-toggle-group-constants.js +8 -2
- package/esm/button-toggle/button-toggle-group/button-toggle-group-foundation.d.ts +20 -12
- package/esm/button-toggle/button-toggle-group/button-toggle-group-foundation.js +101 -97
- package/esm/button-toggle/button-toggle-group/button-toggle-group.d.ts +75 -9
- package/esm/button-toggle/button-toggle-group/button-toggle-group.js +134 -25
- package/esm/calendar/calendar-dom-utils.js +1 -2
- package/esm/calendar/calendar-foundation.d.ts +1 -1
- package/esm/calendar/calendar-foundation.js +13 -16
- package/esm/checkbox/checkbox.js +1 -1
- package/esm/circular-progress/circular-progress-adapter.js +8 -12
- package/esm/circular-progress/circular-progress.d.ts +7 -3
- package/esm/circular-progress/circular-progress.js +4 -2
- package/esm/color-picker/color-picker.js +1 -1
- package/esm/constants.d.ts +1 -0
- package/esm/constants.js +2 -0
- package/esm/core/base/base-adapter.d.ts +2 -0
- package/esm/core/base/base-adapter.js +7 -4
- package/esm/core/base/index.d.ts +0 -4
- package/esm/core/base/index.js +0 -4
- package/esm/core/{base/base-focusable-component.d.ts → mixins/focus/with-focusable.d.ts} +2 -2
- package/esm/core/{base/base-focusable-component.js → mixins/focus/with-focusable.js} +1 -1
- package/esm/core/{base/base-form-associated-component.d.ts → mixins/form/with-form-associated.d.ts} +4 -10
- package/esm/core/{base/base-form-associated-component.js → mixins/form/with-form-associated.js} +1 -1
- package/esm/core/mixins/form/with-form-validity.d.ts +35 -0
- package/esm/core/mixins/form/with-form-validity.js +43 -0
- package/esm/core/mixins/interactions/longpress/with-longpress-listener.d.ts +33 -0
- package/esm/core/mixins/interactions/longpress/with-longpress-listener.js +82 -0
- package/esm/core/mixins/internals/with-default-aria.d.ts +32 -0
- package/esm/core/mixins/internals/with-default-aria.js +22 -0
- package/esm/core/mixins/internals/with-element-internals.d.ts +26 -0
- package/esm/core/mixins/internals/with-element-internals.js +22 -0
- package/esm/core/{base/base-label-aware-component.d.ts → mixins/label/with-label-aware.d.ts} +2 -2
- package/esm/core/utils/a11y-utils.d.ts +4 -34
- package/esm/core/utils/a11y-utils.js +7 -61
- package/esm/core/utils/deferred.d.ts +29 -0
- package/esm/core/utils/deferred.js +32 -0
- package/esm/core/utils/dismissible-stack.d.ts +74 -0
- package/esm/core/utils/dismissible-stack.js +133 -0
- package/esm/core/utils/feature-detection.d.ts +5 -0
- package/esm/core/utils/feature-detection.js +12 -3
- package/esm/core/utils/form-utils.d.ts +1 -1
- package/esm/core/utils/position-utils.d.ts +78 -0
- package/esm/core/utils/position-utils.js +197 -0
- package/esm/core/utils/utils.d.ts +14 -0
- package/esm/core/utils/utils.js +25 -7
- package/esm/date-range-picker/date-range-picker-foundation.d.ts +1 -0
- package/esm/date-range-picker/date-range-picker-foundation.js +4 -0
- package/esm/dialog/dialog-constants.d.ts +1 -0
- package/esm/dialog/dialog-constants.js +2 -1
- package/esm/dialog/dialog-foundation.js +3 -6
- package/esm/dialog/dialog.js +1 -1
- package/esm/drawer/mini-drawer/mini-drawer.js +1 -1
- package/esm/expansion-panel/expansion-panel-adapter.js +0 -5
- package/esm/floating-action-button/floating-action-button.js +1 -1
- package/esm/icon-button/icon-button-component-delegate.js +1 -1
- package/esm/icon-button/icon-button.js +1 -1
- package/esm/index.d.ts +2 -0
- package/esm/index.js +7 -1
- package/esm/label/label-adapter.js +3 -3
- package/esm/label/label-constants.d.ts +1 -1
- package/esm/label/label-constants.js +3 -1
- package/esm/linear-progress/linear-progress-adapter.js +13 -12
- package/esm/linear-progress/linear-progress-constants.d.ts +6 -0
- package/esm/linear-progress/linear-progress-constants.js +4 -2
- package/esm/linear-progress/linear-progress-foundation.js +2 -1
- package/esm/linear-progress/linear-progress.d.ts +7 -3
- package/esm/linear-progress/linear-progress.js +8 -11
- package/esm/list/list/list.js +1 -1
- package/esm/list/list-item/list-item.js +1 -1
- package/esm/menu/menu.js +1 -5
- package/esm/open-icon/open-icon.js +2 -2
- package/esm/overlay/base/base-overlay-foundation.d.ts +50 -0
- package/esm/overlay/base/base-overlay-foundation.js +11 -0
- package/esm/overlay/base/base-overlay.d.ts +49 -0
- package/esm/overlay/base/base-overlay.js +106 -0
- package/esm/overlay/base/overlay-aware-adapter.d.ts +17 -0
- package/esm/overlay/base/overlay-aware-adapter.js +15 -0
- package/esm/overlay/base/overlay-aware-foundation.d.ts +53 -0
- package/esm/overlay/base/overlay-aware-foundation.js +158 -0
- package/esm/overlay/base/overlay-aware.d.ts +36 -0
- package/esm/overlay/base/overlay-aware.js +102 -0
- package/esm/overlay/index.d.ts +10 -0
- package/esm/overlay/index.js +14 -0
- package/esm/overlay/mixins/with-overlay-aware.d.ts +105 -0
- package/esm/overlay/mixins/with-overlay-aware.js +152 -0
- package/esm/overlay/overlay-adapter.d.ts +54 -0
- package/esm/overlay/overlay-adapter.js +182 -0
- package/esm/overlay/overlay-constants.d.ts +71 -0
- package/esm/overlay/overlay-constants.js +48 -0
- package/esm/overlay/overlay-foundation.d.ts +76 -0
- package/esm/overlay/overlay-foundation.js +288 -0
- package/esm/overlay/overlay.d.ts +90 -0
- package/esm/overlay/overlay.js +105 -0
- package/esm/paginator/paginator.js +1 -1
- package/esm/popover/index.d.ts +10 -0
- package/esm/popover/index.js +14 -0
- package/esm/popover/popover-adapter.d.ts +46 -0
- package/esm/popover/popover-adapter.js +105 -0
- package/esm/popover/popover-constants.d.ts +42 -0
- package/esm/popover/popover-constants.js +42 -0
- package/esm/popover/popover-foundation.d.ts +139 -0
- package/esm/popover/popover-foundation.js +458 -0
- package/esm/popover/popover.d.ts +96 -0
- package/esm/popover/popover.js +147 -0
- package/esm/popup/popup-constants.d.ts +1 -1
- package/esm/profile-card/profile-card.js +1 -1
- package/esm/radio/core/radio-group-manager.js +1 -1
- package/esm/radio/radio/radio-adapter.js +4 -10
- package/esm/radio/radio/radio-constants.d.ts +0 -2
- package/esm/radio/radio/radio-constants.js +1 -14
- package/esm/radio/radio/radio.d.ts +8 -3
- package/esm/radio/radio/radio.js +10 -8
- package/esm/radio/radio-group/radio-group-adapter.js +1 -3
- package/esm/radio/radio-group/radio-group-constants.d.ts +0 -2
- package/esm/radio/radio-group/radio-group-constants.js +1 -6
- package/esm/radio/radio-group/radio-group.d.ts +6 -3
- package/esm/radio/radio-group/radio-group.js +5 -3
- package/esm/slider/slider.d.ts +2 -2
- package/esm/slider/slider.js +2 -2
- package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
- package/esm/state-layer/state-layer-foundation.js +9 -10
- package/esm/switch/switch.js +1 -1
- package/esm/table/table-utils.js +2 -3
- package/esm/tabs/tab/tab.js +1 -1
- package/esm/tabs/tab-bar/tab-bar-adapter.d.ts +1 -1
- package/esm/tabs/tab-bar/tab-bar-adapter.js +3 -3
- package/esm/tabs/tab-bar/tab-bar-constants.d.ts +1 -1
- package/esm/tabs/tab-bar/tab-bar-constants.js +1 -1
- package/esm/tabs/tab-bar/tab-bar.js +2 -2
- package/esm/toast/toast-constants.d.ts +1 -1
- package/esm/toolbar/toolbar.js +1 -1
- package/esm/tooltip/index.d.ts +0 -1
- package/esm/tooltip/index.js +0 -1
- package/esm/tooltip/tooltip-adapter.d.ts +30 -60
- package/esm/tooltip/tooltip-adapter.js +105 -97
- package/esm/tooltip/tooltip-constants.d.ts +44 -21
- package/esm/tooltip/tooltip-constants.js +27 -22
- package/esm/tooltip/tooltip-foundation.d.ts +72 -84
- package/esm/tooltip/tooltip-foundation.js +265 -192
- package/esm/tooltip/tooltip.d.ts +93 -26
- package/esm/tooltip/tooltip.js +129 -31
- package/package.json +2 -4
- package/styles/app-bar/app-bar/_core.scss +2 -0
- package/styles/app-bar/app-bar/app-bar.scss +17 -17
- package/styles/app-bar/app-bar/index.scss +0 -2
- package/styles/app-bar/search/_core.scss +2 -0
- package/styles/app-bar/search/app-bar-search.scss +5 -6
- package/styles/app-bar/search/index.scss +0 -2
- package/styles/button/_core.scss +2 -0
- package/styles/button/button.scss +31 -25
- package/styles/button/index.scss +0 -2
- package/styles/button-toggle/button-toggle/_core.scss +78 -0
- package/styles/button-toggle/button-toggle/_token-utils.scss +30 -0
- package/styles/button-toggle/button-toggle/button-toggle.scss +65 -11
- package/styles/{app-bar/search/_configuration.scss → button-toggle/button-toggle/index.scss} +1 -5
- package/styles/button-toggle/button-toggle-group/_core.scss +62 -0
- package/styles/button-toggle/button-toggle-group/_token-utils.scss +30 -0
- package/styles/button-toggle/button-toggle-group/button-toggle-group.scss +123 -3
- package/styles/button-toggle/button-toggle-group/index.scss +8 -0
- package/styles/checkbox/_core.scss +3 -0
- package/styles/checkbox/checkbox.scss +24 -26
- package/styles/checkbox/index.scss +0 -2
- package/styles/circular-progress/_core.scss +2 -0
- package/styles/circular-progress/circular-progress.scss +36 -27
- package/styles/circular-progress/index.scss +0 -2
- package/styles/core/styles/elevation/index.scss +1 -1
- package/styles/core/styles/tokens/_token-utils.scss +14 -5
- package/styles/core/styles/tokens/button/_tokens.scss +4 -4
- package/styles/core/styles/tokens/button-toggle/button-toggle/_tokens.scss +68 -0
- package/styles/core/styles/tokens/button-toggle/button-toggle-group/_tokens.scss +48 -0
- package/styles/core/styles/tokens/checkbox/_tokens.scss +6 -6
- package/styles/core/styles/tokens/floating-action-button/_tokens.scss +1 -1
- package/styles/core/styles/tokens/icon-button/_tokens.scss +3 -3
- package/styles/core/styles/tokens/overlay/_tokens.scss +23 -0
- package/styles/core/styles/tokens/popover/_tokens.scss +56 -0
- package/styles/core/styles/tokens/profile-card/_tokens.scss +1 -1
- package/styles/core/styles/tokens/radio/_tokens.scss +1 -1
- package/styles/core/styles/tokens/switch/_tokens.scss +3 -3
- package/styles/core/styles/tokens/tabs/tab/_tokens.scss +5 -5
- package/styles/core/styles/tokens/theme/_token-utils.scss +12 -11
- package/styles/core/styles/tokens/theme/_tokens.surface.scss +3 -0
- package/styles/core/styles/tokens/theme/_tokens.text.scss +4 -4
- package/styles/core/styles/tokens/theme/_tokens.utilities.scss +3 -0
- package/styles/core/styles/tokens/tooltip/_tokens.scss +53 -0
- package/styles/dialog/_mixins.scss +1 -1
- package/styles/drawer/mini-drawer/_mixins.scss +0 -2
- package/styles/floating-action-button/_core.scss +2 -0
- package/styles/floating-action-button/floating-action-button.scss +14 -14
- package/styles/floating-action-button/index.scss +0 -2
- package/styles/focus-indicator/_core.scss +2 -0
- package/styles/focus-indicator/focus-indicator.scss +7 -8
- package/styles/focus-indicator/index.scss +0 -2
- package/styles/forge.scss +0 -1
- package/styles/icon-button/_core.scss +2 -0
- package/styles/icon-button/icon-button.scss +29 -28
- package/styles/icon-button/index.scss +0 -2
- package/styles/label/label.scss +2 -2
- package/styles/linear-progress/_core.scss +2 -0
- package/styles/linear-progress/index.scss +0 -2
- package/styles/linear-progress/linear-progress.scss +29 -18
- package/styles/list/list/_core.scss +2 -0
- package/styles/list/list/index.scss +0 -2
- package/styles/list/list/list.scss +4 -4
- package/styles/list/list-item/_core.scss +2 -0
- package/styles/list/list-item/index.scss +0 -2
- package/styles/list/list-item/list-item.scss +50 -44
- package/styles/overlay/_core.scss +46 -0
- package/styles/overlay/_token-utils.scss +31 -0
- package/styles/{checkbox/_configuration.scss → overlay/index.scss} +1 -5
- package/styles/overlay/overlay.scss +66 -0
- package/styles/popover/_animations.scss +36 -0
- package/styles/popover/_core.scss +56 -0
- package/styles/popover/_token-utils.scss +31 -0
- package/styles/{list/list/_configuration.scss → popover/index.scss} +1 -5
- package/styles/popover/popover.scss +254 -0
- package/styles/profile-card/_core.scss +2 -0
- package/styles/profile-card/index.scss +0 -2
- package/styles/profile-card/profile-card.scss +9 -11
- package/styles/radio/radio/_core.scss +3 -0
- package/styles/radio/radio/index.scss +0 -2
- package/styles/radio/radio/radio.scss +12 -15
- package/styles/slider/_core.scss +2 -0
- package/styles/slider/index.scss +0 -2
- package/styles/slider/slider.scss +45 -41
- package/styles/split-button/index.scss +0 -1
- package/styles/split-button/split-button.scss +3 -2
- package/styles/state-layer/_core.scss +3 -2
- package/styles/state-layer/index.scss +0 -2
- package/styles/state-layer/state-layer.scss +7 -8
- package/styles/switch/_core.scss +3 -0
- package/styles/switch/index.scss +0 -2
- package/styles/switch/switch.scss +28 -30
- package/styles/tabs/tab/_core.scss +2 -0
- package/styles/tabs/tab/index.scss +0 -2
- package/styles/tabs/tab/tab.scss +27 -28
- package/styles/tabs/tab-bar/_core.scss +2 -0
- package/styles/tabs/tab-bar/index.scss +0 -2
- package/styles/tabs/tab-bar/tab-bar.scss +21 -23
- package/styles/theme/_theme-dark.scss +14 -2
- package/styles/theme/_theme-values.scss +2 -0
- package/styles/toolbar/_mixins.scss +2 -1
- package/styles/tooltip/_animations.scss +18 -0
- package/styles/tooltip/_core.scss +86 -0
- package/styles/tooltip/_token-utils.scss +31 -0
- package/styles/tooltip/index.scss +6 -0
- package/styles/tooltip/tooltip.scss +107 -0
- package/dist/esm/chunks/chunk.3KEXRSB5.js +0 -7
- package/dist/esm/chunks/chunk.3TKTJ3BY.js +0 -7
- package/dist/esm/chunks/chunk.3TKTJ3BY.js.map +0 -7
- package/dist/esm/chunks/chunk.447QNYAZ.js +0 -7
- package/dist/esm/chunks/chunk.4IMRT2B3.js +0 -7
- package/dist/esm/chunks/chunk.4JDJ33IU.js +0 -7
- package/dist/esm/chunks/chunk.4QCGBFLU.js +0 -7
- package/dist/esm/chunks/chunk.4QCGBFLU.js.map +0 -7
- package/dist/esm/chunks/chunk.4XN2WGMP.js +0 -7
- package/dist/esm/chunks/chunk.5FCUOZSU.js +0 -7
- package/dist/esm/chunks/chunk.5KYKGNGY.js +0 -7
- package/dist/esm/chunks/chunk.5QZPUOGG.js +0 -7
- package/dist/esm/chunks/chunk.5ZMM75CJ.js +0 -7
- package/dist/esm/chunks/chunk.5ZMM75CJ.js.map +0 -7
- package/dist/esm/chunks/chunk.6FUXTHO6.js +0 -7
- package/dist/esm/chunks/chunk.6ORVPXNN.js +0 -7
- package/dist/esm/chunks/chunk.6ORVPXNN.js.map +0 -7
- package/dist/esm/chunks/chunk.6ZJIHOIG.js +0 -7
- package/dist/esm/chunks/chunk.6ZJIHOIG.js.map +0 -7
- package/dist/esm/chunks/chunk.7PVVZC7P.js +0 -7
- package/dist/esm/chunks/chunk.AEO2X5OZ.js +0 -7
- package/dist/esm/chunks/chunk.AIPDMLJD.js +0 -7
- package/dist/esm/chunks/chunk.APFDK6YA.js +0 -7
- package/dist/esm/chunks/chunk.APFDK6YA.js.map +0 -7
- package/dist/esm/chunks/chunk.AVRBHXDT.js +0 -177
- package/dist/esm/chunks/chunk.BIVQ4GTK.js +0 -7
- package/dist/esm/chunks/chunk.BJD6BKGC.js +0 -31
- package/dist/esm/chunks/chunk.BJD6BKGC.js.map +0 -7
- package/dist/esm/chunks/chunk.BS73Y6IN.js +0 -7
- package/dist/esm/chunks/chunk.BWGDZUJV.js +0 -12
- package/dist/esm/chunks/chunk.BWGDZUJV.js.map +0 -7
- package/dist/esm/chunks/chunk.CBY7M4X6.js +0 -7
- package/dist/esm/chunks/chunk.CZOABXEQ.js +0 -7
- package/dist/esm/chunks/chunk.DLBAZD5X.js +0 -7
- package/dist/esm/chunks/chunk.DTWXICOY.js +0 -7
- package/dist/esm/chunks/chunk.DTWXICOY.js.map +0 -7
- package/dist/esm/chunks/chunk.EMCY55MX.js +0 -7
- package/dist/esm/chunks/chunk.ESQWFHCF.js +0 -7
- package/dist/esm/chunks/chunk.ESQWFHCF.js.map +0 -7
- package/dist/esm/chunks/chunk.FDZSLGIW.js +0 -7
- package/dist/esm/chunks/chunk.FDZSLGIW.js.map +0 -7
- package/dist/esm/chunks/chunk.FJ5VNWYK.js +0 -7
- package/dist/esm/chunks/chunk.FJ5VNWYK.js.map +0 -7
- package/dist/esm/chunks/chunk.FJRCWWE2.js +0 -7
- package/dist/esm/chunks/chunk.FJRCWWE2.js.map +0 -7
- package/dist/esm/chunks/chunk.FQUZWINF.js +0 -7
- package/dist/esm/chunks/chunk.FSILMO6U.js +0 -7
- package/dist/esm/chunks/chunk.FXGY5IVK.js +0 -7
- package/dist/esm/chunks/chunk.G67LO74A.js +0 -7
- package/dist/esm/chunks/chunk.G67LO74A.js.map +0 -7
- package/dist/esm/chunks/chunk.GGQL3OZB.js +0 -7
- package/dist/esm/chunks/chunk.I7OY43HW.js +0 -7
- package/dist/esm/chunks/chunk.I7OY43HW.js.map +0 -7
- package/dist/esm/chunks/chunk.I7X25KEB.js +0 -7
- package/dist/esm/chunks/chunk.I7X25KEB.js.map +0 -7
- package/dist/esm/chunks/chunk.ICIGXLJW.js +0 -7
- package/dist/esm/chunks/chunk.ILUXZNGY.js +0 -7
- package/dist/esm/chunks/chunk.ILUXZNGY.js.map +0 -7
- package/dist/esm/chunks/chunk.JEZR25US.js +0 -7
- package/dist/esm/chunks/chunk.JPI4XCQL.js +0 -7
- package/dist/esm/chunks/chunk.JPI4XCQL.js.map +0 -7
- package/dist/esm/chunks/chunk.JRSFCVYQ.js +0 -7
- package/dist/esm/chunks/chunk.JRSFCVYQ.js.map +0 -7
- package/dist/esm/chunks/chunk.JZ27GPZJ.js +0 -7
- package/dist/esm/chunks/chunk.K3TJMIKD.js +0 -7
- package/dist/esm/chunks/chunk.K3TJMIKD.js.map +0 -7
- package/dist/esm/chunks/chunk.KGHABAFA.js +0 -7
- package/dist/esm/chunks/chunk.KR4BNI6X.js +0 -7
- package/dist/esm/chunks/chunk.KUNIEX72.js +0 -7
- package/dist/esm/chunks/chunk.L27ANAIL.js +0 -7
- package/dist/esm/chunks/chunk.L4UXWCVD.js +0 -7
- package/dist/esm/chunks/chunk.L4UXWCVD.js.map +0 -7
- package/dist/esm/chunks/chunk.LK6QHLW2.js +0 -7
- package/dist/esm/chunks/chunk.LYZXJYTW.js +0 -7
- package/dist/esm/chunks/chunk.LZ2YQYJA.js +0 -7
- package/dist/esm/chunks/chunk.LZ2YQYJA.js.map +0 -7
- package/dist/esm/chunks/chunk.MROUV35N.js +0 -7
- package/dist/esm/chunks/chunk.NM7FJISF.js +0 -7
- package/dist/esm/chunks/chunk.NM7FJISF.js.map +0 -7
- package/dist/esm/chunks/chunk.NVR6KN2B.js +0 -7
- package/dist/esm/chunks/chunk.O6F4U4VY.js +0 -7
- package/dist/esm/chunks/chunk.ONII3BV3.js +0 -7
- package/dist/esm/chunks/chunk.OTUEB7SD.js +0 -7
- package/dist/esm/chunks/chunk.PMSCH6VK.js +0 -7
- package/dist/esm/chunks/chunk.PRJHBUU2.js.map +0 -7
- package/dist/esm/chunks/chunk.Q2Q626DG.js +0 -7
- package/dist/esm/chunks/chunk.Q4YL47ZL.js +0 -7
- package/dist/esm/chunks/chunk.Q4YL47ZL.js.map +0 -7
- package/dist/esm/chunks/chunk.Q54DACHS.js +0 -7
- package/dist/esm/chunks/chunk.Q74SG6BV.js +0 -7
- package/dist/esm/chunks/chunk.QGMWM7IT.js +0 -7
- package/dist/esm/chunks/chunk.QGMWM7IT.js.map +0 -7
- package/dist/esm/chunks/chunk.RCPUTZON.js +0 -7
- package/dist/esm/chunks/chunk.SBKKBQDX.js +0 -7
- package/dist/esm/chunks/chunk.SBKKBQDX.js.map +0 -7
- package/dist/esm/chunks/chunk.SVVF632P.js +0 -7
- package/dist/esm/chunks/chunk.SVVF632P.js.map +0 -7
- package/dist/esm/chunks/chunk.T4J66YX5.js +0 -7
- package/dist/esm/chunks/chunk.THNCYT3E.js +0 -7
- package/dist/esm/chunks/chunk.TSUAFZGY.js +0 -7
- package/dist/esm/chunks/chunk.UOEJCU6R.js +0 -7
- package/dist/esm/chunks/chunk.VG452D3L.js +0 -7
- package/dist/esm/chunks/chunk.VQPSP4HV.js +0 -7
- package/dist/esm/chunks/chunk.VQPSP4HV.js.map +0 -7
- package/dist/esm/chunks/chunk.W7BP2DDU.js +0 -7
- package/dist/esm/chunks/chunk.WARVAVAW.js +0 -7
- package/dist/esm/chunks/chunk.WEHQUUXJ.js +0 -7
- package/dist/esm/chunks/chunk.WEHQUUXJ.js.map +0 -7
- package/dist/esm/chunks/chunk.WJCZJ6XD.js +0 -7
- package/dist/esm/chunks/chunk.X3QZY7V4.js +0 -7
- package/dist/esm/chunks/chunk.XQLQ73NG.js +0 -7
- package/dist/esm/chunks/chunk.Y4ZS3A6F.js +0 -7
- package/dist/esm/chunks/chunk.YA5OQD37.js +0 -7
- package/dist/esm/chunks/chunk.YMSX4F3J.js +0 -7
- package/dist/esm/chunks/chunk.Z37CZMMR.js +0 -7
- package/dist/esm/chunks/chunk.ZIRA4PYV.js +0 -7
- package/dist/esm/chunks/chunk.ZT7U7WOX.js +0 -7
- package/dist/esm/chunks/chunk.ZX3CGET2.js +0 -7
- package/dist/esm/chunks/chunk.ZX3CGET2.js.map +0 -7
- package/dist/tooltip/forge-tooltip.css +0 -6
- package/esm/core/base/base-element-internals-component.d.ts +0 -41
- package/esm/core/base/base-element-internals-component.js +0 -47
- package/esm/tooltip/tooltip-utils.d.ts +0 -13
- package/esm/tooltip/tooltip-utils.js +0 -53
- package/styles/app-bar/app-bar/_configuration.scss +0 -16
- package/styles/button/_configuration.scss +0 -16
- package/styles/button-toggle/button-toggle/_mixins.scss +0 -117
- package/styles/button-toggle/button-toggle-group/_mixins.scss +0 -79
- package/styles/circular-progress/_configuration.scss +0 -16
- package/styles/floating-action-button/_configuration.scss +0 -16
- package/styles/icon-button/_configuration.scss +0 -16
- package/styles/linear-progress/_configuration.scss +0 -28
- package/styles/list/list-item/_configuration.scss +0 -16
- package/styles/radio/radio/_configuration.scss +0 -10
- package/styles/split-button/_configuration.scss +0 -12
- package/styles/state-layer/_configuration.scss +0 -10
- package/styles/switch/_configuration.scss +0 -10
- package/styles/tabs/tab/_configuration.scss +0 -27
- package/styles/tabs/tab-bar/_configuration.scss +0 -10
- package/styles/tooltip/_mixins.scss +0 -98
- package/styles/tooltip/_variables.scss +0 -18
- package/styles/tooltip/forge-tooltip.scss +0 -12
- /package/dist/esm/chunks/{chunk.MTSWCXTY.js.map → chunk.55D2BMXX.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.BC7WB5RG.js.map → chunk.B53Q676I.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.U7S4DJTU.js.map → chunk.FGHSNC2V.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.URKQICJD.js.map → chunk.FZELFLPE.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.5EGEZ4IY.js.map → chunk.GLUKTMQU.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.IHIKIZIT.js.map → chunk.M5JGYRH4.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.O6MGA3XK.js.map → chunk.N75VD4S4.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.KDJZN6EW.js.map → chunk.NW54VA4E.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.BAQYPAUM.js.map → chunk.OXVCCHM5.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.MHH26REX.js.map → chunk.QKTNCOVX.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.42YDA5FH.js.map → chunk.RDQ3QGWS.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.AR6YUJUH.js.map → chunk.RKG66YKS.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.BTWJPE4Y.js.map → chunk.TZ67MC2N.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7LOMI6J3.js.map → chunk.VGIZJ32U.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.U42I3PGF.js.map → chunk.WFQYTXCB.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.KWBYYSH3.js.map → chunk.WQHKUNR7.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.NBLL7VAA.js.map → chunk.X57DRPFB.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.L45HXBDS.js.map → chunk.X7YTDVNT.js.map} +0 -0
- /package/esm/core/{base/base-label-aware-component.js → mixins/label/with-label-aware.js} +0 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { OverlayLightDismissEventData, overlayStack } from './overlay-constants';
|
|
7
|
+
import { OverlayFoundation } from './overlay-foundation';
|
|
8
|
+
import { BaseOverlay, IBaseOverlay } from './base/base-overlay';
|
|
9
|
+
export interface IOverlayComponent extends IBaseOverlay {
|
|
10
|
+
arrowElement: HTMLElement | undefined;
|
|
11
|
+
arrowElementOffset: number;
|
|
12
|
+
}
|
|
13
|
+
declare global {
|
|
14
|
+
interface HTMLElementTagNameMap {
|
|
15
|
+
'forge-overlay': IOverlayComponent;
|
|
16
|
+
}
|
|
17
|
+
interface HTMLElementEventMap {
|
|
18
|
+
'forge-overlay-light-dismiss': CustomEvent<OverlayLightDismissEventData>;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @tag forge-overlay
|
|
23
|
+
*
|
|
24
|
+
* @summary Overlays are used to render content in an element that rendered above all content on the page,
|
|
25
|
+
* and positioned around a specified anchor element.
|
|
26
|
+
*
|
|
27
|
+
* @description
|
|
28
|
+
* An overlay is a low-level building block component that does not provide any visual styles. Its only
|
|
29
|
+
* purpose is to render slotted content above all other content on the page. The element is positioned
|
|
30
|
+
* around an anchor element with various positioning options.
|
|
31
|
+
*
|
|
32
|
+
* @property {boolean} open - Whether or not the overlay is open.
|
|
33
|
+
* @property {boolean} inline - Whether or not the overlay should be rendered inline (not in the :top-layer).
|
|
34
|
+
* @property {HTMLElement} anchorElement - The element to anchor the overlay to.
|
|
35
|
+
* @property {HTMLElement} anchor - The id of the element to anchor the overlay to.
|
|
36
|
+
* @property {boolean} noAnchor - Whether or not the overlay should be rendered without an anchor (centered on page by default).
|
|
37
|
+
* @property {HTMLElement} arrowElement - The element to use as the arrow for the overlay.
|
|
38
|
+
* @property {number} arrowElementOffset - The offset to apply to the arrow element.
|
|
39
|
+
* @property {OverlayPlacement} placement - The placement of the overlay relative to the anchor element.
|
|
40
|
+
* @property {OverlayPositionStrategy} positionStrategy - The positioning strategy to use for the overlay. Valid values are `'fixed'` and `'absolute'`.
|
|
41
|
+
* @property {IOverlayPosition} offset - The offset to apply to the overlay position relative to the anchor element.
|
|
42
|
+
* @property {boolean} shift - Whether or not the anchor element should shift along the side of the overlay when scrolling.
|
|
43
|
+
* @property {OverlayHideState} hide - Whether or not the overlay should hide itself when the anchor element is out of view.
|
|
44
|
+
* @property {boolean} persistent - Whether or not the overlay handles light dismiss itself or not.
|
|
45
|
+
* @property {OverlayFlipState} flip - Whether or not the overlay should flip to the opposite placement when not enough room.
|
|
46
|
+
* @property {string} boundary - The id of the element to use as the boundary for the overlay.
|
|
47
|
+
* @property {HTMLElement | null} boundaryElement - The element to use as the boundary for the overlay.
|
|
48
|
+
* @property {OverlayPlacement[]} fallbackPlacements - The fallback placements to use when the overlay cannot be placed in the desired placement.
|
|
49
|
+
*
|
|
50
|
+
* @attribute {string} anchor - The id of the element to anchor the overlay to.
|
|
51
|
+
* @attribute {string} no-anchor - Whether or not the overlay should be rendered without an anchor (centered on page by default).
|
|
52
|
+
* @attribute {string} open - Whether or not the overlay is open.
|
|
53
|
+
* @attribute {string} inline - Whether or not the overlay should be rendered inline (not in the :top-layer).
|
|
54
|
+
* @attribute {string} placement - The placement of the overlay relative to the anchor element.
|
|
55
|
+
* @attribute {string} position-strategy - The positioning strategy to use for the overlay. Valid values are `'fixed'` and `'absolute'`.
|
|
56
|
+
* @attribute {string} hide - Whether or not the overlay should hide itself when the anchor element is out of view.
|
|
57
|
+
* @attribute {string} persistent - Whether or not the overlay handles light dismiss itself or not.
|
|
58
|
+
* @attribute {string} shift - Whether or not the anchor element should shift along the side of the overlay when scrolling.
|
|
59
|
+
* @attribute {string} no-flip - Tells the overlay not to flip to the opposite placement when not enough room.
|
|
60
|
+
* @attribute {string} position-placement - The placement of the overlay around the anchor element **after** dynamic positioning. This is a read-only attribute that is only available when open.
|
|
61
|
+
* @attribute {string} boundary - The id of the element to use as the boundary for the overlay.
|
|
62
|
+
* @attribute {string} fallback-placements - The fallback placements to use when the overlay cannot be placed in the desired placement. Should be a comma separated list of placements.
|
|
63
|
+
*
|
|
64
|
+
* @event {CustomEvent<OverlayToggleEventData>} forge-overlay-light-dismiss - Dispatches when the overlay is light dismissed via the escape key or clicking outside the overlay.
|
|
65
|
+
*
|
|
66
|
+
* @cssproperty --forge-overlay-position - The `position` of the overlay.
|
|
67
|
+
* @cssproperty --forge-overlay-z-index - The `z-index` of the overlay. Defaults to the `popup` range.
|
|
68
|
+
* @cssproperty --forge-overlay-height - The `height` of the overlay. Defaults to `min-content`.
|
|
69
|
+
* @cssproperty --forge-overlay-width - The `width` of the overlay. Defaults to `min-content`.
|
|
70
|
+
* @cssproperty --forge-overlay-position-block-start - The `block-start` position of the overlay.
|
|
71
|
+
* @cssproperty --forge-overlay-position-block-end - The `block-end` position of the overlay.
|
|
72
|
+
* @cssproperty --forge-overlay-position-inline-start - The `inline-start` position of the overlay.
|
|
73
|
+
* @cssproperty --forge-overlay-position-inline-end - The `inline-end` position of the overlay.
|
|
74
|
+
*
|
|
75
|
+
* @slot - The content to render inside the positioned overlay container.
|
|
76
|
+
*
|
|
77
|
+
* @csspart root - The component's root element.
|
|
78
|
+
*/
|
|
79
|
+
export declare class OverlayComponent extends BaseOverlay<OverlayFoundation> implements IOverlayComponent {
|
|
80
|
+
static get observedAttributes(): string[];
|
|
81
|
+
/**
|
|
82
|
+
* Contains all the overlays that are currently open.
|
|
83
|
+
*/
|
|
84
|
+
static readonly [overlayStack]: Set<IOverlayComponent>;
|
|
85
|
+
constructor();
|
|
86
|
+
connectedCallback(): void;
|
|
87
|
+
disconnectedCallback(): void;
|
|
88
|
+
arrowElement: HTMLElement;
|
|
89
|
+
arrowElementOffset: number;
|
|
90
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
var _a;
|
|
7
|
+
import { __decorate } from "tslib";
|
|
8
|
+
import { attachShadowTemplate, CustomElement, FoundationProperty } from '@tylertech/forge-core';
|
|
9
|
+
import { OverlayAdapter } from './overlay-adapter';
|
|
10
|
+
import { overlayStack, OVERLAY_CONSTANTS } from './overlay-constants';
|
|
11
|
+
import { OverlayFoundation } from './overlay-foundation';
|
|
12
|
+
import { BaseOverlay } from './base/base-overlay';
|
|
13
|
+
const template = '<template><div class=\"forge-overlay\" part=\"root\"><slot></slot></div></template>';
|
|
14
|
+
const styles = ':host{display:contents}:host([hidden]){display:none}.forge-overlay{--_overlay-position:var(--forge-overlay-position, fixed);--_overlay-z-index:var(--forge-overlay-z-index, var(--forge-z-index-popup, 10));--_overlay-height:var(--forge-overlay-height, fit-content);--_overlay-width:var(--forge-overlay-width, fit-content);--_overlay-position-inline-start:var(--forge-overlay-position-inline-start, auto);--_overlay-position-inline-end:var(--forge-overlay-position-inline-end, auto);--_overlay-position-block-start:var(--forge-overlay-position-block-start, auto);--_overlay-position-block-end:var(--forge-overlay-position-block-end, auto)}.forge-overlay{display:none;-webkit-box-sizing:border-box;box-sizing:border-box;height:var(--_overlay-height);width:var(--_overlay-width);border-radius:inherit;position:var(--_overlay-position);top:0;left:0;z-index:var(--_overlay-z-index);background:inherit;color:inherit}:host([position-strategy=absolute]) .forge-overlay{--_overlay-position:var(--forge-overlay-position, absolute)}:host([open][inline]) .forge-overlay{display:block;padding:0;margin:0;border:none;overflow:visible;inset:unset}:host([open]) .forge-overlay:popover-open{display:block;padding:0;margin:0;border:none;overflow:visible;inset:unset}:host([open][no-anchor]) .forge-overlay:popover-open{inset:0;margin:auto;-webkit-margin-start:var(--_overlay-position-inline-start);margin-inline-start:var(--_overlay-position-inline-start);-webkit-margin-end:var(--_overlay-position-inline-end);margin-inline-end:var(--_overlay-position-inline-end);-webkit-margin-before:var(--_overlay-position-block-start);margin-block-start:var(--_overlay-position-block-start);-webkit-margin-after:var(--_overlay-position-block-end);margin-block-end:var(--_overlay-position-block-end)}';
|
|
15
|
+
/**
|
|
16
|
+
* @tag forge-overlay
|
|
17
|
+
*
|
|
18
|
+
* @summary Overlays are used to render content in an element that rendered above all content on the page,
|
|
19
|
+
* and positioned around a specified anchor element.
|
|
20
|
+
*
|
|
21
|
+
* @description
|
|
22
|
+
* An overlay is a low-level building block component that does not provide any visual styles. Its only
|
|
23
|
+
* purpose is to render slotted content above all other content on the page. The element is positioned
|
|
24
|
+
* around an anchor element with various positioning options.
|
|
25
|
+
*
|
|
26
|
+
* @property {boolean} open - Whether or not the overlay is open.
|
|
27
|
+
* @property {boolean} inline - Whether or not the overlay should be rendered inline (not in the :top-layer).
|
|
28
|
+
* @property {HTMLElement} anchorElement - The element to anchor the overlay to.
|
|
29
|
+
* @property {HTMLElement} anchor - The id of the element to anchor the overlay to.
|
|
30
|
+
* @property {boolean} noAnchor - Whether or not the overlay should be rendered without an anchor (centered on page by default).
|
|
31
|
+
* @property {HTMLElement} arrowElement - The element to use as the arrow for the overlay.
|
|
32
|
+
* @property {number} arrowElementOffset - The offset to apply to the arrow element.
|
|
33
|
+
* @property {OverlayPlacement} placement - The placement of the overlay relative to the anchor element.
|
|
34
|
+
* @property {OverlayPositionStrategy} positionStrategy - The positioning strategy to use for the overlay. Valid values are `'fixed'` and `'absolute'`.
|
|
35
|
+
* @property {IOverlayPosition} offset - The offset to apply to the overlay position relative to the anchor element.
|
|
36
|
+
* @property {boolean} shift - Whether or not the anchor element should shift along the side of the overlay when scrolling.
|
|
37
|
+
* @property {OverlayHideState} hide - Whether or not the overlay should hide itself when the anchor element is out of view.
|
|
38
|
+
* @property {boolean} persistent - Whether or not the overlay handles light dismiss itself or not.
|
|
39
|
+
* @property {OverlayFlipState} flip - Whether or not the overlay should flip to the opposite placement when not enough room.
|
|
40
|
+
* @property {string} boundary - The id of the element to use as the boundary for the overlay.
|
|
41
|
+
* @property {HTMLElement | null} boundaryElement - The element to use as the boundary for the overlay.
|
|
42
|
+
* @property {OverlayPlacement[]} fallbackPlacements - The fallback placements to use when the overlay cannot be placed in the desired placement.
|
|
43
|
+
*
|
|
44
|
+
* @attribute {string} anchor - The id of the element to anchor the overlay to.
|
|
45
|
+
* @attribute {string} no-anchor - Whether or not the overlay should be rendered without an anchor (centered on page by default).
|
|
46
|
+
* @attribute {string} open - Whether or not the overlay is open.
|
|
47
|
+
* @attribute {string} inline - Whether or not the overlay should be rendered inline (not in the :top-layer).
|
|
48
|
+
* @attribute {string} placement - The placement of the overlay relative to the anchor element.
|
|
49
|
+
* @attribute {string} position-strategy - The positioning strategy to use for the overlay. Valid values are `'fixed'` and `'absolute'`.
|
|
50
|
+
* @attribute {string} hide - Whether or not the overlay should hide itself when the anchor element is out of view.
|
|
51
|
+
* @attribute {string} persistent - Whether or not the overlay handles light dismiss itself or not.
|
|
52
|
+
* @attribute {string} shift - Whether or not the anchor element should shift along the side of the overlay when scrolling.
|
|
53
|
+
* @attribute {string} no-flip - Tells the overlay not to flip to the opposite placement when not enough room.
|
|
54
|
+
* @attribute {string} position-placement - The placement of the overlay around the anchor element **after** dynamic positioning. This is a read-only attribute that is only available when open.
|
|
55
|
+
* @attribute {string} boundary - The id of the element to use as the boundary for the overlay.
|
|
56
|
+
* @attribute {string} fallback-placements - The fallback placements to use when the overlay cannot be placed in the desired placement. Should be a comma separated list of placements.
|
|
57
|
+
*
|
|
58
|
+
* @event {CustomEvent<OverlayToggleEventData>} forge-overlay-light-dismiss - Dispatches when the overlay is light dismissed via the escape key or clicking outside the overlay.
|
|
59
|
+
*
|
|
60
|
+
* @cssproperty --forge-overlay-position - The `position` of the overlay.
|
|
61
|
+
* @cssproperty --forge-overlay-z-index - The `z-index` of the overlay. Defaults to the `popup` range.
|
|
62
|
+
* @cssproperty --forge-overlay-height - The `height` of the overlay. Defaults to `min-content`.
|
|
63
|
+
* @cssproperty --forge-overlay-width - The `width` of the overlay. Defaults to `min-content`.
|
|
64
|
+
* @cssproperty --forge-overlay-position-block-start - The `block-start` position of the overlay.
|
|
65
|
+
* @cssproperty --forge-overlay-position-block-end - The `block-end` position of the overlay.
|
|
66
|
+
* @cssproperty --forge-overlay-position-inline-start - The `inline-start` position of the overlay.
|
|
67
|
+
* @cssproperty --forge-overlay-position-inline-end - The `inline-end` position of the overlay.
|
|
68
|
+
*
|
|
69
|
+
* @slot - The content to render inside the positioned overlay container.
|
|
70
|
+
*
|
|
71
|
+
* @csspart root - The component's root element.
|
|
72
|
+
*/
|
|
73
|
+
let OverlayComponent = class OverlayComponent extends BaseOverlay {
|
|
74
|
+
static get observedAttributes() {
|
|
75
|
+
return Object.values(OVERLAY_CONSTANTS.observedAttributes);
|
|
76
|
+
}
|
|
77
|
+
constructor() {
|
|
78
|
+
super();
|
|
79
|
+
attachShadowTemplate(this, template, styles);
|
|
80
|
+
this._foundation = new OverlayFoundation(new OverlayAdapter(this));
|
|
81
|
+
}
|
|
82
|
+
connectedCallback() {
|
|
83
|
+
this._foundation.initialize();
|
|
84
|
+
}
|
|
85
|
+
disconnectedCallback() {
|
|
86
|
+
this._foundation.destroy();
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
_a = overlayStack;
|
|
90
|
+
/**
|
|
91
|
+
* Contains all the overlays that are currently open.
|
|
92
|
+
*/
|
|
93
|
+
OverlayComponent[_a] = new Set();
|
|
94
|
+
__decorate([
|
|
95
|
+
FoundationProperty()
|
|
96
|
+
], OverlayComponent.prototype, "arrowElement", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
FoundationProperty()
|
|
99
|
+
], OverlayComponent.prototype, "arrowElementOffset", void 0);
|
|
100
|
+
OverlayComponent = __decorate([
|
|
101
|
+
CustomElement({
|
|
102
|
+
name: OVERLAY_CONSTANTS.elementName
|
|
103
|
+
})
|
|
104
|
+
], OverlayComponent);
|
|
105
|
+
export { OverlayComponent };
|
|
@@ -14,7 +14,7 @@ import { SelectComponent } from '../select';
|
|
|
14
14
|
import { IconComponent, IconRegistry } from '../icon';
|
|
15
15
|
import { BaseComponent } from '../core/base/base-component';
|
|
16
16
|
import { TooltipComponent } from '../tooltip';
|
|
17
|
-
const template = '<template><div class=\"forge-paginator\" part=\"root\"><div class=\"forge-paginator__container\" part=\"container\"><div class=\"forge-paginator__label\" part=\"label\"></div><forge-select class=\"forge-paginator__page-size-options\" aria-label=\"Choose page size\" density=\"dense\" part=\"page-size-options\"></forge-select><div class=\"forge-paginator__range-label\" part=\"range-label\"></div><forge-icon-button class=\"forge-paginator__first-page\" part=\"first-page-button\"
|
|
17
|
+
const template = '<template><div class=\"forge-paginator\" part=\"root\"><div class=\"forge-paginator__container\" part=\"container\"><div class=\"forge-paginator__label\" part=\"label\"></div><forge-select class=\"forge-paginator__page-size-options\" aria-label=\"Choose page size\" density=\"dense\" part=\"page-size-options\"></forge-select><div class=\"forge-paginator__range-label\" part=\"range-label\"></div><forge-icon-button class=\"forge-paginator__first-page\" part=\"first-page-button\" part=\"first-page-button-element\"><forge-icon name=\"first_page\" part=\"first-page-icon\"></forge-icon></forge-icon-button><forge-tooltip type=\"label\" placement=\"top\">Go to the first page</forge-tooltip><forge-icon-button class=\"forge-paginator__previous-page\" part=\"previous-page-button\" part=\"previous-page-button-element\"><forge-icon name=\"keyboard_arrow_left\" part=\"previous-page-button-icon\"></forge-icon></forge-icon-button><forge-tooltip type=\"label\" placement=\"top\">Go to the previous page</forge-tooltip><div class=\"forge-paginator__range-label--alternative\" part=\"range-label-alternative\"></div><forge-icon-button class=\"forge-paginator__next-page\" part=\"next-page-button\" part=\"next-page-button-element\"><forge-icon name=\"keyboard_arrow_right\" part=\"next-page-icon\"></forge-icon></forge-icon-button><forge-tooltip type=\"label\" placement=\"top\">Go to the next page</forge-tooltip><forge-icon-button class=\"forge-paginator__last-page\" part=\"last-page-button\" part=\"last-page-button-element\"><forge-icon name=\"last_page\" part=\"last-page-icon\"></forge-icon></forge-icon-button><forge-tooltip type=\"label\" placement=\"top\">Go to the last page</forge-tooltip></div></div></template>';
|
|
18
18
|
const styles = '.forge-paginator{display:inline-block}.forge-paginator--alternative{display:-webkit-box;display:flex}.forge-paginator--alternative .forge-paginator__label,.forge-paginator--alternative .forge-paginator__page-size-options,.forge-paginator--alternative .forge-paginator__range-label{display:none}.forge-paginator--alternative .forge-paginator__range-label--alternative{display:inline-block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform,inherit);margin:0 12px}.forge-paginator__range-label--alternative{display:none}.forge-paginator__container{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.forge-paginator__label{-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;-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);margin-right:16px}.forge-paginator__page-size-options{margin-right:16px}.forge-paginator__range-label{-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;-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);margin-right:8px}.forge-paginator__first-page,.forge-paginator__last-page,.forge-paginator__next-page,.forge-paginator__previous-page{color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87))}:host{display:inline-block}:host([hidden]){display:none}:host([alternative]) .forge-paginator--alignment-center .forge-paginator__container{-webkit-box-pack:center;justify-content:center}:host([alternative]) .forge-paginator--alignment-center .forge-paginator__range-label--alternative{margin:0 auto}:host([alternative]) .forge-paginator--alignment-start .forge-paginator__container{-webkit-box-pack:start;justify-content:flex-start}:host([alternative]) .forge-paginator--alignment-end .forge-paginator__container{-webkit-box-pack:end;justify-content:flex-end}:host([alternative]) .forge-paginator .forge-paginator__container{-webkit-box-flex:1;flex:1}';
|
|
19
19
|
/**
|
|
20
20
|
* @tag forge-paginator
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
export * from './popover-adapter';
|
|
7
|
+
export * from './popover-constants';
|
|
8
|
+
export * from './popover-foundation';
|
|
9
|
+
export * from './popover';
|
|
10
|
+
export declare function definePopoverComponent(): 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 { PopoverComponent } from './popover';
|
|
8
|
+
export * from './popover-adapter';
|
|
9
|
+
export * from './popover-constants';
|
|
10
|
+
export * from './popover-foundation';
|
|
11
|
+
export * from './popover';
|
|
12
|
+
export function definePopoverComponent() {
|
|
13
|
+
defineCustomElement(PopoverComponent);
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { IOverlayAwareAdapter, OverlayAwareAdapter } from '../overlay/base/overlay-aware-adapter';
|
|
7
|
+
import { IPopoverComponent } from './popover';
|
|
8
|
+
export interface IPopoverAdapter extends IOverlayAwareAdapter {
|
|
9
|
+
readonly hostElement: IPopoverComponent;
|
|
10
|
+
tryLocateAnchorElement(id: string | null): void;
|
|
11
|
+
addAnchorListener(type: string, listener: EventListener): void;
|
|
12
|
+
removeAnchorListener(type: string, listener: EventListener): void;
|
|
13
|
+
addSurfaceListener(type: string, listener: EventListener): void;
|
|
14
|
+
removeSurfaceListener(type: string, listener: EventListener): void;
|
|
15
|
+
setOverlayOpen(newState: boolean): void;
|
|
16
|
+
toggleArrow(value: boolean): void;
|
|
17
|
+
isChildElement(element: HTMLElement): boolean;
|
|
18
|
+
tryAutofocus(): void;
|
|
19
|
+
hasFocus(): boolean;
|
|
20
|
+
captureFocusedElement(): HTMLElement | null;
|
|
21
|
+
}
|
|
22
|
+
export declare class PopoverAdapter extends OverlayAwareAdapter<IPopoverComponent> implements IPopoverAdapter {
|
|
23
|
+
private _surfaceElement;
|
|
24
|
+
private _arrowElement;
|
|
25
|
+
constructor(component: IPopoverComponent);
|
|
26
|
+
protected _initializeOverlayElement(): void;
|
|
27
|
+
tryLocateAnchorElement(id: string | null): void;
|
|
28
|
+
addAnchorListener(type: string, listener: EventListener): void;
|
|
29
|
+
removeAnchorListener(type: string, listener: EventListener): void;
|
|
30
|
+
addSurfaceListener(type: string, listener: EventListener): void;
|
|
31
|
+
removeSurfaceListener(type: string, listener: EventListener): void;
|
|
32
|
+
setOverlayOpen(newState: boolean): void;
|
|
33
|
+
toggleArrow(value: boolean): void;
|
|
34
|
+
isChildElement(element: HTMLElement): boolean;
|
|
35
|
+
tryAutofocus(): void;
|
|
36
|
+
hasFocus(): boolean;
|
|
37
|
+
captureFocusedElement(): HTMLElement | null;
|
|
38
|
+
/**
|
|
39
|
+
* Attempts to find the anchor element by first checking for an element with the provided id, and if not found,
|
|
40
|
+
* then implicitly assumes the previous element sibling is the anchor.
|
|
41
|
+
*
|
|
42
|
+
* @param [id] - The id of the anchor element to locate.
|
|
43
|
+
* @returns The anchor element if found, otherwise null.
|
|
44
|
+
*/
|
|
45
|
+
private _tryFindAnchorElement;
|
|
46
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { getShadowElement } from '@tylertech/forge-core';
|
|
7
|
+
import { VirtualElement } from '../core/utils/position-utils';
|
|
8
|
+
import { OVERLAY_CONSTANTS } from '../overlay';
|
|
9
|
+
import { OverlayAwareAdapter } from '../overlay/base/overlay-aware-adapter';
|
|
10
|
+
import { POPOVER_CONSTANTS } from './popover-constants';
|
|
11
|
+
export class PopoverAdapter extends OverlayAwareAdapter {
|
|
12
|
+
constructor(component) {
|
|
13
|
+
super(component);
|
|
14
|
+
this._surfaceElement = getShadowElement(this._component, POPOVER_CONSTANTS.selectors.SURFACE);
|
|
15
|
+
}
|
|
16
|
+
_initializeOverlayElement() {
|
|
17
|
+
this._overlayElement = getShadowElement(this._component, OVERLAY_CONSTANTS.elementName);
|
|
18
|
+
}
|
|
19
|
+
tryLocateAnchorElement(id) {
|
|
20
|
+
this._overlayElement.anchorElement = this._tryFindAnchorElement(id);
|
|
21
|
+
}
|
|
22
|
+
addAnchorListener(type, listener) {
|
|
23
|
+
var _a;
|
|
24
|
+
if (this._overlayElement.anchorElement instanceof VirtualElement) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
(_a = this._overlayElement.anchorElement) === null || _a === void 0 ? void 0 : _a.addEventListener(type, listener);
|
|
28
|
+
}
|
|
29
|
+
removeAnchorListener(type, listener) {
|
|
30
|
+
var _a;
|
|
31
|
+
if (this._overlayElement.anchorElement instanceof VirtualElement) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
(_a = this._overlayElement.anchorElement) === null || _a === void 0 ? void 0 : _a.removeEventListener(type, listener);
|
|
35
|
+
}
|
|
36
|
+
addSurfaceListener(type, listener) {
|
|
37
|
+
this._surfaceElement.addEventListener(type, listener);
|
|
38
|
+
}
|
|
39
|
+
removeSurfaceListener(type, listener) {
|
|
40
|
+
this._surfaceElement.removeEventListener(type, listener);
|
|
41
|
+
}
|
|
42
|
+
setOverlayOpen(newState) {
|
|
43
|
+
this._overlayElement.open = newState;
|
|
44
|
+
}
|
|
45
|
+
toggleArrow(value) {
|
|
46
|
+
var _a;
|
|
47
|
+
if (value) {
|
|
48
|
+
if (!this._arrowElement) {
|
|
49
|
+
this._arrowElement = document.createElement('div');
|
|
50
|
+
this._arrowElement.classList.add(POPOVER_CONSTANTS.classes.ARROW);
|
|
51
|
+
this._arrowElement.setAttribute('part', POPOVER_CONSTANTS.parts.ARROW);
|
|
52
|
+
}
|
|
53
|
+
this._surfaceElement.appendChild(this._arrowElement);
|
|
54
|
+
this._overlayElement.arrowElement = this._arrowElement;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
(_a = this._arrowElement) === null || _a === void 0 ? void 0 : _a.remove();
|
|
58
|
+
this._arrowElement = undefined;
|
|
59
|
+
this._overlayElement.arrowElement = undefined;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
isChildElement(element) {
|
|
63
|
+
return this._component.contains(element);
|
|
64
|
+
}
|
|
65
|
+
tryAutofocus() {
|
|
66
|
+
window.requestAnimationFrame(() => {
|
|
67
|
+
window.requestAnimationFrame(() => {
|
|
68
|
+
if (this._component.open && this._overlayElement.isConnected && !this._component.matches(':focus-within')) {
|
|
69
|
+
const autofocusElement = this._component.querySelector('[autofocus]');
|
|
70
|
+
if (autofocusElement) {
|
|
71
|
+
autofocusElement.focus();
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
hasFocus() {
|
|
78
|
+
return this._component.matches(':focus-within');
|
|
79
|
+
}
|
|
80
|
+
captureFocusedElement() {
|
|
81
|
+
return this._component.ownerDocument.activeElement;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Attempts to find the anchor element by first checking for an element with the provided id, and if not found,
|
|
85
|
+
* then implicitly assumes the previous element sibling is the anchor.
|
|
86
|
+
*
|
|
87
|
+
* @param [id] - The id of the anchor element to locate.
|
|
88
|
+
* @returns The anchor element if found, otherwise null.
|
|
89
|
+
*/
|
|
90
|
+
_tryFindAnchorElement(id) {
|
|
91
|
+
if (id) {
|
|
92
|
+
// First we attempt to locate the target element based on the id reference provided
|
|
93
|
+
const rootNode = this._component.getRootNode();
|
|
94
|
+
const targetEl = rootNode.querySelector(`#${id}`);
|
|
95
|
+
if (targetEl) {
|
|
96
|
+
return targetEl;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
// If still not found, we'll implicitly assume the previous element sibling is our anchor
|
|
100
|
+
if (this._component.previousElementSibling) {
|
|
101
|
+
return this._component.previousElementSibling;
|
|
102
|
+
}
|
|
103
|
+
return null;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { OverlayLightDismissReason } from '../overlay';
|
|
7
|
+
export declare const POPOVER_CONSTANTS: {
|
|
8
|
+
elementName: string;
|
|
9
|
+
attributes: {
|
|
10
|
+
OPEN: string;
|
|
11
|
+
ARROW: string;
|
|
12
|
+
ANIMATION_TYPE: string;
|
|
13
|
+
TRIGGER_TYPE: string;
|
|
14
|
+
LONGPRESS_DELAY: string;
|
|
15
|
+
PERSISTENT_HOVER: string;
|
|
16
|
+
HOVER_DISMISS_DELAY: string;
|
|
17
|
+
};
|
|
18
|
+
classes: {
|
|
19
|
+
ARROW: string;
|
|
20
|
+
};
|
|
21
|
+
selectors: {
|
|
22
|
+
SURFACE: string;
|
|
23
|
+
};
|
|
24
|
+
parts: {
|
|
25
|
+
ARROW: string;
|
|
26
|
+
};
|
|
27
|
+
events: {
|
|
28
|
+
BEFORETOGGLE: string;
|
|
29
|
+
TOGGLE: string;
|
|
30
|
+
};
|
|
31
|
+
defaults: {
|
|
32
|
+
TRIGGER_TYPE: PopoverTriggerType;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export declare const POPOVER_HOVER_TIMEOUT = 500;
|
|
36
|
+
export type PopoverAnimationType = 'none' | 'zoom' | 'slide' | 'fade';
|
|
37
|
+
export type PopoverTriggerType = 'click' | 'hover' | 'focus' | 'longpress' | 'doubleclick' | 'contextmenu' | 'manual';
|
|
38
|
+
export type PopoverDismissReason = OverlayLightDismissReason | PopoverTriggerType | 'destroy';
|
|
39
|
+
export interface IPopoverToggleEventData {
|
|
40
|
+
newState: 'closed' | 'open';
|
|
41
|
+
oldState: 'closed' | 'open';
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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}popover`;
|
|
8
|
+
const attributes = {
|
|
9
|
+
OPEN: 'open',
|
|
10
|
+
ARROW: 'arrow',
|
|
11
|
+
ANIMATION_TYPE: 'animation-type',
|
|
12
|
+
TRIGGER_TYPE: 'trigger-type',
|
|
13
|
+
LONGPRESS_DELAY: 'longpress-delay',
|
|
14
|
+
PERSISTENT_HOVER: 'persistent-hover',
|
|
15
|
+
HOVER_DISMISS_DELAY: 'hover-dismiss-delay'
|
|
16
|
+
};
|
|
17
|
+
const classes = {
|
|
18
|
+
ARROW: 'arrow'
|
|
19
|
+
};
|
|
20
|
+
const selectors = {
|
|
21
|
+
SURFACE: '.forge-popover'
|
|
22
|
+
};
|
|
23
|
+
const parts = {
|
|
24
|
+
ARROW: 'arrow'
|
|
25
|
+
};
|
|
26
|
+
const events = {
|
|
27
|
+
BEFORETOGGLE: `${elementName}-beforetoggle`,
|
|
28
|
+
TOGGLE: `${elementName}-toggle`
|
|
29
|
+
};
|
|
30
|
+
const defaults = {
|
|
31
|
+
TRIGGER_TYPE: 'click'
|
|
32
|
+
};
|
|
33
|
+
export const POPOVER_CONSTANTS = {
|
|
34
|
+
elementName,
|
|
35
|
+
attributes,
|
|
36
|
+
classes,
|
|
37
|
+
selectors,
|
|
38
|
+
parts,
|
|
39
|
+
events,
|
|
40
|
+
defaults
|
|
41
|
+
};
|
|
42
|
+
export const POPOVER_HOVER_TIMEOUT = 500;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { IOverlayAwareFoundation, OverlayAwareFoundation } from '../overlay/base/overlay-aware-foundation';
|
|
7
|
+
import { OverlayLightDismissEventData } from '../overlay/overlay-constants';
|
|
8
|
+
import { IPopoverAdapter } from './popover-adapter';
|
|
9
|
+
import { PopoverAnimationType, PopoverTriggerType } from './popover-constants';
|
|
10
|
+
import { IDismissibleStackState } from '../core/utils/dismissible-stack';
|
|
11
|
+
import { VirtualElement } from '../core/utils/position-utils';
|
|
12
|
+
export interface IPopoverFoundation extends IOverlayAwareFoundation {
|
|
13
|
+
arrow: boolean;
|
|
14
|
+
animationType: PopoverAnimationType;
|
|
15
|
+
triggerType: PopoverTriggerType | PopoverTriggerType[];
|
|
16
|
+
longpressDelay: number;
|
|
17
|
+
persistentHover: boolean;
|
|
18
|
+
hoverDismissDelay: number;
|
|
19
|
+
dispatchBeforeToggleEvent(state: IDismissibleStackState): boolean;
|
|
20
|
+
}
|
|
21
|
+
declare const BaseClass: import("..").AbstractConstructor<import("../core/mixins/interactions/longpress/with-longpress-listener").WithLongpressListenerContract> & (abstract new (_adapter: IPopoverAdapter) => OverlayAwareFoundation<IPopoverAdapter>);
|
|
22
|
+
export declare class PopoverFoundation extends BaseClass implements IPopoverFoundation {
|
|
23
|
+
private _anchor;
|
|
24
|
+
private _arrow;
|
|
25
|
+
private _animationType;
|
|
26
|
+
private _triggerTypes;
|
|
27
|
+
private _persistentHover;
|
|
28
|
+
private _hoverDismissDelay;
|
|
29
|
+
private _previouslyFocusedElement;
|
|
30
|
+
private _hoverAnchorLeaveTimeout;
|
|
31
|
+
private _popoverMouseleaveTimeout;
|
|
32
|
+
private _currentHoverCoords;
|
|
33
|
+
private _anchorClickListener;
|
|
34
|
+
private _anchorDoubleClickListener;
|
|
35
|
+
private _anchorMouseenterListener;
|
|
36
|
+
private _anchorMouseleaveListener;
|
|
37
|
+
private _popoverMouseenterListener;
|
|
38
|
+
private _popoverMouseleaveListener;
|
|
39
|
+
private _mousemoveListener;
|
|
40
|
+
private _anchorFocusListener;
|
|
41
|
+
private _anchorBlurListener;
|
|
42
|
+
private _popoverBlurListener;
|
|
43
|
+
private _contextmenuListener;
|
|
44
|
+
constructor(adapter: IPopoverAdapter);
|
|
45
|
+
initialize(): void;
|
|
46
|
+
destroy(): void;
|
|
47
|
+
protected _onOverlayLightDismiss(evt: CustomEvent<OverlayLightDismissEventData>): Promise<void>;
|
|
48
|
+
dispatchBeforeToggleEvent({ reason }: IDismissibleStackState): boolean;
|
|
49
|
+
private _openPopover;
|
|
50
|
+
private _closePopover;
|
|
51
|
+
private _dispatchBeforetoggleEvent;
|
|
52
|
+
private _dispatchToggleEvent;
|
|
53
|
+
private _initializeTriggerListeners;
|
|
54
|
+
private _removeTriggerListeners;
|
|
55
|
+
private _startHoverListeners;
|
|
56
|
+
private _tryRemoveHoverListeners;
|
|
57
|
+
private _requestDismiss;
|
|
58
|
+
private _requestClose;
|
|
59
|
+
private _onHoverClose;
|
|
60
|
+
/**
|
|
61
|
+
* Handles `click` events on the anchor element.
|
|
62
|
+
*
|
|
63
|
+
* Only called when using the "click" (default) trigger type.
|
|
64
|
+
*/
|
|
65
|
+
private _onAnchorClick;
|
|
66
|
+
/**
|
|
67
|
+
* Handles `dblclick` events on the anchor element.
|
|
68
|
+
*/
|
|
69
|
+
private _onAnchorDoubleClick;
|
|
70
|
+
/**
|
|
71
|
+
* Handles `mouseenter` events on the anchor element. This is used to determine if the popover should be opened.
|
|
72
|
+
*
|
|
73
|
+
* Only called when using the "hover" trigger type.
|
|
74
|
+
*/
|
|
75
|
+
private _onAnchorMouseenter;
|
|
76
|
+
/**
|
|
77
|
+
* Handles `mouseleave` events on the anchor element. This is used to determine if the popover should be closed.
|
|
78
|
+
*
|
|
79
|
+
* Only called when using the "hover" trigger type.
|
|
80
|
+
*
|
|
81
|
+
* We use a timeout here to allow for the user to take an indirect path toward the popover.
|
|
82
|
+
*/
|
|
83
|
+
private _onAnchorMouseleave;
|
|
84
|
+
/**
|
|
85
|
+
* Handles `mouseenter` events on the popover element. This is used to determine if the mouse has entered the popover element,
|
|
86
|
+
* only after the mouse leaves the anchor element..
|
|
87
|
+
*/
|
|
88
|
+
private _onPopoverMouseenter;
|
|
89
|
+
/**
|
|
90
|
+
* Handles `mouseleave` events on the popover element. This is used to determine if the mouse has moved outside of the popover.
|
|
91
|
+
*
|
|
92
|
+
* Only called when using the "hover" trigger type.
|
|
93
|
+
*
|
|
94
|
+
* We use a timeout here to allow for the user to take an indirect path toward an open child menu.
|
|
95
|
+
* This allows for the popup to stay open while the user is moving their mouse to it to avoid closing immediately.
|
|
96
|
+
*/
|
|
97
|
+
private _onPopoverMouseleave;
|
|
98
|
+
/**
|
|
99
|
+
* Handles `mousemove` events on the document. This is used to determine if the mouse has moved outside of the popover.
|
|
100
|
+
*
|
|
101
|
+
* This listener is only initialized once the mouse leaves the anchor element.
|
|
102
|
+
*
|
|
103
|
+
* Only called when using the "hover" trigger type.
|
|
104
|
+
*/
|
|
105
|
+
private _onMousemove;
|
|
106
|
+
/**
|
|
107
|
+
* Handles `focusin` events on the anchor element. This is used to determine if focus has been received on the anchor element when using the "focus" trigger type.
|
|
108
|
+
*/
|
|
109
|
+
private _onAnchorFocus;
|
|
110
|
+
/**
|
|
111
|
+
* Handles `focusout` events on the anchor element. This is used to determine if focus has been moved outside of the anchor element when using the "focus" trigger type.
|
|
112
|
+
*/
|
|
113
|
+
private _onAnchorBlur;
|
|
114
|
+
private _onPopoverBlur;
|
|
115
|
+
protected _onLongpress(): void;
|
|
116
|
+
private _onContextmenu;
|
|
117
|
+
/**
|
|
118
|
+
* Public API
|
|
119
|
+
*/
|
|
120
|
+
get open(): boolean;
|
|
121
|
+
set open(value: boolean);
|
|
122
|
+
get anchorElement(): HTMLElement | VirtualElement | null;
|
|
123
|
+
set anchorElement(value: HTMLElement | VirtualElement | null);
|
|
124
|
+
get anchor(): string | null;
|
|
125
|
+
set anchor(value: string | null);
|
|
126
|
+
get arrow(): boolean;
|
|
127
|
+
set arrow(value: boolean);
|
|
128
|
+
get animationType(): PopoverAnimationType;
|
|
129
|
+
set animationType(value: PopoverAnimationType);
|
|
130
|
+
get triggerType(): PopoverTriggerType | PopoverTriggerType[];
|
|
131
|
+
set triggerType(value: PopoverTriggerType | PopoverTriggerType[]);
|
|
132
|
+
get longpressDelay(): number;
|
|
133
|
+
set longpressDelay(value: number);
|
|
134
|
+
get persistentHover(): boolean;
|
|
135
|
+
set persistentHover(value: boolean);
|
|
136
|
+
get hoverDismissDelay(): number;
|
|
137
|
+
set hoverDismissDelay(value: number);
|
|
138
|
+
}
|
|
139
|
+
export {};
|