@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
package/esm/field/field.js
CHANGED
|
@@ -8,9 +8,6 @@ import { FIELD_CONSTANTS } from './field-constants';
|
|
|
8
8
|
import { BaseComponent } from '../core/base/base-component';
|
|
9
9
|
import { coerceBoolean, ensureChild, FoundationProperty } from '@tylertech/forge-core';
|
|
10
10
|
export class FieldComponent extends BaseComponent {
|
|
11
|
-
constructor() {
|
|
12
|
-
super();
|
|
13
|
-
}
|
|
14
11
|
static get observedAttributes() {
|
|
15
12
|
return [
|
|
16
13
|
FIELD_CONSTANTS.attributes.DENSITY,
|
|
@@ -20,6 +17,9 @@ export class FieldComponent extends BaseComponent {
|
|
|
20
17
|
FIELD_CONSTANTS.attributes.REQUIRED
|
|
21
18
|
];
|
|
22
19
|
}
|
|
20
|
+
constructor() {
|
|
21
|
+
super();
|
|
22
|
+
}
|
|
23
23
|
connectedCallback() {
|
|
24
24
|
if (this.querySelector(FIELD_CONSTANTS.selectors.INPUT)) {
|
|
25
25
|
this._initialize();
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { BaseComponentDelegate, IBaseComponentDelegateConfig, IBaseComponentDelegateOptions } from '../core/delegates/base-component-delegate';
|
|
7
7
|
import { IFilePickerComponent } from './file-picker';
|
|
8
8
|
import { IFilePickerChangeEventData } from './file-picker-constants';
|
|
9
|
-
export
|
|
9
|
+
export type FilePickerComponentDelegateProps = Partial<IFilePickerComponent>;
|
|
10
10
|
export interface IFilePickerComponentDelegateOptions extends IBaseComponentDelegateOptions {
|
|
11
11
|
primaryText?: string;
|
|
12
12
|
secondaryText?: string;
|
|
@@ -18,11 +18,6 @@ const styles = '.forge-file-picker{-webkit-box-sizing:border-box;box-sizing:bord
|
|
|
18
18
|
* @tag forge-file-picker
|
|
19
19
|
*/
|
|
20
20
|
let FilePickerComponent = class FilePickerComponent extends BaseComponent {
|
|
21
|
-
constructor() {
|
|
22
|
-
super();
|
|
23
|
-
attachShadowTemplate(this, template, styles);
|
|
24
|
-
this._foundation = new FilePickerFoundation(new FilePickerAdapter(this));
|
|
25
|
-
}
|
|
26
21
|
static get observedAttributes() {
|
|
27
22
|
return [
|
|
28
23
|
FILE_PICKER_CONSTANTS.attributes.ACCEPT,
|
|
@@ -34,6 +29,11 @@ let FilePickerComponent = class FilePickerComponent extends BaseComponent {
|
|
|
34
29
|
FILE_PICKER_CONSTANTS.attributes.BORDERLESS
|
|
35
30
|
];
|
|
36
31
|
}
|
|
32
|
+
constructor() {
|
|
33
|
+
super();
|
|
34
|
+
attachShadowTemplate(this, template, styles);
|
|
35
|
+
this._foundation = new FilePickerFoundation(new FilePickerAdapter(this));
|
|
36
|
+
}
|
|
37
37
|
connectedCallback() {
|
|
38
38
|
this._foundation.initialize();
|
|
39
39
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { BaseComponentDelegate, IBaseComponentDelegateConfig, IBaseComponentDelegateOptions } from '../core/delegates/base-component-delegate';
|
|
7
7
|
import { IFloatingActionButtonComponent } from './floating-action-button';
|
|
8
|
-
export
|
|
8
|
+
export type FloatingActionButtonComponentDelegateProps = Partial<IFloatingActionButtonComponent>;
|
|
9
9
|
export interface IFloatingActionButtonComponentDelegateOptions extends IBaseComponentDelegateOptions {
|
|
10
10
|
text?: string;
|
|
11
11
|
}
|
|
@@ -14,12 +14,6 @@ import { FLOATING_ACTION_BUTTON_CONSTANTS } from './floating-action-button-const
|
|
|
14
14
|
* @tag forge-fab
|
|
15
15
|
*/
|
|
16
16
|
let FloatingActionButton = class FloatingActionButton extends BaseComponent {
|
|
17
|
-
constructor() {
|
|
18
|
-
super();
|
|
19
|
-
this._isExtended = false;
|
|
20
|
-
this._isMini = false;
|
|
21
|
-
this._isExited = false;
|
|
22
|
-
}
|
|
23
17
|
static get observedAttributes() {
|
|
24
18
|
return [
|
|
25
19
|
FLOATING_ACTION_BUTTON_CONSTANTS.attributes.EXITED,
|
|
@@ -27,6 +21,12 @@ let FloatingActionButton = class FloatingActionButton extends BaseComponent {
|
|
|
27
21
|
FLOATING_ACTION_BUTTON_CONSTANTS.attributes.EXTENDED
|
|
28
22
|
];
|
|
29
23
|
}
|
|
24
|
+
constructor() {
|
|
25
|
+
super();
|
|
26
|
+
this._isExtended = false;
|
|
27
|
+
this._isMini = false;
|
|
28
|
+
this._isExited = false;
|
|
29
|
+
}
|
|
30
30
|
connectedCallback() {
|
|
31
31
|
if (this.children.length) {
|
|
32
32
|
this._initialize();
|
package/esm/icon/icon.js
CHANGED
|
@@ -17,11 +17,6 @@ const styles = ':host{font-size:24px;font-size:var(--forge-icon-font-size, 24px)
|
|
|
17
17
|
* @tag forge-icon
|
|
18
18
|
*/
|
|
19
19
|
let IconComponent = class IconComponent extends BaseComponent {
|
|
20
|
-
constructor() {
|
|
21
|
-
super();
|
|
22
|
-
attachShadowTemplate(this, template, styles);
|
|
23
|
-
this._foundation = new IconFoundation(new IconAdapter(this));
|
|
24
|
-
}
|
|
25
20
|
static get observedAttributes() {
|
|
26
21
|
return [
|
|
27
22
|
ICON_CONSTANTS.attributes.NAME,
|
|
@@ -32,6 +27,11 @@ let IconComponent = class IconComponent extends BaseComponent {
|
|
|
32
27
|
ICON_CONSTANTS.attributes.VIEWBOX
|
|
33
28
|
];
|
|
34
29
|
}
|
|
30
|
+
constructor() {
|
|
31
|
+
super();
|
|
32
|
+
attachShadowTemplate(this, template, styles);
|
|
33
|
+
this._foundation = new IconFoundation(new IconAdapter(this));
|
|
34
|
+
}
|
|
35
35
|
connectedCallback() {
|
|
36
36
|
this._foundation.initialize();
|
|
37
37
|
}
|
|
@@ -7,7 +7,7 @@ import { IconExternalType, IIconComponent } from '../icon';
|
|
|
7
7
|
import { BaseComponentDelegate, IBaseComponentDelegateConfig, IBaseComponentDelegateOptions } from '../core/delegates/base-component-delegate';
|
|
8
8
|
import { IIconButtonComponent } from './icon-button';
|
|
9
9
|
import { PopupPlacement } from '../popup';
|
|
10
|
-
export
|
|
10
|
+
export type IconButtonComponentDelegateProps = Partial<IIconButtonComponent>;
|
|
11
11
|
export interface IIconButtonComponentDelegateOptions extends IBaseComponentDelegateOptions {
|
|
12
12
|
iconName?: string;
|
|
13
13
|
iconExternal?: boolean;
|
|
@@ -15,13 +15,6 @@ import { ICON_BUTTON_CONSTANTS } from './icon-button-constants';
|
|
|
15
15
|
* @tag forge-icon-button
|
|
16
16
|
*/
|
|
17
17
|
let IconButtonComponent = class IconButtonComponent extends BaseComponent {
|
|
18
|
-
constructor() {
|
|
19
|
-
super();
|
|
20
|
-
this._toggle = false;
|
|
21
|
-
this._isOn = false;
|
|
22
|
-
this._dense = false;
|
|
23
|
-
this._densityLevel = 5;
|
|
24
|
-
}
|
|
25
18
|
static get observedAttributes() {
|
|
26
19
|
return [
|
|
27
20
|
ICON_BUTTON_CONSTANTS.attributes.IS_ON,
|
|
@@ -30,6 +23,13 @@ let IconButtonComponent = class IconButtonComponent extends BaseComponent {
|
|
|
30
23
|
ICON_BUTTON_CONSTANTS.attributes.TOGGLE
|
|
31
24
|
];
|
|
32
25
|
}
|
|
26
|
+
constructor() {
|
|
27
|
+
super();
|
|
28
|
+
this._toggle = false;
|
|
29
|
+
this._isOn = false;
|
|
30
|
+
this._dense = false;
|
|
31
|
+
this._densityLevel = 5;
|
|
32
|
+
}
|
|
33
33
|
connectedCallback() {
|
|
34
34
|
if (this.querySelector(ICON_BUTTON_CONSTANTS.selectors.BUTTON)) {
|
|
35
35
|
this._initialize();
|
|
@@ -15,10 +15,6 @@ import { BaseComponent } from '../core/base/base-component';
|
|
|
15
15
|
* @tag forge-keyboard-shortcut
|
|
16
16
|
*/
|
|
17
17
|
let KeyboardShortcutComponent = class KeyboardShortcutComponent extends BaseComponent {
|
|
18
|
-
constructor() {
|
|
19
|
-
super();
|
|
20
|
-
this._foundation = new KeyboardShortcutFoundation(new KeyboardShortcutAdapter(this));
|
|
21
|
-
}
|
|
22
18
|
static get observedAttributes() {
|
|
23
19
|
return [
|
|
24
20
|
KEYBOARD_SHORTCUT_CONSTANTS.attributes.KEY,
|
|
@@ -31,6 +27,10 @@ let KeyboardShortcutComponent = class KeyboardShortcutComponent extends BaseComp
|
|
|
31
27
|
KEYBOARD_SHORTCUT_CONSTANTS.attributes.DISABLED
|
|
32
28
|
];
|
|
33
29
|
}
|
|
30
|
+
constructor() {
|
|
31
|
+
super();
|
|
32
|
+
this._foundation = new KeyboardShortcutFoundation(new KeyboardShortcutAdapter(this));
|
|
33
|
+
}
|
|
34
34
|
connectedCallback() {
|
|
35
35
|
this._foundation.initialize();
|
|
36
36
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { BaseComponentDelegate, IBaseComponentDelegateConfig, IBaseComponentDelegateOptions } from '../core/delegates/base-component-delegate';
|
|
7
7
|
import { ILabelValueComponent } from '../label-value';
|
|
8
|
-
export
|
|
8
|
+
export type LabelValueComponentDelegateProps = Partial<ILabelValueComponent>;
|
|
9
9
|
export interface ILabelValueComponentDelegateOptions extends IBaseComponentDelegateOptions {
|
|
10
10
|
labelText: string;
|
|
11
11
|
valueText: string;
|
|
@@ -23,5 +23,5 @@ export declare const LABEL_VALUE_CONSTANTS: {
|
|
|
23
23
|
ROOT: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
export
|
|
26
|
+
export type LabelValueAlignment = 'left' | 'center' | 'right';
|
|
27
27
|
export { type FieldDensityType as LabelValueDensityType } from '../field/field-constants';
|
|
@@ -17,11 +17,6 @@ const styles = ':host{display:block;min-width:0}:host([hidden]){display:none}.fo
|
|
|
17
17
|
* @tag forge-label-value
|
|
18
18
|
*/
|
|
19
19
|
let LabelValueComponent = class LabelValueComponent extends BaseComponent {
|
|
20
|
-
constructor() {
|
|
21
|
-
super();
|
|
22
|
-
attachShadowTemplate(this, template, styles);
|
|
23
|
-
this._foundation = new LabelValueFoundation(new LabelValueAdapter(this));
|
|
24
|
-
}
|
|
25
20
|
static get observedAttributes() {
|
|
26
21
|
return [
|
|
27
22
|
LABEL_VALUE_CONSTANTS.attributes.EMPTY,
|
|
@@ -30,6 +25,11 @@ let LabelValueComponent = class LabelValueComponent extends BaseComponent {
|
|
|
30
25
|
LABEL_VALUE_CONSTANTS.attributes.ALIGN
|
|
31
26
|
];
|
|
32
27
|
}
|
|
28
|
+
constructor() {
|
|
29
|
+
super();
|
|
30
|
+
attachShadowTemplate(this, template, styles);
|
|
31
|
+
this._foundation = new LabelValueFoundation(new LabelValueAdapter(this));
|
|
32
|
+
}
|
|
33
33
|
connectedCallback() {
|
|
34
34
|
this._foundation.initialize();
|
|
35
35
|
}
|
|
@@ -38,11 +38,6 @@ const styles = ':host{display:block;position:relative;min-inline-size:80px;block
|
|
|
38
38
|
* @csspart progressbar - Styles the progress bar container element
|
|
39
39
|
*/
|
|
40
40
|
let LinearProgressComponent = class LinearProgressComponent extends BaseComponent {
|
|
41
|
-
constructor() {
|
|
42
|
-
super();
|
|
43
|
-
attachShadowTemplate(this, template, styles);
|
|
44
|
-
this._foundation = new LinearProgressFoundation(new LinearProgressAdapter(this));
|
|
45
|
-
}
|
|
46
41
|
static get observedAttributes() {
|
|
47
42
|
return [
|
|
48
43
|
LINEAR_PROGRESS_CONSTANTS.attributes.DETERMINATE,
|
|
@@ -51,6 +46,11 @@ let LinearProgressComponent = class LinearProgressComponent extends BaseComponen
|
|
|
51
46
|
LINEAR_PROGRESS_CONSTANTS.attributes.ARIA_LABEL
|
|
52
47
|
];
|
|
53
48
|
}
|
|
49
|
+
constructor() {
|
|
50
|
+
super();
|
|
51
|
+
attachShadowTemplate(this, template, styles);
|
|
52
|
+
this._foundation = new LinearProgressFoundation(new LinearProgressAdapter(this));
|
|
53
|
+
}
|
|
54
54
|
attributeChangedCallback(name, oldValue, newValue) {
|
|
55
55
|
switch (name) {
|
|
56
56
|
case LINEAR_PROGRESS_CONSTANTS.attributes.DETERMINATE:
|
package/esm/list/list/list.js
CHANGED
|
@@ -18,11 +18,6 @@ const styles = '.forge-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoot
|
|
|
18
18
|
* @tag forge-list
|
|
19
19
|
*/
|
|
20
20
|
let ListComponent = class ListComponent extends BaseComponent {
|
|
21
|
-
constructor() {
|
|
22
|
-
super();
|
|
23
|
-
attachShadowTemplate(this, template, styles);
|
|
24
|
-
this._foundation = new ListFoundation(new ListAdapter(this));
|
|
25
|
-
}
|
|
26
21
|
static get observedAttributes() {
|
|
27
22
|
return [
|
|
28
23
|
LIST_CONSTANTS.attributes.STATIC,
|
|
@@ -32,6 +27,11 @@ let ListComponent = class ListComponent extends BaseComponent {
|
|
|
32
27
|
LIST_CONSTANTS.attributes.INDENTED
|
|
33
28
|
];
|
|
34
29
|
}
|
|
30
|
+
constructor() {
|
|
31
|
+
super();
|
|
32
|
+
attachShadowTemplate(this, template, styles);
|
|
33
|
+
this._foundation = new ListFoundation(new ListAdapter(this));
|
|
34
|
+
}
|
|
35
35
|
initializedCallback() {
|
|
36
36
|
this._foundation.initialize();
|
|
37
37
|
}
|
|
@@ -18,11 +18,6 @@ const styles = '@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animatio
|
|
|
18
18
|
* @tag forge-list-item
|
|
19
19
|
*/
|
|
20
20
|
let ListItemComponent = class ListItemComponent extends BaseComponent {
|
|
21
|
-
constructor() {
|
|
22
|
-
super();
|
|
23
|
-
attachShadowTemplate(this, defaultTemplate, styles);
|
|
24
|
-
this._foundation = new ListItemFoundation(new ListItemAdapter(this));
|
|
25
|
-
}
|
|
26
21
|
static get observedAttributes() {
|
|
27
22
|
return [
|
|
28
23
|
LIST_ITEM_CONSTANTS.attributes.STATIC,
|
|
@@ -41,6 +36,11 @@ let ListItemComponent = class ListItemComponent extends BaseComponent {
|
|
|
41
36
|
LIST_ITEM_CONSTANTS.attributes.WRAP
|
|
42
37
|
];
|
|
43
38
|
}
|
|
39
|
+
constructor() {
|
|
40
|
+
super();
|
|
41
|
+
attachShadowTemplate(this, defaultTemplate, styles);
|
|
42
|
+
this._foundation = new ListItemFoundation(new ListItemAdapter(this));
|
|
43
|
+
}
|
|
44
44
|
connectedCallback() {
|
|
45
45
|
// To simulate the :host-context() selector for Firefox until they implement it, we need to determine if the
|
|
46
46
|
// list item is within a drawer for auto-styling the list item when included within a drawer. Check to see if
|
|
@@ -213,7 +213,7 @@ export class ListDropdownAdapter {
|
|
|
213
213
|
if (!this._dropdownElement || !this._listElement) {
|
|
214
214
|
return;
|
|
215
215
|
}
|
|
216
|
-
createListItems(config, this._listElement, options);
|
|
216
|
+
createListItems(config, this._listElement, options, this._listElement.childElementCount, false);
|
|
217
217
|
}
|
|
218
218
|
setBusyVisibility(isVisible) {
|
|
219
219
|
if (!this._dropdownElement) {
|
|
@@ -20,12 +20,12 @@ export declare const LIST_DROPDOWN_CONSTANTS: {
|
|
|
20
20
|
GROUP_WRAPPER: string;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
23
|
+
export type ListDropdownOptionBuilder<T = HTMLElement> = (option: IListDropdownOption, parentElement: T) => HTMLElement | string | void;
|
|
24
|
+
export type ListDropdownHeaderBuilder = () => HTMLElement;
|
|
25
|
+
export type ListDropdownFooterBuilder = () => HTMLElement;
|
|
26
|
+
export type ListDropdownOptionGroupBuilder<T = any> = (option: IListDropdownOptionGroup<T>) => HTMLElement | string;
|
|
27
|
+
export type ListDropdownTransformCallback = (label: string) => string | HTMLElement;
|
|
28
|
+
export type ListDropdownIconType = 'font' | 'component';
|
|
29
29
|
export interface IBaseListDropdownOption<T = any> {
|
|
30
30
|
value: T;
|
|
31
31
|
label: string;
|
|
@@ -23,7 +23,7 @@ export declare function createList(config: IListDropdownOpenConfig): IListCompon
|
|
|
23
23
|
* Creates the list to place inside of the dropdown.
|
|
24
24
|
* @param config
|
|
25
25
|
*/
|
|
26
|
-
export declare function createListItems(config: IListDropdownOpenConfig, listElement: IListComponent, options?: Array<IListDropdownOption | IListDropdownOptionGroup
|
|
26
|
+
export declare function createListItems(config: IListDropdownOpenConfig, listElement: IListComponent, options?: Array<IListDropdownOption | IListDropdownOptionGroup>, startIndex?: number, renderSelected?: boolean): void;
|
|
27
27
|
export declare function createCheckboxElement(selected: boolean): HTMLElement;
|
|
28
28
|
export declare function createAsyncElement(asyncStyle?: ListDropdownAsyncStyle): HTMLElement;
|
|
29
29
|
export declare function createBusyElement(): ILinearProgressComponent;
|
|
@@ -93,13 +93,13 @@ export function createList(config) {
|
|
|
93
93
|
* Creates the list to place inside of the dropdown.
|
|
94
94
|
* @param config
|
|
95
95
|
*/
|
|
96
|
-
export function createListItems(config, listElement, options) {
|
|
96
|
+
export function createListItems(config, listElement, options, startIndex = 0, renderSelected = true) {
|
|
97
97
|
// Ensure the options are provided in the form a group (if no groups provided, then we have one anonymous group of options)
|
|
98
98
|
const groups = getOptionsByGroup(options || config.options);
|
|
99
99
|
const flatOptions = getFlattenedOptions(groups);
|
|
100
100
|
const limitOptions = config.optionLimit ? true : false;
|
|
101
101
|
let optionLimit = config.optionLimit || 0;
|
|
102
|
-
let
|
|
102
|
+
let optionIdIndex = startIndex;
|
|
103
103
|
// Iterate over our groups and render the optional headers and options for that group
|
|
104
104
|
for (const group of groups) {
|
|
105
105
|
let optionParent = listElement;
|
|
@@ -148,12 +148,15 @@ export function createListItems(config, listElement, options) {
|
|
|
148
148
|
if (limitOptions && --optionLimit < 0) {
|
|
149
149
|
break;
|
|
150
150
|
}
|
|
151
|
-
optionIndex++;
|
|
152
151
|
// Create and configure the list element
|
|
153
152
|
const isSelected = config.selectedValues ? config.selectedValues.some(v => isDeepEqual(v, option.value)) : false;
|
|
153
|
+
// We don't render selected options that are appended dynamically since those are always displayed at the top of the list
|
|
154
|
+
if (!renderSelected && isSelected) {
|
|
155
|
+
continue;
|
|
156
|
+
}
|
|
154
157
|
let listItemElement = document.createElement('forge-list-item');
|
|
155
158
|
listItemElement.value = option.value;
|
|
156
|
-
listItemElement.id = `list-dropdown-option-${config.id}-${
|
|
159
|
+
listItemElement.id = `list-dropdown-option-${config.id}-${optionIdIndex++}`;
|
|
157
160
|
listItemElement.style.cursor = 'pointer';
|
|
158
161
|
if (config.wrapOptionText) {
|
|
159
162
|
listItemElement.wrap = true;
|
|
@@ -54,6 +54,6 @@ export interface IMenuOption<T = any> extends IListDropdownOption<T> {
|
|
|
54
54
|
}
|
|
55
55
|
export interface IMenuOptionGroup extends IListDropdownOptionGroup {
|
|
56
56
|
}
|
|
57
|
-
export
|
|
58
|
-
export
|
|
59
|
-
export
|
|
57
|
+
export type MenuOptionBuilder = (option: IMenuOption, parentElement: HTMLElement) => HTMLElement | string | void;
|
|
58
|
+
export type MenuOptionFactory = (() => IMenuOption[]) | (() => Promise<IMenuOption[]>);
|
|
59
|
+
export type MenuMode = 'click' | 'cascade';
|
package/esm/menu/menu.js
CHANGED
|
@@ -23,12 +23,6 @@ const styles = ':host{display:inline-block}:host([hidden]){display:none}';
|
|
|
23
23
|
* @tag forge-menu
|
|
24
24
|
*/
|
|
25
25
|
let MenuComponent = class MenuComponent extends ListDropdownAware {
|
|
26
|
-
constructor() {
|
|
27
|
-
super();
|
|
28
|
-
IconRegistry.define(tylIconArrowRight);
|
|
29
|
-
this._foundation = new MenuFoundation(new MenuAdapter(this));
|
|
30
|
-
attachShadowTemplate(this, template, styles);
|
|
31
|
-
}
|
|
32
26
|
static get observedAttributes() {
|
|
33
27
|
return [
|
|
34
28
|
MENU_CONSTANTS.attributes.OPEN,
|
|
@@ -46,6 +40,12 @@ let MenuComponent = class MenuComponent extends ListDropdownAware {
|
|
|
46
40
|
MENU_CONSTANTS.attributes.OBSERVE_SCROLL_THRESHOLD
|
|
47
41
|
];
|
|
48
42
|
}
|
|
43
|
+
constructor() {
|
|
44
|
+
super();
|
|
45
|
+
IconRegistry.define(tylIconArrowRight);
|
|
46
|
+
this._foundation = new MenuFoundation(new MenuAdapter(this));
|
|
47
|
+
attachShadowTemplate(this, template, styles);
|
|
48
|
+
}
|
|
49
49
|
connectedCallback() {
|
|
50
50
|
if (this.querySelector(MENU_CONSTANTS.selectors.TOGGLE)) {
|
|
51
51
|
this._foundation.initialize();
|
|
@@ -19,18 +19,18 @@ const styles = '.forge-open-icon{color:#757575;color:var(--forge-theme-icon-colo
|
|
|
19
19
|
* @tag forge-open-icon
|
|
20
20
|
*/
|
|
21
21
|
let OpenIconComponent = class OpenIconComponent extends BaseComponent {
|
|
22
|
-
constructor() {
|
|
23
|
-
super();
|
|
24
|
-
IconRegistry.define([tylIconKeyboardArrowLeft, tylIconKeyboardArrowDown]);
|
|
25
|
-
attachShadowTemplate(this, template, styles);
|
|
26
|
-
this._foundation = new OpenIconFoundation(new OpenIconAdapter(this));
|
|
27
|
-
}
|
|
28
22
|
static get observedAttributes() {
|
|
29
23
|
return [
|
|
30
24
|
OPEN_ICON_CONSTANTS.attributes.OPEN,
|
|
31
25
|
OPEN_ICON_CONSTANTS.attributes.ORIENTATION
|
|
32
26
|
];
|
|
33
27
|
}
|
|
28
|
+
constructor() {
|
|
29
|
+
super();
|
|
30
|
+
IconRegistry.define([tylIconKeyboardArrowLeft, tylIconKeyboardArrowDown]);
|
|
31
|
+
attachShadowTemplate(this, template, styles);
|
|
32
|
+
this._foundation = new OpenIconFoundation(new OpenIconAdapter(this));
|
|
33
|
+
}
|
|
34
34
|
initializedCallback() {
|
|
35
35
|
this._foundation.initialize();
|
|
36
36
|
}
|
|
@@ -65,7 +65,7 @@ export declare const PAGINATOR_CONSTANTS: {
|
|
|
65
65
|
PAGE_SIZE: string;
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
|
-
export
|
|
68
|
+
export type PaginatorAlternativeAlignment = 'start' | 'space-between' | 'end';
|
|
69
69
|
export interface IPaginatorChangeEvent {
|
|
70
70
|
type: string;
|
|
71
71
|
pageSize: number;
|
|
@@ -22,17 +22,6 @@ const styles = '.forge-icon-button{display:-webkit-inline-box;display:inline-fle
|
|
|
22
22
|
* @tag forge-paginator
|
|
23
23
|
*/
|
|
24
24
|
let PaginatorComponent = class PaginatorComponent extends BaseComponent {
|
|
25
|
-
constructor() {
|
|
26
|
-
super();
|
|
27
|
-
IconRegistry.define([
|
|
28
|
-
tylIconFirstPage,
|
|
29
|
-
tylIconKeyboardArrowLeft,
|
|
30
|
-
tylIconKeyboardArrowRight,
|
|
31
|
-
tylIconLastPage
|
|
32
|
-
]);
|
|
33
|
-
attachShadowTemplate(this, template, styles);
|
|
34
|
-
this._foundation = new PaginatorFoundation(new PaginatorAdapter(this));
|
|
35
|
-
}
|
|
36
25
|
static get observedAttributes() {
|
|
37
26
|
return [
|
|
38
27
|
PAGINATOR_CONSTANTS.attributes.PAGE_INDEX,
|
|
@@ -48,6 +37,17 @@ let PaginatorComponent = class PaginatorComponent extends BaseComponent {
|
|
|
48
37
|
PAGINATOR_CONSTANTS.attributes.ALIGNMENT
|
|
49
38
|
];
|
|
50
39
|
}
|
|
40
|
+
constructor() {
|
|
41
|
+
super();
|
|
42
|
+
IconRegistry.define([
|
|
43
|
+
tylIconFirstPage,
|
|
44
|
+
tylIconKeyboardArrowLeft,
|
|
45
|
+
tylIconKeyboardArrowRight,
|
|
46
|
+
tylIconLastPage
|
|
47
|
+
]);
|
|
48
|
+
attachShadowTemplate(this, template, styles);
|
|
49
|
+
this._foundation = new PaginatorFoundation(new PaginatorAdapter(this));
|
|
50
|
+
}
|
|
51
51
|
connectedCallback() {
|
|
52
52
|
this._foundation.initialize();
|
|
53
53
|
}
|
|
@@ -43,7 +43,7 @@ export interface IPopupPosition {
|
|
|
43
43
|
x: number;
|
|
44
44
|
y: number;
|
|
45
45
|
}
|
|
46
|
-
export
|
|
46
|
+
export type PopupPlacement = PositionPlacement;
|
|
47
47
|
export declare enum PopupAnimationType {
|
|
48
48
|
None = "none",
|
|
49
49
|
Menu = "menu",
|
|
@@ -52,4 +52,4 @@ export declare enum PopupAnimationType {
|
|
|
52
52
|
export interface IPopupPositionEventData extends IPopupPosition {
|
|
53
53
|
visibility: 'visible' | 'hidden';
|
|
54
54
|
}
|
|
55
|
-
export
|
|
55
|
+
export type PopupStateCallback = () => boolean | void | Promise<boolean | void>;
|
package/esm/popup/popup.js
CHANGED
|
@@ -17,11 +17,6 @@ const styles = '.forge-popup{min-width:112px;min-width:var(--min-width,112px);ba
|
|
|
17
17
|
* @tag forge-popup
|
|
18
18
|
*/
|
|
19
19
|
let PopupComponent = class PopupComponent extends BaseComponent {
|
|
20
|
-
constructor() {
|
|
21
|
-
super();
|
|
22
|
-
attachShadowTemplate(this, template, styles);
|
|
23
|
-
this._foundation = new PopupFoundation(new PopupAdapter(this));
|
|
24
|
-
}
|
|
25
20
|
static get observedAttributes() {
|
|
26
21
|
return [
|
|
27
22
|
POPUP_CONSTANTS.attributes.OPEN,
|
|
@@ -32,6 +27,11 @@ let PopupComponent = class PopupComponent extends BaseComponent {
|
|
|
32
27
|
POPUP_CONSTANTS.attributes.HIDE_WHEN_CLIPPED
|
|
33
28
|
];
|
|
34
29
|
}
|
|
30
|
+
constructor() {
|
|
31
|
+
super();
|
|
32
|
+
attachShadowTemplate(this, template, styles);
|
|
33
|
+
this._foundation = new PopupFoundation(new PopupAdapter(this));
|
|
34
|
+
}
|
|
35
35
|
disconnectedCallback() {
|
|
36
36
|
this._foundation.disconnect();
|
|
37
37
|
}
|
|
@@ -17,11 +17,6 @@ const styles = '.forge-product-icon__background{border-radius:50%;border-radius:
|
|
|
17
17
|
* @tag forge-product-icon
|
|
18
18
|
*/
|
|
19
19
|
let ProductIconComponent = class ProductIconComponent extends BaseComponent {
|
|
20
|
-
constructor() {
|
|
21
|
-
super();
|
|
22
|
-
attachShadowTemplate(this, template, styles);
|
|
23
|
-
this._foundation = new ProductIconFoundation(new ProductIconAdapter(this));
|
|
24
|
-
}
|
|
25
20
|
static get observedAttributes() {
|
|
26
21
|
return [
|
|
27
22
|
PRODUCT_ICON_CONSTANTS.attributes.COLOR,
|
|
@@ -30,6 +25,11 @@ let ProductIconComponent = class ProductIconComponent extends BaseComponent {
|
|
|
30
25
|
PRODUCT_ICON_CONSTANTS.attributes.ITERATIONS
|
|
31
26
|
];
|
|
32
27
|
}
|
|
28
|
+
constructor() {
|
|
29
|
+
super();
|
|
30
|
+
attachShadowTemplate(this, template, styles);
|
|
31
|
+
this._foundation = new ProductIconFoundation(new ProductIconAdapter(this));
|
|
32
|
+
}
|
|
33
33
|
connectedCallback() {
|
|
34
34
|
this._foundation.initialize();
|
|
35
35
|
}
|
|
@@ -20,11 +20,6 @@ const styles = '@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animatio
|
|
|
20
20
|
* @tag forge-profile-card
|
|
21
21
|
*/
|
|
22
22
|
let ProfileCardComponent = class ProfileCardComponent extends BaseComponent {
|
|
23
|
-
constructor() {
|
|
24
|
-
super();
|
|
25
|
-
attachShadowTemplate(this, template, styles);
|
|
26
|
-
this._foundation = new ProfileCardFoundation(new ProfileCardAdapter(this));
|
|
27
|
-
}
|
|
28
23
|
static get observedAttributes() {
|
|
29
24
|
return [
|
|
30
25
|
PROFILE_CARD_CONSTANTS.attributes.FULL_NAME,
|
|
@@ -39,6 +34,11 @@ let ProfileCardComponent = class ProfileCardComponent extends BaseComponent {
|
|
|
39
34
|
PROFILE_CARD_CONSTANTS.attributes.AVATAR_LETTER_COUNT
|
|
40
35
|
];
|
|
41
36
|
}
|
|
37
|
+
constructor() {
|
|
38
|
+
super();
|
|
39
|
+
attachShadowTemplate(this, template, styles);
|
|
40
|
+
this._foundation = new ProfileCardFoundation(new ProfileCardAdapter(this));
|
|
41
|
+
}
|
|
42
42
|
connectedCallback() {
|
|
43
43
|
this._foundation.initialize();
|
|
44
44
|
}
|
|
@@ -7,7 +7,7 @@ import { IBaseComponentDelegateConfig } from '../core/delegates/base-component-d
|
|
|
7
7
|
import { FormFieldComponentDelegate, IFormFieldComponentDelegateOptions } from '../core/delegates/form-field-component-delegate';
|
|
8
8
|
import { ITextFieldComponentDelegateConfig } from '../text-field/text-field-component-delegate';
|
|
9
9
|
import { IQuantityFieldComponent } from './quantity-field';
|
|
10
|
-
export
|
|
10
|
+
export type QuantityFieldComponentDelegateProps = Partial<IQuantityFieldComponent>;
|
|
11
11
|
export interface IQuantityFieldComponentDelegateOptions extends IFormFieldComponentDelegateOptions {
|
|
12
12
|
id?: string;
|
|
13
13
|
label?: string;
|
|
@@ -20,6 +20,12 @@ import { IconRegistry } from '../icon';
|
|
|
20
20
|
* @tag forge-quantity-field
|
|
21
21
|
*/
|
|
22
22
|
let QuantityFieldComponent = class QuantityFieldComponent extends BaseComponent {
|
|
23
|
+
static get observedAttributes() {
|
|
24
|
+
return [
|
|
25
|
+
QUANTITY_FIELD_CONSTANTS.attributes.INVALID,
|
|
26
|
+
QUANTITY_FIELD_CONSTANTS.attributes.REQUIRED
|
|
27
|
+
];
|
|
28
|
+
}
|
|
23
29
|
constructor() {
|
|
24
30
|
super();
|
|
25
31
|
attachShadowTemplate(this, template, styles);
|
|
@@ -29,12 +35,6 @@ let QuantityFieldComponent = class QuantityFieldComponent extends BaseComponent
|
|
|
29
35
|
tylIconControlPoint
|
|
30
36
|
]);
|
|
31
37
|
}
|
|
32
|
-
static get observedAttributes() {
|
|
33
|
-
return [
|
|
34
|
-
QUANTITY_FIELD_CONSTANTS.attributes.INVALID,
|
|
35
|
-
QUANTITY_FIELD_CONSTANTS.attributes.REQUIRED
|
|
36
|
-
];
|
|
37
|
-
}
|
|
38
38
|
connectedCallback() {
|
|
39
39
|
if (this._requiredElementsPresent()) {
|
|
40
40
|
this._foundation.connect();
|
package/esm/radio/radio.js
CHANGED
|
@@ -17,16 +17,16 @@ const styles = '.mdc-radio{padding:10px;display:inline-block;position:relative;-
|
|
|
17
17
|
* @tag forge-radio
|
|
18
18
|
*/
|
|
19
19
|
let RadioComponent = class RadioComponent extends BaseComponent {
|
|
20
|
-
constructor() {
|
|
21
|
-
super();
|
|
22
|
-
attachShadowTemplate(this, template, styles);
|
|
23
|
-
this._foundation = new RadioFoundation(new RadioAdapter(this));
|
|
24
|
-
}
|
|
25
20
|
static get observedAttributes() {
|
|
26
21
|
return [
|
|
27
22
|
RADIO_CONSTANTS.attributes.DENSE
|
|
28
23
|
];
|
|
29
24
|
}
|
|
25
|
+
constructor() {
|
|
26
|
+
super();
|
|
27
|
+
attachShadowTemplate(this, template, styles);
|
|
28
|
+
this._foundation = new RadioFoundation(new RadioAdapter(this));
|
|
29
|
+
}
|
|
30
30
|
connectedCallback() {
|
|
31
31
|
this._ensureRadioInputElement().then(() => this._foundation.connect());
|
|
32
32
|
}
|
|
@@ -7,6 +7,8 @@ import { MDCRipple, type MDCRippleAdapter, MDCRippleFoundation, type MDCRippleCa
|
|
|
7
7
|
export declare class ForgeRipple extends MDCRipple {
|
|
8
8
|
/** Manually trigger focus activation. */
|
|
9
9
|
handleFocus(): void;
|
|
10
|
+
/** Manually trigger focus deactivation. */
|
|
11
|
+
handleBlur(): void;
|
|
10
12
|
/** Executes the ripple animation. */
|
|
11
13
|
animate(): void;
|
|
12
14
|
}
|