@tylertech/forge 3.0.0-next.3 → 3.0.0-next.5

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.
Files changed (263) hide show
  1. package/custom-elements.json +890 -154
  2. package/dist/esm/accordion/index.js +1 -1
  3. package/dist/esm/app-bar/help-button/index.js +1 -1
  4. package/dist/esm/app-bar/index.js +1 -1
  5. package/dist/esm/app-bar/menu-button/index.js +1 -1
  6. package/dist/esm/app-bar/notification-button/index.js +1 -1
  7. package/dist/esm/app-bar/profile-button/index.js +1 -1
  8. package/dist/esm/autocomplete/index.js +1 -1
  9. package/dist/esm/banner/index.js +1 -1
  10. package/dist/esm/bottom-sheet/index.js +1 -1
  11. package/dist/esm/busy-indicator/index.js +1 -1
  12. package/dist/esm/button/index.js +1 -1
  13. package/dist/esm/button-toggle/button-toggle/index.js +1 -1
  14. package/dist/esm/button-toggle/button-toggle-group/index.js +1 -1
  15. package/dist/esm/button-toggle/index.js +1 -1
  16. package/dist/esm/calendar/index.js +1 -1
  17. package/dist/esm/checkbox/index.js +1 -1
  18. package/dist/esm/chip-field/index.js +1 -1
  19. package/dist/esm/chips/chip/index.js +1 -1
  20. package/dist/esm/chips/chip-set/index.js +1 -1
  21. package/dist/esm/chips/index.js +1 -1
  22. package/dist/esm/chunks/{chunk.T7KUZYQ3.js → chunk.2TVYAW7Q.js} +2 -2
  23. package/dist/esm/chunks/chunk.3SBF7CUU.js +201 -0
  24. package/dist/esm/chunks/{chunk.UHTQGET5.js.map → chunk.3SBF7CUU.js.map} +1 -1
  25. package/dist/esm/chunks/chunk.3W2ERIMT.js +7 -0
  26. package/dist/esm/chunks/chunk.3W2ERIMT.js.map +7 -0
  27. package/dist/esm/chunks/{chunk.H5MJBEK5.js → chunk.3XZRUXG7.js} +2 -2
  28. package/dist/esm/chunks/{chunk.HNSUYOCY.js → chunk.4NV7AHF2.js} +2 -2
  29. package/dist/esm/chunks/{chunk.3QD73Z4F.js → chunk.64F24XMH.js} +2 -2
  30. package/dist/esm/chunks/{chunk.56D6S5XJ.js → chunk.7BNQYL2F.js} +2 -2
  31. package/dist/esm/chunks/{chunk.3GZF7UI2.js → chunk.7JBR7GWZ.js} +2 -2
  32. package/dist/esm/chunks/{chunk.NRXPO3SY.js → chunk.7UN5EYUE.js} +2 -2
  33. package/dist/esm/chunks/{chunk.ZJXVI6A7.js → chunk.7X7A74SI.js} +2 -2
  34. package/dist/esm/chunks/chunk.7X7A74SI.js.map +7 -0
  35. package/dist/esm/chunks/{chunk.BSKIHRND.js → chunk.A5D7XSBD.js} +2 -2
  36. package/dist/esm/chunks/chunk.A6RLV2QU.js +7 -0
  37. package/dist/esm/chunks/chunk.A6RLV2QU.js.map +7 -0
  38. package/dist/esm/chunks/{chunk.YM6VAIY2.js → chunk.ABN3DL7G.js} +2 -2
  39. package/dist/esm/chunks/chunk.AY46N5Y7.js +129 -0
  40. package/dist/esm/chunks/{chunk.ADXALX5F.js.map → chunk.AY46N5Y7.js.map} +1 -1
  41. package/dist/esm/chunks/{chunk.SCQVDO5I.js → chunk.BPEGGZOR.js} +2 -2
  42. package/dist/esm/chunks/{chunk.7IP3XTE3.js → chunk.C4YKXXKM.js} +2 -2
  43. package/dist/esm/chunks/{chunk.465MOF4A.js → chunk.DX32NTD3.js} +2 -2
  44. package/dist/esm/chunks/{chunk.PJOH4JKH.js → chunk.ELY4YCON.js} +2 -2
  45. package/dist/esm/chunks/{chunk.CY7UCG25.js → chunk.EUNKM7XR.js} +2 -2
  46. package/dist/esm/chunks/{chunk.C66IQMR6.js → chunk.EWEX3PHR.js} +2 -2
  47. package/dist/esm/chunks/{chunk.C66IQMR6.js.map → chunk.EWEX3PHR.js.map} +1 -1
  48. package/dist/esm/chunks/{chunk.A2BJ47Q6.js → chunk.FF5DED5D.js} +2 -2
  49. package/dist/esm/chunks/{chunk.A2BJ47Q6.js.map → chunk.FF5DED5D.js.map} +3 -3
  50. package/dist/esm/chunks/{chunk.XX5QEV5W.js → chunk.FPMQAUL3.js} +2 -2
  51. package/dist/esm/chunks/chunk.FPMQAUL3.js.map +7 -0
  52. package/dist/esm/chunks/{chunk.QWKDOAOE.js → chunk.FZ43DC2H.js} +2 -2
  53. package/dist/esm/chunks/{chunk.BSNL353K.js → chunk.GOZVC3ZT.js} +2 -2
  54. package/dist/esm/chunks/{chunk.LHFZFVHB.js → chunk.HSXUQFHK.js} +2 -2
  55. package/dist/esm/chunks/{chunk.G3ZS3UHM.js → chunk.IGOGRMRW.js} +1 -1
  56. package/dist/esm/chunks/chunk.IGOGRMRW.js.map +7 -0
  57. package/dist/esm/chunks/{chunk.TLRRYVSN.js → chunk.IMRPJU4M.js} +2 -2
  58. package/dist/esm/chunks/{chunk.ELENDYRJ.js → chunk.JKEIP657.js} +2 -2
  59. package/dist/esm/chunks/{chunk.423SNVSH.js → chunk.KI5FPZOX.js} +2 -2
  60. package/dist/esm/chunks/{chunk.6IWW463U.js → chunk.KTPSDP4C.js} +2 -2
  61. package/dist/esm/chunks/{chunk.EASEKF35.js → chunk.KWD5EK54.js} +2 -2
  62. package/dist/esm/chunks/chunk.NSTCCETU.js +7 -0
  63. package/dist/esm/chunks/chunk.NSTCCETU.js.map +7 -0
  64. package/dist/esm/chunks/{chunk.QA3Z44IQ.js → chunk.P4TIMZKU.js} +2 -2
  65. package/dist/esm/chunks/{chunk.4B3BP62N.js → chunk.P64BBB3U.js} +2 -2
  66. package/dist/esm/chunks/{chunk.GZ2QNJ5E.js → chunk.P6ZUHPI6.js} +2 -2
  67. package/dist/esm/chunks/{chunk.L6DKEDFM.js → chunk.PNDQ3LAB.js} +2 -2
  68. package/dist/esm/chunks/{chunk.6BBI2QGA.js → chunk.RHPJRCIC.js} +2 -2
  69. package/dist/esm/chunks/chunk.RMPS2I2P.js +7 -0
  70. package/dist/esm/chunks/chunk.RMPS2I2P.js.map +7 -0
  71. package/dist/esm/chunks/chunk.RPKVFFQ6.js +12 -0
  72. package/dist/esm/chunks/chunk.RPKVFFQ6.js.map +7 -0
  73. package/dist/esm/chunks/chunk.RVUMHJMM.js +7 -0
  74. package/dist/esm/chunks/chunk.RVUMHJMM.js.map +7 -0
  75. package/dist/esm/chunks/chunk.SKEI7ZSK.js +153 -0
  76. package/dist/esm/chunks/chunk.SKEI7ZSK.js.map +7 -0
  77. package/dist/esm/chunks/{chunk.YYXEUR4Y.js → chunk.SOMT6F6S.js} +2 -2
  78. package/dist/esm/chunks/{chunk.JUIFPTRV.js → chunk.SSJYPH4U.js} +2 -2
  79. package/dist/esm/chunks/{chunk.HHC5NEUF.js → chunk.TFMOLR6W.js} +2 -2
  80. package/dist/esm/chunks/{chunk.N64ASFPE.js → chunk.U4CFRHOW.js} +2 -2
  81. package/dist/esm/chunks/{chunk.4UHXQAOT.js → chunk.UEN7B7Q4.js} +2 -2
  82. package/dist/esm/chunks/chunk.UETV4PTS.js +12 -0
  83. package/dist/esm/chunks/chunk.VJ2SSV5X.js +7 -0
  84. package/dist/esm/chunks/chunk.VJ2SSV5X.js.map +7 -0
  85. package/dist/esm/chunks/{chunk.KFERUCAD.js → chunk.VMQZA47V.js} +2 -2
  86. package/dist/esm/chunks/chunk.VUGNSK4K.js +7 -0
  87. package/dist/esm/chunks/chunk.VUGNSK4K.js.map +7 -0
  88. package/dist/esm/chunks/chunk.WQL55O4A.js +7 -0
  89. package/dist/esm/chunks/chunk.WQL55O4A.js.map +7 -0
  90. package/dist/esm/chunks/{chunk.6HMCSEKV.js → chunk.X63F5NVD.js} +2 -2
  91. package/dist/esm/chunks/{chunk.4DJEZHRT.js → chunk.XARGY3WT.js} +2 -2
  92. package/dist/esm/chunks/{chunk.UVQIUEXO.js → chunk.XBW6KSW3.js} +2 -2
  93. package/dist/esm/chunks/{chunk.TG4ZRHKV.js → chunk.Y4OET6II.js} +2 -2
  94. package/dist/esm/chunks/{chunk.XCNL2LI6.js → chunk.YNE75HFH.js} +2 -2
  95. package/dist/esm/chunks/chunk.YSFUL5AD.js +177 -0
  96. package/dist/esm/chunks/chunk.YSFUL5AD.js.map +7 -0
  97. package/dist/esm/chunks/{chunk.4RNNHXMU.js → chunk.ZOV2BUZG.js} +2 -2
  98. package/dist/esm/chunks/{chunk.I4347LUX.js → chunk.ZXPAXZCF.js} +2 -2
  99. package/dist/esm/circular-progress/index.js +1 -1
  100. package/dist/esm/color-picker/index.js +1 -1
  101. package/dist/esm/date-picker/index.js +1 -1
  102. package/dist/esm/date-range-picker/index.js +1 -1
  103. package/dist/esm/expansion-panel/index.js +1 -1
  104. package/dist/esm/file-picker/index.js +1 -1
  105. package/dist/esm/floating-action-button/index.js +1 -1
  106. package/dist/esm/icon-button/index.js +1 -1
  107. package/dist/esm/index.js +1 -1
  108. package/dist/esm/linear-progress/index.js +1 -1
  109. package/dist/esm/list/index.js +1 -1
  110. package/dist/esm/list/list/index.js +1 -1
  111. package/dist/esm/list/list-item/index.js +1 -1
  112. package/dist/esm/list-dropdown/index.js +1 -1
  113. package/dist/esm/menu/index.js +1 -1
  114. package/dist/esm/paginator/index.js +1 -1
  115. package/dist/esm/profile-card/index.js +1 -1
  116. package/dist/esm/quantity-field/index.js +1 -1
  117. package/dist/esm/radio/index.js +1 -1
  118. package/dist/esm/ripple/index.js +1 -1
  119. package/dist/esm/select/core/index.js +1 -1
  120. package/dist/esm/select/index.js +1 -1
  121. package/dist/esm/select/select/index.js +1 -1
  122. package/dist/esm/select/select-dropdown/index.js +1 -1
  123. package/dist/esm/slider/index.js +1 -1
  124. package/dist/esm/split-view/index.js +1 -1
  125. package/dist/esm/split-view/split-view/index.js +1 -1
  126. package/dist/esm/split-view/split-view-panel/index.js +1 -1
  127. package/dist/esm/stepper/index.js +1 -1
  128. package/dist/esm/stepper/step/index.js +1 -1
  129. package/dist/esm/stepper/stepper/index.js +1 -1
  130. package/dist/esm/switch/index.js +1 -1
  131. package/dist/esm/table/index.js +1 -1
  132. package/dist/esm/tabs/index.js +1 -1
  133. package/dist/esm/tabs/tab/index.js +1 -1
  134. package/dist/esm/tabs/tab-bar/index.js +1 -1
  135. package/dist/esm/text-field/index.js +1 -1
  136. package/dist/esm/time-picker/index.js +1 -1
  137. package/dist/esm/toast/index.js +1 -1
  138. package/dist/forge-dark.css +1 -1
  139. package/esm/autocomplete/autocomplete-constants.d.ts +1 -0
  140. package/esm/autocomplete/autocomplete-constants.js +1 -0
  141. package/esm/autocomplete/autocomplete-foundation.d.ts +5 -0
  142. package/esm/autocomplete/autocomplete-foundation.js +12 -1
  143. package/esm/autocomplete/autocomplete.d.ts +3 -0
  144. package/esm/autocomplete/autocomplete.js +7 -0
  145. package/esm/chip-field/chip-field-foundation.d.ts +1 -1
  146. package/esm/circular-progress/circular-progress-adapter.d.ts +1 -1
  147. package/esm/date-picker/base/base-date-picker-adapter.d.ts +2 -2
  148. package/esm/date-picker/base/base-date-picker-foundation.d.ts +2 -2
  149. package/esm/date-picker/base/base-date-picker-foundation.js +8 -5
  150. package/esm/date-picker/date-picker-adapter.js +5 -7
  151. package/esm/date-range-picker/date-range-picker-adapter.d.ts +4 -2
  152. package/esm/date-range-picker/date-range-picker-adapter.js +20 -18
  153. package/esm/date-range-picker/date-range-picker-foundation.d.ts +4 -1
  154. package/esm/date-range-picker/date-range-picker-foundation.js +48 -14
  155. package/esm/expansion-panel/expansion-panel-constants.d.ts +2 -0
  156. package/esm/expansion-panel/expansion-panel-constants.js +3 -1
  157. package/esm/expansion-panel/expansion-panel-foundation.js +4 -1
  158. package/esm/expansion-panel/expansion-panel.js +1 -1
  159. package/esm/field/field-adapter.d.ts +4 -2
  160. package/esm/field/field-adapter.js +5 -2
  161. package/esm/field/field-foundation.d.ts +2 -2
  162. package/esm/field/field-foundation.js +7 -9
  163. package/esm/linear-progress/linear-progress-adapter.d.ts +23 -0
  164. package/esm/linear-progress/linear-progress-adapter.js +34 -0
  165. package/esm/linear-progress/linear-progress-constants.d.ts +6 -2
  166. package/esm/linear-progress/linear-progress-constants.js +8 -3
  167. package/esm/linear-progress/linear-progress-foundation.d.ts +26 -0
  168. package/esm/linear-progress/linear-progress-foundation.js +53 -0
  169. package/esm/linear-progress/linear-progress.d.ts +27 -25
  170. package/esm/linear-progress/linear-progress.js +41 -104
  171. package/esm/list-dropdown/list-dropdown-adapter.js +3 -4
  172. package/esm/split-view/split-view/split-view-adapter.js +3 -1
  173. package/esm/split-view/split-view-panel/split-view-panel.js +1 -1
  174. package/esm/text-field/text-field-adapter.d.ts +1 -1
  175. package/esm/text-field/text-field-adapter.js +4 -3
  176. package/esm/time-picker/time-picker-adapter.js +4 -7
  177. package/esm/time-picker/time-picker-foundation.js +9 -6
  178. package/package.json +1 -2
  179. package/styles/circular-progress/_mixins.scss +13 -0
  180. package/styles/circular-progress/_variables.scss +12 -0
  181. package/styles/circular-progress/circular-progress.scss +1 -2
  182. package/styles/core/style-layer/circular-progress/_animations.scss +5 -0
  183. package/styles/core/style-layer/circular-progress/_core.scss +5 -0
  184. package/styles/core/style-layer/linear-progress/_animations.scss +131 -0
  185. package/styles/core/style-layer/linear-progress/_core.scss +125 -0
  186. package/styles/core/style-layer/linear-progress/_variables.scss +15 -0
  187. package/styles/core/style-layer/linear-progress/index.scss +145 -0
  188. package/styles/linear-progress/_mixins.scss +18 -1
  189. package/styles/linear-progress/_variables.scss +8 -7
  190. package/styles/linear-progress/linear-progress.scss +3 -27
  191. package/dist/esm/chunks/chunk.5XY7WBMA.js +0 -7
  192. package/dist/esm/chunks/chunk.5XY7WBMA.js.map +0 -7
  193. package/dist/esm/chunks/chunk.6DWTTNEC.js +0 -7
  194. package/dist/esm/chunks/chunk.6DWTTNEC.js.map +0 -7
  195. package/dist/esm/chunks/chunk.ADXALX5F.js +0 -129
  196. package/dist/esm/chunks/chunk.F6CILMKB.js +0 -7
  197. package/dist/esm/chunks/chunk.F6CILMKB.js.map +0 -7
  198. package/dist/esm/chunks/chunk.G3ZS3UHM.js.map +0 -7
  199. package/dist/esm/chunks/chunk.HZYRCFVC.js +0 -7
  200. package/dist/esm/chunks/chunk.HZYRCFVC.js.map +0 -7
  201. package/dist/esm/chunks/chunk.IOYABCVW.js +0 -7
  202. package/dist/esm/chunks/chunk.IOYABCVW.js.map +0 -7
  203. package/dist/esm/chunks/chunk.MLXGGGER.js +0 -129
  204. package/dist/esm/chunks/chunk.MLXGGGER.js.map +0 -7
  205. package/dist/esm/chunks/chunk.NTLWWOZJ.js +0 -7
  206. package/dist/esm/chunks/chunk.NTLWWOZJ.js.map +0 -7
  207. package/dist/esm/chunks/chunk.NVHTEFBA.js +0 -33
  208. package/dist/esm/chunks/chunk.NVHTEFBA.js.map +0 -7
  209. package/dist/esm/chunks/chunk.PTQTIY7L.js +0 -57
  210. package/dist/esm/chunks/chunk.PTQTIY7L.js.map +0 -7
  211. package/dist/esm/chunks/chunk.Q56WQPYG.js +0 -81
  212. package/dist/esm/chunks/chunk.Q56WQPYG.js.map +0 -7
  213. package/dist/esm/chunks/chunk.R2E6CGZE.js +0 -129
  214. package/dist/esm/chunks/chunk.R2E6CGZE.js.map +0 -7
  215. package/dist/esm/chunks/chunk.RWPPN4XB.js +0 -7
  216. package/dist/esm/chunks/chunk.RWPPN4XB.js.map +0 -7
  217. package/dist/esm/chunks/chunk.UHTQGET5.js +0 -201
  218. package/dist/esm/chunks/chunk.VOGCDMLL.js +0 -12
  219. package/dist/esm/chunks/chunk.XX5QEV5W.js.map +0 -7
  220. package/dist/esm/chunks/chunk.YMG4QDOY.js +0 -7
  221. package/dist/esm/chunks/chunk.YMG4QDOY.js.map +0 -7
  222. package/dist/esm/chunks/chunk.ZJXVI6A7.js.map +0 -7
  223. /package/dist/esm/chunks/{chunk.T7KUZYQ3.js.map → chunk.2TVYAW7Q.js.map} +0 -0
  224. /package/dist/esm/chunks/{chunk.H5MJBEK5.js.map → chunk.3XZRUXG7.js.map} +0 -0
  225. /package/dist/esm/chunks/{chunk.HNSUYOCY.js.map → chunk.4NV7AHF2.js.map} +0 -0
  226. /package/dist/esm/chunks/{chunk.3QD73Z4F.js.map → chunk.64F24XMH.js.map} +0 -0
  227. /package/dist/esm/chunks/{chunk.56D6S5XJ.js.map → chunk.7BNQYL2F.js.map} +0 -0
  228. /package/dist/esm/chunks/{chunk.3GZF7UI2.js.map → chunk.7JBR7GWZ.js.map} +0 -0
  229. /package/dist/esm/chunks/{chunk.NRXPO3SY.js.map → chunk.7UN5EYUE.js.map} +0 -0
  230. /package/dist/esm/chunks/{chunk.BSKIHRND.js.map → chunk.A5D7XSBD.js.map} +0 -0
  231. /package/dist/esm/chunks/{chunk.YM6VAIY2.js.map → chunk.ABN3DL7G.js.map} +0 -0
  232. /package/dist/esm/chunks/{chunk.SCQVDO5I.js.map → chunk.BPEGGZOR.js.map} +0 -0
  233. /package/dist/esm/chunks/{chunk.7IP3XTE3.js.map → chunk.C4YKXXKM.js.map} +0 -0
  234. /package/dist/esm/chunks/{chunk.465MOF4A.js.map → chunk.DX32NTD3.js.map} +0 -0
  235. /package/dist/esm/chunks/{chunk.PJOH4JKH.js.map → chunk.ELY4YCON.js.map} +0 -0
  236. /package/dist/esm/chunks/{chunk.CY7UCG25.js.map → chunk.EUNKM7XR.js.map} +0 -0
  237. /package/dist/esm/chunks/{chunk.QWKDOAOE.js.map → chunk.FZ43DC2H.js.map} +0 -0
  238. /package/dist/esm/chunks/{chunk.BSNL353K.js.map → chunk.GOZVC3ZT.js.map} +0 -0
  239. /package/dist/esm/chunks/{chunk.LHFZFVHB.js.map → chunk.HSXUQFHK.js.map} +0 -0
  240. /package/dist/esm/chunks/{chunk.TLRRYVSN.js.map → chunk.IMRPJU4M.js.map} +0 -0
  241. /package/dist/esm/chunks/{chunk.ELENDYRJ.js.map → chunk.JKEIP657.js.map} +0 -0
  242. /package/dist/esm/chunks/{chunk.423SNVSH.js.map → chunk.KI5FPZOX.js.map} +0 -0
  243. /package/dist/esm/chunks/{chunk.6IWW463U.js.map → chunk.KTPSDP4C.js.map} +0 -0
  244. /package/dist/esm/chunks/{chunk.EASEKF35.js.map → chunk.KWD5EK54.js.map} +0 -0
  245. /package/dist/esm/chunks/{chunk.QA3Z44IQ.js.map → chunk.P4TIMZKU.js.map} +0 -0
  246. /package/dist/esm/chunks/{chunk.4B3BP62N.js.map → chunk.P64BBB3U.js.map} +0 -0
  247. /package/dist/esm/chunks/{chunk.GZ2QNJ5E.js.map → chunk.P6ZUHPI6.js.map} +0 -0
  248. /package/dist/esm/chunks/{chunk.L6DKEDFM.js.map → chunk.PNDQ3LAB.js.map} +0 -0
  249. /package/dist/esm/chunks/{chunk.6BBI2QGA.js.map → chunk.RHPJRCIC.js.map} +0 -0
  250. /package/dist/esm/chunks/{chunk.YYXEUR4Y.js.map → chunk.SOMT6F6S.js.map} +0 -0
  251. /package/dist/esm/chunks/{chunk.JUIFPTRV.js.map → chunk.SSJYPH4U.js.map} +0 -0
  252. /package/dist/esm/chunks/{chunk.HHC5NEUF.js.map → chunk.TFMOLR6W.js.map} +0 -0
  253. /package/dist/esm/chunks/{chunk.N64ASFPE.js.map → chunk.U4CFRHOW.js.map} +0 -0
  254. /package/dist/esm/chunks/{chunk.4UHXQAOT.js.map → chunk.UEN7B7Q4.js.map} +0 -0
  255. /package/dist/esm/chunks/{chunk.VOGCDMLL.js.map → chunk.UETV4PTS.js.map} +0 -0
  256. /package/dist/esm/chunks/{chunk.KFERUCAD.js.map → chunk.VMQZA47V.js.map} +0 -0
  257. /package/dist/esm/chunks/{chunk.6HMCSEKV.js.map → chunk.X63F5NVD.js.map} +0 -0
  258. /package/dist/esm/chunks/{chunk.4DJEZHRT.js.map → chunk.XARGY3WT.js.map} +0 -0
  259. /package/dist/esm/chunks/{chunk.UVQIUEXO.js.map → chunk.XBW6KSW3.js.map} +0 -0
  260. /package/dist/esm/chunks/{chunk.TG4ZRHKV.js.map → chunk.Y4OET6II.js.map} +0 -0
  261. /package/dist/esm/chunks/{chunk.XCNL2LI6.js.map → chunk.YNE75HFH.js.map} +0 -0
  262. /package/dist/esm/chunks/{chunk.4RNNHXMU.js.map → chunk.ZOV2BUZG.js.map} +0 -0
  263. /package/dist/esm/chunks/{chunk.I4347LUX.js.map → chunk.ZXPAXZCF.js.map} +0 -0
@@ -14,7 +14,7 @@ import { SplitViewPanelAdapter } from './split-view-panel-adapter';
14
14
  import { IconComponent, IconRegistry } from '../../icon';
15
15
  import { RippleComponent } from '../../ripple';
16
16
  const template = '<template><div class=\"forge-split-view-panel\" id=\"root\" part=\"root\"><div class=\"forge-split-view-panel__handle\" id=\"handle\" part=\"handle\" role=\"separator\" aria-controls=\"content\" aria-grabbed=\"false\" tabindex=\"0\"><forge-icon class=\"forge-split-view-panel__icon\" id=\"icon\" part=\"icon\"></forge-icon><forge-ripple id=\"ripple\" part=\"ripple\"></forge-ripple></div><div class=\"forge-split-view-panel__content\" id=\"content\" part=\"content\" role=\"group\"><slot></slot></div></div></template>';
17
- const styles = '@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity;position:relative;outline:0;overflow:hidden}.mdc-ripple-surface::after,.mdc-ripple-surface::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-ripple-surface::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface::after,.mdc-ripple-surface::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-upgraded--unbounded::after,.mdc-ripple-upgraded--unbounded::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{background-color:#000;background-color:var(--mdc-ripple-color,#000)}.mdc-ripple-surface.mdc-ripple-surface--hover::before,.mdc-ripple-surface:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{--mdc-ripple-color:var(--mdc-theme-on-surface)}.forge-split-view-panel{display:-webkit-box;display:flex;width:100%;height:100%;overflow:hidden;contain:paint size}.forge-split-view-panel__handle{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-light,rgba(0,0,0,.54));background-color:#e0e0e0;background-color:var(--forge-theme-border-color,#e0e0e0);display:-webkit-box;display:flex;flex-shrink:0;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;outline:0}.forge-split-view-panel__content{-webkit-box-flex:1;flex:1;overflow:hidden}.forge-split-view-panel--closed{display:none}.forge-split-view-panel--disabled #handle{pointer-events:none}.forge-split-view-panel--disabled .forge-split-view-panel__icon{display:none}.forge-split-view-panel[orientation=horizontal]{min-width:8px;min-width:var(--forge-split-view-handle-width,8px);width:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}.forge-split-view-panel[orientation=horizontal] .forge-split-view-panel__handle{width:8px;width:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:upvyfd5;animation-name:upvyfd5;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes upvyfd5{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes upvyfd5{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=start]{position:absolute;top:0;right:0;-webkit-animation-name:upvyfdn;animation-name:upvyfdn;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes upvyfdn{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes upvyfdn{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:upvyfdp;animation-name:upvyfdp;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes upvyfdp{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes upvyfdp{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=start]{position:absolute;top:0;right:0;-webkit-animation-name:upvyfe2;animation-name:upvyfe2;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes upvyfe2{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes upvyfe2{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}.forge-split-view-panel[orientation=vertical]{min-height:8px;min-height:var(--forge-split-view-handle-width,8px);height:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.forge-split-view-panel[orientation=vertical] .forge-split-view-panel__handle{height:8px;height:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:upvyfej;animation-name:upvyfej;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes upvyfej{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes upvyfej{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=start]{position:absolute;bottom:0;left:0;-webkit-animation-name:upvyff1;animation-name:upvyff1;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes upvyff1{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes upvyff1{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:upvyffx;animation-name:upvyffx;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes upvyffx{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes upvyffx{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=start]{position:absolute;bottom:0;left:0;-webkit-animation-name:upvyfgk;animation-name:upvyfgk;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes upvyfgk{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes upvyfgk{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}:host{z-index:var(--forge-split-view-animating-layer)!important;display:block;position:relative;height:100%;width:100%;-webkit-box-flex:0;flex:0}:host([hidden]){display:none}:host(:not([resizable=start],[resizable=end])){-webkit-box-flex:1;flex:1}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel{width:100%;height:100%;min-width:0;min-height:0}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel__handle{display:none}';
17
+ const styles = '@-webkit-keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@keyframes mdc-ripple-fg-radius-in{from{-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);-webkit-transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1);transform:translate(var(--mdc-ripple-fg-translate-start,0)) scale(1)}to{-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}}@-webkit-keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-in{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@-webkit-keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}@keyframes mdc-ripple-fg-opacity-out{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:transparent;will-change:transform,opacity;position:relative;outline:0;overflow:hidden}.mdc-ripple-surface::after,.mdc-ripple-surface::before{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-ripple-surface::before{-webkit-transition:opacity 15ms linear,background-color 15ms linear;transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index,1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index,0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{-webkit-transform:scale(var(--mdc-ripple-fg-scale,1));transform:scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center center;transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top,0);left:var(--mdc-ripple-left,0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{-webkit-animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards;animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{-webkit-animation:mdc-ripple-fg-opacity-out 150ms;animation:mdc-ripple-fg-opacity-out 150ms;-webkit-transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1));transform:translate(var(--mdc-ripple-fg-translate-end,0)) scale(var(--mdc-ripple-fg-scale,1))}.mdc-ripple-surface::after,.mdc-ripple-surface::before{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-upgraded--unbounded::after,.mdc-ripple-upgraded--unbounded::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before{top:var(--mdc-ripple-top,calc(50% - 50%));left:var(--mdc-ripple-left,calc(50% - 50%));width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size,100%);height:var(--mdc-ripple-fg-size,100%)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{background-color:#000;background-color:var(--mdc-ripple-color,#000)}.mdc-ripple-surface.mdc-ripple-surface--hover::before,.mdc-ripple-surface:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{-webkit-transition:opacity 150ms linear;transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface::after,.mdc-ripple-surface::before{--mdc-ripple-color:var(--mdc-theme-on-surface)}.forge-split-view-panel{display:-webkit-box;display:flex;width:100%;height:100%;overflow:hidden;contain:paint size}.forge-split-view-panel__handle{color:rgba(0,0,0,.54);color:var(--mdc-theme-text-secondary-on-light,rgba(0,0,0,.54));background-color:#e0e0e0;background-color:var(--forge-theme-border-color,#e0e0e0);display:-webkit-box;display:flex;flex-shrink:0;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;outline:0}.forge-split-view-panel__content{-webkit-box-flex:1;flex:1;overflow:hidden}.forge-split-view-panel--closed{display:none}.forge-split-view-panel--disabled #handle{pointer-events:none}.forge-split-view-panel--disabled .forge-split-view-panel__icon{display:none}.forge-split-view-panel[orientation=horizontal]{min-width:8px;min-width:var(--forge-split-view-handle-width,8px);width:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}.forge-split-view-panel[orientation=horizontal] .forge-split-view-panel__handle{width:8px;width:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:uaup4en;animation-name:uaup4en;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes uaup4en{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes uaup4en{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--closing[resizable=start]{position:absolute;top:0;right:0;-webkit-animation-name:uaup4ez;animation-name:uaup4ez;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes uaup4ez{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes uaup4ez{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:uaup4fe;animation-name:uaup4fe;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes uaup4fe{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes uaup4fe{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.forge-split-view-panel[orientation=horizontal].forge-split-view-panel--opening[resizable=start]{position:absolute;top:0;right:0;-webkit-animation-name:uaup4fr;animation-name:uaup4fr;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes uaup4fr{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes uaup4fr{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateX(100%);transform:translateX(100%)}}.forge-split-view-panel[orientation=vertical]{min-height:8px;min-height:var(--forge-split-view-handle-width,8px);height:calc(var(--forge-split-view-panel-size,unset) + var(--forge-split-view-handle-width,8px));-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.forge-split-view-panel[orientation=vertical] .forge-split-view-panel__handle{height:8px;height:var(--forge-split-view-handle-width,8px);cursor:var(--forge-split-view-panel-cursor)}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:uaup4gh;animation-name:uaup4gh;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes uaup4gh{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes uaup4gh{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--closing[resizable=start]{position:absolute;bottom:0;left:0;-webkit-animation-name:uaup4h2;animation-name:uaup4h2;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1)}@-webkit-keyframes uaup4h2{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes uaup4h2{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=end]{position:absolute;top:0;left:0;-webkit-animation-name:uaup4hi;animation-name:uaup4hi;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes uaup4hi{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes uaup4hi{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.forge-split-view-panel[orientation=vertical].forge-split-view-panel--opening[resizable=start]{position:absolute;bottom:0;left:0;-webkit-animation-name:uaup4i4;animation-name:uaup4i4;-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-timing-function:cubic-bezier(0.4,0,0.2,1);animation-direction:reverse}@-webkit-keyframes uaup4i4{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes uaup4i4{from{-webkit-transform:none;transform:none}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}:host{z-index:var(--forge-split-view-animating-layer)!important;display:block;position:relative;height:100%;width:100%;-webkit-box-flex:0;flex:0}:host([hidden]){display:none}:host(:not([resizable=start],[resizable=end])){-webkit-box-flex:1;flex:1}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel{width:100%;height:100%;min-width:0;min-height:0}:host(:not([resizable=start],[resizable=end])) .forge-split-view-panel__handle{display:none}';
18
18
  /**
19
19
  * The custom element class behind the `<forge-split-view-panel>` element.
20
20
  *
@@ -21,7 +21,7 @@ export declare class TextFieldAdapter extends FieldAdapter implements ITextField
21
21
  setValueChangedListener(context: any, listener: (value: any) => void): void;
22
22
  inputHasValue(): boolean;
23
23
  hasPlaceholder(): boolean;
24
- inputHasFocus(): boolean;
24
+ inputHasFocus(target?: EventTarget | null): boolean;
25
25
  setInputClass(className: string): void;
26
26
  removeInputClass(className: string): void;
27
27
  setInputAttributeObserver(listener: (name: string, value: string) => void): void;
@@ -10,6 +10,7 @@ import { FIELD_CONSTANTS } from '../field/field-constants';
10
10
  export class TextFieldAdapter extends FieldAdapter {
11
11
  constructor(component) {
12
12
  super(component);
13
+ this._inputElements = [];
13
14
  this._inputMutationObserverInstances = [];
14
15
  }
15
16
  initialize() {
@@ -64,8 +65,8 @@ export class TextFieldAdapter extends FieldAdapter {
64
65
  hasPlaceholder() {
65
66
  return this._inputsSome(input => input.placeholder ? input.placeholder.trim().length > 0 : false);
66
67
  }
67
- inputHasFocus() {
68
- return this._inputsSome(input => input === getActiveElement());
68
+ inputHasFocus(target) {
69
+ return this._inputsSome(input => input === target || input === getActiveElement());
69
70
  }
70
71
  setInputClass(className) {
71
72
  this._applyToInputs(input => input.classList.add(className));
@@ -94,7 +95,7 @@ export class TextFieldAdapter extends FieldAdapter {
94
95
  _handleMultiInputs() {
95
96
  addClass(TEXT_FIELD_CONSTANTS.classes.MULTI_INPUT, this._rootElement);
96
97
  this._applyToInputs((input, index) => {
97
- input.setAttribute(`${TEXT_FIELD_CONSTANTS.attributes.MULTI_INPUT}-${index.toString()}`, '');
98
+ input.setAttribute(`${TEXT_FIELD_CONSTANTS.attributes.MULTI_INPUT}-${index}`, '');
98
99
  if (index % 2 !== 1) {
99
100
  Promise.resolve().then(() => input.insertAdjacentElement('afterend', this._createSeperatorElement()));
100
101
  }
@@ -19,9 +19,7 @@ export class TimePickerAdapter extends BaseAdapter {
19
19
  this._inputElement = this._component.querySelector(TIME_PICKER_CONSTANTS.selectors.INPUT);
20
20
  }
21
21
  initializeMask(options) {
22
- if (this._inputMask) {
23
- this._inputMask.destroy();
24
- }
22
+ this.destroyMask();
25
23
  this._inputMask = new TimeInputMask(this._inputElement, options);
26
24
  }
27
25
  destroy() {
@@ -30,10 +28,9 @@ export class TimePickerAdapter extends BaseAdapter {
30
28
  this._inputElement = undefined;
31
29
  }
32
30
  destroyMask() {
33
- if (this._inputMask) {
34
- this._inputMask.destroy();
35
- this._inputMask = undefined;
36
- }
31
+ var _a;
32
+ (_a = this._inputMask) === null || _a === void 0 ? void 0 : _a.destroy();
33
+ this._inputMask = undefined;
37
34
  }
38
35
  initializeAccessibility(identifier) {
39
36
  this._inputElement.setAttribute('autocomplete', 'off');
@@ -223,8 +223,14 @@ export class TimePickerFoundation {
223
223
  if (this._allowInput) {
224
224
  this._adapter.selectInputText();
225
225
  }
226
+ if (this.masked && this._showMaskFormat) {
227
+ this._applyMask();
228
+ }
226
229
  }
227
230
  _onInputBlur(evt) {
231
+ if (this.masked && this._showMaskFormat) {
232
+ this._applyMask();
233
+ }
228
234
  this._formatInputValue();
229
235
  if (this._open && !this._adapter.isInputFocused()) {
230
236
  this._closeDropdown(true);
@@ -242,8 +248,9 @@ export class TimePickerFoundation {
242
248
  }
243
249
  _applyMask() {
244
250
  if (this._masked && this._allowInput) {
251
+ this._adapter.destroyMask();
245
252
  const options = {
246
- showMaskFormat: this._showMaskFormat,
253
+ showMaskFormat: this._showMaskFormat && this._adapter.isInputFocused(),
247
254
  use24HourTime: this._use24HourTime,
248
255
  showSeconds: this._allowSeconds,
249
256
  prepareCallback: this._prepareMaskCallback,
@@ -635,9 +642,6 @@ export class TimePickerFoundation {
635
642
  set showMaskFormat(value) {
636
643
  if (this._showMaskFormat !== value) {
637
644
  this._showMaskFormat = value;
638
- if (this._isInitialized) {
639
- this._applyMask();
640
- }
641
645
  }
642
646
  }
643
647
  get allowSeconds() {
@@ -661,9 +665,8 @@ export class TimePickerFoundation {
661
665
  if (this._use24HourTime !== value) {
662
666
  this._use24HourTime = !!value;
663
667
  if (this._isInitialized) {
664
- this._adapter.destroyMask();
665
- this._formatInputValue();
666
668
  this._applyMask();
669
+ this._formatInputValue();
667
670
  }
668
671
  this._adapter.setHostAttribute(TIME_PICKER_CONSTANTS.attributes.USE_24_HOUR_TIME, `${!!value}`);
669
672
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tylertech/forge",
3
3
  "description": "Tyler Forge™ Web Components library",
4
- "version": "3.0.0-next.3",
4
+ "version": "3.0.0-next.5",
5
5
  "author": "Tyler Technologies, Inc.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -25,7 +25,6 @@
25
25
  "@material/feature-targeting": "^14.0.0",
26
26
  "@material/form-field": "^14.0.0",
27
27
  "@material/icon-button": "^14.0.0",
28
- "@material/linear-progress": "^14.0.0",
29
28
  "@material/menu-surface": "^14.0.0",
30
29
  "@material/ripple": "^14.0.0",
31
30
  "@material/rtl": "^14.0.0",
@@ -3,7 +3,20 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
+ @use 'sass:list';
6
7
  @use '../core/style-layer/circular-progress';
8
+ @use './variables';
9
+
10
+ @mixin provide-theme($theme) {
11
+ @each $key, $value in $theme {
12
+ @if list.index(variables.$supported-theme-properties, $key) == null {
13
+ @error 'Invalid theme property: #{$key}';
14
+ }
15
+ @if $value {
16
+ --#{circular-progress.$prefix}-#{$key}: #{$value};
17
+ }
18
+ }
19
+ }
7
20
 
8
21
  @mixin host {
9
22
  @include circular-progress.container;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ $supported-theme-properties: (
7
+ 'size',
8
+ 'padding',
9
+ 'indicator-width',
10
+ 'indicator-color',
11
+ 'indicator-background-color'
12
+ );
@@ -3,8 +3,7 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
- @use 'mixins';
7
- @use '../theme';
6
+ @use './mixins';
8
7
 
9
8
  :host {
10
9
  @include mixins.host;
@@ -3,6 +3,11 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
+ ///
7
+ /// Adapted and influenced from [Material Web](https://github.com/material-components/material-web).
8
+ /// The original source code can be found at [GitHub](https://github.com/material-components/material-web/blob/main/circularprogress/lib/_circular-progress.scss)
9
+ ///
10
+
6
11
  @mixin keyframes {
7
12
  // Indeterminate mode is 3 animations composed together:
8
13
  // 1. expand-arc: an arc is expanded/contracted between 10deg and 270deg.
@@ -3,6 +3,11 @@
3
3
  * Copyright 2023 Tyler Technologies, Inc.
4
4
  * License: Apache-2.0
5
5
  */
6
+ ///
7
+ /// Adapted and influenced from [Material Web](https://github.com/material-components/material-web).
8
+ /// The original source code can be found at [GitHub](https://github.com/material-components/material-web/blob/main/circularprogress/lib/_circular-progress.scss)
9
+ ///
10
+
6
11
  @use './variables';
7
12
  @use '../../../theme/theme-values';
8
13
 
@@ -0,0 +1,131 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ ///
7
+ /// Adapted and influenced from [Material Web](https://github.com/material-components/material-web).
8
+ /// The original source code can be found at [GitHub](https://github.com/material-components/material-web/blob/main/linearprogress/lib/_linear-progress.scss)
9
+ ///
10
+
11
+ @use './variables';
12
+
13
+ @mixin keyframes {
14
+ @include _directional-keyframes('ltr');
15
+ @include _directional-keyframes('rtl');
16
+
17
+ @keyframes primary-indeterminate-scale {
18
+ 0% {
19
+ transform: scaleX(0.08);
20
+ }
21
+
22
+ 36.65% {
23
+ animation-timing-function: cubic-bezier(0.334731, 0.12482, 0.785844, 1);
24
+ transform: scaleX(0.08);
25
+ }
26
+
27
+ 69.15% {
28
+ animation-timing-function: cubic-bezier(0.06, 0.11, 0.6, 1);
29
+ transform: scaleX(0.661479);
30
+ }
31
+
32
+ 100% {
33
+ transform: scaleX(0.08);
34
+ }
35
+ }
36
+
37
+ @keyframes secondary-indeterminate-scale {
38
+ 0% {
39
+ animation-timing-function: cubic-bezier(
40
+ 0.205028,
41
+ 0.057051,
42
+ 0.57661,
43
+ 0.453971
44
+ );
45
+ transform: scaleX(0.08);
46
+ }
47
+
48
+ 19.15% {
49
+ animation-timing-function: cubic-bezier(
50
+ 0.152313,
51
+ 0.196432,
52
+ 0.648374,
53
+ 1.00432
54
+ );
55
+ transform: scaleX(0.457104);
56
+ }
57
+
58
+ 44.15% {
59
+ animation-timing-function: cubic-bezier(
60
+ 0.257759,
61
+ -0.003163,
62
+ 0.211762,
63
+ 1.38179
64
+ );
65
+ transform: scaleX(0.72796);
66
+ }
67
+
68
+ 100% {
69
+ transform: scaleX(0.08);
70
+ }
71
+ }
72
+ }
73
+
74
+ // Generates keyframes for ltr and rtl.
75
+ @mixin _directional-keyframes($dir) {
76
+ $is-rtl: $dir == 'rtl';
77
+ $sign: if($is-rtl, -1, 1);
78
+ $suffix: if($is-rtl, '-rtl', '');
79
+
80
+ @keyframes buffering#{$suffix} {
81
+ 0% {
82
+ transform: translateX(calc(#{$sign} * var(--_track-background-width)));
83
+ }
84
+ }
85
+
86
+ @keyframes primary-indeterminate-translate#{$suffix} {
87
+ 0% {
88
+ transform: translateX(0);
89
+ }
90
+
91
+ 20% {
92
+ animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819);
93
+ transform: translateX(0);
94
+ }
95
+
96
+ 59.15% {
97
+ animation-timing-function: cubic-bezier(
98
+ 0.302435,
99
+ 0.381352,
100
+ 0.55,
101
+ 0.956352
102
+ );
103
+ transform: translateX(calc(#{$sign} * 83.6714%));
104
+ }
105
+
106
+ 100% {
107
+ transform: translateX(calc(#{$sign} * 200.611%));
108
+ }
109
+ }
110
+
111
+ @keyframes secondary-indeterminate-translate#{$suffix} {
112
+ 0% {
113
+ animation-timing-function: cubic-bezier(0.15, 0, 0.515058, 0.409685);
114
+ transform: translateX(0);
115
+ }
116
+
117
+ 25% {
118
+ animation-timing-function: cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);
119
+ transform: translateX(calc(#{$sign} * 37.6519%));
120
+ }
121
+
122
+ 48.35% {
123
+ animation-timing-function: cubic-bezier(0.4, 0.627035, 0.6, 0.902026);
124
+ transform: translateX(calc(#{$sign} * 84.3862%));
125
+ }
126
+
127
+ 100% {
128
+ transform: translateX(calc(#{$sign} * 160.278%));
129
+ }
130
+ }
131
+ }
@@ -0,0 +1,125 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ ///
7
+ /// Adapted and influenced from [Material Web](https://github.com/material-components/material-web).
8
+ /// The original source code can be found at [GitHub](https://github.com/material-components/material-web/blob/main/linearprogress/lib/_linear-progress.scss)
9
+ ///
10
+
11
+ @use './variables';
12
+ @use '../../../theme/theme-values';
13
+
14
+ ///
15
+ /// Initializes private configuration state CSS variables
16
+ ///
17
+ @mixin configuration {
18
+ --_track-height: var(--#{variables.$prefix}-height, #{variables.$track-height});
19
+ --_track-color: var(--#{variables.$prefix}-indicator-background-color, #{variables.$track-background-color});
20
+ --_active-indicator-color: var(--#{variables.$prefix}-indicator-color, var(--forge-theme-tertiary, #{theme-values.$tertiary}));
21
+
22
+ --_track-shape: 0;
23
+ --_active-indicator-height: var(--_track-height);
24
+ --_determinate-duration: #{variables.$determinate-duration};
25
+ --_indeterminate-duration: #{variables.$indeterminate-duration};
26
+ --_determinate-easing: #{variables.$determinate-easing};
27
+ --_track-dot-size: calc(var(--_track-height) / 2);
28
+ --_track-background-width: calc(var(--_track-dot-size) * 5);
29
+ --_track-background: 0 / var(--_track-background-width) 100%
30
+ radial-gradient(
31
+ circle at calc(var(--_track-dot-size) * 2),
32
+ var(--_track-color) 0,
33
+ var(--_track-color) var(--_track-dot-size),
34
+ transparent var(--_track-dot-size)
35
+ );
36
+ }
37
+
38
+ ///
39
+ /// Styles for the container/wrapper element to support the bounding box of the progress indicator
40
+ ///
41
+ @mixin container {
42
+ display: block;
43
+ position: relative;
44
+ min-inline-size: 80px;
45
+ block-size: var(--#{variables.$prefix}-height, #{variables.$track-height});
46
+ content-visibility: auto;
47
+ contain: strict;
48
+ }
49
+
50
+ @mixin progress {
51
+ inset: 0;
52
+ outline: transparent solid 1px;
53
+ border-radius: var(--_track-shape);
54
+ overflow: hidden;
55
+ display: flex;
56
+ align-items: center;
57
+ }
58
+
59
+ @mixin bar {
60
+ animation: none;
61
+ inline-size: 100%;
62
+ block-size: var(--_active-indicator-height);
63
+ transform-origin: left center;
64
+ will-change: transform;
65
+ transition: transform var(--_determinate-duration) var(--_determinate-easing);
66
+ }
67
+
68
+ @mixin secondary-bar {
69
+ display: none;
70
+ }
71
+
72
+ @mixin bar-inner {
73
+ inset: 0;
74
+ animation: none;
75
+ background: var(--_active-indicator-color);
76
+ }
77
+
78
+ @mixin buffer-bar {
79
+ background: var(--_track-color);
80
+ inset: 0;
81
+ will-change: transform;
82
+ transition: transform var(--_determinate-duration) var(--_determinate-easing);
83
+ transform-origin: left center;
84
+ }
85
+
86
+ @mixin track {
87
+ inset: 0;
88
+ will-change: transform;
89
+ animation: linear infinite var(--_determinate-duration);
90
+ animation-name: buffering;
91
+ background: var(--_track-background);
92
+ }
93
+
94
+ @mixin indeterminate-bar {
95
+ transition: none;
96
+ }
97
+
98
+ @mixin indeterminate-primary-bar {
99
+ inset-inline-start: -145.167%;
100
+ will-change: transform;
101
+ animation: linear infinite var(--_indeterminate-duration);
102
+ animation-name: primary-indeterminate-translate;
103
+ }
104
+
105
+ @mixin indeterminate-secondary-bar {
106
+ inset-inline-start: -54.8889%;
107
+ display: block;
108
+ will-change: transform;
109
+ animation: linear infinite var(--_indeterminate-duration);
110
+ animation-name: secondary-indeterminate-translate;
111
+ }
112
+
113
+ @mixin indeterminate-track {
114
+ display: none;
115
+ }
116
+
117
+ @mixin indeterminate-primary-bar-inner {
118
+ will-change: transform;
119
+ animation: linear infinite var(--_indeterminate-duration) primary-indeterminate-scale;
120
+ }
121
+
122
+ @mixin indeterminate-secondary-bar-inner {
123
+ will-change: transform;
124
+ animation: linear infinite var(--_indeterminate-duration) secondary-indeterminate-scale;
125
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ @use '../core/config';
7
+
8
+ $prefix: #{config.$prefix}-linear-progress !default;
9
+ $track-height: 4px !default;
10
+ $track-background-color: #ced5f7 !default;
11
+ $track-background-color-dark: #7c704c !default;
12
+ $determinate-duration: 250ms !default;
13
+ $indeterminate-duration: 2s !default;
14
+ $determinate-easing: cubic-bezier(0.4, 0, 0.6, 1) !default;
15
+
@@ -0,0 +1,145 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Tyler Technologies, Inc.
4
+ * License: Apache-2.0
5
+ */
6
+ @use './variables';
7
+ @use './core';
8
+ @use './animations';
9
+
10
+ @forward './variables';
11
+ @forward './core';
12
+ @forward './animations';
13
+
14
+ ///
15
+ /// Creates selectors for the standard circular progress structure
16
+ ///
17
+ @mixin styles {
18
+ @include base-styles;
19
+ @include indeterminate-styles;
20
+ @include rtl;
21
+ @include forced-colors;
22
+ @include animations.keyframes;
23
+ }
24
+
25
+ ///
26
+ /// Selectors for the base container structure
27
+ ///
28
+ @mixin base-styles {
29
+ @layer base {
30
+ .#{variables.$prefix} {
31
+ @include core.configuration;
32
+ @include core.progress;
33
+ }
34
+
35
+ .#{variables.$prefix},
36
+ .track,
37
+ .buffer-bar,
38
+ .bar,
39
+ .bar-inner {
40
+ position: absolute;
41
+ }
42
+
43
+ .bar {
44
+ @include core.bar;
45
+ }
46
+
47
+ .secondary-bar {
48
+ @include core.secondary-bar;
49
+ }
50
+
51
+ .bar-inner {
52
+ @include core.bar-inner;
53
+ }
54
+
55
+ .buffer-bar {
56
+ @include core.buffer-bar;
57
+ }
58
+
59
+ .track {
60
+ @include core.track;
61
+ }
62
+ }
63
+ }
64
+
65
+ ///
66
+ /// Selectors for the indeterminate structure
67
+ ///
68
+ @mixin indeterminate-styles {
69
+ @layer indeterminate {
70
+ .#{variables.$prefix}--indeterminate {
71
+ .bar {
72
+ @include core.indeterminate-bar;
73
+ }
74
+
75
+ .primary-bar {
76
+ @include core.indeterminate-primary-bar;
77
+ }
78
+
79
+ .secondary-bar {
80
+ @include core.indeterminate-secondary-bar;
81
+ }
82
+
83
+ .track {
84
+ @include core.indeterminate-track;
85
+ }
86
+
87
+ .primary-bar > .bar-inner {
88
+ @include core.indeterminate-primary-bar-inner;
89
+ }
90
+
91
+ .secondary-bar > .bar-inner {
92
+ @include core.indeterminate-secondary-bar-inner;
93
+ }
94
+ }
95
+ }
96
+ }
97
+
98
+ @mixin rtl {
99
+ $rtl-selectors: (
100
+ ':host-context([dir="rtl"]) .' + variables.$prefix,
101
+ ':host([dir="rtl"]) .' + variables.$prefix,
102
+ '.' + variables.$prefix + ':dir(rtl)'
103
+ );
104
+
105
+ @each $selector in $rtl-selectors {
106
+ #{$selector} {
107
+ .bar {
108
+ transform-origin: right center;
109
+ }
110
+
111
+ .buffer-bar {
112
+ transform-origin: right center;
113
+ }
114
+
115
+ .track {
116
+ animation-name: buffering-rtl;
117
+ }
118
+
119
+ &.forge-linear-progress--indeterminate .primary-bar {
120
+ animation-name: primary-indeterminate-translate-rtl;
121
+ }
122
+
123
+ &.forge-linear-progress--indeterminate .secondary-bar {
124
+ animation-name: secondary-indeterminate-translate-rtl;
125
+ }
126
+ }
127
+ }
128
+ }
129
+
130
+ ///
131
+ /// Provides selectors to support forced-colors mode
132
+ ///
133
+ @mixin forced-colors {
134
+ @media screen and (forced-colors: active) {
135
+ .#{variables.$prefix} {
136
+ --_active-indicator-color: canvastext;
137
+ --_track-color: graytext;
138
+ border: 1px solid canvastext;
139
+ }
140
+
141
+ .#{variables.$prefix}--indeterminate.#{variables.$prefix} {
142
+ --_track-color: canvas;
143
+ }
144
+ }
145
+ }