@tylertech/forge 3.0.0-next.11 → 3.0.0-next.13
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/README.md +1 -6
- package/custom-elements.json +63803 -41782
- 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-area/index.js +7 -0
- package/dist/esm/button-area/index.js.map +7 -0
- 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.SMGXXR6K.js → chunk.2MSL7CYM.js} +2 -2
- package/dist/esm/chunks/chunk.2ZU6LWHE.js +7 -0
- package/dist/esm/chunks/chunk.2ZU6LWHE.js.map +7 -0
- package/dist/esm/chunks/{chunk.COVTBIQQ.js → chunk.36C6SIPW.js} +2 -2
- package/dist/esm/chunks/{chunk.COVTBIQQ.js.map → chunk.36C6SIPW.js.map} +2 -2
- package/dist/esm/chunks/chunk.36F2GVWS.js +7 -0
- package/dist/esm/chunks/chunk.36F2GVWS.js.map +7 -0
- package/dist/esm/chunks/{chunk.M56LSSPW.js → chunk.3HCYRDRI.js} +2 -2
- package/dist/esm/chunks/{chunk.4ZKX3SO5.js → chunk.3R4BUIQP.js} +2 -2
- package/dist/esm/chunks/{chunk.YWNCJ7XP.js → chunk.3ZPSN2QG.js} +2 -2
- package/dist/esm/chunks/chunk.4SPEX2GJ.js +7 -0
- package/dist/esm/chunks/chunk.4SPEX2GJ.js.map +7 -0
- package/dist/esm/chunks/chunk.4YFJVHXN.js +7 -0
- package/dist/esm/chunks/chunk.4YFJVHXN.js.map +7 -0
- package/dist/esm/chunks/chunk.5A2PA7TL.js +7 -0
- package/dist/esm/chunks/chunk.5A2PA7TL.js.map +7 -0
- package/dist/esm/chunks/chunk.5CSXPRL3.js +7 -0
- package/dist/esm/chunks/chunk.5CSXPRL3.js.map +7 -0
- package/dist/esm/chunks/chunk.5LVZVQXB.js +7 -0
- package/dist/esm/chunks/{chunk.MGLL67VO.js.map → chunk.5LVZVQXB.js.map} +2 -2
- package/dist/esm/chunks/{chunk.LFODKHUO.js → chunk.5N4N6DL6.js} +2 -2
- package/dist/esm/chunks/chunk.5PG6WIIX.js +7 -0
- package/dist/esm/chunks/chunk.5PG6WIIX.js.map +7 -0
- package/dist/esm/chunks/{chunk.JIKSKUDW.js → chunk.5RM65QPN.js} +2 -2
- package/dist/esm/chunks/{chunk.JIKSKUDW.js.map → chunk.5RM65QPN.js.map} +3 -3
- package/dist/esm/chunks/chunk.5WMYF27O.js +7 -0
- package/dist/esm/chunks/chunk.5WMYF27O.js.map +7 -0
- package/dist/esm/chunks/{chunk.QOJESHEV.js → chunk.675V42JS.js} +2 -2
- package/dist/esm/chunks/chunk.6M27ERWW.js +12 -0
- package/dist/esm/chunks/chunk.6M27ERWW.js.map +7 -0
- package/dist/esm/chunks/chunk.6NTYTHAL.js +7 -0
- package/dist/esm/chunks/chunk.6NTYTHAL.js.map +7 -0
- package/dist/esm/chunks/chunk.6ZNBFKNP.js +7 -0
- package/dist/esm/chunks/chunk.6ZNBFKNP.js.map +7 -0
- package/dist/esm/chunks/{chunk.7TMLILLW.js → chunk.72JVXGHF.js} +2 -2
- package/dist/esm/chunks/{chunk.7TMLILLW.js.map → chunk.72JVXGHF.js.map} +1 -1
- package/dist/esm/chunks/chunk.7V4BDSA5.js +7 -0
- package/dist/esm/chunks/chunk.7V4BDSA5.js.map +7 -0
- package/dist/esm/chunks/chunk.7VMJLHQY.js +7 -0
- package/dist/esm/chunks/chunk.7VMJLHQY.js.map +7 -0
- package/dist/esm/chunks/chunk.7ZROQ6D3.js +7 -0
- package/dist/esm/chunks/chunk.7ZROQ6D3.js.map +7 -0
- package/dist/esm/chunks/{chunk.DG4ZM3AW.js → chunk.AMLT6XJP.js} +2 -2
- package/dist/esm/chunks/chunk.AMZZKEAE.js +7 -0
- package/dist/esm/chunks/chunk.AMZZKEAE.js.map +7 -0
- package/dist/esm/chunks/{chunk.MTKSU2BV.js → chunk.APPY5AYL.js} +2 -2
- package/dist/esm/chunks/{chunk.4YFVG4KP.js → chunk.ARQMMZJL.js} +2 -2
- package/dist/esm/chunks/chunk.AUBOJZQ7.js +7 -0
- package/dist/esm/chunks/chunk.AUBOJZQ7.js.map +7 -0
- package/dist/esm/chunks/chunk.AUCBR6CC.js +7 -0
- package/dist/esm/chunks/{chunk.SFCGOCQK.js.map → chunk.AUCBR6CC.js.map} +2 -2
- package/dist/esm/chunks/{chunk.5MZ5SGMO.js → chunk.BB4UF5RX.js} +2 -2
- package/dist/esm/chunks/chunk.BBCZNGT3.js +7 -0
- package/dist/esm/chunks/chunk.BBCZNGT3.js.map +7 -0
- package/dist/esm/chunks/chunk.BQ2X5SBP.js +7 -0
- package/dist/esm/chunks/{chunk.TYLOAD7R.js.map → chunk.BQ2X5SBP.js.map} +2 -2
- package/dist/esm/chunks/chunk.BTXY3XMJ.js +7 -0
- package/dist/esm/chunks/chunk.BTXY3XMJ.js.map +7 -0
- package/dist/esm/chunks/{chunk.Q7Z3SJ5F.js → chunk.DTLZOIUQ.js} +2 -2
- package/dist/esm/chunks/chunk.EJX6RI4I.js +7 -0
- package/dist/esm/chunks/chunk.EJX6RI4I.js.map +7 -0
- package/dist/esm/chunks/chunk.EWK76SPH.js +7 -0
- package/dist/esm/chunks/chunk.EWK76SPH.js.map +7 -0
- package/dist/esm/chunks/chunk.FAXYCG55.js +7 -0
- package/dist/esm/chunks/chunk.FAXYCG55.js.map +7 -0
- package/dist/esm/chunks/chunk.FFHSUJFM.js +7 -0
- package/dist/esm/chunks/chunk.FFHSUJFM.js.map +7 -0
- package/dist/esm/chunks/{chunk.OWCYRSI3.js → chunk.FLWNOP42.js} +2 -2
- package/dist/esm/chunks/{chunk.S3JMOOWC.js → chunk.FXIWCHLW.js} +2 -2
- package/dist/esm/chunks/chunk.FYVDTZLF.js +7 -0
- package/dist/esm/chunks/{chunk.CDGZYUQS.js.map → chunk.FYVDTZLF.js.map} +2 -2
- package/dist/esm/chunks/chunk.G73KL7P2.js +7 -0
- package/dist/esm/chunks/{chunk.7DB3XVPI.js.map → chunk.G73KL7P2.js.map} +3 -3
- package/dist/esm/chunks/chunk.G7SMCLHQ.js +7 -0
- package/dist/esm/chunks/chunk.G7SMCLHQ.js.map +7 -0
- package/dist/esm/chunks/chunk.GHR7T6U2.js +7 -0
- package/dist/esm/chunks/chunk.GHR7T6U2.js.map +7 -0
- package/dist/esm/chunks/{chunk.CWTV3TB3.js → chunk.GNDKQPDV.js} +2 -2
- package/dist/esm/chunks/{chunk.ULY4H76N.js → chunk.HAKF2T2D.js} +2 -2
- package/dist/esm/chunks/chunk.HDG2GHKC.js +7 -0
- package/dist/esm/chunks/{chunk.SBYX7VZ4.js.map → chunk.HDG2GHKC.js.map} +2 -2
- package/dist/esm/chunks/{chunk.WPG7NNQX.js → chunk.HOLCNJXC.js} +2 -2
- package/dist/esm/chunks/{chunk.W4247Q2P.js → chunk.HRRJIFC5.js} +2 -2
- package/dist/esm/chunks/chunk.HSI7B43D.js +7 -0
- package/dist/esm/chunks/chunk.HSI7B43D.js.map +7 -0
- package/dist/esm/chunks/chunk.IAWYYNUU.js +7 -0
- package/dist/esm/chunks/chunk.IAWYYNUU.js.map +7 -0
- package/dist/esm/chunks/{chunk.SU4FU7GK.js → chunk.IDMDBMBR.js} +2 -2
- package/dist/esm/chunks/{chunk.FCATJM34.js → chunk.IHAHJPMB.js} +2 -2
- package/dist/esm/chunks/chunk.IISWKFCX.js +7 -0
- package/dist/esm/chunks/chunk.IISWKFCX.js.map +7 -0
- package/dist/esm/chunks/{chunk.XKI46BH2.js → chunk.IMLJD35R.js} +2 -2
- package/dist/esm/chunks/{chunk.624UKZFU.js → chunk.IT7XPDAV.js} +2 -2
- package/dist/esm/chunks/{chunk.MVTBJPO2.js → chunk.JAWV5Y5T.js} +1 -1
- package/dist/esm/chunks/{chunk.MVTBJPO2.js.map → chunk.JAWV5Y5T.js.map} +2 -2
- package/dist/esm/chunks/{chunk.JLLHDJSO.js → chunk.JVLJH6PR.js} +2 -2
- package/dist/esm/chunks/chunk.KPJWP77R.js +7 -0
- package/dist/esm/chunks/{chunk.2EWV2XBP.js → chunk.KV5IKYG2.js} +2 -2
- package/dist/esm/chunks/chunk.KV67JXOC.js +7 -0
- package/dist/esm/chunks/{chunk.B4T3R53C.js.map → chunk.KV67JXOC.js.map} +2 -2
- package/dist/esm/chunks/{chunk.A62DE5PD.js → chunk.LCR4YH3O.js} +2 -2
- package/dist/esm/chunks/{chunk.FWFOOQMA.js → chunk.LOG6GQOK.js} +2 -2
- package/dist/esm/chunks/chunk.LUIKMPQR.js +7 -0
- package/dist/esm/chunks/chunk.LUIKMPQR.js.map +7 -0
- package/dist/esm/chunks/chunk.LUNKNRRH.js +7 -0
- package/dist/esm/chunks/chunk.LUNKNRRH.js.map +7 -0
- package/dist/esm/chunks/chunk.MKJCHUJH.js +7 -0
- package/dist/esm/chunks/chunk.MKJCHUJH.js.map +7 -0
- package/dist/esm/chunks/chunk.MWYQRG5W.js +7 -0
- package/dist/esm/chunks/{chunk.YX7WLO5Y.js.map → chunk.MWYQRG5W.js.map} +2 -2
- package/dist/esm/chunks/{chunk.YLG6ZC5K.js → chunk.NUMKGUCK.js} +2 -2
- package/dist/esm/chunks/{chunk.XI3MJSIS.js → chunk.O6V3YNMO.js} +2 -2
- package/dist/esm/chunks/chunk.OWZREAT6.js +15 -0
- package/dist/esm/chunks/chunk.OWZREAT6.js.map +7 -0
- package/dist/esm/chunks/chunk.PMYQY3D3.js +7 -0
- package/dist/esm/chunks/chunk.PMYQY3D3.js.map +7 -0
- package/dist/esm/chunks/chunk.PYR2OCCH.js +7 -0
- package/dist/esm/chunks/{chunk.5565ZSTH.js.map → chunk.PYR2OCCH.js.map} +2 -2
- package/dist/esm/chunks/chunk.QJCNMYD3.js +7 -0
- package/dist/esm/chunks/{chunk.SJJS4LYN.js.map → chunk.QJCNMYD3.js.map} +2 -2
- package/dist/esm/chunks/{chunk.TK5I4RHF.js → chunk.QLCVRJ3Q.js} +2 -2
- package/dist/esm/chunks/chunk.QLOYOZN3.js +7 -0
- package/dist/esm/chunks/{chunk.F5SY2D4B.js.map → chunk.QLOYOZN3.js.map} +3 -3
- package/dist/esm/chunks/chunk.QN5T26HH.js +7 -0
- package/dist/esm/chunks/chunk.QN5T26HH.js.map +7 -0
- package/dist/esm/chunks/chunk.QQRPV4RN.js +7 -0
- package/dist/esm/chunks/{chunk.PEBT47AU.js.map → chunk.QQRPV4RN.js.map} +2 -2
- package/dist/esm/chunks/chunk.R6LQBI42.js +177 -0
- package/dist/esm/chunks/chunk.R6LQBI42.js.map +7 -0
- package/dist/esm/chunks/chunk.RES7WDKH.js +7 -0
- package/dist/esm/chunks/chunk.RES7WDKH.js.map +7 -0
- package/dist/esm/chunks/chunk.RP674CRC.js +7 -0
- package/dist/esm/chunks/chunk.S5QL4SPT.js +7 -0
- package/dist/esm/chunks/chunk.S5QL4SPT.js.map +7 -0
- package/dist/esm/chunks/chunk.SIRXAA3O.js +7 -0
- package/dist/esm/chunks/chunk.SIRXAA3O.js.map +7 -0
- package/dist/esm/chunks/{chunk.LTT67HTW.js → chunk.SLJ6HDK7.js} +2 -2
- package/dist/esm/chunks/chunk.STB2FEUA.js +7 -0
- package/dist/esm/chunks/chunk.STB2FEUA.js.map +7 -0
- package/dist/esm/chunks/chunk.TBGMJQYJ.js +7 -0
- package/dist/esm/chunks/chunk.TBGMJQYJ.js.map +7 -0
- package/dist/esm/chunks/{chunk.6OW6Q3EW.js → chunk.TU74SREL.js} +2 -2
- package/dist/esm/chunks/{chunk.EK24Y56W.js → chunk.URJQNB3S.js} +2 -2
- package/dist/esm/chunks/{chunk.AEKOP3XT.js → chunk.V24M62MC.js} +2 -2
- package/dist/esm/chunks/{chunk.AEKOP3XT.js.map → chunk.V24M62MC.js.map} +2 -2
- package/dist/esm/chunks/chunk.VFKHRAWD.js +7 -0
- package/dist/esm/chunks/chunk.VFKHRAWD.js.map +7 -0
- package/dist/esm/chunks/chunk.VO6YJCEU.js +7 -0
- package/dist/esm/chunks/chunk.VO6YJCEU.js.map +7 -0
- package/dist/esm/chunks/{chunk.K3KAM2PL.js → chunk.W2LN45WY.js} +2 -2
- package/dist/esm/chunks/{chunk.MHBBMC6O.js → chunk.WMVYRDUJ.js} +2 -2
- package/dist/esm/chunks/{chunk.MHBBMC6O.js.map → chunk.WMVYRDUJ.js.map} +2 -2
- package/dist/esm/chunks/chunk.WY3E33CW.js +7 -0
- package/dist/esm/chunks/chunk.WY3E33CW.js.map +7 -0
- package/dist/esm/chunks/{chunk.Z6FCL3G3.js → chunk.XEFWZKHQ.js} +2 -2
- package/dist/esm/chunks/{chunk.NR3MLTXF.js → chunk.XLL7L2UB.js} +2 -2
- package/dist/esm/chunks/chunk.XNFS7YIB.js +7 -0
- package/dist/esm/chunks/chunk.XNFS7YIB.js.map +7 -0
- package/dist/esm/chunks/chunk.XYAZVLPR.js +7 -0
- package/dist/esm/chunks/chunk.YA3RDJCV.js +7 -0
- package/dist/esm/chunks/chunk.YA3RDJCV.js.map +7 -0
- package/dist/esm/chunks/{chunk.2QHD3DCR.js → chunk.YAERJVPL.js} +2 -2
- package/dist/esm/chunks/chunk.YBZK6LJZ.js +7 -0
- package/dist/esm/chunks/chunk.YKIBREM5.js +7 -0
- package/dist/esm/chunks/chunk.YKIBREM5.js.map +7 -0
- package/dist/esm/chunks/chunk.YWAUEUAH.js +7 -0
- package/dist/esm/chunks/chunk.YWAUEUAH.js.map +7 -0
- package/dist/esm/chunks/chunk.Z5RROENA.js +7 -0
- package/dist/esm/chunks/{chunk.6OUJSOJY.js.map → chunk.Z5RROENA.js.map} +3 -3
- package/dist/esm/chunks/{chunk.ZJC2DSNM.js → chunk.Z5ZLKM7W.js} +2 -2
- package/dist/esm/chunks/chunk.ZGRQDDHO.js +7 -0
- package/dist/esm/chunks/{chunk.BY25RT52.js.map → chunk.ZGRQDDHO.js.map} +2 -2
- package/dist/esm/chunks/{chunk.VSQOTSAO.js → chunk.ZKM667OT.js} +2 -2
- package/dist/esm/chunks/{chunk.VSQOTSAO.js.map → chunk.ZKM667OT.js.map} +2 -2
- package/dist/esm/chunks/chunk.ZRSDTCSD.js +7 -0
- package/dist/esm/chunks/chunk.ZRSDTCSD.js.map +7 -0
- package/dist/esm/chunks/chunk.ZSZFWZAI.js +7 -0
- package/dist/esm/chunks/chunk.ZSZFWZAI.js.map +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/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 +7 -0
- package/dist/esm/label/index.js.map +7 -0
- 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-button/index.js +7 -0
- package/dist/esm/split-button/index.js.map +7 -0
- 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/table/forge-table.css +1 -1
- package/dist/theme/forge-theme.css +1 -1
- package/dist/typography/forge-typography-legacy.css +1 -1
- package/dist/typography/forge-typography.css +1 -1
- package/esm/app-bar/app-bar.js +1 -1
- package/esm/app-bar/help-button/app-bar-help-button.js +1 -1
- package/esm/app-bar/menu-button/app-bar-menu-button.js +1 -1
- package/esm/app-bar/notification-button/app-bar-notification-button.js +1 -1
- package/esm/app-bar/profile-button/app-bar-profile-button-constants.js +1 -1
- package/esm/app-bar/profile-button/app-bar-profile-button.js +1 -1
- package/esm/autocomplete/autocomplete-constants.d.ts +3 -0
- package/esm/autocomplete/autocomplete-foundation.d.ts +3 -1
- package/esm/autocomplete/autocomplete-foundation.js +16 -2
- package/esm/autocomplete/autocomplete.d.ts +7 -1
- package/esm/autocomplete/autocomplete.js +7 -0
- package/esm/banner/banner-constants.js +1 -1
- package/esm/banner/banner.js +2 -2
- package/esm/bottom-sheet/bottom-sheet.js +1 -1
- package/esm/busy-indicator/busy-indicator.js +2 -2
- package/esm/button/base/base-button-adapter.d.ts +72 -0
- package/esm/button/base/base-button-adapter.js +250 -0
- package/esm/button/base/base-button-constants.d.ts +41 -0
- package/esm/button/base/base-button-constants.js +32 -0
- package/esm/button/base/base-button-foundation.d.ts +75 -0
- package/esm/button/base/base-button-foundation.js +234 -0
- package/esm/button/base/base-button.d.ts +51 -0
- package/esm/button/base/base-button.js +106 -0
- package/esm/button/button-adapter.d.ts +14 -0
- package/esm/button/button-adapter.js +14 -0
- package/esm/button/button-component-delegate.d.ts +4 -4
- package/esm/button/button-component-delegate.js +13 -17
- package/esm/button/button-constants.d.ts +10 -18
- package/esm/button/button-constants.js +6 -22
- package/esm/button/button-foundation.d.ts +25 -0
- package/esm/button/button-foundation.js +49 -0
- package/esm/button/button.d.ts +126 -30
- package/esm/button/button.js +160 -159
- package/esm/button/index.d.ts +3 -1
- package/esm/button/index.js +3 -1
- package/esm/button-area/button-area-adapter.d.ts +48 -0
- package/esm/button-area/button-area-adapter.js +121 -0
- package/esm/button-area/button-area-constants.d.ts +24 -0
- package/esm/button-area/button-area-constants.js +30 -0
- package/esm/button-area/button-area-foundation.d.ts +29 -0
- package/esm/button-area/button-area-foundation.js +94 -0
- package/esm/button-area/button-area.d.ts +29 -0
- package/esm/button-area/button-area.js +55 -0
- package/esm/button-area/index.d.ts +10 -0
- package/esm/button-area/index.js +14 -0
- package/esm/button-toggle/button-toggle/button-toggle.js +1 -1
- package/esm/calendar/calendar-dom-utils.js +18 -30
- package/esm/calendar/calendar-foundation.js +6 -0
- package/esm/calendar/calendar-menu/calendar-menu.js +1 -1
- package/esm/calendar/calendar.js +1 -1
- package/esm/checkbox/checkbox-adapter.d.ts +50 -59
- package/esm/checkbox/checkbox-adapter.js +104 -186
- package/esm/checkbox/checkbox-component-delegate.d.ts +18 -9
- package/esm/checkbox/checkbox-component-delegate.js +58 -51
- package/esm/checkbox/checkbox-constants.d.ts +14 -56
- package/esm/checkbox/checkbox-constants.js +17 -50
- package/esm/checkbox/checkbox-foundation.d.ts +48 -18
- package/esm/checkbox/checkbox-foundation.js +139 -139
- package/esm/checkbox/checkbox.d.ts +120 -9
- package/esm/checkbox/checkbox.js +235 -36
- package/esm/checkbox/index.d.ts +1 -1
- package/esm/checkbox/index.js +1 -1
- package/esm/chip-field/chip-field-adapter.js +1 -1
- package/esm/chip-field/chip-field-constants.d.ts +3 -0
- package/esm/chip-field/chip-field-constants.js +4 -0
- package/esm/chip-field/chip-field-foundation.d.ts +5 -0
- package/esm/chip-field/chip-field-foundation.js +20 -1
- package/esm/chip-field/chip-field.d.ts +5 -0
- package/esm/chip-field/chip-field.js +21 -3
- package/esm/chips/chip/chip.js +1 -1
- package/esm/circular-progress/circular-progress-constants.d.ts +4 -0
- package/esm/circular-progress/circular-progress-constants.js +2 -0
- package/esm/circular-progress/circular-progress-foundation.d.ts +9 -0
- package/esm/circular-progress/circular-progress-foundation.js +21 -0
- package/esm/circular-progress/circular-progress.d.ts +15 -2
- package/esm/circular-progress/circular-progress.js +25 -3
- package/esm/color-picker/color-picker.js +2 -2
- package/esm/constants.d.ts +7 -0
- package/esm/constants.js +4 -0
- package/esm/core/base/base-adapter.d.ts +18 -3
- package/esm/core/base/base-adapter.js +30 -2
- package/esm/core/base/base-component.d.ts +0 -1
- package/esm/core/base/base-component.js +0 -1
- package/esm/core/base/base-focusable-component.d.ts +49 -0
- package/esm/core/base/base-focusable-component.js +90 -0
- package/esm/core/base/base-form-component.d.ts +45 -0
- package/esm/core/base/base-form-component.js +19 -0
- package/esm/core/base/base-nullable-form-component.d.ts +35 -0
- package/esm/core/base/base-nullable-form-component.js +20 -0
- package/esm/core/keyboard/key-manager.d.ts +18 -0
- package/esm/core/keyboard/key-manager.js +47 -0
- package/esm/core/utils/feature-detection.d.ts +10 -0
- package/esm/core/utils/feature-detection.js +12 -0
- package/esm/core/utils/index.d.ts +2 -0
- package/esm/core/utils/index.js +2 -0
- package/esm/core/utils/reflect-utils.d.ts +107 -0
- package/esm/core/utils/reflect-utils.js +227 -0
- package/esm/core/utils/utils.d.ts +8 -0
- package/esm/core/utils/utils.js +15 -0
- package/esm/date-picker/base/base-date-picker-foundation.js +1 -1
- package/esm/date-picker/base/base-date-picker-utils.js +5 -8
- package/esm/date-range-picker/date-range-picker-foundation.js +2 -2
- package/esm/drawer/drawer/drawer.js +1 -1
- package/esm/drawer/mini-drawer/mini-drawer.js +1 -1
- package/esm/drawer/modal-drawer/modal-drawer.js +1 -1
- package/esm/expansion-panel/expansion-panel-adapter.d.ts +1 -0
- package/esm/expansion-panel/expansion-panel-adapter.js +7 -2
- package/esm/expansion-panel/expansion-panel.js +1 -1
- package/esm/field/field-constants.d.ts +8 -0
- package/esm/field/field-constants.js +10 -8
- package/esm/field/field-foundation.d.ts +1 -0
- package/esm/field/field-foundation.js +17 -7
- package/esm/file-picker/file-picker-component-delegate.js +1 -1
- package/esm/file-picker/file-picker.js +1 -1
- package/esm/floating-label/floating-label-foundation.d.ts +4 -1
- package/esm/floating-label/floating-label-foundation.js +9 -6
- package/esm/floating-label/floating-label.d.ts +6 -2
- package/esm/floating-label/floating-label.js +2 -2
- package/esm/focus-indicator/focus-indicator-adapter.d.ts +2 -2
- package/esm/focus-indicator/focus-indicator-adapter.js +3 -3
- package/esm/focus-indicator/focus-indicator-foundation.js +4 -3
- package/esm/focus-indicator/focus-indicator.js +1 -1
- package/esm/icon/icon-adapter.d.ts +0 -2
- package/esm/icon/icon-adapter.js +4 -5
- package/esm/icon/icon-foundation.js +0 -1
- package/esm/icon-button/icon-button-adapter.d.ts +12 -0
- package/esm/icon-button/icon-button-adapter.js +11 -0
- package/esm/icon-button/icon-button-component-delegate.d.ts +0 -4
- package/esm/icon-button/icon-button-component-delegate.js +8 -18
- package/esm/icon-button/icon-button-constants.d.ts +26 -17
- package/esm/icon-button/icon-button-constants.js +17 -28
- package/esm/icon-button/icon-button-foundation.d.ts +39 -0
- package/esm/icon-button/icon-button-foundation.js +122 -0
- package/esm/icon-button/icon-button.d.ts +69 -41
- package/esm/icon-button/icon-button.js +107 -213
- package/esm/index.d.ts +3 -0
- package/esm/index.js +8 -1
- package/esm/keyboard-shortcut/keyboard-shortcut-constants.d.ts +1 -0
- package/esm/keyboard-shortcut/keyboard-shortcut-foundation.d.ts +6 -0
- package/esm/keyboard-shortcut/keyboard-shortcut-foundation.js +9 -0
- package/esm/keyboard-shortcut/keyboard-shortcut.d.ts +4 -0
- package/esm/keyboard-shortcut/keyboard-shortcut.js +3 -0
- package/esm/label/index.d.ts +11 -0
- package/esm/label/index.js +15 -0
- package/esm/label/label-adapter.d.ts +51 -0
- package/esm/label/label-adapter.js +102 -0
- package/esm/label/label-aware.d.ts +15 -0
- package/esm/label/label-aware.js +13 -0
- package/esm/label/label-constants.d.ts +17 -0
- package/esm/label/label-constants.js +31 -0
- package/esm/label/label-foundation.d.ts +40 -0
- package/esm/label/label-foundation.js +106 -0
- package/esm/label/label.d.ts +49 -0
- package/esm/label/label.js +80 -0
- package/esm/linear-progress/linear-progress-constants.d.ts +3 -0
- package/esm/linear-progress/linear-progress-constants.js +1 -0
- package/esm/linear-progress/linear-progress-foundation.d.ts +5 -0
- package/esm/linear-progress/linear-progress-foundation.js +13 -3
- package/esm/linear-progress/linear-progress.d.ts +8 -1
- package/esm/linear-progress/linear-progress.js +13 -2
- package/esm/list/list/list-adapter.d.ts +17 -41
- package/esm/list/list/list-adapter.js +42 -60
- package/esm/list/list/list-constants.d.ts +13 -5
- package/esm/list/list/list-constants.js +15 -7
- package/esm/list/list/list-foundation.d.ts +24 -16
- package/esm/list/list/list-foundation.js +84 -75
- package/esm/list/list/list.d.ts +47 -8
- package/esm/list/list/list.js +83 -11
- package/esm/list/list-item/list-item-adapter.d.ts +39 -90
- package/esm/list/list-item/list-item-adapter.js +147 -127
- package/esm/list/list-item/list-item-constants.d.ts +31 -27
- package/esm/list/list-item/list-item-constants.js +19 -32
- package/esm/list/list-item/list-item-foundation.d.ts +41 -56
- package/esm/list/list-item/list-item-foundation.js +139 -204
- package/esm/list/list-item/list-item.d.ts +120 -37
- package/esm/list/list-item/list-item.js +171 -84
- package/esm/list-dropdown/list-dropdown-adapter.js +1 -6
- package/esm/list-dropdown/list-dropdown-constants.d.ts +4 -0
- package/esm/list-dropdown/list-dropdown-utils.js +23 -24
- package/esm/menu/menu-constants.js +1 -1
- package/esm/menu/menu-foundation.js +0 -4
- package/esm/menu/menu.js +1 -1
- package/esm/paginator/paginator-adapter.d.ts +30 -24
- package/esm/paginator/paginator-adapter.js +68 -0
- package/esm/paginator/paginator-constants.js +4 -4
- package/esm/paginator/paginator-foundation.d.ts +35 -80
- package/esm/paginator/paginator-foundation.js +221 -255
- package/esm/paginator/paginator.d.ts +1 -2
- package/esm/paginator/paginator.js +5 -4
- package/esm/popup/popup-adapter.d.ts +3 -1
- package/esm/popup/popup-adapter.js +3 -0
- package/esm/popup/popup-foundation.js +5 -3
- package/esm/popup/popup.d.ts +4 -1
- package/esm/popup/popup.js +1 -1
- package/esm/profile-card/profile-card.js +2 -2
- package/esm/quantity-field/quantity-field-constants.js +2 -2
- package/esm/select/core/base-select-adapter.js +3 -0
- package/esm/select/core/base-select-foundation.js +3 -1
- package/esm/select/option/option-constants.d.ts +1 -0
- package/esm/select/option/option-constants.js +1 -0
- package/esm/select/option/option-foundation.d.ts +13 -0
- package/esm/select/option/option-foundation.js +28 -0
- package/esm/select/option/option.d.ts +7 -0
- package/esm/select/option/option.js +13 -0
- package/esm/slider/slider-adapter.d.ts +1 -1
- package/esm/slider/slider-adapter.js +3 -2
- package/esm/slider/slider-constants.js +3 -3
- package/esm/slider/slider.d.ts +6 -11
- package/esm/slider/slider.js +11 -7
- package/esm/split-button/index.d.ts +10 -0
- package/esm/split-button/index.js +14 -0
- package/esm/split-button/split-button-adapter.d.ts +30 -0
- package/esm/split-button/split-button-adapter.js +84 -0
- package/esm/split-button/split-button-constants.d.ts +21 -0
- package/esm/split-button/split-button-constants.js +23 -0
- package/esm/split-button/split-button-foundation.d.ts +37 -0
- package/esm/split-button/split-button-foundation.js +77 -0
- package/esm/split-button/split-button.d.ts +57 -0
- package/esm/split-button/split-button.js +103 -0
- package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
- package/esm/state-layer/state-layer-adapter.js +1 -0
- package/esm/state-layer/state-layer-foundation.js +10 -1
- package/esm/state-layer/state-layer.js +1 -1
- package/esm/stepper/stepper/stepper-foundation.js +1 -1
- package/esm/switch/index.d.ts +2 -0
- package/esm/switch/index.js +2 -0
- package/esm/switch/switch-adapter.d.ts +64 -0
- package/esm/switch/switch-adapter.js +151 -0
- package/esm/switch/switch-component-delegate.d.ts +22 -6
- package/esm/switch/switch-component-delegate.js +64 -29
- package/esm/switch/switch-constants.d.ts +23 -6
- package/esm/switch/switch-constants.js +29 -10
- package/esm/switch/switch-foundation.d.ts +65 -0
- package/esm/switch/switch-foundation.js +162 -0
- package/esm/switch/switch.d.ts +162 -33
- package/esm/switch/switch.js +249 -136
- package/esm/table/table-foundation.d.ts +2 -0
- package/esm/table/table-foundation.js +17 -6
- package/esm/table/table-utils.js +13 -1
- package/esm/table/types.d.ts +1 -0
- package/esm/tabs/tab/tab.js +2 -2
- package/esm/tabs/tab-bar/tab-bar-adapter.js +17 -20
- package/esm/tabs/tab-bar/tab-bar.js +1 -1
- package/esm/time-picker/time-picker-adapter.js +5 -8
- package/esm/time-picker/time-picker-foundation.js +3 -3
- package/esm/toast/toast-adapter.d.ts +1 -1
- package/esm/toast/toast-adapter.js +1 -1
- package/esm/toast/toast.js +2 -2
- package/package.json +1 -7
- package/styles/app-bar/_mixins.scss +9 -4
- package/styles/banner/banner.scss +0 -1
- package/styles/bottom-sheet/bottom-sheet.scss +0 -1
- package/styles/busy-indicator/_mixins.scss +1 -1
- package/styles/busy-indicator/busy-indicator.scss +0 -1
- package/styles/button/_configuration.scss +16 -0
- package/styles/button/_core.scss +183 -0
- package/styles/button/_token-utils.scss +30 -0
- package/styles/button/button.scss +208 -0
- package/styles/button/index.scss +8 -0
- package/styles/button-area/_mixins.scss +47 -0
- package/styles/button-area/button-area.scss +16 -0
- package/styles/button-toggle/button-toggle/_mixins.scss +26 -7
- package/styles/calendar/calendar-menu/_mixins.scss +48 -2
- package/styles/calendar/calendar.scss +0 -4
- package/styles/{button/forge-button.scss → checkbox/_configuration.scss} +4 -3
- package/styles/checkbox/_core.scss +157 -0
- package/styles/checkbox/_token-utils.scss +30 -0
- package/styles/checkbox/checkbox.scss +143 -7
- package/styles/checkbox/index.scss +8 -0
- package/styles/chip-field/_base.scss +1 -0
- package/styles/chip-field/_selector.scss +2 -2
- package/styles/chips/chip/_mixins.scss +21 -7
- package/styles/circular-progress/_configuration.scss +8 -15
- package/styles/circular-progress/_core.scss +19 -19
- package/styles/circular-progress/_token-utils.scss +30 -0
- package/styles/circular-progress/circular-progress.scss +51 -4
- package/styles/circular-progress/index.scss +1 -0
- package/styles/color-picker/color-picker.scss +0 -3
- package/styles/core/styles/_utils.scss +148 -11
- package/styles/core/styles/scrollbar/index.scss +45 -0
- package/styles/core/styles/spacing/index.scss +8 -1
- package/styles/core/styles/theme/_color-utils.scss +63 -0
- package/styles/core/styles/theme/_utils.scss +82 -0
- package/styles/core/styles/theme/index.scss +39 -13
- package/styles/core/styles/tokens/_token-utils.scss +118 -0
- package/styles/core/styles/tokens/button/_tokens.scss +115 -0
- package/styles/core/styles/tokens/checkbox/_tokens.scss +69 -0
- package/styles/core/styles/tokens/circular-progress/_tokens.scss +13 -3
- package/styles/core/styles/tokens/color-palette/_extended-color-palette.scss +88 -0
- package/styles/core/styles/tokens/color-palette/index.scss +7 -0
- package/styles/core/styles/tokens/focus-indicator/_tokens.scss +8 -5
- package/styles/core/styles/tokens/icon-button/_tokens.scss +106 -0
- package/styles/core/styles/tokens/index.scss +0 -1
- package/styles/core/styles/tokens/linear-progress/_tokens.scss +15 -4
- package/styles/core/styles/tokens/list/list/_tokens.scss +16 -0
- package/styles/core/styles/tokens/list/list-item/_tokens.scss +77 -0
- package/styles/core/styles/tokens/scrollbar/_tokens.scss +26 -0
- package/styles/core/styles/tokens/slider/_tokens.scss +9 -11
- package/styles/core/styles/tokens/spacing/_tokens.scss +25 -11
- package/styles/core/styles/tokens/split-button/_tokens.scss +21 -0
- package/styles/core/styles/tokens/state-layer/_tokens.scss +5 -5
- package/styles/core/styles/tokens/switch/_tokens.scss +108 -0
- package/styles/core/styles/tokens/tabs/tab/_tokens.scss +3 -1
- package/styles/core/styles/tokens/tabs/tab-bar/_tokens.scss +3 -3
- package/styles/core/styles/tokens/theme/_color-emphasis.scss +38 -0
- package/styles/core/styles/tokens/theme/_token-utils.scss +50 -0
- package/styles/core/styles/tokens/theme/_tokens.core.scss +45 -0
- package/styles/core/styles/tokens/theme/_tokens.scss +62 -117
- package/styles/core/styles/tokens/theme/_tokens.status.scss +49 -0
- package/styles/core/styles/tokens/theme/_tokens.surface.scss +65 -0
- package/styles/core/styles/tokens/theme/_tokens.text.scss +38 -0
- package/styles/core/styles/tokens/theme/_tokens.utilities.scss +30 -0
- package/styles/core/styles/tokens/typography/_scale.scss +39 -0
- package/styles/core/styles/tokens/typography/_tokens.body.scss +41 -0
- package/styles/core/styles/tokens/typography/_tokens.core.scss +31 -0
- package/styles/core/styles/tokens/typography/_tokens.display.scss +67 -0
- package/styles/core/styles/tokens/typography/_tokens.heading.scss +70 -0
- package/styles/core/styles/tokens/typography/_tokens.label.scss +36 -0
- package/styles/core/styles/tokens/typography/_tokens.scss +16 -211
- package/styles/core/styles/tokens/typography/_tokens.subheading.scss +66 -0
- package/styles/core/styles/tokens/typography/_type-utils.scss +37 -0
- package/styles/core/styles/tokens/typography/_weight.scss +20 -0
- package/styles/core/styles/typography/index.scss +56 -6
- package/styles/file-picker/_mixins.scss +1 -1
- package/styles/focus-indicator/_animations.scss +6 -4
- package/styles/focus-indicator/_configuration.scss +2 -15
- package/styles/focus-indicator/_core.scss +20 -25
- package/styles/focus-indicator/_token-utils.scss +31 -0
- package/styles/focus-indicator/focus-indicator.scss +28 -6
- package/styles/focus-indicator/index.scss +1 -0
- package/styles/forge.scss +0 -2
- package/styles/icon-button/_configuration.scss +16 -0
- package/styles/icon-button/_core.scss +145 -0
- package/styles/icon-button/_token-utils.scss +30 -0
- package/styles/icon-button/icon-button.scss +315 -0
- package/styles/icon-button/index.scss +8 -0
- package/styles/label/_core.scss +17 -0
- package/styles/{icon-button/forge-icon-button.scss → label/index.scss} +1 -3
- package/styles/label/label.scss +18 -0
- package/styles/linear-progress/_animations.scss +3 -1
- package/styles/linear-progress/_configuration.scss +15 -16
- package/styles/linear-progress/_core.scss +17 -19
- package/styles/linear-progress/_token-utils.scss +31 -0
- package/styles/linear-progress/index.scss +1 -0
- package/styles/linear-progress/linear-progress.scss +42 -6
- package/styles/list/list/_configuration.scss +10 -0
- package/styles/list/list/_core.scss +16 -0
- package/styles/list/list/_token-utils.scss +30 -0
- package/styles/list/list/index.scss +8 -0
- package/styles/list/list/list.scss +29 -3
- package/styles/list/list-item/_configuration.scss +16 -0
- package/styles/list/list-item/_core.scss +195 -0
- package/styles/list/list-item/_token-utils.scss +30 -0
- package/styles/list/list-item/index.scss +8 -0
- package/styles/list/list-item/list-item.scss +199 -12
- package/styles/menu/menu.scss +1 -1
- package/styles/paginator/paginator.scss +0 -1
- package/styles/profile-card/profile-card.scss +0 -1
- package/styles/slider/_configuration.scss +5 -50
- package/styles/slider/_core.scss +59 -70
- package/styles/slider/_token-utils.scss +30 -0
- package/styles/slider/index.scss +1 -0
- package/styles/slider/slider.scss +28 -5
- package/styles/split-button/_configuration.scss +12 -0
- package/styles/split-button/_token-utils.scss +30 -0
- package/styles/split-button/index.scss +7 -0
- package/styles/split-button/split-button.scss +97 -0
- package/styles/state-layer/_configuration.scss +2 -9
- package/styles/state-layer/_core.scss +11 -16
- package/styles/state-layer/_token-utils.scss +31 -0
- package/styles/state-layer/index.scss +1 -0
- package/styles/state-layer/state-layer.scss +7 -0
- package/styles/switch/_configuration.scss +10 -0
- package/styles/switch/_core.scss +252 -0
- package/styles/switch/_token-utils.scss +30 -0
- package/styles/switch/index.scss +8 -0
- package/styles/switch/switch.scss +167 -47
- package/styles/table/_mixins.scss +20 -2
- package/styles/tabs/tab/_configuration.scss +7 -44
- package/styles/tabs/tab/_core.scss +30 -35
- package/styles/tabs/tab/_token-utils.scss +30 -0
- package/styles/tabs/tab/index.scss +1 -0
- package/styles/tabs/tab/tab.scss +89 -45
- package/styles/tabs/tab-bar/_configuration.scss +2 -5
- package/styles/tabs/tab-bar/_core.scss +26 -9
- package/styles/tabs/tab-bar/_token-utils.scss +30 -0
- package/styles/tabs/tab-bar/index.scss +2 -1
- package/styles/tabs/tab-bar/tab-bar.scss +68 -34
- package/styles/theme/_theme-dark.scss +0 -2
- package/styles/theme/_theme.scss +3 -45
- package/styles/theme/forge-theme.scss +21 -3
- package/styles/toast/_mixins.scss +1 -1
- package/styles/toast/toast.scss +0 -2
- package/styles/typography/_mixins.scss +0 -20
- package/styles/typography/forge-typography.scss +5 -2
- package/dist/button/forge-button.css +0 -6
- package/dist/esm/chunks/chunk.2AJ7FFI6.js +0 -7
- package/dist/esm/chunks/chunk.2AJ7FFI6.js.map +0 -7
- package/dist/esm/chunks/chunk.3HB22HCX.js +0 -7
- package/dist/esm/chunks/chunk.4C6KHYUO.js +0 -7
- package/dist/esm/chunks/chunk.54OOOQ4R.js +0 -7
- package/dist/esm/chunks/chunk.54OOOQ4R.js.map +0 -7
- package/dist/esm/chunks/chunk.5565ZSTH.js +0 -7
- package/dist/esm/chunks/chunk.6GC5AJPE.js +0 -7
- package/dist/esm/chunks/chunk.6GC5AJPE.js.map +0 -7
- package/dist/esm/chunks/chunk.6OUJSOJY.js +0 -7
- package/dist/esm/chunks/chunk.7CGKFRBK.js +0 -7
- package/dist/esm/chunks/chunk.7CGKFRBK.js.map +0 -7
- package/dist/esm/chunks/chunk.7DB3XVPI.js +0 -7
- package/dist/esm/chunks/chunk.ALIYGJXA.js +0 -129
- package/dist/esm/chunks/chunk.ALIYGJXA.js.map +0 -7
- package/dist/esm/chunks/chunk.B4T3R53C.js +0 -7
- package/dist/esm/chunks/chunk.BH2TUG2V.js +0 -7
- package/dist/esm/chunks/chunk.BH2TUG2V.js.map +0 -7
- package/dist/esm/chunks/chunk.BKL2BAYW.js +0 -7
- package/dist/esm/chunks/chunk.BKL2BAYW.js.map +0 -7
- package/dist/esm/chunks/chunk.BY25RT52.js +0 -7
- package/dist/esm/chunks/chunk.CDGZYUQS.js +0 -7
- package/dist/esm/chunks/chunk.CKW7KKDW.js +0 -7
- package/dist/esm/chunks/chunk.CKW7KKDW.js.map +0 -7
- package/dist/esm/chunks/chunk.CXY6K7EI.js +0 -7
- package/dist/esm/chunks/chunk.CXY6K7EI.js.map +0 -7
- package/dist/esm/chunks/chunk.D5TAI6Q7.js +0 -7
- package/dist/esm/chunks/chunk.D5TAI6Q7.js.map +0 -7
- package/dist/esm/chunks/chunk.DBNJHUYY.js +0 -7
- package/dist/esm/chunks/chunk.DBNJHUYY.js.map +0 -7
- package/dist/esm/chunks/chunk.DMCBAYQX.js +0 -7
- package/dist/esm/chunks/chunk.DMCBAYQX.js.map +0 -7
- package/dist/esm/chunks/chunk.DXN7ZOH3.js +0 -7
- package/dist/esm/chunks/chunk.DXN7ZOH3.js.map +0 -7
- package/dist/esm/chunks/chunk.F4VXEE76.js +0 -7
- package/dist/esm/chunks/chunk.F4VXEE76.js.map +0 -7
- package/dist/esm/chunks/chunk.F5SY2D4B.js +0 -7
- package/dist/esm/chunks/chunk.F74YURLV.js +0 -7
- package/dist/esm/chunks/chunk.F74YURLV.js.map +0 -7
- package/dist/esm/chunks/chunk.FG2GNAM2.js +0 -7
- package/dist/esm/chunks/chunk.FG2GNAM2.js.map +0 -7
- package/dist/esm/chunks/chunk.GNG64TXK.js +0 -7
- package/dist/esm/chunks/chunk.GNG64TXK.js.map +0 -7
- package/dist/esm/chunks/chunk.GO5A4GKZ.js +0 -7
- package/dist/esm/chunks/chunk.GO5A4GKZ.js.map +0 -7
- package/dist/esm/chunks/chunk.HHCO64F3.js +0 -7
- package/dist/esm/chunks/chunk.HHCO64F3.js.map +0 -7
- package/dist/esm/chunks/chunk.ISC7SZSP.js +0 -7
- package/dist/esm/chunks/chunk.ISC7SZSP.js.map +0 -7
- package/dist/esm/chunks/chunk.IX25DYIM.js +0 -7
- package/dist/esm/chunks/chunk.IX25DYIM.js.map +0 -7
- package/dist/esm/chunks/chunk.JUJGROHA.js +0 -7
- package/dist/esm/chunks/chunk.JUJGROHA.js.map +0 -7
- package/dist/esm/chunks/chunk.KJP2VA6Q.js +0 -7
- package/dist/esm/chunks/chunk.KJP2VA6Q.js.map +0 -7
- package/dist/esm/chunks/chunk.LK4AAUOP.js +0 -7
- package/dist/esm/chunks/chunk.LK4AAUOP.js.map +0 -7
- package/dist/esm/chunks/chunk.LXPFG7MW.js +0 -7
- package/dist/esm/chunks/chunk.LXPFG7MW.js.map +0 -7
- package/dist/esm/chunks/chunk.MACPUZC2.js +0 -7
- package/dist/esm/chunks/chunk.MACPUZC2.js.map +0 -7
- package/dist/esm/chunks/chunk.MGLL67VO.js +0 -7
- package/dist/esm/chunks/chunk.MXEKIEJA.js +0 -7
- package/dist/esm/chunks/chunk.MXEKIEJA.js.map +0 -7
- package/dist/esm/chunks/chunk.N43BCJHN.js +0 -7
- package/dist/esm/chunks/chunk.N43BCJHN.js.map +0 -7
- package/dist/esm/chunks/chunk.P2CW5MQO.js +0 -12
- package/dist/esm/chunks/chunk.P2CW5MQO.js.map +0 -7
- package/dist/esm/chunks/chunk.P2ZCNO63.js +0 -7
- package/dist/esm/chunks/chunk.P2ZCNO63.js.map +0 -7
- package/dist/esm/chunks/chunk.PEBT47AU.js +0 -7
- package/dist/esm/chunks/chunk.PH3HUFJJ.js +0 -7
- package/dist/esm/chunks/chunk.PH3HUFJJ.js.map +0 -7
- package/dist/esm/chunks/chunk.Q7JUJNYD.js +0 -7
- package/dist/esm/chunks/chunk.QCRRHGBA.js +0 -7
- package/dist/esm/chunks/chunk.QCRRHGBA.js.map +0 -7
- package/dist/esm/chunks/chunk.SBYX7VZ4.js +0 -7
- package/dist/esm/chunks/chunk.SFCGOCQK.js +0 -7
- package/dist/esm/chunks/chunk.SJJS4LYN.js +0 -7
- package/dist/esm/chunks/chunk.TYLOAD7R.js +0 -7
- package/dist/esm/chunks/chunk.UJ2WQOLO.js +0 -7
- package/dist/esm/chunks/chunk.UJ2WQOLO.js.map +0 -7
- package/dist/esm/chunks/chunk.VVXSELXX.js +0 -7
- package/dist/esm/chunks/chunk.VVXSELXX.js.map +0 -7
- package/dist/esm/chunks/chunk.VZWNNK7A.js +0 -7
- package/dist/esm/chunks/chunk.VZWNNK7A.js.map +0 -7
- package/dist/esm/chunks/chunk.X3C3J5MH.js +0 -7
- package/dist/esm/chunks/chunk.X3C3J5MH.js.map +0 -7
- package/dist/esm/chunks/chunk.XGOAYMK2.js +0 -7
- package/dist/esm/chunks/chunk.XGOAYMK2.js.map +0 -7
- package/dist/esm/chunks/chunk.YRMR7IOS.js +0 -7
- package/dist/esm/chunks/chunk.YRMR7IOS.js.map +0 -7
- package/dist/esm/chunks/chunk.YX7WLO5Y.js +0 -7
- package/dist/esm/chunks/chunk.YZLASVCK.js +0 -177
- package/dist/esm/chunks/chunk.YZLASVCK.js.map +0 -7
- package/dist/esm/chunks/chunk.ZDD2NLGP.js +0 -7
- package/dist/esm/chunks/chunk.ZKGSQQGU.js +0 -12
- package/dist/esm/chunks/chunk.ZKGSQQGU.js.map +0 -7
- package/dist/esm/chunks/chunk.ZVBZ3LGP.js +0 -7
- package/dist/esm/chunks/chunk.ZVBZ3LGP.js.map +0 -7
- package/dist/icon-button/forge-icon-button.css +0 -6
- package/styles/button/_button-base.scss +0 -183
- package/styles/button/_button-filled-theme.scss +0 -60
- package/styles/button/_button-filled.scss +0 -71
- package/styles/button/_button-outlined-theme.scss +0 -175
- package/styles/button/_button-outlined.scss +0 -76
- package/styles/button/_button-protected-theme.scss +0 -60
- package/styles/button/_button-protected.scss +0 -88
- package/styles/button/_button-ripple.scss +0 -69
- package/styles/button/_button-shared-theme.scss +0 -447
- package/styles/button/_button-text-theme.scss +0 -60
- package/styles/button/_button-text.scss +0 -57
- package/styles/button/_button.mixins.scss +0 -148
- package/styles/button/_mixins.scss +0 -183
- package/styles/checkbox/_checkbox-custom-properties.scss +0 -11
- package/styles/checkbox/_checkbox-theme.scss +0 -577
- package/styles/checkbox/_checkbox.mixins.scss +0 -595
- package/styles/icon-button/_mixins.scss +0 -345
- package/styles/icon-button/_variables.scss +0 -42
- package/styles/list/list/_mixins.scss +0 -45
- package/styles/list/list-item/_mixins.scss +0 -413
- package/styles/list/list-item/_variables.scss +0 -43
- package/styles/switch/_switch-mixins.scss +0 -301
- package/styles/switch/_switch-theme.scss +0 -701
- /package/dist/esm/chunks/{chunk.SMGXXR6K.js.map → chunk.2MSL7CYM.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.M56LSSPW.js.map → chunk.3HCYRDRI.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.4ZKX3SO5.js.map → chunk.3R4BUIQP.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.YWNCJ7XP.js.map → chunk.3ZPSN2QG.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.LFODKHUO.js.map → chunk.5N4N6DL6.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.QOJESHEV.js.map → chunk.675V42JS.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.DG4ZM3AW.js.map → chunk.AMLT6XJP.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.MTKSU2BV.js.map → chunk.APPY5AYL.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.4YFVG4KP.js.map → chunk.ARQMMZJL.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.5MZ5SGMO.js.map → chunk.BB4UF5RX.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.Q7Z3SJ5F.js.map → chunk.DTLZOIUQ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.OWCYRSI3.js.map → chunk.FLWNOP42.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.S3JMOOWC.js.map → chunk.FXIWCHLW.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.CWTV3TB3.js.map → chunk.GNDKQPDV.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ULY4H76N.js.map → chunk.HAKF2T2D.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.WPG7NNQX.js.map → chunk.HOLCNJXC.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.W4247Q2P.js.map → chunk.HRRJIFC5.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.SU4FU7GK.js.map → chunk.IDMDBMBR.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.FCATJM34.js.map → chunk.IHAHJPMB.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.XKI46BH2.js.map → chunk.IMLJD35R.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.624UKZFU.js.map → chunk.IT7XPDAV.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.JLLHDJSO.js.map → chunk.JVLJH6PR.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.4C6KHYUO.js.map → chunk.KPJWP77R.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.2EWV2XBP.js.map → chunk.KV5IKYG2.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.A62DE5PD.js.map → chunk.LCR4YH3O.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.FWFOOQMA.js.map → chunk.LOG6GQOK.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.YLG6ZC5K.js.map → chunk.NUMKGUCK.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.XI3MJSIS.js.map → chunk.O6V3YNMO.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.TK5I4RHF.js.map → chunk.QLCVRJ3Q.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.Q7JUJNYD.js.map → chunk.RP674CRC.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.LTT67HTW.js.map → chunk.SLJ6HDK7.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.6OW6Q3EW.js.map → chunk.TU74SREL.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.EK24Y56W.js.map → chunk.URJQNB3S.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.K3KAM2PL.js.map → chunk.W2LN45WY.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.Z6FCL3G3.js.map → chunk.XEFWZKHQ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.NR3MLTXF.js.map → chunk.XLL7L2UB.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.3HB22HCX.js.map → chunk.XYAZVLPR.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.2QHD3DCR.js.map → chunk.YAERJVPL.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ZDD2NLGP.js.map → chunk.YBZK6LJZ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ZJC2DSNM.js.map → chunk.Z5ZLKM7W.js.map} +0 -0
- /package/styles/core/styles/tokens/{_color-palette.scss → color-palette/_material-color-palette.scss} +0 -0
|
@@ -3,278 +3,221 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { matchesSelectors } from '@tylertech/forge-core';
|
|
7
6
|
import { LIST_ITEM_CONSTANTS } from './list-item-constants';
|
|
8
|
-
/**
|
|
9
|
-
* The foundation class behind the `<forge-list-item>` component.
|
|
10
|
-
*/
|
|
11
7
|
export class ListItemFoundation {
|
|
12
8
|
constructor(_adapter) {
|
|
13
9
|
this._adapter = _adapter;
|
|
14
|
-
this.
|
|
15
|
-
this.
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
18
|
-
this._active = false;
|
|
19
|
-
this._selected = false;
|
|
10
|
+
this._target = '';
|
|
11
|
+
this._download = '';
|
|
12
|
+
this._rel = '';
|
|
13
|
+
this._nonInteractive = false;
|
|
20
14
|
this._disabled = false;
|
|
15
|
+
this._selected = false;
|
|
16
|
+
this._active = false;
|
|
21
17
|
this._dense = false;
|
|
22
18
|
this._propagateClick = true;
|
|
23
19
|
this._indented = false;
|
|
20
|
+
this._twoLine = false;
|
|
21
|
+
this._threeLine = false;
|
|
24
22
|
this._wrap = false;
|
|
25
|
-
this._clickListener =
|
|
26
|
-
this.
|
|
27
|
-
this._keydownListener =
|
|
23
|
+
this._clickListener = this._onClick.bind(this);
|
|
24
|
+
this._pointerDownListener = this._onPointerDown.bind(this);
|
|
25
|
+
this._keydownListener = this._onKeydown.bind(this);
|
|
28
26
|
}
|
|
29
27
|
initialize() {
|
|
30
|
-
this._adapter.
|
|
31
|
-
this.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
if (!this._static) {
|
|
38
|
-
this._adapter.addListener('click', this._clickListener);
|
|
39
|
-
this._adapter.addListener('mousedown', this._mouseDownListener, { passive: false, capture: true });
|
|
40
|
-
this._adapter.addListener('keydown', this._keydownListener);
|
|
41
|
-
}
|
|
42
|
-
if (this._threeLine) {
|
|
43
|
-
this._adapter.setThreeLine(this._threeLine);
|
|
44
|
-
}
|
|
45
|
-
else if (this.twoLine) {
|
|
46
|
-
this._adapter.setTwoLine(this._twoLine);
|
|
47
|
-
}
|
|
48
|
-
const isSelected = this._adapter.trySelect(this._value);
|
|
49
|
-
if (isSelected != null) {
|
|
50
|
-
this._selected = isSelected;
|
|
28
|
+
this._adapter.initialize();
|
|
29
|
+
if (!this._nonInteractive && !this._disabled) {
|
|
30
|
+
this._adapter.addHostListener('click', this._clickListener);
|
|
31
|
+
this._adapter.addHostListener('keydown', this._keydownListener);
|
|
32
|
+
if (!this._propagateClick) {
|
|
33
|
+
this._adapter.addHostListener('pointerdown', this._pointerDownListener);
|
|
34
|
+
}
|
|
51
35
|
}
|
|
52
36
|
}
|
|
53
37
|
disconnect() {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
38
|
+
this._adapter.removeHostListener('click', this._clickListener);
|
|
39
|
+
this._adapter.removeHostListener('pointerdown', this._pointerDownListener);
|
|
40
|
+
this._adapter.removeHostListener('keydown', this._keydownListener);
|
|
41
|
+
}
|
|
42
|
+
setFocus() {
|
|
43
|
+
this._adapter.setFocus();
|
|
44
|
+
}
|
|
45
|
+
click() {
|
|
46
|
+
if (this._href) {
|
|
47
|
+
this._adapter.clickAnchor();
|
|
57
48
|
}
|
|
58
|
-
|
|
59
|
-
this.
|
|
60
|
-
this._rippleInstance = undefined;
|
|
49
|
+
else {
|
|
50
|
+
this._adapter.clickHost();
|
|
61
51
|
}
|
|
62
52
|
}
|
|
63
|
-
|
|
64
|
-
if (this._adapter.
|
|
53
|
+
_onPointerDown(evt) {
|
|
54
|
+
if (this._adapter.isFocused()) {
|
|
65
55
|
evt.preventDefault();
|
|
66
56
|
}
|
|
67
57
|
}
|
|
68
58
|
_onKeydown(evt) {
|
|
69
59
|
if (evt.key === 'Enter' || evt.key === ' ') {
|
|
70
|
-
if (evt.key === ' ') {
|
|
60
|
+
if (!this._href && evt.key === ' ') {
|
|
71
61
|
evt.preventDefault();
|
|
72
62
|
}
|
|
63
|
+
this._adapter.animateStateLayer();
|
|
73
64
|
this._select(evt.target);
|
|
74
65
|
}
|
|
75
66
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
* @param evt
|
|
79
|
-
*/
|
|
80
|
-
_onClick(evt) {
|
|
81
|
-
this._select(evt.target);
|
|
67
|
+
_onClick(event) {
|
|
68
|
+
this._select(event.target);
|
|
82
69
|
}
|
|
83
70
|
_select(targetElement) {
|
|
84
|
-
const ignoreElement = targetElement === null || targetElement === void 0 ? void 0 : targetElement.
|
|
85
|
-
if (this.
|
|
71
|
+
const ignoreElement = targetElement === null || targetElement === void 0 ? void 0 : targetElement.matches(LIST_ITEM_CONSTANTS.selectors.IGNORE);
|
|
72
|
+
if (this._nonInteractive || this._disabled || ignoreElement) {
|
|
86
73
|
return;
|
|
87
74
|
}
|
|
88
|
-
if (!this._adapter.
|
|
75
|
+
if (!this._adapter.isFocused() && this._propagateClick) {
|
|
89
76
|
this.setFocus();
|
|
90
77
|
}
|
|
91
|
-
if (this._href) {
|
|
92
|
-
if (this._target) {
|
|
93
|
-
window.open(this._href, this._target);
|
|
94
|
-
}
|
|
95
|
-
else {
|
|
96
|
-
document.location.href = this._href;
|
|
97
|
-
}
|
|
98
|
-
return;
|
|
99
|
-
}
|
|
100
78
|
// If the target was not a checkbox or radio button, attempt to find one and toggle its checked state
|
|
101
|
-
if (!
|
|
102
|
-
this._adapter.
|
|
79
|
+
if (!targetElement.matches(LIST_ITEM_CONSTANTS.selectors.CHECKBOX_RADIO_SELECTOR)) {
|
|
80
|
+
this._adapter.tryToggleSelectionControl();
|
|
103
81
|
}
|
|
104
82
|
const data = {
|
|
105
83
|
value: this._value,
|
|
106
|
-
listItem: this._adapter.
|
|
84
|
+
listItem: this._adapter.hostElement
|
|
107
85
|
};
|
|
108
86
|
this._adapter.emitHostEvent(LIST_ITEM_CONSTANTS.events.SELECT, data);
|
|
109
87
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
return this._ripple;
|
|
88
|
+
get href() {
|
|
89
|
+
return this._href;
|
|
113
90
|
}
|
|
114
|
-
set
|
|
115
|
-
if (this.
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
this._ripple = value;
|
|
121
|
-
this._setRipple();
|
|
122
|
-
this._adapter.setHostAttribute(LIST_ITEM_CONSTANTS.attributes.RIPPLE, String(this._ripple));
|
|
91
|
+
set href(value) {
|
|
92
|
+
if (this._href !== value) {
|
|
93
|
+
this._href = value;
|
|
94
|
+
this._adapter.setHref(this._href);
|
|
95
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.HREF, !!this._href, this._href);
|
|
123
96
|
}
|
|
124
97
|
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
return this._static;
|
|
98
|
+
get target() {
|
|
99
|
+
return this._target;
|
|
128
100
|
}
|
|
129
|
-
set
|
|
130
|
-
if (this.
|
|
131
|
-
this.
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
this._setRipple();
|
|
135
|
-
// Toggle the click listener
|
|
136
|
-
if (this._static) {
|
|
137
|
-
this._adapter.removeListener('click', this._clickListener);
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
this._adapter.addListener('click', this._clickListener);
|
|
141
|
-
}
|
|
142
|
-
if (this._static) {
|
|
143
|
-
this._adapter.setHostAttribute(LIST_ITEM_CONSTANTS.attributes.STATIC);
|
|
144
|
-
}
|
|
145
|
-
else {
|
|
146
|
-
this._adapter.removeHostAttribute(LIST_ITEM_CONSTANTS.attributes.STATIC);
|
|
101
|
+
set target(value) {
|
|
102
|
+
if (this._target !== value) {
|
|
103
|
+
this._target = value;
|
|
104
|
+
if (this._href) {
|
|
105
|
+
this._adapter.setAnchorTarget(this._target);
|
|
147
106
|
}
|
|
107
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.TARGET, !!this._target, this._target);
|
|
148
108
|
}
|
|
149
109
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
return this._twoLine;
|
|
110
|
+
get download() {
|
|
111
|
+
return this._download;
|
|
153
112
|
}
|
|
154
|
-
set
|
|
155
|
-
if (this.
|
|
156
|
-
this.
|
|
157
|
-
this._adapter.
|
|
158
|
-
|
|
159
|
-
this._adapter.setHostAttribute(LIST_ITEM_CONSTANTS.attributes.TWO_LINE);
|
|
160
|
-
}
|
|
161
|
-
else {
|
|
162
|
-
this._adapter.removeHostAttribute(LIST_ITEM_CONSTANTS.attributes.TWO_LINE);
|
|
163
|
-
}
|
|
113
|
+
set download(value) {
|
|
114
|
+
if (this._download !== value) {
|
|
115
|
+
this._download = value;
|
|
116
|
+
this._adapter.setAnchorDownload(this._download);
|
|
117
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.DOWNLOAD, !!this._download, this._download);
|
|
164
118
|
}
|
|
165
119
|
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
return this._threeLine;
|
|
120
|
+
get rel() {
|
|
121
|
+
return this._rel;
|
|
169
122
|
}
|
|
170
|
-
set
|
|
171
|
-
if (this.
|
|
172
|
-
this.
|
|
173
|
-
|
|
174
|
-
|
|
123
|
+
set rel(value) {
|
|
124
|
+
if (this._rel !== value) {
|
|
125
|
+
this._rel = value;
|
|
126
|
+
this._adapter.setAnchorRel(this._rel);
|
|
127
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.REL, !!this._rel, this._rel);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
get static() {
|
|
131
|
+
return this.nonInteractive;
|
|
132
|
+
}
|
|
133
|
+
set static(value) {
|
|
134
|
+
this.nonInteractive = value;
|
|
135
|
+
}
|
|
136
|
+
get nonInteractive() {
|
|
137
|
+
return this._nonInteractive;
|
|
138
|
+
}
|
|
139
|
+
set nonInteractive(value) {
|
|
140
|
+
if (this._nonInteractive !== value) {
|
|
141
|
+
this._nonInteractive = value;
|
|
142
|
+
if (this._nonInteractive) {
|
|
143
|
+
this._adapter.removeHostListener('click', this._clickListener);
|
|
175
144
|
}
|
|
176
145
|
else {
|
|
177
|
-
this._adapter.
|
|
178
|
-
}
|
|
179
|
-
if (this._threeLine) {
|
|
180
|
-
this._twoLine = false;
|
|
146
|
+
this._adapter.addHostListener('click', this._clickListener);
|
|
181
147
|
}
|
|
182
|
-
this._adapter.
|
|
183
|
-
this._adapter.
|
|
148
|
+
this._adapter.setNonInteractive(this._nonInteractive);
|
|
149
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.STATIC, this._nonInteractive);
|
|
150
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.NON_INTERACTIVE, this._nonInteractive);
|
|
184
151
|
}
|
|
185
152
|
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
return this._active;
|
|
153
|
+
get disabled() {
|
|
154
|
+
return this._disabled;
|
|
189
155
|
}
|
|
190
|
-
set
|
|
191
|
-
if (this.
|
|
192
|
-
this.
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
this._adapter.setHostAttribute(LIST_ITEM_CONSTANTS.attributes.ACTIVE);
|
|
156
|
+
set disabled(value) {
|
|
157
|
+
if (this._disabled !== value) {
|
|
158
|
+
this._disabled = value;
|
|
159
|
+
if (this._disabled) {
|
|
160
|
+
this._adapter.removeHostListener('click', this._clickListener);
|
|
196
161
|
}
|
|
197
162
|
else {
|
|
198
|
-
this._adapter.
|
|
163
|
+
this._adapter.addHostListener('click', this._clickListener);
|
|
199
164
|
}
|
|
165
|
+
this._adapter.setDisabled(this._disabled);
|
|
166
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.DISABLED, this._disabled);
|
|
200
167
|
}
|
|
201
168
|
}
|
|
202
|
-
/** Gets/sets whether the list item is selected or not. */
|
|
203
169
|
get selected() {
|
|
204
170
|
return this._selected;
|
|
205
171
|
}
|
|
206
172
|
set selected(value) {
|
|
207
173
|
if (this._selected !== value) {
|
|
208
174
|
this._selected = value;
|
|
209
|
-
this._adapter.
|
|
210
|
-
this._adapter.tryToggleCheckboxRadio(this._selected);
|
|
175
|
+
this._adapter.tryToggleSelectionControl(this._selected);
|
|
211
176
|
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.SELECTED, this._selected);
|
|
212
177
|
}
|
|
213
178
|
}
|
|
214
|
-
|
|
179
|
+
get active() {
|
|
180
|
+
return this._active;
|
|
181
|
+
}
|
|
182
|
+
set active(value) {
|
|
183
|
+
if (this._active !== value) {
|
|
184
|
+
this._active = value;
|
|
185
|
+
this._adapter.setActive(this._active);
|
|
186
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.ACTIVE, this._active);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
215
189
|
get value() {
|
|
216
190
|
return this._value;
|
|
217
191
|
}
|
|
218
192
|
set value(value) {
|
|
219
193
|
this._value = value;
|
|
220
194
|
const isSelected = this._adapter.trySelect(this._value);
|
|
221
|
-
if (isSelected
|
|
222
|
-
this.
|
|
195
|
+
if (isSelected !== null && isSelected !== this._selected) {
|
|
196
|
+
this.selected = isSelected;
|
|
223
197
|
}
|
|
224
198
|
}
|
|
225
|
-
/** Gets/sets the href link that this list item will send the browser to when clicked. */
|
|
226
|
-
get href() {
|
|
227
|
-
return this._href;
|
|
228
|
-
}
|
|
229
|
-
set href(value) {
|
|
230
|
-
if (this._href !== value) {
|
|
231
|
-
this._href = value;
|
|
232
|
-
if (this._href) {
|
|
233
|
-
this._adapter.setRole(LIST_ITEM_CONSTANTS.roles.LINK);
|
|
234
|
-
}
|
|
235
|
-
else {
|
|
236
|
-
this._adapter.setRole(LIST_ITEM_CONSTANTS.roles.LIST_ITEM);
|
|
237
|
-
}
|
|
238
|
-
this._adapter.setHostAttribute(LIST_ITEM_CONSTANTS.attributes.HREF, this._href);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
/** Gets/sets the href link target. */
|
|
242
|
-
get target() {
|
|
243
|
-
return this._target;
|
|
244
|
-
}
|
|
245
|
-
set target(value) {
|
|
246
|
-
this._target = value;
|
|
247
|
-
}
|
|
248
|
-
/** Gets/sets the disabled state. */
|
|
249
|
-
get disabled() {
|
|
250
|
-
return this._disabled;
|
|
251
|
-
}
|
|
252
|
-
set disabled(value) {
|
|
253
|
-
if (this._disabled !== value) {
|
|
254
|
-
this._disabled = value;
|
|
255
|
-
this._adapter.setDisabled(this._disabled);
|
|
256
|
-
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.DISABLED, this._disabled);
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
/** Gets/sets the dense state. */
|
|
260
199
|
get dense() {
|
|
261
200
|
return this._dense;
|
|
262
201
|
}
|
|
263
202
|
set dense(value) {
|
|
264
203
|
if (this._dense !== value) {
|
|
265
204
|
this._dense = value;
|
|
266
|
-
this._adapter.setDense(this._dense);
|
|
267
205
|
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.DENSE, this._dense);
|
|
268
206
|
}
|
|
269
207
|
}
|
|
270
|
-
/** Gets/sets the dense state. */
|
|
271
208
|
get propagateClick() {
|
|
272
209
|
return this._propagateClick;
|
|
273
210
|
}
|
|
274
211
|
set propagateClick(value) {
|
|
275
212
|
if (this._propagateClick !== value) {
|
|
276
213
|
this._propagateClick = value;
|
|
277
|
-
|
|
214
|
+
if (this._propagateClick) {
|
|
215
|
+
this._adapter.removeHostListener('pointerdown', this._pointerDownListener);
|
|
216
|
+
}
|
|
217
|
+
else {
|
|
218
|
+
this._adapter.addHostListener('pointerdown', this._pointerDownListener);
|
|
219
|
+
}
|
|
220
|
+
this._adapter.setHostAttribute(LIST_ITEM_CONSTANTS.attributes.PROPAGATE_CLICK, this._propagateClick ? 'true' : 'false');
|
|
278
221
|
}
|
|
279
222
|
}
|
|
280
223
|
get indented() {
|
|
@@ -283,42 +226,34 @@ export class ListItemFoundation {
|
|
|
283
226
|
set indented(value) {
|
|
284
227
|
if (this._indented !== value) {
|
|
285
228
|
this._indented = value;
|
|
286
|
-
this._adapter.setIndented(this._indented);
|
|
287
229
|
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.INDENTED, this._indented);
|
|
288
230
|
}
|
|
289
231
|
}
|
|
232
|
+
get twoLine() {
|
|
233
|
+
return this._twoLine;
|
|
234
|
+
}
|
|
235
|
+
set twoLine(value) {
|
|
236
|
+
if (this._twoLine !== value) {
|
|
237
|
+
this._twoLine = value;
|
|
238
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.TWO_LINE, this._twoLine);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
get threeLine() {
|
|
242
|
+
return this._threeLine;
|
|
243
|
+
}
|
|
244
|
+
set threeLine(value) {
|
|
245
|
+
if (this._threeLine !== value) {
|
|
246
|
+
this._threeLine = value;
|
|
247
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.THREE_LINE, this._threeLine);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
290
250
|
get wrap() {
|
|
291
251
|
return this._wrap;
|
|
292
252
|
}
|
|
293
253
|
set wrap(value) {
|
|
294
254
|
if (this._wrap !== value) {
|
|
295
255
|
this._wrap = value;
|
|
296
|
-
this._adapter.setWrap(this._wrap);
|
|
297
256
|
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.WRAP, this._wrap);
|
|
298
257
|
}
|
|
299
258
|
}
|
|
300
|
-
async _setRipple() {
|
|
301
|
-
if (this._ripple && !this._static && !this._rippleInstance) {
|
|
302
|
-
const { userInteraction, destroy } = this._adapter.userInteractionListener();
|
|
303
|
-
this._destroyUserInteractionListener = destroy;
|
|
304
|
-
const { type } = await userInteraction;
|
|
305
|
-
this._destroyUserInteractionListener = undefined;
|
|
306
|
-
if (this._ripple && !this._static && !this._rippleInstance) { // need to re-check after await
|
|
307
|
-
this._rippleInstance = this._adapter.createRipple();
|
|
308
|
-
if (type === 'focusin') {
|
|
309
|
-
this._rippleInstance.handleFocus();
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
else if ((!this._ripple || this._static) && this._rippleInstance) {
|
|
314
|
-
this._rippleInstance.destroy();
|
|
315
|
-
this._rippleInstance = undefined;
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
/**
|
|
319
|
-
* Sets focus to this list item.
|
|
320
|
-
*/
|
|
321
|
-
setFocus() {
|
|
322
|
-
this._adapter.setFocus();
|
|
323
|
-
}
|
|
324
259
|
}
|
|
@@ -3,24 +3,26 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
+
import { ICustomElement } from '@tylertech/forge-core';
|
|
6
7
|
import { IListItemSelectEventData } from './list-item-constants';
|
|
7
|
-
|
|
8
|
-
export interface IListItemComponent extends IBaseComponent {
|
|
9
|
-
static: boolean;
|
|
10
|
-
twoLine: boolean;
|
|
11
|
-
threeLine: boolean;
|
|
12
|
-
active: boolean;
|
|
13
|
-
selected: boolean;
|
|
14
|
-
value: any;
|
|
8
|
+
export interface IListItemComponent<T = unknown> extends ICustomElement {
|
|
15
9
|
href: string;
|
|
16
10
|
target: string;
|
|
17
|
-
|
|
11
|
+
download: string;
|
|
12
|
+
rel: string;
|
|
13
|
+
/** @deprecated Use nonInteractive instead. */
|
|
14
|
+
static: boolean;
|
|
15
|
+
nonInteractive: boolean;
|
|
18
16
|
disabled: boolean;
|
|
17
|
+
selected: boolean;
|
|
18
|
+
active: boolean;
|
|
19
|
+
value: T;
|
|
19
20
|
dense: boolean;
|
|
20
21
|
propagateClick: boolean;
|
|
21
22
|
indented: boolean;
|
|
23
|
+
twoLine: boolean;
|
|
24
|
+
threeLine: boolean;
|
|
22
25
|
wrap: boolean;
|
|
23
|
-
focus(): void;
|
|
24
26
|
}
|
|
25
27
|
declare global {
|
|
26
28
|
interface HTMLElementTagNameMap {
|
|
@@ -31,46 +33,127 @@ declare global {
|
|
|
31
33
|
}
|
|
32
34
|
}
|
|
33
35
|
/**
|
|
34
|
-
* The custom element class behind the `<forge-list-item>` element.
|
|
35
|
-
*
|
|
36
36
|
* @tag forge-list-item
|
|
37
|
+
*
|
|
38
|
+
* @summary List items are individual rows of content inside of a list.
|
|
39
|
+
*
|
|
40
|
+
* @property {string} href - The href of the anchor. This forces the list item to render as an anchor element.
|
|
41
|
+
* @property {string} target - The target of the anchor when an `href` is set. Defaults to `'_blank'`.
|
|
42
|
+
* @property {boolean} download - The anchor download attribute.
|
|
43
|
+
* @property {boolean} rel - The anchor rel attribute.
|
|
44
|
+
* @property {string} target - The target of the list item when an `href` is set. Defaults to `'_blank'`.
|
|
45
|
+
* @property {boolean} nonInteractive - If true, the list item will not be interactive.
|
|
46
|
+
* @property {boolean} static - If true, the list item will not be interactive. Deprecated use `nonInteractive` instead.
|
|
47
|
+
* @property {boolean} disabled - Disables the list item.
|
|
48
|
+
* @property {boolean} selected - Applies the selected state to the list item.
|
|
49
|
+
* @property {boolean} active - Applies the active state to the list item by emulating its focused state.
|
|
50
|
+
* @property {unknown} value - The unique value of the list item.
|
|
51
|
+
* @property {boolean} dense - Applies the dense state to the list item.
|
|
52
|
+
* @property {boolean} propagateClick - If true, the list item will not propagate click events to itself and therefore cannot receive focus.
|
|
53
|
+
* @property {boolean} indented - Applies the indented state by adding margin to the start of the list item.
|
|
54
|
+
* @property {boolean} twoLine - Sets the list item height to support at least two lines of text.
|
|
55
|
+
* @property {boolean} threeLine - Sets the list item height to support at least three lines of text.
|
|
56
|
+
* @property {boolean} wrap - Sets the list item to wrap its text content.
|
|
57
|
+
*
|
|
58
|
+
* @attribute {string} href - The href of the anchor This forces the list item to render as an anchor element.
|
|
59
|
+
* @attribute {string} target - The target of the anchor when an `href` is set. Defaults to `'_blank'`.
|
|
60
|
+
* @attribute {boolean} download - The anchor download attribute.
|
|
61
|
+
* @attribute {boolean} rel - The anchor rel attribute.
|
|
62
|
+
* @attribute {string} target - The target of the list item when an `href` is set. Defaults to `'_blank'`.
|
|
63
|
+
* @attribute {boolean} non-interactive - If true, the list item will not be interactive.
|
|
64
|
+
* @attribute {boolean} static - If true, the list item will not be interactive. Deprecated use `non-interactive` instead.
|
|
65
|
+
* @attribute {boolean} disabled - Disables the list item.
|
|
66
|
+
* @attribute {boolean} selected - Applies the selected state to the list item.
|
|
67
|
+
* @attribute {boolean} active - Applies the active state to the list item by emulating its focused state.
|
|
68
|
+
* @attribute {unknown} value - The unique value of the list item.
|
|
69
|
+
* @attribute {boolean} dense - Applies the dense state to the list item.
|
|
70
|
+
* @attribute {boolean} propagate-click - If applied, the list item will not propagate click events to itself and therefore cannot receive focus.
|
|
71
|
+
* @attribute {boolean} indented - Applies the indented state by adding margin to the start of the list item.
|
|
72
|
+
* @attribute {boolean} two-line - Sets the list item height to support at least two lines of text.
|
|
73
|
+
* @attribute {boolean} three-line - Sets the list item height to support at least three lines of text.
|
|
74
|
+
* @attribute {boolean} wrap - Sets the list item to wrap its text content.
|
|
75
|
+
*
|
|
76
|
+
* @event {CustomEvent<IListItemSelectEventData>} forge-list-item-select - Fires when the list item is selected.
|
|
77
|
+
*
|
|
78
|
+
* @slot - The primary text.
|
|
79
|
+
* @slot primary-text - The primary text. A named alias for the default slot.
|
|
80
|
+
* @slot secondary-text - The secondary text.
|
|
81
|
+
* @slot tertiary-text - The tertiary text.
|
|
82
|
+
* @slot title - The title element. An alias for the primary-text slot for backwards compatibility.
|
|
83
|
+
* @slot subtitle - The subtitle element. An alias for the secondary-text slot for backwards compatibility.
|
|
84
|
+
* @slot tertiary-title - The tertiary title element. An alias for the tertiary-text slot for backwards compatibility.
|
|
85
|
+
* @slot leading - The leading content.
|
|
86
|
+
* @slot trailing - The trailing element.
|
|
87
|
+
* @slot avatar - The avatar content.
|
|
88
|
+
*
|
|
89
|
+
* @csspart root - The root container element.
|
|
90
|
+
* @csspart text-container - The container for the text content.
|
|
91
|
+
* @csspart focus-indicator - The forwarded focus indicator's internal indicator element.
|
|
92
|
+
* @csspart state-layer - The forwarded state layer's internal surface element.
|
|
93
|
+
*
|
|
94
|
+
* @cssprop --forge-list-item-background-color - The background color.
|
|
95
|
+
* @cssprop --forge-list-item-shape - The shape of the list item.
|
|
96
|
+
* @cssprop --forge-list-item-padding - The padding inside of the container element.
|
|
97
|
+
* @cssprop --forge-list-item-margin - The margin around the host element.
|
|
98
|
+
* @cssprop --forge-list-item-height - The height of the container.
|
|
99
|
+
* @cssprop --forge-list-item-dense-height - The height when in the dense state.
|
|
100
|
+
* @cssprop --forge-list-item-indent - The margin inline state when in the indented state.
|
|
101
|
+
* @cssprop --forge-list-item-supporting-text-color - The text color of the supporting text.
|
|
102
|
+
* @cssprop --forge-list-item-supporting-line-height - The line height of the supporting text.
|
|
103
|
+
* @cssprop --forge-list-item-selected-color - The color when in the selected state.
|
|
104
|
+
* @cssprop --forge-list-item-opacity - The opacity of the background color when in the disabled state.
|
|
105
|
+
* @cssprop --forge-list-item-selected-leading-color - The color of the leading content when in the selected state.
|
|
106
|
+
* @cssprop --forge-list-item-selected-trailing-color - The color of the trailing content when in the selected state.
|
|
107
|
+
* @cssprop --forge-list-item-selected-supporting-text-color - The color of the supporting text when in the selected state.
|
|
108
|
+
* @cssprop --forge-list-item-disabled-opacity - The opacity of the element when in the disabled state.
|
|
109
|
+
* @cssprop --forge-list-item-disabled-cursor - The cursor when in the disabled state.
|
|
110
|
+
* @cssprop --forge-list-item-one-line-height - The line height when in the one/single line state.
|
|
111
|
+
* @cssprop --forge-list-item-two-line-height - The line height when in the two line state.
|
|
112
|
+
* @cssprop --forge-list-item-three-line-height - The line height when in the three line state.
|
|
113
|
+
* @cssprop --forge-list-item-dense-one-line-height - The line height when in the dense one/single line state.
|
|
114
|
+
* @cssprop --forge-list-item-dense-two-line-height - The line height when in the dense two line state.
|
|
115
|
+
* @cssprop --forge-list-item-dense-three-line-height - The line height when in the dense three line state.
|
|
116
|
+
* @cssprop --forge-list-item-dense-font-size - The font size when in the dense state.
|
|
117
|
+
* @cssprop --forge-list-item-dense-indent - The margin inline state when in the dense indented state.
|
|
118
|
+
* @cssprop --forge-list-item-dense-leading-margin-end - The margin end of the leading content when in the dense state.
|
|
119
|
+
* @cssprop --forge-list-item-dense-trailing-margin-start - The margin start of the trailing content when in the dense state.
|
|
120
|
+
* @cssprop --forge-list-item-leading-margin-start - The margin start of the leading content.
|
|
121
|
+
* @cssprop --forge-list-item-leading-margin-end - The margin end of the leading content.
|
|
122
|
+
* @cssprop --forge-list-item-leading-selected-color - The color of the leading content when in the selected state.
|
|
123
|
+
* @cssprop --forge-list-item-trailing-margin-start - The margin start of the trailing content.
|
|
124
|
+
* @cssprop --forge-list-item-trailing-margin-end - The margin end of the trailing content.
|
|
125
|
+
* @cssprop --forge-list-item-trailing-selected-color - The color of the trailing content when in the selected state.
|
|
126
|
+
* @cssprop --forge-list-item-avatar-background-color - The background color of the avatar container.
|
|
127
|
+
* @cssprop --forge-list-item-avatar-color - The foreground color of the avatar container.
|
|
128
|
+
* @cssprop --forge-list-item-avatar-shape - The shape of the avatar container.
|
|
129
|
+
* @cssprop --forge-list-item-avatar-margin-start - The margin start of the avatar container.
|
|
130
|
+
* @cssprop --forge-list-item-avatar-margin-end - The margin end of the avatar container.
|
|
131
|
+
* @cssprop --forge-list-item-avatar-size - The height & width of the avatar container.
|
|
37
132
|
*/
|
|
38
|
-
export declare class ListItemComponent extends
|
|
133
|
+
export declare class ListItemComponent extends HTMLElement implements IListItemComponent {
|
|
39
134
|
static get observedAttributes(): string[];
|
|
40
135
|
private _foundation;
|
|
41
136
|
constructor();
|
|
42
137
|
connectedCallback(): void;
|
|
43
138
|
disconnectedCallback(): void;
|
|
44
139
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
45
|
-
|
|
46
|
-
/** Gets/sets whether the static state of this list item. */
|
|
47
|
-
static: boolean;
|
|
48
|
-
/** Gets/sets whether the list item displays two lines of text. */
|
|
49
|
-
twoLine: boolean;
|
|
50
|
-
/** Gets/sets whether the list item displays three lines of text. */
|
|
51
|
-
threeLine: boolean;
|
|
52
|
-
/** Gets/sets whether the list item is active or not. */
|
|
53
|
-
active: boolean;
|
|
54
|
-
/** Gets/sets whether the list item is selected or not. */
|
|
55
|
-
selected: boolean;
|
|
56
|
-
/** Gets/sets list item value. */
|
|
57
|
-
value: any;
|
|
58
|
-
/** Gets/sets the href link that this list item will send the browser to when clicked. */
|
|
140
|
+
focus(): void;
|
|
59
141
|
href: string;
|
|
60
|
-
/** Gets/sets the href link target. Only pertains when `href` is also used. */
|
|
61
142
|
target: string;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
/**
|
|
143
|
+
download: string;
|
|
144
|
+
rel: string;
|
|
145
|
+
/** @deprecated Use nonInteractive instead. */
|
|
146
|
+
static: boolean;
|
|
147
|
+
nonInteractive: boolean;
|
|
65
148
|
disabled: boolean;
|
|
66
|
-
|
|
149
|
+
selected: boolean;
|
|
150
|
+
active: boolean;
|
|
151
|
+
value: unknown;
|
|
67
152
|
dense: boolean;
|
|
68
|
-
/** Gets/sets whether the list item allows mousedown events through to the underlying list item element. Default is true. */
|
|
69
153
|
propagateClick: boolean;
|
|
70
|
-
/** Gets/sets whether the list item is indented or not. Default is false. */
|
|
71
154
|
indented: boolean;
|
|
72
|
-
|
|
155
|
+
twoLine: boolean;
|
|
156
|
+
threeLine: boolean;
|
|
73
157
|
wrap: boolean;
|
|
74
|
-
|
|
75
|
-
focus(): void;
|
|
158
|
+
click(): void;
|
|
76
159
|
}
|