@tylertech/forge 3.0.0-next.10 → 3.0.0-next.12
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 +36487 -28544
- 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.2LIWNFQK.js +7 -0
- package/dist/esm/chunks/{chunk.U4GYQOPY.js → chunk.2WSXSOYB.js} +2 -2
- package/dist/esm/chunks/{chunk.TT2VTZJ6.js → chunk.37JFBP4X.js} +2 -2
- package/dist/esm/chunks/{chunk.TT2VTZJ6.js.map → chunk.37JFBP4X.js.map} +2 -2
- package/dist/esm/chunks/{chunk.VNOJO2PF.js → chunk.3X4N4ZPY.js} +2 -2
- package/dist/esm/chunks/{chunk.N7PQ2MUQ.js → chunk.436MTO6R.js} +2 -2
- package/dist/esm/chunks/{chunk.7TGGJGTG.js → chunk.4CXLGEJO.js} +2 -2
- package/dist/esm/chunks/{chunk.7TGGJGTG.js.map → chunk.4CXLGEJO.js.map} +1 -1
- package/dist/esm/chunks/{chunk.7ZQMJLHE.js → chunk.4JF54GDJ.js} +2 -2
- package/dist/esm/chunks/{chunk.UCM6CGFM.js → chunk.4USQ2AP6.js} +2 -2
- package/dist/esm/chunks/{chunk.6MPXRRMB.js → chunk.4XJYS5WH.js} +2 -2
- package/dist/esm/chunks/{chunk.46VQ2S2Z.js → chunk.5ASOX23Q.js} +2 -2
- package/dist/esm/chunks/{chunk.46VQ2S2Z.js.map → chunk.5ASOX23Q.js.map} +1 -1
- package/dist/esm/chunks/{chunk.YQXX5KSW.js → chunk.66X366TV.js} +2 -2
- package/dist/esm/chunks/chunk.6VSFLBZF.js +7 -0
- package/dist/esm/chunks/chunk.6VSFLBZF.js.map +7 -0
- package/dist/esm/chunks/chunk.7L66GZDN.js +7 -0
- package/dist/esm/chunks/{chunk.WBYXVMYI.js → chunk.7M4HRJYP.js} +2 -2
- package/dist/esm/chunks/{chunk.Z4J4D5FD.js → chunk.7PPBXNAD.js} +2 -2
- package/dist/esm/chunks/{chunk.IDD54B5P.js → chunk.7UJAI6P2.js} +2 -2
- package/dist/esm/chunks/{chunk.UKFJHDO7.js → chunk.A3ZDCBLA.js} +2 -2
- package/dist/esm/chunks/{chunk.WH6C36MO.js → chunk.AHAARGYM.js} +2 -2
- package/dist/esm/chunks/chunk.AQ7ROWO4.js +7 -0
- package/dist/esm/chunks/chunk.AQ7ROWO4.js.map +7 -0
- package/dist/esm/chunks/{chunk.E6KWYFZG.js → chunk.AY43NTAK.js} +2 -2
- package/dist/esm/chunks/chunk.C2MQN7MI.js +7 -0
- package/dist/esm/chunks/chunk.C2MQN7MI.js.map +7 -0
- package/dist/esm/chunks/{chunk.PHBOQRF6.js → chunk.C5ZUGOOC.js} +2 -2
- package/dist/esm/chunks/{chunk.7DHFTAWI.js → chunk.C7VEJINB.js} +2 -2
- package/dist/esm/chunks/{chunk.Y5UJ23LB.js → chunk.CBIHNCT5.js} +2 -2
- package/dist/esm/chunks/chunk.CLD75EBJ.js +7 -0
- package/dist/esm/chunks/chunk.CLD75EBJ.js.map +7 -0
- package/dist/esm/chunks/chunk.CMRVP4EA.js +7 -0
- package/dist/esm/chunks/chunk.CMRVP4EA.js.map +7 -0
- package/dist/esm/chunks/{chunk.5IQGVS6U.js → chunk.CQQSOTZ5.js} +2 -2
- package/dist/esm/chunks/chunk.CZEF72BG.js +12 -0
- package/dist/esm/chunks/chunk.CZEF72BG.js.map +7 -0
- package/dist/esm/chunks/chunk.D5ZHKPCL.js +7 -0
- package/dist/esm/chunks/chunk.D5ZHKPCL.js.map +7 -0
- package/dist/esm/chunks/{chunk.MF36FG2X.js → chunk.DABGA7I6.js} +2 -2
- package/dist/esm/chunks/{chunk.TL6WVBGT.js → chunk.DH76CMUT.js} +2 -2
- package/dist/esm/chunks/{chunk.KSCUIS5C.js → chunk.DLQSINSS.js} +2 -2
- package/dist/esm/chunks/{chunk.T5X6UNH7.js → chunk.DQVYB55P.js} +2 -2
- package/dist/esm/chunks/chunk.E4TAHUQO.js +177 -0
- package/dist/esm/chunks/chunk.E4TAHUQO.js.map +7 -0
- package/dist/esm/chunks/chunk.EY37FYZ4.js +7 -0
- package/dist/esm/chunks/chunk.EY37FYZ4.js.map +7 -0
- package/dist/esm/chunks/chunk.FK6NNHXH.js +7 -0
- package/dist/esm/chunks/chunk.FK6NNHXH.js.map +7 -0
- package/dist/esm/chunks/chunk.G6JWSERI.js +7 -0
- package/dist/esm/chunks/{chunk.2O6IZ7XZ.js.map → chunk.G6JWSERI.js.map} +4 -4
- package/dist/esm/chunks/chunk.GHR7T6U2.js +7 -0
- package/dist/esm/chunks/chunk.GHR7T6U2.js.map +7 -0
- package/dist/esm/chunks/{chunk.NF4J3Q5X.js → chunk.GWIXDVIA.js} +2 -2
- package/dist/esm/chunks/{chunk.AHHNJSZK.js → chunk.HBCDD25D.js} +2 -2
- package/dist/esm/chunks/{chunk.5M6Y2RU6.js → chunk.HDO3WRH7.js} +2 -2
- package/dist/esm/chunks/{chunk.DTZFWZPB.js → chunk.HGH6SSHZ.js} +2 -2
- package/dist/esm/chunks/chunk.HJ23XQDJ.js +7 -0
- package/dist/esm/chunks/chunk.HJ23XQDJ.js.map +7 -0
- package/dist/esm/chunks/{chunk.2QSDH3PC.js → chunk.HKSXC5VK.js} +2 -2
- package/dist/esm/chunks/chunk.I5SFCLDD.js +7 -0
- package/dist/esm/chunks/{chunk.NK7H3MMM.js.map → chunk.I5SFCLDD.js.map} +3 -3
- package/dist/esm/chunks/{chunk.X3YNJSDT.js → chunk.IJ2I25V3.js} +2 -2
- package/dist/esm/chunks/{chunk.ZAJB7G4V.js → chunk.IURDWGLD.js} +2 -2
- package/dist/esm/chunks/chunk.IXGXASHQ.js +7 -0
- package/dist/esm/chunks/{chunk.EDEYCLDU.js.map → chunk.IXGXASHQ.js.map} +2 -2
- package/dist/esm/chunks/{chunk.44UCSD46.js → chunk.JCO4M4PF.js} +2 -2
- package/dist/esm/chunks/{chunk.44UCSD46.js.map → chunk.JCO4M4PF.js.map} +2 -2
- package/dist/esm/chunks/{chunk.CFDK4RCW.js → chunk.K7FPXAFS.js} +2 -2
- package/dist/esm/chunks/{chunk.CFDK4RCW.js.map → chunk.K7FPXAFS.js.map} +3 -3
- package/dist/esm/chunks/{chunk.G4IN6Y46.js → chunk.KVCDAZ6B.js} +2 -2
- package/dist/esm/chunks/chunk.LNLO36U6.js +7 -0
- package/dist/esm/chunks/chunk.LNLO36U6.js.map +7 -0
- package/dist/esm/chunks/chunk.LV7XF22P.js +7 -0
- package/dist/esm/chunks/chunk.LV7XF22P.js.map +7 -0
- package/dist/esm/chunks/{chunk.2ZTERGYF.js → chunk.MHU452GM.js} +2 -2
- package/dist/esm/chunks/chunk.MLTEGJH6.js +7 -0
- package/dist/esm/chunks/{chunk.BBKRPL6R.js → chunk.MWWY5TX5.js} +2 -2
- package/dist/esm/chunks/chunk.NDJZYFRT.js +7 -0
- package/dist/esm/chunks/chunk.NDJZYFRT.js.map +7 -0
- package/dist/esm/chunks/chunk.O5GE3FFV.js +7 -0
- package/dist/esm/chunks/{chunk.QI3GKORL.js.map → chunk.O5GE3FFV.js.map} +2 -2
- package/dist/esm/chunks/chunk.OQ75YGB6.js +7 -0
- package/dist/esm/chunks/{chunk.JTIPXKV6.js.map → chunk.OQ75YGB6.js.map} +2 -2
- package/dist/esm/chunks/chunk.OQAD6MFL.js +7 -0
- package/dist/esm/chunks/chunk.OQAD6MFL.js.map +7 -0
- package/dist/esm/chunks/{chunk.QL45FKVJ.js → chunk.OXGOCF4L.js} +2 -2
- package/dist/esm/chunks/{chunk.RFLASSCI.js → chunk.PADPL4L3.js} +2 -2
- package/dist/esm/chunks/chunk.PCOOIP2H.js +7 -0
- package/dist/esm/chunks/chunk.PCOOIP2H.js.map +7 -0
- package/dist/esm/chunks/chunk.PDICDA2V.js +7 -0
- package/dist/esm/chunks/{chunk.CRWP7H46.js.map → chunk.PDICDA2V.js.map} +2 -2
- package/dist/esm/chunks/{chunk.WO7KEM5K.js → chunk.PDSOXEMY.js} +2 -2
- package/dist/esm/chunks/{chunk.PHTOULRR.js → chunk.PLNLLKP2.js} +2 -2
- package/dist/esm/chunks/{chunk.XOM2FYQ2.js → chunk.Q7BWJCT5.js} +2 -2
- package/dist/esm/chunks/chunk.QNVVUUNQ.js +7 -0
- package/dist/esm/chunks/chunk.QNVVUUNQ.js.map +7 -0
- package/dist/esm/chunks/chunk.R2KOYHIZ.js +7 -0
- package/dist/esm/chunks/chunk.R2KOYHIZ.js.map +7 -0
- package/dist/esm/chunks/chunk.R6NA7SV2.js +7 -0
- package/dist/esm/chunks/chunk.R6NA7SV2.js.map +7 -0
- package/dist/esm/chunks/{chunk.57IVD67K.js → chunk.RBFGJH3C.js} +2 -2
- package/dist/esm/chunks/{chunk.RGPNNISQ.js → chunk.RNUGVHZF.js} +2 -2
- package/dist/esm/chunks/{chunk.2TQONIPK.js → chunk.RWUJGZ3R.js} +2 -2
- package/dist/esm/chunks/{chunk.ZDAXNM2P.js → chunk.RXLORASN.js} +2 -2
- package/dist/esm/chunks/chunk.SEWAMWO6.js +7 -0
- package/dist/esm/chunks/chunk.SEWAMWO6.js.map +7 -0
- package/dist/esm/chunks/chunk.TCFKFKZW.js +7 -0
- package/dist/esm/chunks/chunk.TCFKFKZW.js.map +7 -0
- package/dist/esm/chunks/{chunk.J3UFSHDY.js → chunk.TGVLYX5F.js} +2 -2
- package/dist/esm/chunks/{chunk.MGWY7YIL.js → chunk.TSH7BTC3.js} +2 -2
- package/dist/esm/chunks/chunk.U5XNDTSZ.js +7 -0
- package/dist/esm/chunks/{chunk.SN5LPTHH.js.map → chunk.U5XNDTSZ.js.map} +3 -3
- package/dist/esm/chunks/chunk.UAKQY7QB.js +7 -0
- package/dist/esm/chunks/chunk.UAKQY7QB.js.map +7 -0
- package/dist/esm/chunks/{chunk.XRESQBNE.js → chunk.UAVC4YLD.js} +2 -2
- package/dist/esm/chunks/chunk.URFSXQKR.js +7 -0
- package/dist/esm/chunks/chunk.URFSXQKR.js.map +7 -0
- package/dist/esm/chunks/{chunk.XATLSSAW.js → chunk.UVJFHSMF.js} +2 -2
- package/dist/esm/chunks/chunk.UZPZ6KUN.js +7 -0
- package/dist/esm/chunks/chunk.UZPZ6KUN.js.map +7 -0
- package/dist/esm/chunks/chunk.V6443MP3.js +7 -0
- package/dist/esm/chunks/chunk.V6443MP3.js.map +7 -0
- package/dist/esm/chunks/chunk.VAAID3SH.js +7 -0
- package/dist/esm/chunks/chunk.VAAID3SH.js.map +7 -0
- package/dist/esm/chunks/chunk.VDGJ4UDL.js +7 -0
- package/dist/esm/chunks/chunk.VDGJ4UDL.js.map +7 -0
- package/dist/esm/chunks/chunk.VPNDAKM3.js +7 -0
- package/dist/esm/chunks/chunk.VPNDAKM3.js.map +7 -0
- package/dist/esm/chunks/{chunk.QZK3WEH6.js → chunk.W7H2ZYNR.js} +2 -2
- package/dist/esm/chunks/chunk.WCTSXMGU.js +7 -0
- package/dist/esm/chunks/chunk.WCTSXMGU.js.map +7 -0
- package/dist/esm/chunks/chunk.WJXDDQUK.js +7 -0
- package/dist/esm/chunks/chunk.WJXDDQUK.js.map +7 -0
- package/dist/esm/chunks/{chunk.6VDF54LZ.js → chunk.WK2L7BPJ.js} +2 -2
- package/dist/esm/chunks/{chunk.L3M6DPQB.js → chunk.WOMYKBUG.js} +3 -3
- package/dist/esm/chunks/chunk.WOMYKBUG.js.map +7 -0
- package/dist/esm/chunks/chunk.WVGIT7F7.js +7 -0
- package/dist/esm/chunks/chunk.WVGIT7F7.js.map +7 -0
- package/dist/esm/chunks/{chunk.5CMQ7DNL.js → chunk.WWTQAN4G.js} +2 -2
- package/dist/esm/chunks/chunk.YA3RDJCV.js +7 -0
- package/dist/esm/chunks/chunk.YA3RDJCV.js.map +7 -0
- package/dist/esm/chunks/{chunk.OTD2SFQJ.js → chunk.YIFI5D2X.js} +2 -2
- package/dist/esm/chunks/{chunk.OTD2SFQJ.js.map → chunk.YIFI5D2X.js.map} +2 -2
- package/dist/esm/chunks/chunk.YOXZOPAC.js +7 -0
- package/dist/esm/chunks/chunk.YOXZOPAC.js.map +7 -0
- package/dist/esm/chunks/{chunk.SEP3L4QL.js → chunk.YP2NHWIW.js} +2 -2
- package/dist/esm/chunks/chunk.YPA27RX7.js +7 -0
- package/dist/esm/chunks/chunk.YXXKPT6P.js +7 -0
- package/dist/esm/chunks/{chunk.BNFJRFLW.js.map → chunk.YXXKPT6P.js.map} +2 -2
- package/dist/esm/chunks/{chunk.4WB3FGEL.js → chunk.Z6AFASMO.js} +2 -2
- package/dist/esm/chunks/{chunk.BIFQ4VOJ.js → chunk.ZMUDT5UK.js} +2 -2
- package/dist/esm/chunks/{chunk.BIFQ4VOJ.js.map → chunk.ZMUDT5UK.js.map} +2 -2
- package/dist/esm/chunks/{chunk.P5QIB6OY.js → chunk.ZREXLSAJ.js} +2 -2
- package/dist/esm/chunks/chunk.ZYVXIP42.js +7 -0
- package/dist/esm/chunks/{chunk.MJSLXZBM.js.map → chunk.ZYVXIP42.js.map} +2 -2
- package/dist/esm/circular-progress/index.js +1 -1
- package/dist/esm/color-picker/index.js +1 -1
- package/dist/esm/core/base/index.js +1 -1
- package/dist/esm/core/delegates/index.js +1 -1
- package/dist/esm/core/index.js +1 -1
- package/dist/esm/core/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-value/index.js +1 -1
- package/dist/esm/linear-progress/index.js +1 -1
- package/dist/esm/list/index.js +1 -1
- package/dist/esm/list/list/index.js +1 -1
- package/dist/esm/list/list-item/index.js +1 -1
- package/dist/esm/list-dropdown/index.js +1 -1
- package/dist/esm/menu/index.js +1 -1
- package/dist/esm/open-icon/index.js +1 -1
- package/dist/esm/page-state/index.js +1 -1
- package/dist/esm/paginator/index.js +1 -1
- package/dist/esm/popup/index.js +1 -1
- package/dist/esm/product-icon/index.js +1 -1
- package/dist/esm/profile-card/index.js +1 -1
- package/dist/esm/quantity-field/index.js +1 -1
- package/dist/esm/radio/index.js +1 -1
- package/dist/esm/ripple/index.js +1 -1
- package/dist/esm/scaffold/index.js +1 -1
- package/dist/esm/select/core/index.js +1 -1
- package/dist/esm/select/index.js +1 -1
- package/dist/esm/select/option/index.js +1 -1
- package/dist/esm/select/option-group/index.js +1 -1
- package/dist/esm/select/select/index.js +1 -1
- package/dist/esm/select/select-dropdown/index.js +1 -1
- package/dist/esm/skeleton/index.js +1 -1
- package/dist/esm/slider/index.js +1 -1
- package/dist/esm/split-view/index.js +1 -1
- package/dist/esm/split-view/split-view/index.js +1 -1
- package/dist/esm/split-view/split-view-panel/index.js +1 -1
- package/dist/esm/stack/index.js +1 -1
- package/dist/esm/state-layer/index.js +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 +6 -0
- package/dist/typography/forge-typography.css +1 -1
- package/esm/app-bar/profile-button/app-bar-profile-button-adapter.js +1 -1
- package/esm/autocomplete/autocomplete-adapter.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 +14 -0
- package/esm/autocomplete/autocomplete.d.ts +7 -1
- package/esm/autocomplete/autocomplete.js +7 -0
- package/esm/banner/banner.js +1 -1
- package/esm/busy-indicator/busy-indicator-adapter.js +1 -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/calendar/calendar-dropdown/calendar-dropdown.d.ts +3 -0
- package/esm/calendar/calendar-dropdown/calendar-dropdown.js +9 -0
- package/esm/calendar/calendar-foundation.js +6 -0
- package/esm/calendar/calendar-menu/calendar-menu.js +1 -1
- package/esm/chip-field/chip-field-adapter.js +1 -1
- package/esm/chip-field/chip-field-foundation.js +1 -1
- package/esm/chip-field/chip-field.js +2 -2
- package/esm/chips/chip/chip-adapter.js +2 -2
- package/esm/chips/chip/chip.js +1 -1
- package/esm/circular-progress/circular-progress.js +1 -1
- package/esm/color-picker/color-picker-foundation.d.ts +0 -1
- package/esm/color-picker/color-picker-foundation.js +2 -5
- package/esm/core/base/base-adapter.d.ts +5 -2
- package/esm/core/base/base-adapter.js +13 -2
- package/esm/core/base/base-component.d.ts +37 -0
- package/esm/core/base/base-component.js +3 -0
- package/esm/core/keyboard/key-manager.d.ts +18 -0
- package/esm/core/keyboard/key-manager.js +47 -0
- package/esm/core/utils/a11y-utils.d.ts +32 -0
- package/esm/core/utils/a11y-utils.js +111 -0
- package/esm/core/utils/index.d.ts +1 -0
- package/esm/core/utils/index.js +1 -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-adapter.d.ts +2 -0
- package/esm/date-picker/base/base-date-picker-adapter.js +6 -0
- package/esm/date-picker/base/base-date-picker-constants.d.ts +1 -0
- package/esm/date-picker/base/base-date-picker-constants.js +2 -1
- package/esm/date-picker/base/base-date-picker-foundation.d.ts +4 -0
- package/esm/date-picker/base/base-date-picker-foundation.js +14 -2
- package/esm/date-picker/base/base-date-picker.d.ts +3 -0
- package/esm/date-picker/base/base-date-picker.js +6 -0
- package/esm/date-picker/date-picker-adapter.js +1 -1
- package/esm/date-range-picker/date-range-picker-adapter.js +1 -1
- package/esm/date-range-picker/date-range-picker-foundation.js +2 -2
- package/esm/dialog/dialog-adapter.js +1 -1
- 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-adapter.js +1 -1
- package/esm/field/field-foundation.d.ts +1 -0
- package/esm/field/field-foundation.js +22 -7
- 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-foundation.js +1 -1
- 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/index.d.ts +1 -0
- package/esm/index.js +4 -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/linear-progress/linear-progress.js +1 -1
- package/esm/list/list/list-adapter.d.ts +17 -41
- package/esm/list/list/list-adapter.js +43 -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 +31 -90
- package/esm/list/list-item/list-item-adapter.js +124 -135
- package/esm/list/list-item/list-item-constants.d.ts +27 -27
- package/esm/list/list-item/list-item-constants.js +17 -32
- package/esm/list/list-item/list-item-foundation.d.ts +32 -56
- package/esm/list/list-item/list-item-foundation.js +111 -206
- package/esm/list/list-item/list-item.d.ts +109 -37
- package/esm/list/list-item/list-item.js +152 -88
- 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/paginator/paginator-adapter.d.ts +28 -24
- package/esm/paginator/paginator-adapter.js +55 -0
- package/esm/paginator/paginator-foundation.d.ts +33 -80
- package/esm/paginator/paginator-foundation.js +218 -255
- package/esm/paginator/paginator.d.ts +0 -2
- package/esm/paginator/paginator.js +0 -2
- package/esm/popup/popup-adapter.d.ts +3 -1
- package/esm/popup/popup-adapter.js +5 -2
- 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/radio/radio-adapter.js +2 -1
- package/esm/select/core/base-select-adapter.js +3 -0
- 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.d.ts +2 -1
- package/esm/slider/slider.js +4 -3
- package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
- package/esm/state-layer/state-layer.js +1 -1
- package/esm/stepper/core/stepper-utils.js +2 -1
- package/esm/stepper/stepper/stepper-adapter.js +1 -1
- package/esm/stepper/stepper/stepper-foundation.js +1 -0
- package/esm/switch/switch-adapter.d.ts +38 -0
- package/esm/switch/switch-adapter.js +69 -0
- package/esm/switch/switch-component-delegate.d.ts +2 -1
- package/esm/switch/switch-component-delegate.js +8 -8
- package/esm/switch/switch-constants.d.ts +14 -7
- package/esm/switch/switch-constants.js +17 -9
- package/esm/switch/switch-foundation.d.ts +46 -0
- package/esm/switch/switch-foundation.js +110 -0
- package/esm/switch/switch.d.ts +150 -33
- package/esm/switch/switch.js +226 -142
- package/esm/tabs/tab/tab.js +2 -2
- package/esm/tabs/tab-bar/tab-bar.js +1 -1
- package/esm/text-field/text-field-adapter.js +2 -1
- package/esm/time-picker/time-picker-adapter.js +2 -1
- package/esm/time-picker/time-picker-foundation.js +3 -3
- package/package.json +2 -7
- package/styles/button-area/_mixins.scss +47 -0
- package/styles/button-area/button-area.scss +16 -0
- package/styles/calendar/calendar-menu/_mixins.scss +48 -2
- package/styles/chip-field/_base.scss +1 -0
- package/styles/chip-field/_selector.scss +2 -2
- package/styles/chips/chip/_mixins.scss +1 -0
- package/styles/circular-progress/{_animations.scss → _animation.scss} +6 -0
- package/styles/circular-progress/_configuration.scss +0 -7
- package/styles/circular-progress/_core.scss +8 -8
- package/styles/circular-progress/circular-progress.scss +2 -2
- package/styles/circular-progress/index.scss +1 -1
- package/styles/core/styles/_utils.scss +137 -0
- package/styles/core/styles/animation/index.scss +16 -0
- package/styles/core/styles/border/index.scss +38 -0
- package/styles/core/styles/elevation/index.scss +10 -10
- package/styles/core/styles/scrollbar/index.scss +45 -0
- package/styles/core/styles/shape/index.scss +31 -0
- package/styles/core/styles/spacing/index.scss +30 -0
- 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 +51 -21
- package/styles/core/styles/tokens/animation/_tokens.scss +38 -0
- package/styles/core/styles/tokens/border/_tokens.scss +17 -0
- package/styles/core/styles/tokens/circular-progress/_tokens.scss +2 -2
- 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 +10 -6
- package/styles/core/styles/tokens/linear-progress/_tokens.scss +6 -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/shape/_tokens.scss +42 -0
- package/styles/core/styles/tokens/slider/_tokens.scss +16 -16
- package/styles/core/styles/tokens/spacing/_tokens.scss +23 -0
- package/styles/core/styles/tokens/state-layer/_tokens.scss +6 -6
- package/styles/core/styles/tokens/switch/_tokens.scss +108 -0
- package/styles/core/styles/tokens/tabs/tab/_tokens.scss +4 -2
- package/styles/core/styles/tokens/tabs/tab-bar/_tokens.scss +2 -2
- package/styles/core/styles/tokens/theme/_color-emphasis.scss +38 -0
- package/styles/core/styles/tokens/theme/_token-utils.scss +46 -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 +37 -0
- package/styles/core/styles/tokens/typography/_tokens.scss +33 -65
- 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 +144 -0
- package/styles/focus-indicator/_core.scss +1 -1
- package/styles/linear-progress/_core.scss +1 -1
- package/styles/list/list/_configuration.scss +12 -0
- package/styles/list/list/_core.scss +21 -0
- package/styles/list/list/index.scss +7 -0
- package/styles/list/list/list.scss +19 -4
- package/styles/list/list-item/_configuration.scss +72 -0
- package/styles/list/list-item/_core.scss +200 -0
- package/styles/list/list-item/index.scss +7 -0
- package/styles/list/list-item/list-item.scss +193 -13
- package/styles/slider/_configuration.scss +2 -1
- package/styles/slider/_core.scss +8 -13
- package/styles/slider/slider.scss +2 -2
- package/styles/state-layer/_core.scss +1 -1
- package/styles/switch/_configuration.scss +95 -0
- package/styles/switch/_core.scss +255 -0
- package/styles/switch/index.scss +7 -0
- package/styles/switch/switch.scss +136 -50
- package/styles/table/_mixins.scss +2 -2
- package/styles/tabs/tab/_configuration.scss +5 -0
- package/styles/tabs/tab/_core.scss +10 -9
- package/styles/tabs/tab/tab.scss +17 -2
- package/styles/tabs/tab-bar/_core.scss +1 -1
- 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/typography/_mixins.scss +0 -20
- package/styles/{core/styles/tokens/theme/_shape.scss → typography/forge-typography-legacy.scss} +2 -7
- package/styles/typography/forge-typography.scss +11 -3
- package/styles/utils/_mixins-core.scss +1 -1
- package/dist/esm/chunks/chunk.2O6IZ7XZ.js +0 -7
- package/dist/esm/chunks/chunk.2VP57RZO.js +0 -7
- package/dist/esm/chunks/chunk.2VP57RZO.js.map +0 -7
- package/dist/esm/chunks/chunk.33EJTOVA.js +0 -7
- package/dist/esm/chunks/chunk.33EJTOVA.js.map +0 -7
- package/dist/esm/chunks/chunk.3JDFBEF7.js +0 -7
- package/dist/esm/chunks/chunk.4WVHON6T.js +0 -129
- package/dist/esm/chunks/chunk.4WVHON6T.js.map +0 -7
- package/dist/esm/chunks/chunk.5V5ABSHI.js +0 -7
- package/dist/esm/chunks/chunk.5V5ABSHI.js.map +0 -7
- package/dist/esm/chunks/chunk.74DEHKGT.js +0 -12
- package/dist/esm/chunks/chunk.74DEHKGT.js.map +0 -7
- package/dist/esm/chunks/chunk.7G72CBOJ.js +0 -7
- package/dist/esm/chunks/chunk.7G72CBOJ.js.map +0 -7
- package/dist/esm/chunks/chunk.7WVTJIVR.js +0 -7
- package/dist/esm/chunks/chunk.7WVTJIVR.js.map +0 -7
- package/dist/esm/chunks/chunk.BNFJRFLW.js +0 -7
- package/dist/esm/chunks/chunk.CRWP7H46.js +0 -7
- package/dist/esm/chunks/chunk.D2Y2CRRY.js +0 -7
- package/dist/esm/chunks/chunk.D2Y2CRRY.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.DXZ5LVFJ.js +0 -7
- package/dist/esm/chunks/chunk.DXZ5LVFJ.js.map +0 -7
- package/dist/esm/chunks/chunk.E7Z3IRWV.js +0 -7
- package/dist/esm/chunks/chunk.E7Z3IRWV.js.map +0 -7
- package/dist/esm/chunks/chunk.ECRL6O3V.js +0 -7
- package/dist/esm/chunks/chunk.ECRL6O3V.js.map +0 -7
- package/dist/esm/chunks/chunk.EDEYCLDU.js +0 -7
- package/dist/esm/chunks/chunk.EYZ25QUP.js +0 -7
- package/dist/esm/chunks/chunk.EYZ25QUP.js.map +0 -7
- package/dist/esm/chunks/chunk.F776DWXU.js +0 -7
- package/dist/esm/chunks/chunk.F776DWXU.js.map +0 -7
- package/dist/esm/chunks/chunk.FIBGOPNP.js +0 -7
- package/dist/esm/chunks/chunk.FIBGOPNP.js.map +0 -7
- package/dist/esm/chunks/chunk.FUPNTFG7.js +0 -7
- package/dist/esm/chunks/chunk.FUPNTFG7.js.map +0 -7
- package/dist/esm/chunks/chunk.GT3XBPZY.js +0 -7
- package/dist/esm/chunks/chunk.GT3XBPZY.js.map +0 -7
- package/dist/esm/chunks/chunk.H5D54EHO.js +0 -7
- package/dist/esm/chunks/chunk.H5D54EHO.js.map +0 -7
- package/dist/esm/chunks/chunk.HXJCTE47.js +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.IWA3CYIB.js +0 -7
- package/dist/esm/chunks/chunk.IWA3CYIB.js.map +0 -7
- package/dist/esm/chunks/chunk.JL4XB4RI.js +0 -7
- package/dist/esm/chunks/chunk.JL4XB4RI.js.map +0 -7
- package/dist/esm/chunks/chunk.JTIPXKV6.js +0 -7
- package/dist/esm/chunks/chunk.L3M6DPQB.js.map +0 -7
- package/dist/esm/chunks/chunk.LHBF47UY.js +0 -7
- package/dist/esm/chunks/chunk.LHBF47UY.js.map +0 -7
- package/dist/esm/chunks/chunk.LM57DOG3.js +0 -7
- package/dist/esm/chunks/chunk.LYYWQGS6.js +0 -7
- package/dist/esm/chunks/chunk.LYYWQGS6.js.map +0 -7
- package/dist/esm/chunks/chunk.M2M47T4L.js +0 -7
- package/dist/esm/chunks/chunk.M2M47T4L.js.map +0 -7
- package/dist/esm/chunks/chunk.MJSLXZBM.js +0 -7
- package/dist/esm/chunks/chunk.NK7H3MMM.js +0 -7
- package/dist/esm/chunks/chunk.OAHA3QOH.js +0 -7
- package/dist/esm/chunks/chunk.OAHA3QOH.js.map +0 -7
- package/dist/esm/chunks/chunk.QI3GKORL.js +0 -7
- package/dist/esm/chunks/chunk.QLJBPFP5.js +0 -7
- package/dist/esm/chunks/chunk.QLJBPFP5.js.map +0 -7
- package/dist/esm/chunks/chunk.SAXRW6GB.js +0 -7
- package/dist/esm/chunks/chunk.SAXRW6GB.js.map +0 -7
- package/dist/esm/chunks/chunk.SN5LPTHH.js +0 -7
- package/dist/esm/chunks/chunk.SQVBT7HU.js +0 -7
- package/dist/esm/chunks/chunk.SQVBT7HU.js.map +0 -7
- package/dist/esm/chunks/chunk.SZIM4KFZ.js +0 -7
- package/dist/esm/chunks/chunk.SZIM4KFZ.js.map +0 -7
- package/dist/esm/chunks/chunk.WYP2M5FR.js +0 -7
- package/dist/esm/chunks/chunk.WYP2M5FR.js.map +0 -7
- package/dist/esm/chunks/chunk.YDY2IGBF.js +0 -7
- package/dist/esm/chunks/chunk.YDY2IGBF.js.map +0 -7
- package/dist/esm/chunks/chunk.YWCLKUK7.js +0 -7
- package/dist/esm/chunks/chunk.YWCLKUK7.js.map +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.ZMRDW25U.js +0 -7
- package/dist/typography/forge-form.css +0 -6
- package/styles/core/styles/tokens/_utils.scss +0 -43
- package/styles/list/list/_mixins.scss +0 -45
- package/styles/list/list-item/_mixins.scss +0 -403
- package/styles/list/list-item/_variables.scss +0 -34
- package/styles/switch/_switch-mixins.scss +0 -301
- package/styles/switch/_switch-theme.scss +0 -701
- package/styles/typography/forge-form.scss +0 -67
- /package/dist/esm/chunks/{chunk.LM57DOG3.js.map → chunk.2LIWNFQK.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.U4GYQOPY.js.map → chunk.2WSXSOYB.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.VNOJO2PF.js.map → chunk.3X4N4ZPY.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.N7PQ2MUQ.js.map → chunk.436MTO6R.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7ZQMJLHE.js.map → chunk.4JF54GDJ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.UCM6CGFM.js.map → chunk.4USQ2AP6.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.6MPXRRMB.js.map → chunk.4XJYS5WH.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.YQXX5KSW.js.map → chunk.66X366TV.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.HXJCTE47.js.map → chunk.7L66GZDN.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.WBYXVMYI.js.map → chunk.7M4HRJYP.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.Z4J4D5FD.js.map → chunk.7PPBXNAD.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.IDD54B5P.js.map → chunk.7UJAI6P2.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.UKFJHDO7.js.map → chunk.A3ZDCBLA.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.WH6C36MO.js.map → chunk.AHAARGYM.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.E6KWYFZG.js.map → chunk.AY43NTAK.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.PHBOQRF6.js.map → chunk.C5ZUGOOC.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7DHFTAWI.js.map → chunk.C7VEJINB.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.Y5UJ23LB.js.map → chunk.CBIHNCT5.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.5IQGVS6U.js.map → chunk.CQQSOTZ5.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.MF36FG2X.js.map → chunk.DABGA7I6.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.TL6WVBGT.js.map → chunk.DH76CMUT.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.KSCUIS5C.js.map → chunk.DLQSINSS.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.T5X6UNH7.js.map → chunk.DQVYB55P.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.NF4J3Q5X.js.map → chunk.GWIXDVIA.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.AHHNJSZK.js.map → chunk.HBCDD25D.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.5M6Y2RU6.js.map → chunk.HDO3WRH7.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.DTZFWZPB.js.map → chunk.HGH6SSHZ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.2QSDH3PC.js.map → chunk.HKSXC5VK.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.X3YNJSDT.js.map → chunk.IJ2I25V3.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ZAJB7G4V.js.map → chunk.IURDWGLD.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.G4IN6Y46.js.map → chunk.KVCDAZ6B.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.2ZTERGYF.js.map → chunk.MHU452GM.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.3JDFBEF7.js.map → chunk.MLTEGJH6.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.BBKRPL6R.js.map → chunk.MWWY5TX5.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.QL45FKVJ.js.map → chunk.OXGOCF4L.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.RFLASSCI.js.map → chunk.PADPL4L3.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.WO7KEM5K.js.map → chunk.PDSOXEMY.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.PHTOULRR.js.map → chunk.PLNLLKP2.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.XOM2FYQ2.js.map → chunk.Q7BWJCT5.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.57IVD67K.js.map → chunk.RBFGJH3C.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.RGPNNISQ.js.map → chunk.RNUGVHZF.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.2TQONIPK.js.map → chunk.RWUJGZ3R.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ZDAXNM2P.js.map → chunk.RXLORASN.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.J3UFSHDY.js.map → chunk.TGVLYX5F.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.MGWY7YIL.js.map → chunk.TSH7BTC3.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.XRESQBNE.js.map → chunk.UAVC4YLD.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.XATLSSAW.js.map → chunk.UVJFHSMF.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.QZK3WEH6.js.map → chunk.W7H2ZYNR.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.6VDF54LZ.js.map → chunk.WK2L7BPJ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.5CMQ7DNL.js.map → chunk.WWTQAN4G.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.SEP3L4QL.js.map → chunk.YP2NHWIW.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ZMRDW25U.js.map → chunk.YPA27RX7.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.4WB3FGEL.js.map → chunk.Z6AFASMO.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.P5QIB6OY.js.map → chunk.ZREXLSAJ.js.map} +0 -0
- /package/styles/core/styles/tokens/{_color-palette.scss → color-palette/_material-color-palette.scss} +0 -0
- /package/styles/core/styles/tokens/{theme/_elevation.scss → elevation/_tokens.scss} +0 -0
|
@@ -3,65 +3,45 @@
|
|
|
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._twoLine = false;
|
|
17
|
-
this._threeLine = false;
|
|
18
|
-
this._active = false;
|
|
19
|
-
this._selected = false;
|
|
10
|
+
this._target = '_blank';
|
|
11
|
+
this._nonInteractive = false;
|
|
20
12
|
this._disabled = false;
|
|
13
|
+
this._selected = false;
|
|
14
|
+
this._active = false;
|
|
21
15
|
this._dense = false;
|
|
22
16
|
this._propagateClick = true;
|
|
23
17
|
this._indented = false;
|
|
18
|
+
this._twoLine = false;
|
|
19
|
+
this._threeLine = false;
|
|
24
20
|
this._wrap = false;
|
|
25
|
-
this._clickListener =
|
|
26
|
-
this.
|
|
27
|
-
this._keydownListener =
|
|
21
|
+
this._clickListener = this._onClick.bind(this);
|
|
22
|
+
this._pointerDownListener = this._onPointerDown.bind(this);
|
|
23
|
+
this._keydownListener = this._onKeydown.bind(this);
|
|
28
24
|
}
|
|
29
25
|
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;
|
|
26
|
+
this._adapter.initialize();
|
|
27
|
+
if (!this._nonInteractive && !this._disabled) {
|
|
28
|
+
this._adapter.addHostListener('click', this._clickListener);
|
|
29
|
+
this._adapter.addHostListener('keydown', this._keydownListener);
|
|
30
|
+
if (!this._propagateClick) {
|
|
31
|
+
this._adapter.addHostListener('pointerdown', this._pointerDownListener);
|
|
32
|
+
}
|
|
51
33
|
}
|
|
52
34
|
}
|
|
53
35
|
disconnect() {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
if (this._rippleInstance) {
|
|
59
|
-
this._rippleInstance.destroy();
|
|
60
|
-
this._rippleInstance = undefined;
|
|
61
|
-
}
|
|
36
|
+
this._adapter.removeHostListener('click', this._clickListener);
|
|
37
|
+
this._adapter.removeHostListener('pointerdown', this._pointerDownListener);
|
|
38
|
+
this._adapter.removeHostListener('keydown', this._keydownListener);
|
|
62
39
|
}
|
|
63
|
-
|
|
64
|
-
|
|
40
|
+
setFocus() {
|
|
41
|
+
this._adapter.setFocus();
|
|
42
|
+
}
|
|
43
|
+
_onPointerDown(evt) {
|
|
44
|
+
if (this._adapter.isFocused()) {
|
|
65
45
|
evt.preventDefault();
|
|
66
46
|
}
|
|
67
47
|
}
|
|
@@ -70,211 +50,144 @@ export class ListItemFoundation {
|
|
|
70
50
|
if (evt.key === ' ') {
|
|
71
51
|
evt.preventDefault();
|
|
72
52
|
}
|
|
53
|
+
this._adapter.animateStateLayer();
|
|
73
54
|
this._select(evt.target);
|
|
74
55
|
}
|
|
75
56
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
* @param evt
|
|
79
|
-
*/
|
|
80
|
-
_onClick(evt) {
|
|
81
|
-
this._select(evt.target);
|
|
57
|
+
_onClick(event) {
|
|
58
|
+
this._select(event.target);
|
|
82
59
|
}
|
|
83
60
|
_select(targetElement) {
|
|
84
|
-
const ignoreElement = targetElement === null || targetElement === void 0 ? void 0 : targetElement.
|
|
85
|
-
if (this.
|
|
61
|
+
const ignoreElement = targetElement === null || targetElement === void 0 ? void 0 : targetElement.matches(LIST_ITEM_CONSTANTS.selectors.IGNORE);
|
|
62
|
+
if (this._nonInteractive || this._disabled || ignoreElement) {
|
|
86
63
|
return;
|
|
87
64
|
}
|
|
88
|
-
if (!this._adapter.
|
|
65
|
+
if (!this._adapter.isFocused() && this._propagateClick) {
|
|
89
66
|
this.setFocus();
|
|
90
67
|
}
|
|
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
68
|
// If the target was not a checkbox or radio button, attempt to find one and toggle its checked state
|
|
101
|
-
if (!
|
|
102
|
-
this._adapter.
|
|
69
|
+
if (!targetElement.matches(LIST_ITEM_CONSTANTS.selectors.CHECKBOX_RADIO_SELECTOR)) {
|
|
70
|
+
this._adapter.tryToggleSelectionControl();
|
|
103
71
|
}
|
|
104
72
|
const data = {
|
|
105
73
|
value: this._value,
|
|
106
|
-
listItem: this._adapter.
|
|
74
|
+
listItem: this._adapter.hostElement
|
|
107
75
|
};
|
|
108
76
|
this._adapter.emitHostEvent(LIST_ITEM_CONSTANTS.events.SELECT, data);
|
|
109
77
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
return this._ripple;
|
|
78
|
+
get href() {
|
|
79
|
+
return this._href;
|
|
113
80
|
}
|
|
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));
|
|
81
|
+
set href(value) {
|
|
82
|
+
if (this._href !== value) {
|
|
83
|
+
this._href = value;
|
|
84
|
+
this._adapter.setHref(this._href, this._target);
|
|
85
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.HREF, !!this._href, this._href);
|
|
123
86
|
}
|
|
124
87
|
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
return this._static;
|
|
88
|
+
get target() {
|
|
89
|
+
return this._target;
|
|
128
90
|
}
|
|
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);
|
|
91
|
+
set target(value) {
|
|
92
|
+
if (this._target !== value) {
|
|
93
|
+
this._target = value;
|
|
94
|
+
if (this._href) {
|
|
95
|
+
this._adapter.setHrefTarget(this._target);
|
|
147
96
|
}
|
|
97
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.TARGET, !!this._target, this._target);
|
|
148
98
|
}
|
|
149
99
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
return this._twoLine;
|
|
100
|
+
get static() {
|
|
101
|
+
return this.nonInteractive;
|
|
153
102
|
}
|
|
154
|
-
set
|
|
155
|
-
|
|
156
|
-
this._twoLine = value;
|
|
157
|
-
this._adapter.setTwoLine(this._twoLine);
|
|
158
|
-
if (this._twoLine) {
|
|
159
|
-
this._adapter.setHostAttribute(LIST_ITEM_CONSTANTS.attributes.TWO_LINE);
|
|
160
|
-
}
|
|
161
|
-
else {
|
|
162
|
-
this._adapter.removeHostAttribute(LIST_ITEM_CONSTANTS.attributes.TWO_LINE);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
103
|
+
set static(value) {
|
|
104
|
+
this.nonInteractive = value;
|
|
165
105
|
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
return this._threeLine;
|
|
106
|
+
get nonInteractive() {
|
|
107
|
+
return this._nonInteractive;
|
|
169
108
|
}
|
|
170
|
-
set
|
|
171
|
-
if (this.
|
|
172
|
-
this.
|
|
173
|
-
if (this.
|
|
174
|
-
this._adapter.
|
|
109
|
+
set nonInteractive(value) {
|
|
110
|
+
if (this._nonInteractive !== value) {
|
|
111
|
+
this._nonInteractive = value;
|
|
112
|
+
if (this._nonInteractive) {
|
|
113
|
+
this._adapter.removeHostListener('click', this._clickListener);
|
|
175
114
|
}
|
|
176
115
|
else {
|
|
177
|
-
this._adapter.
|
|
178
|
-
}
|
|
179
|
-
if (this._threeLine) {
|
|
180
|
-
this._twoLine = false;
|
|
116
|
+
this._adapter.addHostListener('click', this._clickListener);
|
|
181
117
|
}
|
|
182
|
-
this._adapter.
|
|
183
|
-
this._adapter.
|
|
118
|
+
this._adapter.setNonInteractive(this._nonInteractive);
|
|
119
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.STATIC, this._nonInteractive);
|
|
120
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.NON_INTERACTIVE, this._nonInteractive);
|
|
184
121
|
}
|
|
185
122
|
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
return this._active;
|
|
123
|
+
get disabled() {
|
|
124
|
+
return this._disabled;
|
|
189
125
|
}
|
|
190
|
-
set
|
|
191
|
-
if (this.
|
|
192
|
-
this.
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
this._adapter.setHostAttribute(LIST_ITEM_CONSTANTS.attributes.ACTIVE);
|
|
126
|
+
set disabled(value) {
|
|
127
|
+
if (this._disabled !== value) {
|
|
128
|
+
this._disabled = value;
|
|
129
|
+
if (this._disabled) {
|
|
130
|
+
this._adapter.removeHostListener('click', this._clickListener);
|
|
196
131
|
}
|
|
197
132
|
else {
|
|
198
|
-
this._adapter.
|
|
133
|
+
this._adapter.addHostListener('click', this._clickListener);
|
|
199
134
|
}
|
|
135
|
+
this._adapter.setDisabled(this._disabled);
|
|
136
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.DISABLED, this._disabled);
|
|
200
137
|
}
|
|
201
138
|
}
|
|
202
|
-
/** Gets/sets whether the list item is selected or not. */
|
|
203
139
|
get selected() {
|
|
204
140
|
return this._selected;
|
|
205
141
|
}
|
|
206
142
|
set selected(value) {
|
|
207
143
|
if (this._selected !== value) {
|
|
208
144
|
this._selected = value;
|
|
209
|
-
this._adapter.
|
|
210
|
-
this._adapter.tryToggleCheckboxRadio(this._selected);
|
|
145
|
+
this._adapter.tryToggleSelectionControl(this._selected);
|
|
211
146
|
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.SELECTED, this._selected);
|
|
212
147
|
}
|
|
213
148
|
}
|
|
214
|
-
|
|
149
|
+
get active() {
|
|
150
|
+
return this._active;
|
|
151
|
+
}
|
|
152
|
+
set active(value) {
|
|
153
|
+
if (this._active !== value) {
|
|
154
|
+
this._active = value;
|
|
155
|
+
this._adapter.setActive(this._active);
|
|
156
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.ACTIVE, this._active);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
215
159
|
get value() {
|
|
216
160
|
return this._value;
|
|
217
161
|
}
|
|
218
162
|
set value(value) {
|
|
219
163
|
this._value = value;
|
|
220
164
|
const isSelected = this._adapter.trySelect(this._value);
|
|
221
|
-
if (isSelected
|
|
222
|
-
this.
|
|
223
|
-
}
|
|
224
|
-
}
|
|
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);
|
|
165
|
+
if (isSelected !== null && isSelected !== this._selected) {
|
|
166
|
+
this.selected = isSelected;
|
|
239
167
|
}
|
|
240
168
|
}
|
|
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
169
|
get dense() {
|
|
261
170
|
return this._dense;
|
|
262
171
|
}
|
|
263
172
|
set dense(value) {
|
|
264
173
|
if (this._dense !== value) {
|
|
265
174
|
this._dense = value;
|
|
266
|
-
this._adapter.setDense(this._dense);
|
|
267
175
|
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.DENSE, this._dense);
|
|
268
176
|
}
|
|
269
177
|
}
|
|
270
|
-
/** Gets/sets the dense state. */
|
|
271
178
|
get propagateClick() {
|
|
272
179
|
return this._propagateClick;
|
|
273
180
|
}
|
|
274
181
|
set propagateClick(value) {
|
|
275
182
|
if (this._propagateClick !== value) {
|
|
276
183
|
this._propagateClick = value;
|
|
277
|
-
|
|
184
|
+
if (this._propagateClick) {
|
|
185
|
+
this._adapter.removeHostListener('pointerdown', this._pointerDownListener);
|
|
186
|
+
}
|
|
187
|
+
else {
|
|
188
|
+
this._adapter.addHostListener('pointerdown', this._pointerDownListener);
|
|
189
|
+
}
|
|
190
|
+
this._adapter.setHostAttribute(LIST_ITEM_CONSTANTS.attributes.PROPAGATE_CLICK, this._propagateClick ? 'true' : 'false');
|
|
278
191
|
}
|
|
279
192
|
}
|
|
280
193
|
get indented() {
|
|
@@ -283,42 +196,34 @@ export class ListItemFoundation {
|
|
|
283
196
|
set indented(value) {
|
|
284
197
|
if (this._indented !== value) {
|
|
285
198
|
this._indented = value;
|
|
286
|
-
this._adapter.setIndented(this._indented);
|
|
287
199
|
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.INDENTED, this._indented);
|
|
288
200
|
}
|
|
289
201
|
}
|
|
202
|
+
get twoLine() {
|
|
203
|
+
return this._twoLine;
|
|
204
|
+
}
|
|
205
|
+
set twoLine(value) {
|
|
206
|
+
if (this._twoLine !== value) {
|
|
207
|
+
this._twoLine = value;
|
|
208
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.TWO_LINE, this._twoLine);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
get threeLine() {
|
|
212
|
+
return this._threeLine;
|
|
213
|
+
}
|
|
214
|
+
set threeLine(value) {
|
|
215
|
+
if (this._threeLine !== value) {
|
|
216
|
+
this._threeLine = value;
|
|
217
|
+
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.THREE_LINE, this._threeLine);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
290
220
|
get wrap() {
|
|
291
221
|
return this._wrap;
|
|
292
222
|
}
|
|
293
223
|
set wrap(value) {
|
|
294
224
|
if (this._wrap !== value) {
|
|
295
225
|
this._wrap = value;
|
|
296
|
-
this._adapter.setWrap(this._wrap);
|
|
297
226
|
this._adapter.toggleHostAttribute(LIST_ITEM_CONSTANTS.attributes.WRAP, this._wrap);
|
|
298
227
|
}
|
|
299
228
|
}
|
|
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
229
|
}
|
|
@@ -3,24 +3,24 @@
|
|
|
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
|
+
/** @deprecated Use nonInteractive instead. */
|
|
12
|
+
static: boolean;
|
|
13
|
+
nonInteractive: boolean;
|
|
18
14
|
disabled: boolean;
|
|
15
|
+
selected: boolean;
|
|
16
|
+
active: boolean;
|
|
17
|
+
value: T;
|
|
19
18
|
dense: boolean;
|
|
20
19
|
propagateClick: boolean;
|
|
21
20
|
indented: boolean;
|
|
21
|
+
twoLine: boolean;
|
|
22
|
+
threeLine: boolean;
|
|
22
23
|
wrap: boolean;
|
|
23
|
-
focus(): void;
|
|
24
24
|
}
|
|
25
25
|
declare global {
|
|
26
26
|
interface HTMLElementTagNameMap {
|
|
@@ -31,46 +31,118 @@ declare global {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
* The custom element class behind the `<forge-list-item>` element.
|
|
35
|
-
*
|
|
36
34
|
* @tag forge-list-item
|
|
35
|
+
*
|
|
36
|
+
* @summary List items are individual rows of content inside of a list.
|
|
37
|
+
*
|
|
38
|
+
* @property {string} href - The href of the list item. This forces the list item to render as an anchor element.
|
|
39
|
+
* @property {string} target - The target of the list item when an `href` is set. Defaults to `'_blank'`.
|
|
40
|
+
* @property {boolean} nonInteractive - If true, the list item will not be interactive.
|
|
41
|
+
* @property {boolean} static - If true, the list item will not be interactive. Deprecated use `nonInteractive` instead.
|
|
42
|
+
* @property {boolean} disabled - Disables the list item.
|
|
43
|
+
* @property {boolean} selected - Applies the selected state to the list item.
|
|
44
|
+
* @property {boolean} active - Applies the active state to the list item by emulating its focused state.
|
|
45
|
+
* @property {unknown} value - The unique value of the list item.
|
|
46
|
+
* @property {boolean} dense - Applies the dense state to the list item.
|
|
47
|
+
* @property {boolean} propagateClick - If true, the list item will not propagate click events to itself and therefore cannot receive focus.
|
|
48
|
+
* @property {boolean} indented - Applies the indented state by adding margin to the start of the list item.
|
|
49
|
+
* @property {boolean} twoLine - Sets the list item height to support at least two lines of text.
|
|
50
|
+
* @property {boolean} threeLine - Sets the list item height to support at least three lines of text.
|
|
51
|
+
* @property {boolean} wrap - Sets the list item to wrap its text content.
|
|
52
|
+
*
|
|
53
|
+
* @attribute {string} href - The href of the list item. This forces the list item to render as an anchor element.
|
|
54
|
+
* @attribute {string} target - The target of the list item when an `href` is set. Defaults to `'_blank'`.
|
|
55
|
+
* @attribute {boolean} non-interactive - If true, the list item will not be interactive.
|
|
56
|
+
* @attribute {boolean} static - If true, the list item will not be interactive. Deprecated use `non-interactive` instead.
|
|
57
|
+
* @attribute {boolean} disabled - Disables the list item.
|
|
58
|
+
* @attribute {boolean} selected - Applies the selected state to the list item.
|
|
59
|
+
* @attribute {boolean} active - Applies the active state to the list item by emulating its focused state.
|
|
60
|
+
* @attribute {unknown} value - The unique value of the list item.
|
|
61
|
+
* @attribute {boolean} dense - Applies the dense state to the list item.
|
|
62
|
+
* @attribute {boolean} propagate-click - If applied, the list item will not propagate click events to itself and therefore cannot receive focus.
|
|
63
|
+
* @attribute {boolean} indented - Applies the indented state by adding margin to the start of the list item.
|
|
64
|
+
* @attribute {boolean} two-line - Sets the list item height to support at least two lines of text.
|
|
65
|
+
* @attribute {boolean} three-line - Sets the list item height to support at least three lines of text.
|
|
66
|
+
* @attribute {boolean} wrap - Sets the list item to wrap its text content.
|
|
67
|
+
*
|
|
68
|
+
* @event {CustomEvent<IListItemSelectEventData>} forge-list-item-select - Fires when the list item is selected.
|
|
69
|
+
*
|
|
70
|
+
* @slot - The primary text.
|
|
71
|
+
* @slot primary-text - The primary text. A named alias for the default slot.
|
|
72
|
+
* @slot secondary-text - The secondary text.
|
|
73
|
+
* @slot tertiary-text - The tertiary text.
|
|
74
|
+
* @slot title - The title element. An alias for the primary-text slot for backwards compatibility.
|
|
75
|
+
* @slot subtitle - The subtitle element. An alias for the secondary-text slot for backwards compatibility.
|
|
76
|
+
* @slot tertiary-title - The tertiary title element. An alias for the tertiary-text slot for backwards compatibility.
|
|
77
|
+
* @slot leading - The leading content.
|
|
78
|
+
* @slot trailing - The trailing element.
|
|
79
|
+
* @slot avatar - The avatar content.
|
|
80
|
+
*
|
|
81
|
+
* @csspart root - The root container element.
|
|
82
|
+
* @csspart text-container - The container for the text content.
|
|
83
|
+
* @csspart focus-indicator__indicator - The forwarded focus indicator's internal indicator element.
|
|
84
|
+
* @csspart state-layer__surface - The forwarded state layer's internal surface element.
|
|
85
|
+
*
|
|
86
|
+
* @cssprop --forge-list-item-background-color - The background color.
|
|
87
|
+
* @cssprop --forge-list-item-shape - The shape of the list item.
|
|
88
|
+
* @cssprop --forge-list-item-padding - The padding inside of the container element.
|
|
89
|
+
* @cssprop --forge-list-item-margin - The margin around the host element.
|
|
90
|
+
* @cssprop --forge-list-item-height - The height of the container.
|
|
91
|
+
* @cssprop --forge-list-item-dense-height - The height when in the dense state.
|
|
92
|
+
* @cssprop --forge-list-item-indent - The margin inline state when in the indented state.
|
|
93
|
+
* @cssprop --forge-list-item-supporting-text-color - The text color of the supporting text.
|
|
94
|
+
* @cssprop --forge-list-item-supporting-line-height - The line height of the supporting text.
|
|
95
|
+
* @cssprop --forge-list-item-selected-color - The color when in the selected state.
|
|
96
|
+
* @cssprop --forge-list-item-opacity - The opacity of the background color when in the disabled state.
|
|
97
|
+
* @cssprop --forge-list-item-selected-leading-color - The color of the leading content when in the selected state.
|
|
98
|
+
* @cssprop --forge-list-item-selected-trailing-color - The color of the trailing content when in the selected state.
|
|
99
|
+
* @cssprop --forge-list-item-selected-supporting-text-color - The color of the supporting text when in the selected state.
|
|
100
|
+
* @cssprop --forge-list-item-disabled-opacity - The opacity of the element when in the disabled state.
|
|
101
|
+
* @cssprop --forge-list-item-disabled-cursor - The cursor when in the disabled state.
|
|
102
|
+
* @cssprop --forge-list-item-one-line-height - The line height when in the one/single line state.
|
|
103
|
+
* @cssprop --forge-list-item-two-line-height - The line height when in the two line state.
|
|
104
|
+
* @cssprop --forge-list-item-three-line-height - The line height when in the three line state.
|
|
105
|
+
* @cssprop --forge-list-item-dense-one-line-height - The line height when in the dense one/single line state.
|
|
106
|
+
* @cssprop --forge-list-item-dense-two-line-height - The line height when in the dense two line state.
|
|
107
|
+
* @cssprop --forge-list-item-dense-three-line-height - The line height when in the dense three line state.
|
|
108
|
+
* @cssprop --forge-list-item-dense-font-size - The font size when in the dense state.
|
|
109
|
+
* @cssprop --forge-list-item-dense-indent - The margin inline state when in the dense indented state.
|
|
110
|
+
* @cssprop --forge-list-item-dense-leading-margin-end - The margin end of the leading content when in the dense state.
|
|
111
|
+
* @cssprop --forge-list-item-dense-trailing-margin-start - The margin start of the trailing content when in the dense state.
|
|
112
|
+
* @cssprop --forge-list-item-leading-margin-start - The margin start of the leading content.
|
|
113
|
+
* @cssprop --forge-list-item-leading-margin-end - The margin end of the leading content.
|
|
114
|
+
* @cssprop --forge-list-item-leading-selected-color - The color of the leading content when in the selected state.
|
|
115
|
+
* @cssprop --forge-list-item-trailing-margin-start - The margin start of the trailing content.
|
|
116
|
+
* @cssprop --forge-list-item-trailing-margin-end - The margin end of the trailing content.
|
|
117
|
+
* @cssprop --forge-list-item-trailing-selected-color - The color of the trailing content when in the selected state.
|
|
118
|
+
* @cssprop --forge-list-item-avatar-background-color - The background color of the avatar container.
|
|
119
|
+
* @cssprop --forge-list-item-avatar-color - The foreground color of the avatar container.
|
|
120
|
+
* @cssprop --forge-list-item-avatar-shape - The shape of the avatar container.
|
|
121
|
+
* @cssprop --forge-list-item-avatar-margin-start - The margin start of the avatar container.
|
|
122
|
+
* @cssprop --forge-list-item-avatar-margin-end - The margin end of the avatar container.
|
|
123
|
+
* @cssprop --forge-list-item-avatar-size - The height & width of the avatar container.
|
|
37
124
|
*/
|
|
38
|
-
export declare class ListItemComponent extends
|
|
125
|
+
export declare class ListItemComponent extends HTMLElement implements IListItemComponent {
|
|
39
126
|
static get observedAttributes(): string[];
|
|
40
127
|
private _foundation;
|
|
41
128
|
constructor();
|
|
42
129
|
connectedCallback(): void;
|
|
43
130
|
disconnectedCallback(): void;
|
|
44
131
|
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. */
|
|
132
|
+
focus(): void;
|
|
59
133
|
href: string;
|
|
60
|
-
/** Gets/sets the href link target. Only pertains when `href` is also used. */
|
|
61
134
|
target: string;
|
|
62
|
-
/**
|
|
63
|
-
|
|
64
|
-
|
|
135
|
+
/** @deprecated Use nonInteractive instead. */
|
|
136
|
+
static: boolean;
|
|
137
|
+
nonInteractive: boolean;
|
|
65
138
|
disabled: boolean;
|
|
66
|
-
|
|
139
|
+
selected: boolean;
|
|
140
|
+
active: boolean;
|
|
141
|
+
value: unknown;
|
|
67
142
|
dense: boolean;
|
|
68
|
-
/** Gets/sets whether the list item allows mousedown events through to the underlying list item element. Default is true. */
|
|
69
143
|
propagateClick: boolean;
|
|
70
|
-
/** Gets/sets whether the list item is indented or not. Default is false. */
|
|
71
144
|
indented: boolean;
|
|
72
|
-
|
|
145
|
+
twoLine: boolean;
|
|
146
|
+
threeLine: boolean;
|
|
73
147
|
wrap: boolean;
|
|
74
|
-
/** Sets focus to this list item. */
|
|
75
|
-
focus(): void;
|
|
76
148
|
}
|