@tylertech/forge 3.0.0-next.5 → 3.0.0-next.7
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 +3175 -1640
- package/dist/esm/accordion/index.js +1 -1
- package/dist/esm/app-bar/help-button/index.js +1 -1
- package/dist/esm/app-bar/index.js +1 -1
- package/dist/esm/app-bar/menu-button/index.js +1 -1
- package/dist/esm/app-bar/notification-button/index.js +1 -1
- package/dist/esm/app-bar/profile-button/index.js +1 -1
- package/dist/esm/app-bar/search/index.js +1 -1
- package/dist/esm/autocomplete/index.js +1 -1
- package/dist/esm/avatar/index.js +1 -1
- package/dist/esm/backdrop/index.js +1 -1
- package/dist/esm/badge/index.js +1 -1
- package/dist/esm/banner/index.js +1 -1
- package/dist/esm/bottom-sheet/index.js +1 -1
- package/dist/esm/busy-indicator/index.js +1 -1
- package/dist/esm/button/index.js +1 -1
- package/dist/esm/button-toggle/button-toggle/index.js +1 -1
- package/dist/esm/button-toggle/button-toggle-group/index.js +1 -1
- package/dist/esm/button-toggle/index.js +1 -1
- package/dist/esm/calendar/calendar-dropdown/index.js +1 -1
- package/dist/esm/calendar/calendar-menu/index.js +1 -1
- package/dist/esm/calendar/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.UEN7B7Q4.js → chunk.246JM2YT.js} +2 -2
- package/dist/esm/chunks/{chunk.64F24XMH.js → chunk.24L5GDD2.js} +2 -2
- package/dist/esm/chunks/{chunk.IGOGRMRW.js → chunk.2CTK5R37.js} +2 -2
- package/dist/esm/chunks/chunk.2IQGDFQS.js +7 -0
- package/dist/esm/chunks/{chunk.U4CFRHOW.js.map → chunk.2IQGDFQS.js.map} +1 -1
- package/dist/esm/chunks/{chunk.ZXPAXZCF.js → chunk.2LRDPTHK.js} +2 -2
- package/dist/esm/chunks/{chunk.HSXUQFHK.js → chunk.2QFIMTVP.js} +2 -2
- package/dist/esm/chunks/{chunk.SCP23NBN.js → chunk.2QSDH3PC.js} +2 -2
- package/dist/esm/chunks/{chunk.KWD5EK54.js → chunk.2TQONIPK.js} +2 -2
- package/dist/esm/chunks/{chunk.SSJYPH4U.js → chunk.2XFVFZ3P.js} +2 -2
- package/dist/esm/chunks/{chunk.BPEGGZOR.js → chunk.2YAU7AXH.js} +2 -2
- package/dist/esm/chunks/{chunk.KI5FPZOX.js → chunk.2YX7ASSX.js} +2 -2
- package/dist/esm/chunks/{chunk.Y4OET6II.js → chunk.2ZTERGYF.js} +2 -2
- package/dist/esm/chunks/{chunk.3OT44DTM.js → chunk.3CBVRCKM.js} +2 -2
- package/dist/esm/chunks/{chunk.7BNQYL2F.js → chunk.4EB5NVCK.js} +2 -2
- package/dist/esm/chunks/{chunk.4NV7AHF2.js → chunk.4LVS2EYJ.js} +2 -2
- package/dist/esm/chunks/{chunk.LQQIN7JE.js → chunk.57IVD67K.js} +2 -2
- package/dist/esm/chunks/{chunk.RXBGYGVH.js → chunk.5CMQ7DNL.js} +2 -2
- package/dist/esm/chunks/chunk.5IVB5L5Z.js +7 -0
- package/dist/esm/chunks/{chunk.FZ43DC2H.js.map → chunk.5IVB5L5Z.js.map} +1 -1
- package/dist/esm/chunks/{chunk.MT3CYR5E.js → chunk.5M6Y2RU6.js} +2 -2
- package/dist/esm/chunks/{chunk.E5H7OQXZ.js → chunk.5PHLKON3.js} +2 -2
- package/dist/esm/chunks/chunk.5V5ABSHI.js +7 -0
- package/dist/esm/chunks/{chunk.TKDMM2ZZ.js.map → chunk.5V5ABSHI.js.map} +1 -1
- package/dist/esm/chunks/{chunk.A6RLV2QU.js → chunk.632OMHHN.js} +2 -2
- package/dist/esm/chunks/{chunk.PNDQ3LAB.js → chunk.6SBTLXLH.js} +2 -2
- package/dist/esm/chunks/chunk.7G72CBOJ.js +7 -0
- package/dist/esm/chunks/{chunk.FHW6LV4A.js.map → chunk.7G72CBOJ.js.map} +1 -1
- package/dist/esm/chunks/{chunk.KTPSDP4C.js → chunk.7JQHQKXN.js} +2 -2
- package/dist/esm/chunks/{chunk.BTTHTLD3.js → chunk.7WVTJIVR.js} +2 -2
- package/dist/esm/chunks/{chunk.PKZYVWEG.js → chunk.7ZQMJLHE.js} +2 -2
- package/dist/esm/chunks/{chunk.A5D7XSBD.js → chunk.A5MBSCSQ.js} +2 -2
- package/dist/esm/chunks/{chunk.7UN5EYUE.js → chunk.A5R7KUIP.js} +2 -2
- package/dist/esm/chunks/{chunk.XARGY3WT.js → chunk.AGMPIMJV.js} +2 -2
- package/dist/esm/chunks/{chunk.3W2ERIMT.js → chunk.BKCEVPKW.js} +2 -2
- package/dist/esm/chunks/{chunk.X63F5NVD.js → chunk.BSTIDYQJ.js} +2 -2
- package/dist/esm/chunks/{chunk.UUUF27IU.js → chunk.BWZKQ6WX.js} +2 -2
- package/dist/esm/chunks/{chunk.XBW6KSW3.js → chunk.CNQESSA3.js} +2 -2
- package/dist/esm/chunks/{chunk.55FCNVG5.js → chunk.DTZFWZPB.js} +2 -2
- package/dist/esm/chunks/{chunk.R4B7JSSA.js → chunk.E6KWYFZG.js} +2 -2
- package/dist/esm/chunks/{chunk.XGWGJFWC.js → chunk.E7Z3IRWV.js} +2 -2
- package/dist/esm/chunks/{chunk.NSTCCETU.js → chunk.ECRL6O3V.js} +2 -2
- package/dist/esm/chunks/{chunk.W6MDMZTN.js → chunk.EDEYCLDU.js} +2 -2
- package/dist/esm/chunks/{chunk.P6ZUHPI6.js → chunk.ER52NFXX.js} +2 -2
- package/dist/esm/chunks/{chunk.AY46N5Y7.js → chunk.EUE3OVC7.js} +2 -2
- package/dist/esm/chunks/{chunk.RMPS2I2P.js → chunk.EYZ25QUP.js} +2 -2
- package/dist/esm/chunks/{chunk.VJ2SSV5X.js → chunk.FAANPQES.js} +2 -2
- package/dist/esm/chunks/{chunk.MZLPUI6R.js → chunk.FYWPZFLJ.js} +2 -2
- package/dist/esm/chunks/{chunk.MZLPUI6R.js.map → chunk.FYWPZFLJ.js.map} +2 -2
- package/dist/esm/chunks/{chunk.DX32NTD3.js → chunk.GF2GUVYS.js} +2 -2
- package/dist/esm/chunks/chunk.GHSAKRYH.js +7 -0
- package/dist/esm/chunks/{chunk.2TVYAW7Q.js.map → chunk.GHSAKRYH.js.map} +1 -1
- package/dist/esm/chunks/chunk.GJW4WS4I.js +7 -0
- package/dist/esm/chunks/{chunk.P4TIMZKU.js → chunk.GUYPITGA.js} +2 -2
- package/dist/esm/chunks/chunk.GWIVOPRO.js +7 -0
- package/dist/esm/chunks/chunk.GWIVOPRO.js.map +7 -0
- package/dist/esm/chunks/{chunk.T64UW37U.js → chunk.H5D54EHO.js} +2 -2
- package/dist/esm/chunks/{chunk.FPMQAUL3.js → chunk.HKJEGD6C.js} +2 -2
- package/dist/esm/chunks/chunk.HRGTAVNA.js +7 -0
- package/dist/esm/chunks/{chunk.UZENE2NC.js.map → chunk.HRGTAVNA.js.map} +2 -2
- package/dist/esm/chunks/{chunk.7KEUUHXY.js → chunk.IDD54B5P.js} +2 -2
- package/dist/esm/chunks/chunk.IGK3VYZG.js +7 -0
- package/dist/esm/chunks/chunk.IGK3VYZG.js.map +7 -0
- package/dist/esm/chunks/{chunk.H4H75YUA.js → chunk.IWA3CYIB.js} +2 -2
- package/dist/esm/chunks/chunk.JHXNEHWR.js +12 -0
- package/dist/esm/chunks/{chunk.ZOV2BUZG.js → chunk.JVW6JGV3.js} +2 -2
- package/dist/esm/chunks/chunk.MF36FG2X.js +7 -0
- package/dist/esm/chunks/{chunk.LSFIZAUF.js.map → chunk.MF36FG2X.js.map} +1 -1
- package/dist/esm/chunks/{chunk.P64BBB3U.js → chunk.MXNLCQRB.js} +2 -2
- package/dist/esm/chunks/chunk.NK7H3MMM.js +7 -0
- package/dist/esm/chunks/{chunk.QH2GB3PD.js.map → chunk.NK7H3MMM.js.map} +2 -2
- package/dist/esm/chunks/chunk.NVMILGC2.js +7 -0
- package/dist/esm/chunks/{chunk.WDTA5G7R.js.map → chunk.NVMILGC2.js.map} +3 -3
- package/dist/esm/chunks/chunk.OHNPVHPF.js +7 -0
- package/dist/esm/chunks/chunk.OHNPVHPF.js.map +7 -0
- package/dist/esm/chunks/chunk.OT6H5NHX.js +7 -0
- package/dist/esm/chunks/chunk.OTVT3XM2.js +7 -0
- package/dist/esm/chunks/{chunk.4ZWV37ZJ.js → chunk.P5QIB6OY.js} +2 -2
- package/dist/esm/chunks/{chunk.ZB54OC26.js → chunk.PHBOQRF6.js} +2 -2
- package/dist/esm/chunks/{chunk.YTOYNJMD.js → chunk.PHTOULRR.js} +2 -2
- package/dist/esm/chunks/chunk.PPPTT3SM.js +7 -0
- package/dist/esm/chunks/{chunk.C4YKXXKM.js.map → chunk.PPPTT3SM.js.map} +1 -1
- package/dist/esm/chunks/{chunk.VMQZA47V.js → chunk.QA3NU7EN.js} +2 -2
- package/dist/esm/chunks/chunk.QYKO543K.js +7 -0
- package/dist/esm/chunks/{chunk.RHPJRCIC.js.map → chunk.QYKO543K.js.map} +1 -1
- package/dist/esm/chunks/{chunk.7VWG4IEN.js → chunk.QZK3WEH6.js} +2 -2
- package/dist/esm/chunks/{chunk.GFWFEBAH.js → chunk.RGPNNISQ.js} +2 -2
- package/dist/esm/chunks/chunk.RHYRMQS7.js +7 -0
- package/dist/esm/chunks/chunk.RHYRMQS7.js.map +7 -0
- package/dist/esm/chunks/{chunk.EUNKM7XR.js → chunk.RUSHOL23.js} +2 -2
- package/dist/esm/chunks/chunk.SIJGKRYS.js +7 -0
- package/dist/esm/chunks/{chunk.TFMOLR6W.js.map → chunk.SIJGKRYS.js.map} +1 -1
- package/dist/esm/chunks/{chunk.EWEX3PHR.js → chunk.STGRPD2L.js} +2 -2
- package/dist/esm/chunks/{chunk.EWEX3PHR.js.map → chunk.STGRPD2L.js.map} +1 -1
- package/dist/esm/chunks/chunk.SYZB7B4F.js +7 -0
- package/dist/esm/chunks/chunk.SYZB7B4F.js.map +7 -0
- package/dist/esm/chunks/chunk.SZIM4KFZ.js +7 -0
- package/dist/esm/chunks/chunk.SZIM4KFZ.js.map +7 -0
- package/dist/esm/chunks/{chunk.YNE75HFH.js → chunk.THPU5KBV.js} +2 -2
- package/dist/esm/chunks/{chunk.INRH62VL.js → chunk.TL6WVBGT.js} +2 -2
- package/dist/esm/chunks/{chunk.O4KZV4MX.js → chunk.TT2VTZJ6.js} +2 -2
- package/dist/esm/chunks/{chunk.7X7A74SI.js → chunk.TXFYS6EU.js} +2 -2
- package/dist/esm/chunks/{chunk.5MPUISW3.js → chunk.U4GYQOPY.js} +2 -2
- package/dist/esm/chunks/{chunk.I3MZQIAF.js → chunk.UCM6CGFM.js} +2 -2
- package/dist/esm/chunks/{chunk.SOMT6F6S.js → chunk.V4RBOYNH.js} +2 -2
- package/dist/esm/chunks/{chunk.2R72ZTIK.js → chunk.V6JVHYVW.js} +2 -2
- package/dist/esm/chunks/{chunk.UROMKMFI.js → chunk.WBYXVMYI.js} +2 -2
- package/dist/esm/chunks/chunk.WFDIA7R6.js +7 -0
- package/dist/esm/chunks/chunk.WFDIA7R6.js.map +7 -0
- package/dist/esm/chunks/{chunk.QUJL4A23.js → chunk.WO7KEM5K.js} +2 -2
- package/dist/esm/chunks/{chunk.HVYK2OWE.js → chunk.WYP2M5FR.js} +2 -2
- package/dist/esm/chunks/{chunk.NEMJIVPU.js → chunk.X3YNJSDT.js} +2 -2
- package/dist/esm/chunks/{chunk.WQL55O4A.js → chunk.XMFQFFKR.js} +2 -2
- package/dist/esm/chunks/{chunk.46LZNRRP.js → chunk.Y5UJ23LB.js} +2 -2
- package/dist/esm/chunks/{chunk.S5EJVD5E.js → chunk.YQXX5KSW.js} +2 -2
- package/dist/esm/chunks/{chunk.RVUMHJMM.js → chunk.YUAU5IWT.js} +2 -2
- package/dist/esm/chunks/{chunk.YSFUL5AD.js → chunk.YZLASVCK.js} +2 -2
- package/dist/esm/chunks/{chunk.ELY4YCON.js → chunk.Z5TWWM7I.js} +2 -2
- package/dist/esm/chunks/{chunk.RPKVFFQ6.js → chunk.ZIB7L7DZ.js} +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/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/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/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/utils/index.js +1 -1
- package/dist/esm/view-switcher/index.js +1 -1
- package/dist/esm/view-switcher/view/index.js +1 -1
- package/esm/accordion/accordion.js +4 -4
- package/esm/app-bar/app-bar.js +5 -5
- package/esm/app-bar/notification-button/app-bar-notification-button.js +5 -5
- package/esm/app-bar/profile-button/app-bar-profile-button-constants.d.ts +1 -1
- package/esm/app-bar/profile-button/app-bar-profile-button.js +4 -4
- package/esm/app-bar/search/app-bar-search.js +6 -6
- package/esm/autocomplete/autocomplete-adapter.d.ts +0 -2
- package/esm/autocomplete/autocomplete-adapter.js +0 -4
- package/esm/autocomplete/autocomplete-component-delegate.d.ts +1 -1
- package/esm/autocomplete/autocomplete-constants.d.ts +4 -4
- package/esm/autocomplete/autocomplete-foundation.js +0 -11
- package/esm/autocomplete/autocomplete.js +6 -6
- package/esm/avatar/avatar-component-delegate.d.ts +1 -1
- package/esm/avatar/avatar.js +5 -5
- package/esm/backdrop/backdrop-constants.d.ts +1 -1
- package/esm/backdrop/backdrop.js +5 -5
- package/esm/badge/badge-component-delegate.d.ts +1 -1
- package/esm/badge/badge.js +5 -5
- package/esm/banner/banner.js +6 -6
- package/esm/bottom-sheet/bottom-sheet.js +5 -5
- package/esm/busy-indicator/busy-indicator-constants.d.ts +1 -1
- package/esm/busy-indicator/busy-indicator.js +5 -5
- package/esm/button/button-component-delegate.d.ts +1 -1
- package/esm/button/button.js +3 -3
- package/esm/button-toggle/button-toggle/button-toggle.js +6 -6
- package/esm/button-toggle/button-toggle-group/button-toggle-group-constants.d.ts +2 -2
- package/esm/button-toggle/button-toggle-group/button-toggle-group.js +5 -5
- package/esm/calendar/calendar-component-delegate.d.ts +1 -1
- package/esm/calendar/calendar-constants.d.ts +10 -10
- package/esm/calendar/calendar-dropdown/calendar-dropdown.js +5 -5
- package/esm/calendar/calendar-menu/calendar-menu-constants.d.ts +2 -2
- package/esm/calendar/calendar-menu/calendar-menu.js +5 -5
- package/esm/calendar/calendar.js +6 -6
- package/esm/card/card.js +5 -5
- package/esm/checkbox/checkbox-component-delegate.d.ts +1 -1
- package/esm/checkbox/checkbox.js +3 -3
- package/esm/chip-field/chip-field-component-delegate.d.ts +1 -1
- package/esm/chips/chip/chip.js +6 -6
- package/esm/chips/chip-set/chip-set.js +5 -5
- package/esm/circular-progress/circular-progress.js +5 -5
- package/esm/color-picker/color-picker-constants.d.ts +2 -2
- package/esm/color-picker/color-picker.js +6 -6
- package/esm/core/delegates/base-component-delegate.d.ts +1 -1
- package/esm/core/delegates/base-component-delegate.js +3 -3
- package/esm/core/delegates/form-field-component-delegate.d.ts +1 -1
- package/esm/core/mask/time-segment-parser.d.ts +1 -1
- package/esm/core/utils/utils.d.ts +17 -0
- package/esm/core/utils/utils.js +27 -0
- package/esm/date-picker/date-picker-component-delegate.d.ts +1 -1
- package/esm/date-range-picker/date-range-picker-component-delegate.d.ts +1 -1
- package/esm/dialog/dialog-constants.d.ts +2 -2
- package/esm/dialog/dialog.js +5 -5
- package/esm/drawer/base/base-drawer-constants.d.ts +1 -1
- package/esm/expansion-panel/expansion-panel.js +5 -5
- package/esm/field/field-constants.d.ts +3 -3
- package/esm/field/field.js +3 -3
- package/esm/file-picker/file-picker-component-delegate.d.ts +1 -1
- package/esm/file-picker/file-picker.js +5 -5
- package/esm/floating-action-button/floating-action-button-component-delegate.d.ts +1 -1
- package/esm/floating-action-button/floating-action-button.js +6 -6
- package/esm/icon/icon.js +5 -5
- package/esm/icon-button/icon-button-component-delegate.d.ts +1 -1
- package/esm/icon-button/icon-button.js +7 -7
- package/esm/keyboard-shortcut/keyboard-shortcut.js +4 -4
- package/esm/label-value/label-value-component-delegate.d.ts +1 -1
- package/esm/label-value/label-value-constants.d.ts +1 -1
- package/esm/label-value/label-value.js +5 -5
- package/esm/linear-progress/linear-progress.js +5 -5
- package/esm/list/list/list.js +5 -5
- package/esm/list/list-item/list-item.js +5 -5
- package/esm/list-dropdown/list-dropdown-adapter.js +1 -1
- package/esm/list-dropdown/list-dropdown-constants.d.ts +6 -6
- package/esm/list-dropdown/list-dropdown-utils.d.ts +1 -1
- package/esm/list-dropdown/list-dropdown-utils.js +7 -4
- package/esm/menu/menu-constants.d.ts +3 -3
- package/esm/menu/menu.js +6 -6
- package/esm/open-icon/open-icon.js +6 -6
- package/esm/paginator/paginator-constants.d.ts +1 -1
- package/esm/paginator/paginator-foundation.js +2 -0
- package/esm/paginator/paginator.js +11 -11
- package/esm/popup/popup-constants.d.ts +2 -2
- package/esm/popup/popup.js +5 -5
- package/esm/product-icon/product-icon.js +5 -5
- package/esm/profile-card/profile-card.js +5 -5
- package/esm/quantity-field/quantity-field-component-delegate.d.ts +1 -1
- package/esm/quantity-field/quantity-field.js +6 -6
- package/esm/radio/radio.js +5 -5
- package/esm/ripple/forge-ripple.d.ts +2 -0
- package/esm/ripple/forge-ripple.js +4 -0
- package/esm/ripple/ripple.js +4 -4
- package/esm/select/core/base-select-constants.d.ts +4 -4
- package/esm/select/option/option.js +4 -4
- package/esm/select/option-group/option-group.js +3 -3
- package/esm/select/select/select-adapter.d.ts +1 -1
- package/esm/select/select-component-delegate.d.ts +1 -1
- package/esm/slider/slider-adapter.d.ts +95 -0
- package/esm/slider/slider-adapter.js +238 -0
- package/esm/slider/slider-component-delegate.d.ts +19 -3
- package/esm/slider/slider-component-delegate.js +48 -0
- package/esm/slider/slider-constants.d.ts +58 -19
- package/esm/slider/slider-constants.js +59 -14
- package/esm/slider/slider-foundation.d.ts +95 -0
- package/esm/slider/slider-foundation.js +319 -0
- package/esm/slider/slider-handle-ripple.d.ts +18 -0
- package/esm/slider/slider-handle-ripple.js +37 -0
- package/esm/slider/slider-utils.d.ts +9 -0
- package/esm/slider/slider-utils.js +53 -0
- package/esm/slider/slider.d.ts +135 -65
- package/esm/slider/slider.js +235 -246
- package/esm/split-view/split-view/split-view-constants.d.ts +1 -1
- package/esm/split-view/split-view/split-view.js +5 -5
- package/esm/split-view/split-view-panel/split-view-panel-constants.d.ts +2 -2
- package/esm/split-view/split-view-panel/split-view-panel-foundation.js +18 -18
- package/esm/split-view/split-view-panel/split-view-panel.js +7 -7
- package/esm/stack/stack-constants.d.ts +1 -1
- package/esm/stack/stack.js +5 -5
- package/esm/stepper/step/step-constants.d.ts +1 -1
- package/esm/stepper/step/step.js +12 -12
- package/esm/stepper/stepper/stepper-constants.d.ts +2 -2
- package/esm/stepper/stepper/stepper.js +5 -5
- package/esm/switch/switch-component-delegate.d.ts +1 -1
- package/esm/switch/switch-constants.d.ts +1 -1
- package/esm/switch/switch.js +9 -9
- package/esm/table/table.js +5 -5
- package/esm/table/types.d.ts +4 -4
- package/esm/tabs/tab/tab-adapter.d.ts +14 -38
- package/esm/tabs/tab/tab-adapter.js +65 -78
- package/esm/tabs/tab/tab-constants.d.ts +13 -13
- package/esm/tabs/tab/tab-constants.js +18 -10
- package/esm/tabs/tab/tab-foundation.d.ts +24 -23
- package/esm/tabs/tab/tab-foundation.js +68 -62
- package/esm/tabs/tab/tab-ripple.d.ts +17 -0
- package/esm/tabs/tab/tab-ripple.js +33 -0
- package/esm/tabs/tab/tab.d.ts +56 -19
- package/esm/tabs/tab/tab.js +82 -36
- package/esm/tabs/tab-bar/tab-bar-adapter.d.ts +49 -87
- package/esm/tabs/tab-bar/tab-bar-adapter.js +114 -188
- package/esm/tabs/tab-bar/tab-bar-constants.d.ts +15 -45
- package/esm/tabs/tab-bar/tab-bar-constants.js +22 -56
- package/esm/tabs/tab-bar/tab-bar-foundation.d.ts +56 -65
- package/esm/tabs/tab-bar/tab-bar-foundation.js +241 -302
- package/esm/tabs/tab-bar/tab-bar.d.ts +51 -36
- package/esm/tabs/tab-bar/tab-bar.js +89 -57
- package/esm/text-field/text-field-component-delegate.d.ts +1 -1
- package/esm/theme/theme-utils.d.ts +2 -2
- package/esm/time-picker/time-picker-component-delegate.d.ts +1 -1
- package/esm/time-picker/time-picker-constants.d.ts +6 -6
- package/esm/time-picker/time-picker.js +6 -6
- package/esm/toast/toast-constants.d.ts +2 -2
- package/esm/toast/toast.js +6 -6
- package/esm/toolbar/toolbar.js +5 -5
- package/esm/tooltip/tooltip-constants.d.ts +1 -1
- package/esm/tooltip/tooltip.js +4 -4
- package/esm/utils/color-utils.js +1 -0
- package/esm/view-switcher/view-switcher.js +5 -5
- package/package.json +1 -1
- package/styles/core/style-layer/slider/_core.scss +550 -0
- package/styles/core/style-layer/slider/_functions.scss +33 -0
- package/styles/core/style-layer/slider/_variables.scss +17 -0
- package/styles/core/style-layer/slider/index.scss +18 -0
- package/styles/core/style-layer/tabs/tab/_core.scss +419 -0
- package/styles/core/style-layer/tabs/tab/_variables.scss +20 -0
- package/styles/core/style-layer/tabs/tab/index.scss +13 -0
- package/styles/core/style-layer/tabs/tab-bar/_core.scss +110 -0
- package/styles/core/style-layer/tabs/tab-bar/_variables.scss +9 -0
- package/styles/core/style-layer/tabs/tab-bar/index.scss +13 -0
- package/styles/slider/_mixins.scss +27 -0
- package/styles/slider/_variables.scss +37 -0
- package/styles/slider/slider.scss +3 -20
- package/styles/tabs/tab/_mixins.scss +46 -128
- package/styles/tabs/tab/_variables.scss +26 -4
- package/styles/tabs/tab/tab.scss +50 -11
- package/styles/tabs/tab-bar/_mixins.scss +20 -60
- package/styles/tabs/tab-bar/_variables.scss +11 -0
- package/styles/tabs/tab-bar/tab-bar.scss +29 -2
- package/dist/esm/chunks/chunk.2TVYAW7Q.js +0 -7
- package/dist/esm/chunks/chunk.3SBF7CUU.js +0 -201
- package/dist/esm/chunks/chunk.3SBF7CUU.js.map +0 -7
- package/dist/esm/chunks/chunk.3XZRUXG7.js +0 -7
- package/dist/esm/chunks/chunk.7JBR7GWZ.js +0 -7
- package/dist/esm/chunks/chunk.ABN3DL7G.js +0 -7
- package/dist/esm/chunks/chunk.C4YKXXKM.js +0 -7
- package/dist/esm/chunks/chunk.FF5DED5D.js +0 -7
- package/dist/esm/chunks/chunk.FF5DED5D.js.map +0 -7
- package/dist/esm/chunks/chunk.FHW6LV4A.js +0 -7
- package/dist/esm/chunks/chunk.FZ43DC2H.js +0 -7
- package/dist/esm/chunks/chunk.GOZVC3ZT.js +0 -7
- package/dist/esm/chunks/chunk.GOZVC3ZT.js.map +0 -7
- package/dist/esm/chunks/chunk.IMRPJU4M.js +0 -129
- package/dist/esm/chunks/chunk.IMRPJU4M.js.map +0 -7
- package/dist/esm/chunks/chunk.JKEIP657.js +0 -7
- package/dist/esm/chunks/chunk.JKEIP657.js.map +0 -7
- package/dist/esm/chunks/chunk.LSFIZAUF.js +0 -7
- package/dist/esm/chunks/chunk.QH2GB3PD.js +0 -7
- package/dist/esm/chunks/chunk.RHPJRCIC.js +0 -7
- package/dist/esm/chunks/chunk.SKEI7ZSK.js +0 -153
- package/dist/esm/chunks/chunk.SKEI7ZSK.js.map +0 -7
- package/dist/esm/chunks/chunk.TFMOLR6W.js +0 -7
- package/dist/esm/chunks/chunk.TKDMM2ZZ.js +0 -7
- package/dist/esm/chunks/chunk.U4CFRHOW.js +0 -7
- package/dist/esm/chunks/chunk.UETV4PTS.js +0 -12
- package/dist/esm/chunks/chunk.UZENE2NC.js +0 -7
- package/dist/esm/chunks/chunk.VUGNSK4K.js +0 -7
- package/dist/esm/chunks/chunk.VUGNSK4K.js.map +0 -7
- package/dist/esm/chunks/chunk.WDTA5G7R.js +0 -7
- /package/dist/esm/chunks/{chunk.UEN7B7Q4.js.map → chunk.246JM2YT.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.64F24XMH.js.map → chunk.24L5GDD2.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.IGOGRMRW.js.map → chunk.2CTK5R37.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ZXPAXZCF.js.map → chunk.2LRDPTHK.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.HSXUQFHK.js.map → chunk.2QFIMTVP.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.SCP23NBN.js.map → chunk.2QSDH3PC.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.KWD5EK54.js.map → chunk.2TQONIPK.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.SSJYPH4U.js.map → chunk.2XFVFZ3P.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.BPEGGZOR.js.map → chunk.2YAU7AXH.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.KI5FPZOX.js.map → chunk.2YX7ASSX.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.Y4OET6II.js.map → chunk.2ZTERGYF.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.3OT44DTM.js.map → chunk.3CBVRCKM.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7BNQYL2F.js.map → chunk.4EB5NVCK.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.4NV7AHF2.js.map → chunk.4LVS2EYJ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.LQQIN7JE.js.map → chunk.57IVD67K.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.RXBGYGVH.js.map → chunk.5CMQ7DNL.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.MT3CYR5E.js.map → chunk.5M6Y2RU6.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.E5H7OQXZ.js.map → chunk.5PHLKON3.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.A6RLV2QU.js.map → chunk.632OMHHN.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.PNDQ3LAB.js.map → chunk.6SBTLXLH.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.KTPSDP4C.js.map → chunk.7JQHQKXN.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.BTTHTLD3.js.map → chunk.7WVTJIVR.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.PKZYVWEG.js.map → chunk.7ZQMJLHE.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.A5D7XSBD.js.map → chunk.A5MBSCSQ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7UN5EYUE.js.map → chunk.A5R7KUIP.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.XARGY3WT.js.map → chunk.AGMPIMJV.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.3W2ERIMT.js.map → chunk.BKCEVPKW.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.X63F5NVD.js.map → chunk.BSTIDYQJ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.UUUF27IU.js.map → chunk.BWZKQ6WX.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.XBW6KSW3.js.map → chunk.CNQESSA3.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.55FCNVG5.js.map → chunk.DTZFWZPB.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.R4B7JSSA.js.map → chunk.E6KWYFZG.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.XGWGJFWC.js.map → chunk.E7Z3IRWV.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.NSTCCETU.js.map → chunk.ECRL6O3V.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.W6MDMZTN.js.map → chunk.EDEYCLDU.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.P6ZUHPI6.js.map → chunk.ER52NFXX.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.AY46N5Y7.js.map → chunk.EUE3OVC7.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.RMPS2I2P.js.map → chunk.EYZ25QUP.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.VJ2SSV5X.js.map → chunk.FAANPQES.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.DX32NTD3.js.map → chunk.GF2GUVYS.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ABN3DL7G.js.map → chunk.GJW4WS4I.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.P4TIMZKU.js.map → chunk.GUYPITGA.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.T64UW37U.js.map → chunk.H5D54EHO.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.FPMQAUL3.js.map → chunk.HKJEGD6C.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7KEUUHXY.js.map → chunk.IDD54B5P.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.H4H75YUA.js.map → chunk.IWA3CYIB.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.UETV4PTS.js.map → chunk.JHXNEHWR.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ZOV2BUZG.js.map → chunk.JVW6JGV3.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.P64BBB3U.js.map → chunk.MXNLCQRB.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.3XZRUXG7.js.map → chunk.OT6H5NHX.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7JBR7GWZ.js.map → chunk.OTVT3XM2.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.4ZWV37ZJ.js.map → chunk.P5QIB6OY.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ZB54OC26.js.map → chunk.PHBOQRF6.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.YTOYNJMD.js.map → chunk.PHTOULRR.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.VMQZA47V.js.map → chunk.QA3NU7EN.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7VWG4IEN.js.map → chunk.QZK3WEH6.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.GFWFEBAH.js.map → chunk.RGPNNISQ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.EUNKM7XR.js.map → chunk.RUSHOL23.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.YNE75HFH.js.map → chunk.THPU5KBV.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.INRH62VL.js.map → chunk.TL6WVBGT.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.O4KZV4MX.js.map → chunk.TT2VTZJ6.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7X7A74SI.js.map → chunk.TXFYS6EU.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.5MPUISW3.js.map → chunk.U4GYQOPY.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.I3MZQIAF.js.map → chunk.UCM6CGFM.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.SOMT6F6S.js.map → chunk.V4RBOYNH.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.2R72ZTIK.js.map → chunk.V6JVHYVW.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.UROMKMFI.js.map → chunk.WBYXVMYI.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.QUJL4A23.js.map → chunk.WO7KEM5K.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.HVYK2OWE.js.map → chunk.WYP2M5FR.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.NEMJIVPU.js.map → chunk.X3YNJSDT.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.WQL55O4A.js.map → chunk.XMFQFFKR.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.46LZNRRP.js.map → chunk.Y5UJ23LB.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.S5EJVD5E.js.map → chunk.YQXX5KSW.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.RVUMHJMM.js.map → chunk.YUAU5IWT.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.YSFUL5AD.js.map → chunk.YZLASVCK.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ELY4YCON.js.map → chunk.Z5TWWM7I.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.RPKVFFQ6.js.map → chunk.ZIB7L7DZ.js.map} +0 -0
|
@@ -18,11 +18,6 @@ const styles = '@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animatio
|
|
|
18
18
|
* @tag forge-split-view
|
|
19
19
|
*/
|
|
20
20
|
let SplitViewComponent = class SplitViewComponent extends BaseComponent {
|
|
21
|
-
constructor() {
|
|
22
|
-
super();
|
|
23
|
-
attachShadowTemplate(this, template, styles);
|
|
24
|
-
this._foundation = new SplitViewFoundation(new SplitViewAdapter(this));
|
|
25
|
-
}
|
|
26
21
|
static get observedAttributes() {
|
|
27
22
|
return [
|
|
28
23
|
SPLIT_VIEW_CONSTANTS.attributes.ORIENTATION,
|
|
@@ -32,6 +27,11 @@ let SplitViewComponent = class SplitViewComponent extends BaseComponent {
|
|
|
32
27
|
SPLIT_VIEW_CONSTANTS.attributes.AUTO_CLOSE_THRESHOLD
|
|
33
28
|
];
|
|
34
29
|
}
|
|
30
|
+
constructor() {
|
|
31
|
+
super();
|
|
32
|
+
attachShadowTemplate(this, template, styles);
|
|
33
|
+
this._foundation = new SplitViewFoundation(new SplitViewAdapter(this));
|
|
34
|
+
}
|
|
35
35
|
connectedCallback() {
|
|
36
36
|
this._foundation.initialize();
|
|
37
37
|
}
|
|
@@ -63,8 +63,8 @@ export declare const SPLIT_VIEW_PANEL_CONSTANTS: {
|
|
|
63
63
|
CURSOR: string;
|
|
64
64
|
};
|
|
65
65
|
};
|
|
66
|
-
export
|
|
67
|
-
export
|
|
66
|
+
export type SplitViewPanelResizable = 'start' | 'end' | 'off';
|
|
67
|
+
export type SplitViewInputDeviceType = 'pointer' | 'keyboard';
|
|
68
68
|
export declare enum SplitViewAnimatingLayer {
|
|
69
69
|
Under = 1,
|
|
70
70
|
Active = 2,
|
|
@@ -9,24 +9,6 @@ import { eventIncludesArrowKey } from '../../core/utils/event-utils';
|
|
|
9
9
|
import { SPLIT_VIEW_PANEL_CONSTANTS } from './split-view-panel-constants';
|
|
10
10
|
import { clampSize, clearState, getPixelDimension, getValuenow, handleBoundariesAfterResize, handleBoundariesDuringResize, initState, keyboardResize, maxResize, minResize, pointerResize, setState } from './split-view-panel-utils';
|
|
11
11
|
export class SplitViewPanelFoundation {
|
|
12
|
-
constructor(_adapter) {
|
|
13
|
-
this._adapter = _adapter;
|
|
14
|
-
// API
|
|
15
|
-
this._size = 200;
|
|
16
|
-
this._min = 0;
|
|
17
|
-
this._accessibleLabel = 'Split view panel';
|
|
18
|
-
this._open = true;
|
|
19
|
-
// State
|
|
20
|
-
this._state = initState();
|
|
21
|
-
this._isInitialized = false;
|
|
22
|
-
// Properties inherited from parent split view
|
|
23
|
-
this._parentProperties = {};
|
|
24
|
-
this._pointerdownListener = evt => this._onPointerdown(evt);
|
|
25
|
-
this._pointerupListener = evt => this._onPointerup(evt);
|
|
26
|
-
this._pointermoveListener = evt => this._onPointermove(evt);
|
|
27
|
-
this._keydownListener = evt => this._onKeydown(evt);
|
|
28
|
-
this._keyupListener = evt => this._onKeyup(evt);
|
|
29
|
-
}
|
|
30
12
|
// Properties stored in state
|
|
31
13
|
get _orientation() {
|
|
32
14
|
return this._state.orientation;
|
|
@@ -69,6 +51,24 @@ export class SplitViewPanelFoundation {
|
|
|
69
51
|
var _a, _b;
|
|
70
52
|
return (_b = (_a = this._autoCloseThreshold) !== null && _a !== void 0 ? _a : this._parentProperties.autoCloseThreshold) !== null && _b !== void 0 ? _b : 0;
|
|
71
53
|
}
|
|
54
|
+
constructor(_adapter) {
|
|
55
|
+
this._adapter = _adapter;
|
|
56
|
+
// API
|
|
57
|
+
this._size = 200;
|
|
58
|
+
this._min = 0;
|
|
59
|
+
this._accessibleLabel = 'Split view panel';
|
|
60
|
+
this._open = true;
|
|
61
|
+
// State
|
|
62
|
+
this._state = initState();
|
|
63
|
+
this._isInitialized = false;
|
|
64
|
+
// Properties inherited from parent split view
|
|
65
|
+
this._parentProperties = {};
|
|
66
|
+
this._pointerdownListener = evt => this._onPointerdown(evt);
|
|
67
|
+
this._pointerupListener = evt => this._onPointerup(evt);
|
|
68
|
+
this._pointermoveListener = evt => this._onPointermove(evt);
|
|
69
|
+
this._keydownListener = evt => this._onKeydown(evt);
|
|
70
|
+
this._keyupListener = evt => this._onKeyup(evt);
|
|
71
|
+
}
|
|
72
72
|
initialize() {
|
|
73
73
|
this._adapter.initialize();
|
|
74
74
|
this._adapter.setPointerdownListener(this._pointerdownListener);
|
|
@@ -14,19 +14,13 @@ import { SplitViewPanelAdapter } from './split-view-panel-adapter';
|
|
|
14
14
|
import { IconComponent, IconRegistry } from '../../icon';
|
|
15
15
|
import { RippleComponent } from '../../ripple';
|
|
16
16
|
const template = '<template><div class=\"forge-split-view-panel\" id=\"root\" part=\"root\"><div class=\"forge-split-view-panel__handle\" id=\"handle\" part=\"handle\" role=\"separator\" aria-controls=\"content\" aria-grabbed=\"false\" tabindex=\"0\"><forge-icon class=\"forge-split-view-panel__icon\" id=\"icon\" part=\"icon\"></forge-icon><forge-ripple id=\"ripple\" part=\"ripple\"></forge-ripple></div><div class=\"forge-split-view-panel__content\" id=\"content\" part=\"content\" role=\"group\"><slot></slot></div></div></template>';
|
|
17
|
-
const styles = '@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity;position:relative;outline:0;overflow:hidden}.mdc-ripple-surface::after,.mdc-ripple-surface::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-ripple-surface::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface::after,.mdc-ripple-surface::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-upgraded--unbounded::after,.mdc-ripple-upgraded--unbounded::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{background-color:#000;background-color:var(--mdc-ripple-color,#000)}.mdc-ripple-surface.mdc-ripple-surface--hover::before,.mdc-ripple-surface:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{--mdc-ripple-color:var(--mdc-theme-on-surface)}.forge-split-view-panel{display:-webkit-box;display:flex;width:100%;height:100%;overflow:hidden;contain:paint size}.forge-split-view-panel__handle{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-light,rgba(0,0,0,.54));background-color:#e0e0e0;background-color:var(--forge-theme-border-color,#e0e0e0);display:-webkit-box;display:flex;flex-shrink:0;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;outline:0}.forge-split-view-panel__content{-webkit-box-flex:1;flex:1;overflow:hidden}.forge-split-view-panel--closed{display:none}.forge-split-view-panel--disabled #handle{pointer-events:none}.forge-split-view-panel--disabled .forge-split-view-panel__icon{display:none}.forge-split-view-panel[orientation=horizontal]{min-width:8px;min-width:var(--forge-split-view-handle-width,8px);width:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}.forge-split-view-panel[orientation=horizontal] .forge-split-view-panel__handle{width:8px;width:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:uaup4en;animation-name:uaup4en;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes uaup4en{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes uaup4en{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=start]{position:absolute;top:0;right:0;-webkit-animation-name:uaup4ez;animation-name:uaup4ez;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes uaup4ez{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes uaup4ez{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:uaup4fe;animation-name:uaup4fe;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes uaup4fe{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes uaup4fe{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=start]{position:absolute;top:0;right:0;-webkit-animation-name:uaup4fr;animation-name:uaup4fr;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes uaup4fr{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes uaup4fr{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}.forge-split-view-panel[orientation=vertical]{min-height:8px;min-height:var(--forge-split-view-handle-width,8px);height:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.forge-split-view-panel[orientation=vertical] .forge-split-view-panel__handle{height:8px;height:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:uaup4gh;animation-name:uaup4gh;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes uaup4gh{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes uaup4gh{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=start]{position:absolute;bottom:0;left:0;-webkit-animation-name:uaup4h2;animation-name:uaup4h2;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes uaup4h2{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes uaup4h2{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:uaup4hi;animation-name:uaup4hi;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes uaup4hi{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes uaup4hi{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=start]{position:absolute;bottom:0;left:0;-webkit-animation-name:uaup4i4;animation-name:uaup4i4;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes uaup4i4{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes uaup4i4{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}:host{z-index:var(--forge-split-view-animating-layer)!important;display:block;position:relative;height:100%;width:100%;-webkit-box-flex:0;flex:0}:host([hidden]){display:none}:host(:not([resizable=start],[resizable=end])){-webkit-box-flex:1;flex:1}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel{width:100%;height:100%;min-width:0;min-height:0}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel__handle{display:none}';
|
|
17
|
+
const styles = '@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity;position:relative;outline:0;overflow:hidden}.mdc-ripple-surface::after,.mdc-ripple-surface::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-ripple-surface::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface::after,.mdc-ripple-surface::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-upgraded--unbounded::after,.mdc-ripple-upgraded--unbounded::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{background-color:#000;background-color:var(--mdc-ripple-color,#000)}.mdc-ripple-surface.mdc-ripple-surface--hover::before,.mdc-ripple-surface:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{--mdc-ripple-color:var(--mdc-theme-on-surface)}.forge-split-view-panel{display:-webkit-box;display:flex;width:100%;height:100%;overflow:hidden;contain:paint size}.forge-split-view-panel__handle{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-light,rgba(0,0,0,.54));background-color:#e0e0e0;background-color:var(--forge-theme-border-color,#e0e0e0);display:-webkit-box;display:flex;flex-shrink:0;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;outline:0}.forge-split-view-panel__content{-webkit-box-flex:1;flex:1;overflow:hidden}.forge-split-view-panel--closed{display:none}.forge-split-view-panel--disabled #handle{pointer-events:none}.forge-split-view-panel--disabled .forge-split-view-panel__icon{display:none}.forge-split-view-panel[orientation=horizontal]{min-width:8px;min-width:var(--forge-split-view-handle-width,8px);width:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}.forge-split-view-panel[orientation=horizontal] .forge-split-view-panel__handle{width:8px;width:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:uvyx5ut;animation-name:uvyx5ut;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes uvyx5ut{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes uvyx5ut{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=start]{position:absolute;top:0;right:0;-webkit-animation-name:uvyx5vd;animation-name:uvyx5vd;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes uvyx5vd{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes uvyx5vd{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:uvyx5w5;animation-name:uvyx5w5;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes uvyx5w5{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes uvyx5w5{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=start]{position:absolute;top:0;right:0;-webkit-animation-name:uvyx5wt;animation-name:uvyx5wt;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes uvyx5wt{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes uvyx5wt{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}.forge-split-view-panel[orientation=vertical]{min-height:8px;min-height:var(--forge-split-view-handle-width,8px);height:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.forge-split-view-panel[orientation=vertical] .forge-split-view-panel__handle{height:8px;height:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:uvyx5xl;animation-name:uvyx5xl;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes uvyx5xl{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes uvyx5xl{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=start]{position:absolute;bottom:0;left:0;-webkit-animation-name:uvyx5yd;animation-name:uvyx5yd;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes uvyx5yd{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes uvyx5yd{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:uvyx5z5;animation-name:uvyx5z5;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes uvyx5z5{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes uvyx5z5{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=start]{position:absolute;bottom:0;left:0;-webkit-animation-name:uvyx5zb;animation-name:uvyx5zb;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes uvyx5zb{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes uvyx5zb{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}:host{z-index:var(--forge-split-view-animating-layer)!important;display:block;position:relative;height:100%;width:100%;-webkit-box-flex:0;flex:0}:host([hidden]){display:none}:host(:not([resizable=start],[resizable=end])){-webkit-box-flex:1;flex:1}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel{width:100%;height:100%;min-width:0;min-height:0}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel__handle{display:none}';
|
|
18
18
|
/**
|
|
19
19
|
* The custom element class behind the `<forge-split-view-panel>` element.
|
|
20
20
|
*
|
|
21
21
|
* @tag forge-split-view-panel
|
|
22
22
|
*/
|
|
23
23
|
let SplitViewPanelComponent = class SplitViewPanelComponent extends BaseComponent {
|
|
24
|
-
constructor() {
|
|
25
|
-
super();
|
|
26
|
-
IconRegistry.define([tylIconDragVerticalVariant, tylIconDragHandle]);
|
|
27
|
-
attachShadowTemplate(this, template, styles);
|
|
28
|
-
this._foundation = new SplitViewPanelFoundation(new SplitViewPanelAdapter(this));
|
|
29
|
-
}
|
|
30
24
|
static get observedAttributes() {
|
|
31
25
|
return [
|
|
32
26
|
SPLIT_VIEW_PANEL_CONSTANTS.attributes.RESIZABLE,
|
|
@@ -41,6 +35,12 @@ let SplitViewPanelComponent = class SplitViewPanelComponent extends BaseComponen
|
|
|
41
35
|
SPLIT_VIEW_PANEL_CONSTANTS.attributes.AUTO_CLOSE_THRESHOLD
|
|
42
36
|
];
|
|
43
37
|
}
|
|
38
|
+
constructor() {
|
|
39
|
+
super();
|
|
40
|
+
IconRegistry.define([tylIconDragVerticalVariant, tylIconDragHandle]);
|
|
41
|
+
attachShadowTemplate(this, template, styles);
|
|
42
|
+
this._foundation = new SplitViewPanelFoundation(new SplitViewPanelAdapter(this));
|
|
43
|
+
}
|
|
44
44
|
connectedCallback() {
|
|
45
45
|
this._foundation.initialize();
|
|
46
46
|
}
|
|
@@ -22,7 +22,7 @@ export declare const STACK_CONSTANTS: {
|
|
|
22
22
|
DEFAULT_GAP: string;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type StackAlignment = 'start' | 'center' | 'end';
|
|
26
26
|
/** @deprecated Use `StackAlignment` instead. */
|
|
27
27
|
export declare enum StackAlignMode {
|
|
28
28
|
Start = "start",
|
package/esm/stack/stack.js
CHANGED
|
@@ -17,11 +17,6 @@ const styles = '.forge-stack{display:-webkit-box;display:flex;-webkit-box-orient
|
|
|
17
17
|
* @tag forge-stack
|
|
18
18
|
*/
|
|
19
19
|
let StackComponent = class StackComponent extends BaseComponent {
|
|
20
|
-
constructor() {
|
|
21
|
-
super();
|
|
22
|
-
attachShadowTemplate(this, template, styles);
|
|
23
|
-
this._foundation = new StackFoundation(new StackAdapter(this));
|
|
24
|
-
}
|
|
25
20
|
static get observedAttributes() {
|
|
26
21
|
return [
|
|
27
22
|
STACK_CONSTANTS.attributes.INLINE,
|
|
@@ -31,6 +26,11 @@ let StackComponent = class StackComponent extends BaseComponent {
|
|
|
31
26
|
STACK_CONSTANTS.attributes.ALIGNMENT
|
|
32
27
|
];
|
|
33
28
|
}
|
|
29
|
+
constructor() {
|
|
30
|
+
super();
|
|
31
|
+
attachShadowTemplate(this, template, styles);
|
|
32
|
+
this._foundation = new StackFoundation(new StackAdapter(this));
|
|
33
|
+
}
|
|
34
34
|
attributeChangedCallback(name, oldValue, newValue) {
|
|
35
35
|
switch (name) {
|
|
36
36
|
case STACK_CONSTANTS.attributes.INLINE:
|
package/esm/stepper/step/step.js
CHANGED
|
@@ -20,18 +20,6 @@ const styles = '@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animatio
|
|
|
20
20
|
* @tag forge-step
|
|
21
21
|
*/
|
|
22
22
|
let StepComponent = class StepComponent extends BaseComponent {
|
|
23
|
-
constructor() {
|
|
24
|
-
super();
|
|
25
|
-
IconRegistry.define([
|
|
26
|
-
tylIconModeEdit,
|
|
27
|
-
tylIconCheck,
|
|
28
|
-
tylIconWarning,
|
|
29
|
-
tylIconBlock,
|
|
30
|
-
tylIconKeyboardArrowDown
|
|
31
|
-
]);
|
|
32
|
-
attachShadowTemplate(this, template, styles);
|
|
33
|
-
this._foundation = new StepFoundation(new StepAdapter(this));
|
|
34
|
-
}
|
|
35
23
|
static get observedAttributes() {
|
|
36
24
|
return [
|
|
37
25
|
STEP_CONSTANTS.attributes.COMPLETED,
|
|
@@ -46,6 +34,18 @@ let StepComponent = class StepComponent extends BaseComponent {
|
|
|
46
34
|
STEP_CONSTANTS.attributes.IGNORE_USER_EXPANSION
|
|
47
35
|
];
|
|
48
36
|
}
|
|
37
|
+
constructor() {
|
|
38
|
+
super();
|
|
39
|
+
IconRegistry.define([
|
|
40
|
+
tylIconModeEdit,
|
|
41
|
+
tylIconCheck,
|
|
42
|
+
tylIconWarning,
|
|
43
|
+
tylIconBlock,
|
|
44
|
+
tylIconKeyboardArrowDown
|
|
45
|
+
]);
|
|
46
|
+
attachShadowTemplate(this, template, styles);
|
|
47
|
+
this._foundation = new StepFoundation(new StepAdapter(this));
|
|
48
|
+
}
|
|
49
49
|
connectedCallback() {
|
|
50
50
|
this._foundation.initialize();
|
|
51
51
|
}
|
|
@@ -73,5 +73,5 @@ export interface IStepperConfiguration {
|
|
|
73
73
|
layoutAlign: StepperLayoutAlign;
|
|
74
74
|
vertical?: boolean;
|
|
75
75
|
}
|
|
76
|
-
export
|
|
77
|
-
export
|
|
76
|
+
export type StepperLayoutMode = 'fixed' | 'clustered';
|
|
77
|
+
export type StepperLayoutAlign = 'left' | 'center' | 'right';
|
|
@@ -18,11 +18,6 @@ const styles = '.forge-stepper{display:-webkit-box;display:flex;-webkit-box-alig
|
|
|
18
18
|
* @tag forge-stepper
|
|
19
19
|
*/
|
|
20
20
|
let StepperComponent = class StepperComponent extends BaseComponent {
|
|
21
|
-
constructor() {
|
|
22
|
-
super();
|
|
23
|
-
attachShadowTemplate(this, template, styles);
|
|
24
|
-
this._foundation = new StepperFoundation(new StepperAdapter(this));
|
|
25
|
-
}
|
|
26
21
|
static get observedAttributes() {
|
|
27
22
|
return [
|
|
28
23
|
STEPPER_CONSTANTS.attributes.SELECTED_INDEX,
|
|
@@ -34,6 +29,11 @@ let StepperComponent = class StepperComponent extends BaseComponent {
|
|
|
34
29
|
STEPPER_CONSTANTS.attributes.VERTICAL
|
|
35
30
|
];
|
|
36
31
|
}
|
|
32
|
+
constructor() {
|
|
33
|
+
super();
|
|
34
|
+
attachShadowTemplate(this, template, styles);
|
|
35
|
+
this._foundation = new StepperFoundation(new StepperAdapter(this));
|
|
36
|
+
}
|
|
37
37
|
async connectedCallback() {
|
|
38
38
|
await ensureChildren(this);
|
|
39
39
|
this._foundation.initialize();
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { FormFieldComponentDelegate, IFormFieldComponentDelegateOptions } from '../core';
|
|
7
7
|
import { IBaseComponentDelegateConfig } from '../core/delegates/base-component-delegate';
|
|
8
8
|
import { ISwitchComponent } from './switch';
|
|
9
|
-
export
|
|
9
|
+
export type SwitchComponentDelegateProps = Partial<ISwitchComponent>;
|
|
10
10
|
export interface ISwitchComponentDelegateOptions extends IFormFieldComponentDelegateOptions {
|
|
11
11
|
id?: string;
|
|
12
12
|
label?: string;
|
package/esm/switch/switch.js
CHANGED
|
@@ -41,15 +41,6 @@ class ForgeMDCSwitch extends MDCSwitch {
|
|
|
41
41
|
* @tag forge-switch
|
|
42
42
|
*/
|
|
43
43
|
let SwitchComponent = class SwitchComponent extends BaseComponent {
|
|
44
|
-
constructor() {
|
|
45
|
-
super();
|
|
46
|
-
this._dense = false;
|
|
47
|
-
this._disabled = false;
|
|
48
|
-
this._selected = false;
|
|
49
|
-
this._labelPosition = 'end';
|
|
50
|
-
attachShadowTemplate(this, template, styles);
|
|
51
|
-
this._initialize();
|
|
52
|
-
}
|
|
53
44
|
static get observedAttributes() {
|
|
54
45
|
return [
|
|
55
46
|
SWITCH_CONSTANTS.attributes.DENSE,
|
|
@@ -59,6 +50,15 @@ let SwitchComponent = class SwitchComponent extends BaseComponent {
|
|
|
59
50
|
SWITCH_CONSTANTS.attributes.BUTTON_ARIA_LABEL
|
|
60
51
|
];
|
|
61
52
|
}
|
|
53
|
+
constructor() {
|
|
54
|
+
super();
|
|
55
|
+
this._dense = false;
|
|
56
|
+
this._disabled = false;
|
|
57
|
+
this._selected = false;
|
|
58
|
+
this._labelPosition = 'end';
|
|
59
|
+
attachShadowTemplate(this, template, styles);
|
|
60
|
+
this._initialize();
|
|
61
|
+
}
|
|
62
62
|
_initialize() {
|
|
63
63
|
this._buttonElement = getShadowElement(this, SWITCH_CONSTANTS.selectors.BUTTON);
|
|
64
64
|
this._containerElement = getShadowElement(this, SWITCH_CONSTANTS.selectors.CONTAINER);
|
package/esm/table/table.js
CHANGED
|
@@ -20,11 +20,6 @@ import { CellAlign } from './types';
|
|
|
20
20
|
* @tag forge-table
|
|
21
21
|
*/
|
|
22
22
|
let TableComponent = class TableComponent extends BaseComponent {
|
|
23
|
-
constructor() {
|
|
24
|
-
super();
|
|
25
|
-
IconRegistry.define(tylIconArrowDownward);
|
|
26
|
-
this._foundation = new TableFoundation(new TableAdapter(this));
|
|
27
|
-
}
|
|
28
23
|
static get observedAttributes() {
|
|
29
24
|
return [
|
|
30
25
|
TABLE_CONSTANTS.attributes.SELECT,
|
|
@@ -45,6 +40,11 @@ let TableComponent = class TableComponent extends BaseComponent {
|
|
|
45
40
|
TABLE_CONSTANTS.attributes.TOOLTIP_SELECT_ALL
|
|
46
41
|
];
|
|
47
42
|
}
|
|
43
|
+
constructor() {
|
|
44
|
+
super();
|
|
45
|
+
IconRegistry.define(tylIconArrowDownward);
|
|
46
|
+
this._foundation = new TableFoundation(new TableAdapter(this));
|
|
47
|
+
}
|
|
48
48
|
initializedCallback() {
|
|
49
49
|
this._foundation.initialize();
|
|
50
50
|
}
|
package/esm/table/types.d.ts
CHANGED
|
@@ -90,7 +90,7 @@ export interface ITableSortEventData {
|
|
|
90
90
|
direction: SortDirection;
|
|
91
91
|
columnIndex: number;
|
|
92
92
|
}
|
|
93
|
-
export
|
|
93
|
+
export type ITableSortMultipleEventData = ITableSortedMultipleEventDataItem[];
|
|
94
94
|
export interface ITableSortedMultipleEventDataItem extends ISortedItem {
|
|
95
95
|
}
|
|
96
96
|
export interface ITableColumnResizeEventData {
|
|
@@ -139,9 +139,9 @@ export declare enum TableFilterType {
|
|
|
139
139
|
Date = "date",
|
|
140
140
|
DateRange = "date-range"
|
|
141
141
|
}
|
|
142
|
-
export
|
|
143
|
-
export
|
|
144
|
-
export
|
|
142
|
+
export type TableFilterListener<T = any> = (value: T, columnIndex: number) => void;
|
|
143
|
+
export type TableFilterDelegateFactory<T extends HTMLElement = any> = () => IFormFieldComponentDelegate<T> | IBaseComponentDelegate<HTMLElement>;
|
|
144
|
+
export type TableLayoutType = 'auto' | 'fixed';
|
|
145
145
|
export interface ITableFilterEventData<T = any> {
|
|
146
146
|
value: T;
|
|
147
147
|
columnIndex: number;
|
|
@@ -3,52 +3,28 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { BaseAdapter, IBaseAdapter } from '../../core/base/base-adapter';
|
|
7
7
|
import { ITabComponent } from './tab';
|
|
8
8
|
export interface ITabAdapter extends IBaseAdapter {
|
|
9
9
|
initialize(): void;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
computeIndicatorBounds(): DOMRect | undefined;
|
|
13
|
-
activateIndicator(previousIndicatorClientRect?: DOMRect): void;
|
|
14
|
-
deactivateIndicator(): void;
|
|
15
|
-
initializeRipple(): void;
|
|
16
|
-
destroyRipple(): void;
|
|
17
|
-
addButtonListener(type: string, listener: (evt: Event) => void): void;
|
|
18
|
-
removeButtonListener(type: string, listener: (evt: Event) => void): void;
|
|
10
|
+
destroy(): void;
|
|
11
|
+
addInteractionListener(type: string, listener: EventListener): void;
|
|
19
12
|
setDisabled(value: boolean): void;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
getOffsetWidth(): number;
|
|
23
|
-
getContentOffsetLeft(): number;
|
|
24
|
-
getContentOffsetWidth(): number;
|
|
25
|
-
focus(): void;
|
|
26
|
-
setTabIndex(value: number): void;
|
|
13
|
+
setSelected(value: boolean): void;
|
|
14
|
+
animateSelected(): void;
|
|
27
15
|
}
|
|
28
16
|
export declare class TabAdapter extends BaseAdapter<ITabComponent> implements ITabAdapter {
|
|
29
|
-
private
|
|
30
|
-
private
|
|
31
|
-
private _rippleElement;
|
|
17
|
+
private readonly _rippleElement;
|
|
18
|
+
private readonly _tabIndicatorElement;
|
|
32
19
|
private _rippleInstance;
|
|
33
|
-
private _tabIndicatorElement;
|
|
34
|
-
private _tabIndicator;
|
|
35
20
|
constructor(component: ITabComponent);
|
|
36
21
|
initialize(): void;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
initializeIndicator(): void;
|
|
40
|
-
destroyIndicator(): void;
|
|
41
|
-
activateIndicator(previousIndicatorClientRect?: DOMRect): void;
|
|
42
|
-
deactivateIndicator(): void;
|
|
43
|
-
computeIndicatorBounds(): DOMRect | undefined;
|
|
44
|
-
addButtonListener(type: string, listener: (evt: Event) => void): void;
|
|
45
|
-
removeButtonListener(type: string, listener: (evt: Event) => void): void;
|
|
22
|
+
destroy(): void;
|
|
23
|
+
addInteractionListener(type: string, listener: EventListener): void;
|
|
46
24
|
setDisabled(value: boolean): void;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
focus(): void;
|
|
53
|
-
setTabIndex(value: number): void;
|
|
25
|
+
setSelected(value: boolean): void;
|
|
26
|
+
private _deferRippleInitialization;
|
|
27
|
+
animateSelected(): void;
|
|
28
|
+
private _getKeyframes;
|
|
29
|
+
private _getSelectedTabIndicator;
|
|
54
30
|
}
|
|
@@ -3,101 +3,88 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { getShadowElement,
|
|
7
|
-
import { MDCTabIndicator } from '@material/tab-indicator';
|
|
6
|
+
import { getShadowElement, requireParent, toggleAttribute } from '@tylertech/forge-core';
|
|
8
7
|
import { BaseAdapter } from '../../core/base/base-adapter';
|
|
9
8
|
import { TAB_CONSTANTS } from './tab-constants';
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
this._root = _root;
|
|
14
|
-
}
|
|
15
|
-
get root() {
|
|
16
|
-
return this._root;
|
|
17
|
-
}
|
|
18
|
-
get unbounded() {
|
|
19
|
-
return false;
|
|
20
|
-
}
|
|
21
|
-
get disabled() {
|
|
22
|
-
return this._root.disabled;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
9
|
+
import { TabRipple } from './tab-ripple';
|
|
10
|
+
import { userInteractionListener } from '../../core/utils';
|
|
11
|
+
import { TAB_BAR_CONSTANTS } from '../tab-bar/tab-bar-constants';
|
|
25
12
|
export class TabAdapter extends BaseAdapter {
|
|
26
13
|
constructor(component) {
|
|
27
14
|
super(component);
|
|
28
|
-
this._buttonElement = getShadowElement(this._component, TAB_CONSTANTS.selectors.BUTTON);
|
|
29
|
-
this._content = getShadowElement(this._component, TAB_CONSTANTS.selectors.CONTENT);
|
|
30
15
|
this._rippleElement = getShadowElement(this._component, TAB_CONSTANTS.selectors.RIPPLE);
|
|
31
16
|
this._tabIndicatorElement = getShadowElement(this._component, TAB_CONSTANTS.selectors.INDICATOR);
|
|
32
17
|
}
|
|
33
18
|
initialize() {
|
|
19
|
+
this._deferRippleInitialization();
|
|
20
|
+
this._component.tabIndex = -1;
|
|
34
21
|
this._component.setAttribute('role', 'tab');
|
|
22
|
+
this._component.setAttribute('aria-selected', 'false');
|
|
35
23
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
const rippleFoundation = new ForgeRippleFoundation(rippleAdapter);
|
|
40
|
-
this._rippleInstance = new ForgeRipple(this._buttonElement, rippleFoundation);
|
|
41
|
-
}
|
|
42
|
-
destroyRipple() {
|
|
43
|
-
if (this._rippleInstance) {
|
|
44
|
-
this._rippleInstance.destroy();
|
|
45
|
-
}
|
|
24
|
+
destroy() {
|
|
25
|
+
var _a;
|
|
26
|
+
(_a = this._rippleInstance) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
46
27
|
}
|
|
47
|
-
|
|
48
|
-
this.
|
|
28
|
+
addInteractionListener(type, listener) {
|
|
29
|
+
this._component.addEventListener(type, listener);
|
|
49
30
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
31
|
+
setDisabled(value) {
|
|
32
|
+
this._component.tabIndex = value ? -1 : this._component.selected ? 0 : -1;
|
|
33
|
+
this._component.setAttribute('aria-disabled', String(value));
|
|
34
|
+
toggleAttribute(this._component, value, TAB_CONSTANTS.attributes.DISABLED, String(value));
|
|
35
|
+
}
|
|
36
|
+
setSelected(value) {
|
|
37
|
+
this._component.tabIndex = value ? 0 : -1;
|
|
38
|
+
this._component.setAttribute('aria-selected', String(value));
|
|
39
|
+
}
|
|
40
|
+
async _deferRippleInitialization() {
|
|
41
|
+
const type = await userInteractionListener(this._component);
|
|
42
|
+
this._rippleInstance = new TabRipple(this._rippleElement, this._component);
|
|
43
|
+
if (type === 'focusin' && this._component.matches(':focus')) {
|
|
44
|
+
this._rippleInstance.emulateFocus();
|
|
54
45
|
}
|
|
55
46
|
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
47
|
+
animateSelected() {
|
|
48
|
+
this._tabIndicatorElement.getAnimations().forEach(a => a.cancel());
|
|
49
|
+
const frames = this._getKeyframes();
|
|
50
|
+
if (frames) {
|
|
51
|
+
this._tabIndicatorElement.animate(frames, { duration: TAB_CONSTANTS.numbers.ANIMATION_DURATION, easing: TAB_CONSTANTS.strings.EASING });
|
|
59
52
|
}
|
|
60
53
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
54
|
+
_getKeyframes() {
|
|
55
|
+
var _a;
|
|
56
|
+
const reduceMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
57
|
+
if (!this._component.selected) {
|
|
58
|
+
return reduceMotion ? [{ opacity: 1 }, { transform: 'none' }] : null;
|
|
64
59
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
getContentOffsetWidth() {
|
|
95
|
-
return this._content.offsetWidth;
|
|
96
|
-
}
|
|
97
|
-
focus() {
|
|
98
|
-
this._buttonElement.focus();
|
|
99
|
-
}
|
|
100
|
-
setTabIndex(value) {
|
|
101
|
-
this._buttonElement.tabIndex = value;
|
|
60
|
+
const from = {};
|
|
61
|
+
const isVertical = this._component.vertical;
|
|
62
|
+
const selectedTabIndicator = this._getSelectedTabIndicator();
|
|
63
|
+
const fromRect = (_a = selectedTabIndicator === null || selectedTabIndicator === void 0 ? void 0 : selectedTabIndicator.getBoundingClientRect()) !== null && _a !== void 0 ? _a : {};
|
|
64
|
+
const fromPos = isVertical ? fromRect.top : fromRect.left;
|
|
65
|
+
const fromExtent = isVertical ? fromRect.height : fromRect.width;
|
|
66
|
+
const toRect = this._tabIndicatorElement.getBoundingClientRect();
|
|
67
|
+
const toPos = isVertical ? toRect.top : toRect.left;
|
|
68
|
+
const toExtent = isVertical ? toRect.height : toRect.width;
|
|
69
|
+
const axis = isVertical ? 'Y' : 'X';
|
|
70
|
+
const scale = fromExtent / toExtent;
|
|
71
|
+
if (!reduceMotion && fromPos !== undefined && toPos !== undefined && !isNaN(scale)) {
|
|
72
|
+
from.transform = `translate${axis}(${(fromPos - toPos).toFixed(4)}px) scale${axis}(${scale.toFixed(4)})`;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
from.opacity = 0;
|
|
76
|
+
}
|
|
77
|
+
return [from, { transform: 'none' }];
|
|
78
|
+
}
|
|
79
|
+
_getSelectedTabIndicator() {
|
|
80
|
+
const tabsEl = requireParent(this._component, TAB_BAR_CONSTANTS.elementName);
|
|
81
|
+
if (tabsEl) {
|
|
82
|
+
const tabChildren = Array.from(tabsEl.querySelectorAll(TAB_CONSTANTS.elementName));
|
|
83
|
+
const selectedTab = tabChildren.find(tab => tab.hasAttribute(TAB_CONSTANTS.attributes.SELECTED));
|
|
84
|
+
if (selectedTab) {
|
|
85
|
+
return getShadowElement(selectedTab, TAB_CONSTANTS.selectors.INDICATOR);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return null;
|
|
102
89
|
}
|
|
103
90
|
}
|