@tylertech/forge 3.0.0-next.7 → 3.0.0-next.9
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 +7530 -4847
- package/dist/button/forge-button.css +1 -1
- 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/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.PPPTT3SM.js → chunk.2VP57RZO.js} +2 -2
- package/dist/esm/chunks/{chunk.PPPTT3SM.js.map → chunk.2VP57RZO.js.map} +2 -2
- package/dist/esm/chunks/{chunk.TXFYS6EU.js → chunk.33EJTOVA.js} +2 -2
- package/dist/esm/chunks/{chunk.OTVT3XM2.js → chunk.3JDFBEF7.js} +2 -2
- package/dist/esm/chunks/chunk.3ME47JIX.js +7 -0
- package/dist/esm/chunks/chunk.3ME47JIX.js.map +7 -0
- package/dist/esm/chunks/{chunk.V6JVHYVW.js → chunk.44UCSD46.js} +2 -2
- package/dist/esm/chunks/{chunk.EUE3OVC7.js → chunk.4WVHON6T.js} +2 -2
- package/dist/esm/chunks/chunk.4WVHON6T.js.map +7 -0
- package/dist/esm/chunks/{chunk.6SBTLXLH.js → chunk.5IQGVS6U.js} +2 -2
- package/dist/esm/chunks/{chunk.6SBTLXLH.js.map → chunk.5IQGVS6U.js.map} +1 -1
- package/dist/esm/chunks/{chunk.7JQHQKXN.js → chunk.6MPXRRMB.js} +2 -2
- package/dist/esm/chunks/{chunk.MXNLCQRB.js → chunk.6VDF54LZ.js} +2 -2
- package/dist/esm/chunks/{chunk.GF2GUVYS.js → chunk.7TGGJGTG.js} +2 -2
- package/dist/esm/chunks/{chunk.GF2GUVYS.js.map → chunk.7TGGJGTG.js.map} +1 -1
- package/dist/esm/chunks/{chunk.4EB5NVCK.js → chunk.AHHNJSZK.js} +2 -2
- package/dist/esm/chunks/chunk.BBKRPL6R.js +7 -0
- package/dist/esm/chunks/chunk.BBKRPL6R.js.map +7 -0
- package/dist/esm/chunks/{chunk.BSTIDYQJ.js → chunk.BBWMSCVG.js} +2 -2
- package/dist/esm/chunks/{chunk.BKCEVPKW.js → chunk.BDCJIRNK.js} +2 -2
- package/dist/esm/chunks/chunk.BSVFCJCQ.js +7 -0
- package/dist/esm/chunks/chunk.BSVFCJCQ.js.map +7 -0
- package/dist/esm/chunks/chunk.CAUWWFF4.js +7 -0
- package/dist/esm/chunks/chunk.CAUWWFF4.js.map +7 -0
- package/dist/esm/chunks/{chunk.SYZB7B4F.js → chunk.CL65KLH7.js} +2 -2
- package/dist/esm/chunks/{chunk.4LVS2EYJ.js → chunk.DFGBVJBE.js} +2 -2
- package/dist/esm/chunks/chunk.DXZ5LVFJ.js +7 -0
- package/dist/esm/chunks/chunk.DXZ5LVFJ.js.map +7 -0
- package/dist/esm/chunks/{chunk.YUAU5IWT.js → chunk.F776DWXU.js} +2 -2
- package/dist/esm/chunks/{chunk.HKJEGD6C.js → chunk.FIBGOPNP.js} +2 -2
- package/dist/esm/chunks/{chunk.HKJEGD6C.js.map → chunk.FIBGOPNP.js.map} +1 -1
- package/dist/esm/chunks/{chunk.OHNPVHPF.js → chunk.GEGK55XX.js} +2 -2
- package/dist/esm/chunks/{chunk.OHNPVHPF.js.map → chunk.GEGK55XX.js.map} +2 -2
- package/dist/esm/chunks/{chunk.2QFIMTVP.js → chunk.GT3XBPZY.js} +2 -2
- package/dist/esm/chunks/{chunk.OT6H5NHX.js → chunk.HUGRRRQA.js} +2 -2
- package/dist/esm/chunks/{chunk.GJW4WS4I.js → chunk.HXJCTE47.js} +2 -2
- package/dist/esm/chunks/{chunk.RHYRMQS7.js → chunk.IPGZ24EH.js} +2 -2
- package/dist/esm/chunks/{chunk.RHYRMQS7.js.map → chunk.IPGZ24EH.js.map} +1 -1
- package/dist/esm/chunks/chunk.ISC7SZSP.js +7 -0
- package/dist/esm/chunks/chunk.ISC7SZSP.js.map +7 -0
- package/dist/esm/chunks/{chunk.RUSHOL23.js → chunk.JAAJDT5E.js} +2 -2
- package/dist/esm/chunks/{chunk.SIJGKRYS.js → chunk.JCRC2VEI.js} +2 -2
- package/dist/esm/chunks/{chunk.SIJGKRYS.js.map → chunk.JCRC2VEI.js.map} +1 -1
- package/dist/esm/chunks/{chunk.STGRPD2L.js → chunk.JFKSREWG.js} +2 -2
- package/dist/esm/chunks/{chunk.STGRPD2L.js.map → chunk.JFKSREWG.js.map} +1 -1
- package/dist/esm/chunks/{chunk.FAANPQES.js → chunk.JL4XB4RI.js} +2 -2
- package/dist/esm/chunks/{chunk.24L5GDD2.js → chunk.JTIPXKV6.js} +2 -2
- package/dist/esm/chunks/{chunk.24L5GDD2.js.map → chunk.JTIPXKV6.js.map} +2 -2
- package/dist/esm/chunks/chunk.KO45GDOA.js +7 -0
- package/dist/esm/chunks/{chunk.2CTK5R37.js.map → chunk.KO45GDOA.js.map} +2 -2
- package/dist/esm/chunks/chunk.KSCUIS5C.js +7 -0
- package/dist/esm/chunks/chunk.KSCUIS5C.js.map +7 -0
- package/dist/esm/chunks/{chunk.2LRDPTHK.js → chunk.M2M47T4L.js} +2 -2
- package/dist/esm/chunks/{chunk.JVW6JGV3.js → chunk.MGWY7YIL.js} +2 -2
- package/dist/esm/chunks/{chunk.JVW6JGV3.js.map → chunk.MGWY7YIL.js.map} +2 -2
- package/dist/esm/chunks/{chunk.3CBVRCKM.js → chunk.MJSLXZBM.js} +2 -2
- package/dist/esm/chunks/{chunk.3CBVRCKM.js.map → chunk.MJSLXZBM.js.map} +1 -1
- package/dist/esm/chunks/{chunk.2YAU7AXH.js → chunk.N7PQ2MUQ.js} +2 -2
- package/dist/esm/chunks/{chunk.2YAU7AXH.js.map → chunk.N7PQ2MUQ.js.map} +1 -1
- package/dist/esm/chunks/{chunk.XMFQFFKR.js → chunk.NE4NCRRZ.js} +2 -2
- package/dist/esm/chunks/chunk.NF4J3Q5X.js +7 -0
- package/dist/esm/chunks/chunk.NF4J3Q5X.js.map +7 -0
- package/dist/esm/chunks/chunk.OEYALYRM.js +7 -0
- package/dist/esm/chunks/chunk.OEYALYRM.js.map +7 -0
- package/dist/esm/chunks/{chunk.GHSAKRYH.js → chunk.OKKH7F7M.js} +2 -2
- package/dist/esm/chunks/{chunk.AGMPIMJV.js → chunk.QL45FKVJ.js} +2 -2
- package/dist/esm/chunks/{chunk.AGMPIMJV.js.map → chunk.QL45FKVJ.js.map} +2 -2
- package/dist/esm/chunks/chunk.QU76MOCS.js +12 -0
- package/dist/esm/chunks/chunk.QU76MOCS.js.map +7 -0
- package/dist/esm/chunks/{chunk.5PHLKON3.js → chunk.R5HZFOUK.js} +2 -2
- package/dist/esm/chunks/{chunk.5PHLKON3.js.map → chunk.R5HZFOUK.js.map} +2 -2
- package/dist/esm/chunks/chunk.SAXRW6GB.js +7 -0
- package/dist/esm/chunks/chunk.SAXRW6GB.js.map +7 -0
- package/dist/esm/chunks/{chunk.2IQGDFQS.js → chunk.SEP3L4QL.js} +2 -2
- package/dist/esm/chunks/{chunk.2IQGDFQS.js.map → chunk.SEP3L4QL.js.map} +1 -1
- package/dist/esm/chunks/{chunk.Z5TWWM7I.js → chunk.SN5LPTHH.js} +2 -2
- package/dist/esm/chunks/{chunk.Z5TWWM7I.js.map → chunk.SN5LPTHH.js.map} +1 -1
- package/dist/esm/chunks/{chunk.CNQESSA3.js → chunk.UKFJHDO7.js} +2 -2
- package/dist/esm/chunks/{chunk.IGK3VYZG.js → chunk.VI2GRQO3.js} +2 -2
- package/dist/esm/chunks/{chunk.A5MBSCSQ.js → chunk.VNOJO2PF.js} +2 -2
- package/dist/esm/chunks/chunk.W7PZTNZ4.js +7 -0
- package/dist/esm/chunks/chunk.W7PZTNZ4.js.map +7 -0
- package/dist/esm/chunks/chunk.WH6C36MO.js +7 -0
- package/dist/esm/chunks/chunk.WH6C36MO.js.map +7 -0
- package/dist/esm/chunks/{chunk.2YX7ASSX.js → chunk.WXN4S7CN.js} +2 -2
- package/dist/esm/chunks/{chunk.ER52NFXX.js → chunk.X5BG35YX.js} +2 -2
- package/dist/esm/chunks/{chunk.THPU5KBV.js → chunk.XRESQBNE.js} +2 -2
- package/dist/esm/chunks/{chunk.632OMHHN.js → chunk.YDY2IGBF.js} +2 -2
- package/dist/esm/chunks/{chunk.632OMHHN.js.map → chunk.YDY2IGBF.js.map} +1 -1
- package/dist/esm/chunks/{chunk.QYKO543K.js → chunk.YWCLKUK7.js} +2 -2
- package/dist/esm/chunks/{chunk.QA3NU7EN.js → chunk.Z4J4D5FD.js} +2 -2
- package/dist/esm/chunks/{chunk.QA3NU7EN.js.map → chunk.Z4J4D5FD.js.map} +1 -1
- package/dist/esm/chunks/{chunk.V4RBOYNH.js → chunk.ZTGPXIC2.js} +2 -2
- package/dist/esm/chunks/{chunk.V4RBOYNH.js.map → chunk.ZTGPXIC2.js.map} +1 -1
- package/dist/esm/circular-progress/index.js +1 -1
- package/dist/esm/color-picker/index.js +1 -1
- package/dist/esm/core/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/expansion-panel/index.js +1 -1
- package/dist/esm/file-picker/index.js +1 -1
- package/dist/esm/focus-indicator/index.js +7 -0
- package/dist/esm/focus-indicator/index.js.map +7 -0
- 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/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/paginator/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/select/core/index.js +1 -1
- package/dist/esm/select/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/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/state-layer/index.js +7 -0
- package/dist/esm/state-layer/index.js.map +7 -0
- 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/forge-dark.css +1 -1
- package/dist/forge.css +1 -1
- package/dist/icon-button/forge-icon-button.css +1 -1
- package/dist/table/forge-table.css +1 -1
- package/dist/theme/forge-theme.css +1 -1
- package/esm/app-bar/app-bar.js +1 -1
- package/esm/banner/banner.js +1 -1
- package/esm/bottom-sheet/bottom-sheet.js +1 -1
- package/esm/busy-indicator/busy-indicator.js +1 -1
- package/esm/button/button.d.ts +1 -0
- package/esm/button/button.js +8 -2
- package/esm/button-toggle/button-toggle/button-toggle.js +1 -1
- package/esm/calendar/calendar-menu/calendar-menu.js +1 -1
- package/esm/calendar/calendar.js +1 -1
- package/esm/card/card-constants.d.ts +2 -2
- package/esm/card/card-constants.js +2 -2
- package/esm/card/card.d.ts +19 -8
- package/esm/card/card.js +30 -21
- package/esm/checkbox/checkbox-adapter.d.ts +1 -0
- package/esm/checkbox/checkbox-adapter.js +9 -2
- package/esm/checkbox/checkbox.js +1 -1
- package/esm/chip-field/chip-field.js +1 -1
- package/esm/chips/chip/chip.js +1 -1
- package/esm/circular-progress/circular-progress.d.ts +3 -3
- package/esm/circular-progress/circular-progress.js +4 -4
- package/esm/color-picker/color-picker.js +1 -1
- package/esm/core/testing/pointer.d.ts +13 -0
- package/esm/core/testing/pointer.js +42 -0
- package/esm/core/utils/utils.d.ts +16 -2
- package/esm/core/utils/utils.js +47 -6
- package/esm/file-picker/file-picker.js +1 -1
- package/esm/focus-indicator/focus-indicator-adapter.d.ts +29 -0
- package/esm/focus-indicator/focus-indicator-adapter.js +39 -0
- package/esm/focus-indicator/focus-indicator-constants.d.ts +15 -0
- package/esm/focus-indicator/focus-indicator-constants.js +19 -0
- package/esm/focus-indicator/focus-indicator-foundation.d.ts +43 -0
- package/esm/focus-indicator/focus-indicator-foundation.js +110 -0
- package/esm/focus-indicator/focus-indicator.d.ts +67 -0
- package/esm/focus-indicator/focus-indicator.js +112 -0
- package/esm/focus-indicator/index.d.ts +10 -0
- package/esm/focus-indicator/index.js +14 -0
- package/esm/icon-button/icon-button.d.ts +1 -0
- package/esm/icon-button/icon-button.js +9 -2
- package/esm/index.d.ts +2 -0
- package/esm/index.js +6 -0
- package/esm/list/list-item/list-item-adapter.d.ts +3 -3
- package/esm/list/list-item/list-item-adapter.js +2 -2
- package/esm/list/list-item/list-item-foundation.d.ts +1 -0
- package/esm/list/list-item/list-item-foundation.js +8 -1
- package/esm/list/list-item/list-item.js +1 -1
- package/esm/paginator/paginator.js +1 -1
- package/esm/profile-card/profile-card.js +1 -1
- package/esm/radio/radio-adapter.d.ts +1 -0
- package/esm/radio/radio-adapter.js +9 -2
- package/esm/select/select/select.js +1 -1
- package/esm/slider/slider-adapter.d.ts +0 -16
- package/esm/slider/slider-adapter.js +11 -71
- package/esm/slider/slider-constants.d.ts +0 -3
- package/esm/slider/slider-constants.js +0 -3
- package/esm/slider/slider-foundation.d.ts +0 -1
- package/esm/slider/slider-foundation.js +0 -6
- package/esm/slider/slider-utils.js +6 -3
- package/esm/slider/slider.d.ts +0 -2
- package/esm/slider/slider.js +9 -7
- package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
- package/esm/state-layer/index.d.ts +10 -0
- package/esm/state-layer/index.js +14 -0
- package/esm/state-layer/state-layer-adapter.d.ts +41 -0
- package/esm/state-layer/state-layer-adapter.js +101 -0
- package/esm/state-layer/state-layer-constants.d.ts +79 -0
- package/esm/state-layer/state-layer-constants.js +89 -0
- package/esm/state-layer/state-layer-foundation.d.ts +57 -0
- package/esm/state-layer/state-layer-foundation.js +237 -0
- package/esm/state-layer/state-layer-utils.d.ts +26 -0
- package/esm/state-layer/state-layer-utils.js +54 -0
- package/esm/state-layer/state-layer.d.ts +66 -0
- package/esm/state-layer/state-layer.js +96 -0
- package/esm/stepper/step/step.js +1 -1
- package/esm/switch/switch.js +10 -3
- package/esm/tabs/tab/tab-adapter.d.ts +4 -6
- package/esm/tabs/tab/tab-adapter.js +9 -18
- package/esm/tabs/tab/tab-constants.d.ts +0 -1
- package/esm/tabs/tab/tab-constants.js +0 -1
- package/esm/tabs/tab/tab-foundation.d.ts +0 -1
- package/esm/tabs/tab/tab-foundation.js +1 -3
- package/esm/tabs/tab/tab.d.ts +0 -1
- package/esm/tabs/tab/tab.js +9 -6
- package/esm/tabs/tab-bar/tab-bar.d.ts +2 -2
- package/esm/tabs/tab-bar/tab-bar.js +3 -3
- package/esm/text-field/text-field.js +1 -1
- package/esm/toast/toast.js +1 -1
- package/package.json +1 -1
- package/styles/app-bar/_mixins.scss +9 -1
- package/styles/card/_mixins.scss +8 -7
- package/styles/circular-progress/_mixins.scss +3 -10
- package/styles/core/{style-layer → styles}/circular-progress/_core.scss +5 -8
- package/styles/core/styles/focus-indicator/_core.scss +5 -0
- package/styles/core/styles/focus-indicator/_variables.scss +8 -0
- package/styles/core/styles/focus-indicator/index.scss +7 -0
- package/styles/core/{style-layer → styles}/slider/_core.scss +13 -31
- package/styles/core/styles/state-layer/_core.scss +144 -0
- package/styles/core/styles/state-layer/_variables.scss +8 -0
- package/styles/core/{style-layer/tabs/tab → styles/state-layer}/index.scss +0 -4
- package/styles/core/{style-layer → styles}/tabs/tab/_core.scss +36 -40
- package/styles/core/{style-layer → styles}/tabs/tab-bar/_core.scss +2 -2
- package/styles/core/{style-layer → styles}/tabs/tab-bar/_variables.scss +1 -1
- package/styles/core/styles/tabs/tab-bar/index.scss +7 -0
- package/styles/core/styles/tokens/_color-palette.scss +299 -0
- package/styles/core/styles/tokens/circular-progress/_tokens.scss +14 -0
- package/styles/core/styles/tokens/focus-indicator/_tokens.scss +24 -0
- package/styles/core/styles/tokens/index.scss +58 -0
- package/styles/core/styles/tokens/state-layer/_tokens.scss +17 -0
- package/styles/core/styles/tokens/theme/_tokens.scss +185 -0
- package/styles/core/styles/tokens/typography/_tokens.scss +47 -0
- package/styles/core/styles/utils/_elevation.scss +5 -0
- package/styles/focus-indicator/_mixins.scss +138 -0
- package/styles/focus-indicator/_variables.scss +5 -0
- package/styles/focus-indicator/focus-indicator.scss +32 -0
- package/styles/linear-progress/_mixins.scss +1 -1
- package/styles/linear-progress/_variables.scss +1 -1
- package/styles/slider/_mixins.scss +17 -1
- package/styles/state-layer/_mixins.scss +23 -0
- package/styles/state-layer/state-layer.scss +20 -0
- package/styles/tabs/tab/_mixins.scss +20 -1
- package/styles/tabs/tab/_variables.scss +2 -0
- package/styles/tabs/tab-bar/_mixins.scss +2 -1
- package/styles/tabs/tab-bar/_variables.scss +2 -2
- package/styles/theme/_theme-dark.scss +5 -3
- package/styles/theme/_theme.scss +3 -36
- package/dist/esm/chunks/chunk.246JM2YT.js +0 -7
- package/dist/esm/chunks/chunk.246JM2YT.js.map +0 -7
- package/dist/esm/chunks/chunk.2CTK5R37.js +0 -7
- package/dist/esm/chunks/chunk.2XFVFZ3P.js +0 -7
- package/dist/esm/chunks/chunk.2XFVFZ3P.js.map +0 -7
- package/dist/esm/chunks/chunk.5IVB5L5Z.js +0 -7
- package/dist/esm/chunks/chunk.5IVB5L5Z.js.map +0 -7
- package/dist/esm/chunks/chunk.A5R7KUIP.js +0 -7
- package/dist/esm/chunks/chunk.A5R7KUIP.js.map +0 -7
- package/dist/esm/chunks/chunk.BWZKQ6WX.js +0 -7
- package/dist/esm/chunks/chunk.BWZKQ6WX.js.map +0 -7
- package/dist/esm/chunks/chunk.EUE3OVC7.js.map +0 -7
- package/dist/esm/chunks/chunk.GUYPITGA.js +0 -7
- package/dist/esm/chunks/chunk.GUYPITGA.js.map +0 -7
- package/dist/esm/chunks/chunk.GWIVOPRO.js +0 -7
- package/dist/esm/chunks/chunk.GWIVOPRO.js.map +0 -7
- package/dist/esm/chunks/chunk.JHXNEHWR.js +0 -12
- package/dist/esm/chunks/chunk.JHXNEHWR.js.map +0 -7
- package/dist/esm/chunks/chunk.NVMILGC2.js +0 -7
- package/dist/esm/chunks/chunk.NVMILGC2.js.map +0 -7
- package/dist/esm/chunks/chunk.WFDIA7R6.js +0 -7
- package/dist/esm/chunks/chunk.WFDIA7R6.js.map +0 -7
- package/esm/slider/slider-handle-ripple.d.ts +0 -18
- package/esm/slider/slider-handle-ripple.js +0 -37
- package/esm/tabs/tab/tab-ripple.d.ts +0 -17
- package/esm/tabs/tab/tab-ripple.js +0 -33
- package/styles/circular-progress/_variables.scss +0 -12
- /package/dist/esm/chunks/{chunk.TXFYS6EU.js.map → chunk.33EJTOVA.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.OTVT3XM2.js.map → chunk.3JDFBEF7.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.V6JVHYVW.js.map → chunk.44UCSD46.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.7JQHQKXN.js.map → chunk.6MPXRRMB.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.MXNLCQRB.js.map → chunk.6VDF54LZ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.4EB5NVCK.js.map → chunk.AHHNJSZK.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.BSTIDYQJ.js.map → chunk.BBWMSCVG.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.BKCEVPKW.js.map → chunk.BDCJIRNK.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.SYZB7B4F.js.map → chunk.CL65KLH7.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.4LVS2EYJ.js.map → chunk.DFGBVJBE.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.YUAU5IWT.js.map → chunk.F776DWXU.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.2QFIMTVP.js.map → chunk.GT3XBPZY.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.OT6H5NHX.js.map → chunk.HUGRRRQA.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.GJW4WS4I.js.map → chunk.HXJCTE47.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.RUSHOL23.js.map → chunk.JAAJDT5E.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.FAANPQES.js.map → chunk.JL4XB4RI.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.2LRDPTHK.js.map → chunk.M2M47T4L.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.XMFQFFKR.js.map → chunk.NE4NCRRZ.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.GHSAKRYH.js.map → chunk.OKKH7F7M.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.CNQESSA3.js.map → chunk.UKFJHDO7.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.IGK3VYZG.js.map → chunk.VI2GRQO3.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.A5MBSCSQ.js.map → chunk.VNOJO2PF.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.2YX7ASSX.js.map → chunk.WXN4S7CN.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.ER52NFXX.js.map → chunk.X5BG35YX.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.THPU5KBV.js.map → chunk.XRESQBNE.js.map} +0 -0
- /package/dist/esm/chunks/{chunk.QYKO543K.js.map → chunk.YWCLKUK7.js.map} +0 -0
- /package/styles/core/{style-layer → styles}/circular-progress/_animations.scss +0 -0
- /package/styles/core/{style-layer → styles}/circular-progress/_variables.scss +0 -0
- /package/styles/core/{style-layer → styles}/circular-progress/index.scss +0 -0
- /package/styles/core/{style-layer → styles}/core/_config.scss +0 -0
- /package/styles/core/{style-layer → styles}/linear-progress/_animations.scss +0 -0
- /package/styles/core/{style-layer → styles}/linear-progress/_core.scss +0 -0
- /package/styles/core/{style-layer → styles}/linear-progress/_variables.scss +0 -0
- /package/styles/core/{style-layer → styles}/linear-progress/index.scss +0 -0
- /package/styles/core/{style-layer → styles}/slider/_functions.scss +0 -0
- /package/styles/core/{style-layer → styles}/slider/_variables.scss +0 -0
- /package/styles/core/{style-layer → styles}/slider/index.scss +0 -0
- /package/styles/core/{style-layer → styles}/tabs/tab/_variables.scss +0 -0
- /package/styles/core/{style-layer/tabs/tab-bar → styles/tabs/tab}/index.scss +0 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
@use 'sass:map';
|
|
7
|
+
@use '../core/config';
|
|
8
|
+
|
|
9
|
+
@forward './theme/tokens';
|
|
10
|
+
|
|
11
|
+
// Theme tokens
|
|
12
|
+
@use './theme/tokens' as theme-tokens;
|
|
13
|
+
|
|
14
|
+
// Component tokens
|
|
15
|
+
@use './circular-progress/tokens' as circular-progress-tokens;
|
|
16
|
+
@use './focus-indicator/tokens' as focus-indicator-tokens;
|
|
17
|
+
@use './state-layer/tokens' as state-layer-tokens;
|
|
18
|
+
|
|
19
|
+
///
|
|
20
|
+
/// This is a map of all tokens across all modules.
|
|
21
|
+
///
|
|
22
|
+
$all-tokens: (
|
|
23
|
+
theme: theme-tokens.$tokens,
|
|
24
|
+
circular-progress: circular-progress-tokens.$tokens,
|
|
25
|
+
focus-indicator: focus-indicator-tokens.$tokens,
|
|
26
|
+
state-layer: state-layer-tokens.$tokens
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
///
|
|
30
|
+
/// Emits CSS custom property declarations for tokens on a per-module basis,
|
|
31
|
+
/// using the provided token map.
|
|
32
|
+
///
|
|
33
|
+
/// The key is the module name, and the value is a map of token names to values.
|
|
34
|
+
///
|
|
35
|
+
@mixin provide($key, $tokens) {
|
|
36
|
+
$module-tokens: map.get($all-tokens, $key);
|
|
37
|
+
|
|
38
|
+
@if not $module-tokens {
|
|
39
|
+
@error 'Invalid token module key: "#{$key}"';
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@each $token-name, $token-value in $tokens {
|
|
43
|
+
@if not map.get($module-tokens, $token-name) {
|
|
44
|
+
@error 'Invalid token "#{$token-name}" for module "#{$key}"';
|
|
45
|
+
}
|
|
46
|
+
--#{config.$prefix}-#{$key}-#{$token-name}: #{$token-value};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
///
|
|
51
|
+
/// Emits CSS custom property declarations for all in the provided module.
|
|
52
|
+
///
|
|
53
|
+
@mixin configuration($module, $prefix: config.$prefix) {
|
|
54
|
+
$module-tokens: map.get($all-tokens, $module);
|
|
55
|
+
@each $token, $value in $module-tokens {
|
|
56
|
+
--_#{$token}: var(--#{$prefix}-#{$token}, #{$value});
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
@use '../theme/tokens';
|
|
7
|
+
|
|
8
|
+
$tokens: (
|
|
9
|
+
color: tokens.variable(on-surface),
|
|
10
|
+
hover-color: var(--_color),
|
|
11
|
+
hover-opacity: 0.08,
|
|
12
|
+
pressed-color: var(--_color),
|
|
13
|
+
pressed-opacity: 0.12,
|
|
14
|
+
hover-duration: 15ms,
|
|
15
|
+
pressed-duration: 105ms,
|
|
16
|
+
animation-duration: 375ms
|
|
17
|
+
) !default;
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
@use 'sass:map';
|
|
7
|
+
@use '../../core/config';
|
|
8
|
+
@use '../color-palette' as color-palette;
|
|
9
|
+
@use '@material/elevation/elevation-theme' as mdc-elevation-theme;
|
|
10
|
+
|
|
11
|
+
/// Layering tokens to define z-index ranges for common UI elements
|
|
12
|
+
$z-index-tokens: (
|
|
13
|
+
surface: 1,
|
|
14
|
+
header: 4,
|
|
15
|
+
backdrop: 7,
|
|
16
|
+
dialog: 8,
|
|
17
|
+
notification: 9,
|
|
18
|
+
popup: 10,
|
|
19
|
+
tooltip: 11
|
|
20
|
+
) !default;
|
|
21
|
+
|
|
22
|
+
/// All semantic tokens for the Forge default (light) theme
|
|
23
|
+
$tokens: (
|
|
24
|
+
// General theme colors
|
|
25
|
+
primary: color-palette.$indigo-500,
|
|
26
|
+
on-primary: #ffffff,
|
|
27
|
+
secondary: color-palette.$amber-500,
|
|
28
|
+
on-secondary: #000000,
|
|
29
|
+
tertiary: color-palette.$indigo-a400,
|
|
30
|
+
on-tertiary: #ffffff,
|
|
31
|
+
background: color-palette.$grey-50,
|
|
32
|
+
surface: #ffffff,
|
|
33
|
+
on-surface: #000000,
|
|
34
|
+
|
|
35
|
+
// Status colors
|
|
36
|
+
success: color-palette.$green-800,
|
|
37
|
+
on-success: #ffffff,
|
|
38
|
+
error: #b00020,
|
|
39
|
+
on-error: #ffffff,
|
|
40
|
+
warning: #d14900,
|
|
41
|
+
on-warning: #ffffff,
|
|
42
|
+
|
|
43
|
+
// Text colors
|
|
44
|
+
text-primary: rgba(0, 0, 0, 0.87),
|
|
45
|
+
text-secondary: rgba(0, 0, 0, 0.54),
|
|
46
|
+
text-disabled: rgba(0, 0, 0, 0.12),
|
|
47
|
+
text-hint: rgba(0, 0, 0, 0.38),
|
|
48
|
+
text-icon: rgba(0, 0, 0, 0.38),
|
|
49
|
+
text-primary-on-light: rgba(0, 0, 0, 0.87),
|
|
50
|
+
text-secondary-on-light: rgba(0, 0, 0, 0.54),
|
|
51
|
+
text-disabled-on-light: rgba(0, 0, 0, 0.38),
|
|
52
|
+
text-primary-on-dark: rgba(255, 255, 255, 0.87),
|
|
53
|
+
text-secondary-on-dark: rgba(255, 255, 255, 0.7),
|
|
54
|
+
|
|
55
|
+
// Utility semantic colors
|
|
56
|
+
track-color: rgba(0, 0, 0, 0.12),
|
|
57
|
+
border-color: color-palette.$grey-300,
|
|
58
|
+
icon-color: color-palette.$grey-600,
|
|
59
|
+
form-field-label-on-background: rgba(0, 0, 0, 0.65),
|
|
60
|
+
form-field-icon-disabled-on-background: rgba(0, 0, 0, 0.26),
|
|
61
|
+
form-field-text-disabled-on-background: rgba(0, 0, 0, 0.6),
|
|
62
|
+
form-field-disabled-on-background: color-palette.$grey-100,
|
|
63
|
+
label-disabled-on-background: rgba(0, 0, 0, 0.38),
|
|
64
|
+
elevated-surface: #ffffff,
|
|
65
|
+
on-elevated-surface: rgba(0, 0, 0, 0.87),
|
|
66
|
+
popup-elevation: mdc-elevation-theme.elevation-box-shadow(2),
|
|
67
|
+
scrollbar-thumb: color-palette.$grey-400,
|
|
68
|
+
scrollbar-thumb-hover: color-palette.$grey-500,
|
|
69
|
+
scrollbar-track: #f0f0f0,
|
|
70
|
+
scrollbar-track-hover: #ececec
|
|
71
|
+
) !default;
|
|
72
|
+
|
|
73
|
+
/// All tokens for the Forge dark theme
|
|
74
|
+
$tokens-dark: (
|
|
75
|
+
// General theme colors
|
|
76
|
+
primary: color-palette.$indigo-a100,
|
|
77
|
+
on-primary: #000000,
|
|
78
|
+
secondary: color-palette.$amber-200,
|
|
79
|
+
on-secondary: #000000,
|
|
80
|
+
tertiary: var(--forge-theme-secondary, color-palette.$amber-200),
|
|
81
|
+
on-tertiary: #ffffff,
|
|
82
|
+
background: color-palette.$grey-900,
|
|
83
|
+
surface: #2c2c2c,
|
|
84
|
+
on-surface: #ffffff,
|
|
85
|
+
|
|
86
|
+
// Status colors
|
|
87
|
+
text-primary: rgba(255, 255, 255, 0.87),
|
|
88
|
+
text-secondary: rgba(255, 255, 255, 0.54),
|
|
89
|
+
text-disabled: rgba(255, 255, 255, 0.12),
|
|
90
|
+
text-hint: rgba(255, 255, 255, 0.38),
|
|
91
|
+
text-icon: rgba(255, 255, 255, 0.38),
|
|
92
|
+
text-disabled-on-background: rgba(255, 255, 255, 0.12),
|
|
93
|
+
text-disabled-on-light: rgba(255, 255, 255, 0.38),
|
|
94
|
+
text-secondary-on-light: rgba(255, 255, 255, 0.54),
|
|
95
|
+
text-primary-on-dark: #000000,
|
|
96
|
+
|
|
97
|
+
// Utility semantic colors
|
|
98
|
+
track-color: rgba(255, 255, 255, 0.12),
|
|
99
|
+
border-color: #464646,
|
|
100
|
+
form-field-icon-disabled-on-background: rgba(78, 45, 45, 0.26),
|
|
101
|
+
form-field-disabled-on-background: #353535,
|
|
102
|
+
form-field-text-disabled-on-background: rgba(255, 255, 255, 0.6),
|
|
103
|
+
form-field-label-on-background: rgba(255, 255, 255, 0.65),
|
|
104
|
+
label-disabled-on-background: rgba(255, 255, 255, 0.38),
|
|
105
|
+
scrollbar-thumb: color-palette.$grey-600,
|
|
106
|
+
scrollbar-thumb-hover: color-palette.$grey-500,
|
|
107
|
+
scrollbar-track: #3a3a3a,
|
|
108
|
+
scrollbar-track-hover: color-palette.$grey-800,
|
|
109
|
+
elevated-surface: #363636,
|
|
110
|
+
on-elevated-surface: rgba(255, 255, 255, 0.87),
|
|
111
|
+
popup-elevation: mdc-elevation-theme.elevation-box-shadow(16)
|
|
112
|
+
) !default;
|
|
113
|
+
|
|
114
|
+
///
|
|
115
|
+
/// Temporary tokens to map the MDC theme to Forge theme
|
|
116
|
+
///
|
|
117
|
+
/// TODO: Remove this once MDC dependency is removed
|
|
118
|
+
///
|
|
119
|
+
$mdc-remap: (
|
|
120
|
+
primary: var(--forge-theme-primary, map.get($tokens, primary)),
|
|
121
|
+
on-primary: var(--forge-theme-on-primary, map.get($tokens, on-primary)),
|
|
122
|
+
secondary: var(--forge-theme-secondary, map.get($tokens, secondary)),
|
|
123
|
+
on-secondary: var(--forge-theme-on-secondary, map.get($tokens, on-secondary)),
|
|
124
|
+
background: var(--forge-theme-background, map.get($tokens, background)),
|
|
125
|
+
surface: var(--forge-theme-surface, map.get($tokens, surface)),
|
|
126
|
+
on-surface: var(--forge-theme-on-surface, map.get($tokens, on-surface)),
|
|
127
|
+
error: var(--forge-theme-error, map.get($tokens, error)),
|
|
128
|
+
on-error: var(--forge-theme-on-error, map.get($tokens, on-error)),
|
|
129
|
+
text-primary-on-background: var(--forge-theme-text-primary, map.get($tokens, text-primary)),
|
|
130
|
+
text-secondary-on-background: var(--forge-theme-text-secondary, map.get($tokens, text-secondary)),
|
|
131
|
+
text-disabled-on-background: var(--forge-theme-text-disabled, map.get($tokens, text-disabled)),
|
|
132
|
+
text-hint-on-background: var(--forge-theme-text-hint, map.get($tokens, text-hint)),
|
|
133
|
+
text-icon-on-background: var(--forge-theme-text-icon, map.get($tokens, text-icon)),
|
|
134
|
+
text-primary-on-light: var(--forge-theme-text-primary-on-light, map.get($tokens, text-primary-on-light)),
|
|
135
|
+
text-secondary-on-light: var(--forge-theme-text-secondary-on-light, map.get($tokens, text-secondary-on-light)),
|
|
136
|
+
text-disabled-on-light: var(--forge-theme-text-disabled-on-light, map.get($tokens, text-disabled-on-light)),
|
|
137
|
+
text-primary-on-dark: var(--forge-theme-text-primary-on-dark, map.get($tokens, text-primary-on-dark)),
|
|
138
|
+
);
|
|
139
|
+
|
|
140
|
+
///
|
|
141
|
+
/// Emits custom property declarations for all default theme tokens.
|
|
142
|
+
///
|
|
143
|
+
@mixin theme-properties {
|
|
144
|
+
/// Temporary tokens to map the MDC theme to Forge theme
|
|
145
|
+
/// TODO: Remove this once MDC dependency is removed
|
|
146
|
+
:root {
|
|
147
|
+
@each $token-name, $token-value in $mdc-remap {
|
|
148
|
+
--mdc-theme-#{$token-name}: #{$token-value};
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
// Forge theme tokens
|
|
153
|
+
:root {
|
|
154
|
+
@each $token-name, $token-value in $tokens {
|
|
155
|
+
--forge-theme-#{$token-name}: #{$token-value};
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
///
|
|
161
|
+
/// Emits custom property declarations for all dark theme tokens.
|
|
162
|
+
///
|
|
163
|
+
@mixin theme-properties-dark {
|
|
164
|
+
@each $token-name, $token-value in $tokens-dark {
|
|
165
|
+
--forge-theme-#{$token-name}: #{$token-value};
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
///
|
|
170
|
+
/// Emits a style declaration for a specific style property that references a theme variable.
|
|
171
|
+
///
|
|
172
|
+
@mixin property($style, $key) {
|
|
173
|
+
#{$style}: #{variable($key, $fallback)};
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
///
|
|
177
|
+
/// Gets a CSS custom property declaration for a specific theme variable, with its token value as the fallback value
|
|
178
|
+
///
|
|
179
|
+
@function variable($key, $prefix: '#{config.$prefix}-theme') {
|
|
180
|
+
@if not map.get($tokens, $key) {
|
|
181
|
+
@error 'Invalid theme property: #{$key}';
|
|
182
|
+
}
|
|
183
|
+
$value: map.get($tokens, $key);
|
|
184
|
+
@return var(--#{$prefix}-#{$key}, $value);
|
|
185
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
@use 'sass:map';
|
|
7
|
+
@use '../../tokens';
|
|
8
|
+
|
|
9
|
+
$font-family: 'Roboto', sans-serif !default;
|
|
10
|
+
|
|
11
|
+
$base: (
|
|
12
|
+
font-family: $font-family,
|
|
13
|
+
font-size: 16px,
|
|
14
|
+
font-weight: 400,
|
|
15
|
+
line-height: normal,
|
|
16
|
+
letter-spacing: normal,
|
|
17
|
+
text-transform: none,
|
|
18
|
+
text-decoration: none,
|
|
19
|
+
color: tokens.variable(text-primary)
|
|
20
|
+
) !default;
|
|
21
|
+
|
|
22
|
+
$title: (
|
|
23
|
+
font-family: map.get($base, font-family)
|
|
24
|
+
font-size: 20px,
|
|
25
|
+
font-weight: map.get($base, font-weight),
|
|
26
|
+
line-height: 24px,
|
|
27
|
+
letter-spacing: 0.0125em,
|
|
28
|
+
text-transform: inherit,
|
|
29
|
+
text-decoration: inherit,
|
|
30
|
+
color: map.get($base, color)
|
|
31
|
+
) !default;
|
|
32
|
+
|
|
33
|
+
$label: (
|
|
34
|
+
font-family: map.get($base, font-family),
|
|
35
|
+
font-size: 12px,
|
|
36
|
+
font-weight: map.get($base, font-weight),
|
|
37
|
+
line-height: 20px,
|
|
38
|
+
letter-spacing: 0.0333333333em,
|
|
39
|
+
text-transform: inherit,
|
|
40
|
+
text-decoration: inherit,
|
|
41
|
+
color: map.get($base, color)
|
|
42
|
+
) !default;
|
|
43
|
+
|
|
44
|
+
$tokens: (
|
|
45
|
+
title: $title,
|
|
46
|
+
label: $label
|
|
47
|
+
) !default;
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
@use '../core/styles/tokens';
|
|
7
|
+
|
|
8
|
+
@mixin provide-theme($theme) {
|
|
9
|
+
@include tokens.provide('focus-indicator', $theme);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@mixin configuration {
|
|
13
|
+
--_active-width: var(--forge-focus-indicator-active-width, 6px);
|
|
14
|
+
--_color: var(--forge-focus-indicator-color, #{tokens.variable(primary)});
|
|
15
|
+
--_duration: var(--forge-focus-indicator-duration, 600ms);
|
|
16
|
+
--_outward-offset: var(--forge-focus-indicator-outward-offset, 4px);
|
|
17
|
+
--_inward-offset: var(--forge-focus-indicator-inward-offset, 0px); // stylelint-disable-line length-zero-no-unit
|
|
18
|
+
--_shape: var(--forge-focus-indicator-shape, 1px);
|
|
19
|
+
--_width: var(--forge-focus-indicator-width, 2px);
|
|
20
|
+
--_easing: var(--forge-focus-indicator-easing, cubic-bezier(0.2, 0, 0, 1));
|
|
21
|
+
--_shape-start-start: var(--forge-focus-indicator-shape-start-start, var(--_shape));
|
|
22
|
+
--_shape-start-end: var(--forge-focus-indicator-shape-start-end, var(--_shape));
|
|
23
|
+
--_shape-end-start: var(--forge-focus-indicator-shape-end-start, var(--_shape));
|
|
24
|
+
--_shape-end-end: var(--forge-focus-indicator-shape-end-end, var(--_shape));
|
|
25
|
+
--_margin-block: var(--forge-focus-indicator-offset-block, 0);
|
|
26
|
+
--_margin-inline: var(--forge-focus-indicator-offset-inline, 0);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@mixin core-styles {
|
|
30
|
+
.forge-focus-indicator {
|
|
31
|
+
@include configuration;
|
|
32
|
+
@include base;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@include reduced-motion-styles;
|
|
36
|
+
@include keyframes;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@mixin outward-styles {
|
|
40
|
+
.forge-focus-indicator {
|
|
41
|
+
@include outward;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@mixin inward-styles {
|
|
46
|
+
.forge-focus-indicator {
|
|
47
|
+
@include inward;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@mixin active-styles {
|
|
52
|
+
.forge-focus-indicator {
|
|
53
|
+
@include active;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@mixin circular-styles {
|
|
58
|
+
.forge-focus-indicator {
|
|
59
|
+
--_shape: 50%;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@mixin reduced-motion-styles {
|
|
64
|
+
@media (prefers-reduced-motion) {
|
|
65
|
+
.forge-focus-indicator {
|
|
66
|
+
animation: none;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@mixin base {
|
|
72
|
+
animation-delay: 0s, calc(var(--_duration) * 0.25);
|
|
73
|
+
animation-duration: calc(var(--_duration) * 0.25), calc(var(--_duration) * 0.75);
|
|
74
|
+
animation-timing-function: var(--_easing);
|
|
75
|
+
box-sizing: border-box;
|
|
76
|
+
color: var(--_color);
|
|
77
|
+
display: none;
|
|
78
|
+
pointer-events: none;
|
|
79
|
+
position: absolute;
|
|
80
|
+
margin-block: var(--_margin-block);
|
|
81
|
+
margin-inline: var(--_margin-inline);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@mixin active {
|
|
85
|
+
display: flex;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@mixin outward {
|
|
89
|
+
animation-name: outward-grow, outward-shrink;
|
|
90
|
+
border-end-end-radius: calc(var(--_shape-end-end) + var(--_outward-offset));
|
|
91
|
+
border-end-start-radius: calc(var(--_shape-end-start) + var(--_outward-offset));
|
|
92
|
+
border-start-end-radius: calc(var(--_shape-start-end) + var(--_outward-offset));
|
|
93
|
+
border-start-start-radius: calc(var(--_shape-start-start) + var(--_outward-offset));
|
|
94
|
+
inset: calc(-1 * var(--_outward-offset));
|
|
95
|
+
outline: var(--_width) solid currentColor;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@mixin inward {
|
|
99
|
+
animation-name: inward-grow, inward-shrink;
|
|
100
|
+
border-end-end-radius: calc(var(--_shape-end-end) - var(--_inward-offset));
|
|
101
|
+
border-end-start-radius: calc(var(--_shape-end-start) - var(--_inward-offset));
|
|
102
|
+
border-start-end-radius: calc(var(--_shape-start-end) - var(--_inward-offset));
|
|
103
|
+
border-start-start-radius: calc(var(--_shape-start-start) - var(--_inward-offset));
|
|
104
|
+
border: var(--_width) solid currentColor;
|
|
105
|
+
inset: var(--_inward-offset);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@mixin keyframes {
|
|
109
|
+
@keyframes outward-grow {
|
|
110
|
+
from {
|
|
111
|
+
outline-width: 0;
|
|
112
|
+
}
|
|
113
|
+
to {
|
|
114
|
+
outline-width: var(--_active-width);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@keyframes outward-shrink {
|
|
119
|
+
from {
|
|
120
|
+
outline-width: var(--_active-width);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
@keyframes inward-grow {
|
|
125
|
+
from {
|
|
126
|
+
border-width: 0;
|
|
127
|
+
}
|
|
128
|
+
to {
|
|
129
|
+
border-width: var(--_active-width);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@keyframes inward-shrink {
|
|
134
|
+
from {
|
|
135
|
+
border-width: var(--_active-width);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
@use './mixins';
|
|
7
|
+
|
|
8
|
+
@include mixins.core-styles;
|
|
9
|
+
|
|
10
|
+
:host {
|
|
11
|
+
display: contents;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host([hidden]) {
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:host([active]) {
|
|
19
|
+
@include mixins.active-styles;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
:host(:not([inward])) {
|
|
23
|
+
@include mixins.outward-styles;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
:host([inward]) {
|
|
27
|
+
@include mixins.inward-styles;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:host([circular]) {
|
|
31
|
+
@include mixins.circular-styles;
|
|
32
|
+
}
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
@use 'sass:list';
|
|
7
|
-
@use '../core/
|
|
7
|
+
@use '../core/styles/slider';
|
|
8
|
+
@use '../focus-indicator/mixins' as focus-indicator;
|
|
9
|
+
@use '../state-layer/mixins' as state-layer;
|
|
8
10
|
@use './variables';
|
|
9
11
|
|
|
10
12
|
@mixin provide-theme($theme) {
|
|
@@ -24,4 +26,18 @@
|
|
|
24
26
|
|
|
25
27
|
@mixin core-styles {
|
|
26
28
|
@include slider.styles;
|
|
29
|
+
|
|
30
|
+
forge-focus-indicator {
|
|
31
|
+
/* stylelint-disable length-zero-no-unit */
|
|
32
|
+
@include focus-indicator.provide-theme((
|
|
33
|
+
shape: 50%,
|
|
34
|
+
outward-offset: 0px
|
|
35
|
+
));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
forge-state-layer {
|
|
39
|
+
@include state-layer.provide-theme((
|
|
40
|
+
color: var(--_handle-color)
|
|
41
|
+
));
|
|
42
|
+
}
|
|
27
43
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
@use '../core/styles/state-layer';
|
|
7
|
+
@use '../core/styles/tokens';
|
|
8
|
+
|
|
9
|
+
@mixin provide-theme($theme) {
|
|
10
|
+
@include tokens.provide('state-layer', $theme);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@mixin core-styles {
|
|
14
|
+
@include state-layer.styles;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@mixin host {
|
|
18
|
+
@include state-layer.host;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@mixin disabled {
|
|
22
|
+
@include state-layer.disabled;
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
|
+
* License: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
@use './mixins';
|
|
7
|
+
|
|
8
|
+
@include mixins.core-styles;
|
|
9
|
+
|
|
10
|
+
:host {
|
|
11
|
+
@include mixins.host;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host([hidden]) {
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:host([disabled]) {
|
|
19
|
+
@include mixins.disabled;
|
|
20
|
+
}
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
* Copyright 2023 Tyler Technologies, Inc.
|
|
4
4
|
* License: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
@use '
|
|
6
|
+
@use 'sass:list';
|
|
7
|
+
@use '../../core/styles/tabs/tab';
|
|
8
|
+
@use '../../focus-indicator/mixins' as focus-indicator;
|
|
9
|
+
@use '../../state-layer/mixins' as state-layer;
|
|
7
10
|
@use './variables';
|
|
8
11
|
|
|
9
12
|
@mixin provide-theme($theme) {
|
|
@@ -19,6 +22,10 @@
|
|
|
19
22
|
|
|
20
23
|
@mixin core-styles {
|
|
21
24
|
@include tab.styles;
|
|
25
|
+
|
|
26
|
+
forge-focus-indicator {
|
|
27
|
+
@include focus-indicator.provide-theme(( shape: 8px ));
|
|
28
|
+
}
|
|
22
29
|
}
|
|
23
30
|
|
|
24
31
|
@mixin focus-styles {
|
|
@@ -44,6 +51,18 @@
|
|
|
44
51
|
@mixin selected-styles {
|
|
45
52
|
@include tab.selected-styles;
|
|
46
53
|
@include tab.forced-colors-styles;
|
|
54
|
+
|
|
55
|
+
forge-focus-indicator {
|
|
56
|
+
@include focus-indicator.provide-theme((
|
|
57
|
+
'offset-block': 0 calc(var(--_active-indicator-height) + 1px)
|
|
58
|
+
));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
forge-state-layer {
|
|
62
|
+
@include state-layer.provide-theme((
|
|
63
|
+
color: var(--_active-indicator-color)
|
|
64
|
+
));
|
|
65
|
+
}
|
|
47
66
|
}
|
|
48
67
|
|
|
49
68
|
@mixin stacked-styles {
|
|
@@ -26,12 +26,14 @@
|
|
|
26
26
|
@use '../table/variables' as table-variables;
|
|
27
27
|
@use '../switch/switch-theme' as switch-theme;
|
|
28
28
|
|
|
29
|
+
@use '../core/styles/tokens/theme/tokens' as theme-tokens;
|
|
30
|
+
|
|
29
31
|
///
|
|
30
32
|
/// Provides the CSS custom property definitions for the default Forge dark theme.
|
|
31
33
|
///
|
|
32
|
-
@mixin theme-properties
|
|
33
|
-
/// Global
|
|
34
|
-
@include theme.
|
|
34
|
+
@mixin theme-properties {
|
|
35
|
+
/// Global Forge theme properties
|
|
36
|
+
@include theme-tokens.theme-properties-dark;
|
|
35
37
|
|
|
36
38
|
/// Component-specific Forge theme properties
|
|
37
39
|
@include app-bar-mixins.provide-theme(app-bar-variables.$theme-values-dark);
|