@synergy-design-system/components 2.77.1 → 3.0.0

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 (433) hide show
  1. package/code-quality/html-validate/scripts/synergy-element-rules.js +24 -6
  2. package/dist/chunks/{chunk.ADIU6GO2.js → chunk.2ACTZBEC.js} +7 -7
  3. package/dist/chunks/{chunk.34QTCBH5.js → chunk.2GP2EYG4.js} +5 -5
  4. package/dist/chunks/{chunk.2FWMG7GH.js → chunk.2RSO2DKG.js} +2 -2
  5. package/dist/chunks/{chunk.DH3ESODU.js → chunk.2VDKBFQ7.js} +2 -2
  6. package/dist/chunks/{chunk.DH3ESODU.js.map → chunk.2VDKBFQ7.js.map} +1 -1
  7. package/dist/chunks/{chunk.ZUQ225FP.js → chunk.34V3QOIQ.js} +2 -2
  8. package/dist/chunks/{chunk.NNF3HUZN.js → chunk.36BZPB3H.js} +2 -2
  9. package/dist/chunks/{chunk.HD634VUP.js → chunk.3EJU447K.js} +2 -2
  10. package/dist/chunks/{chunk.UEDN3QLN.js → chunk.3EQF2FRQ.js} +6 -6
  11. package/dist/chunks/{chunk.6YAZZQSR.js → chunk.3FT4KLCP.js} +11 -12
  12. package/dist/chunks/chunk.3FT4KLCP.js.map +7 -0
  13. package/dist/chunks/{chunk.Y5IKF6ZC.js → chunk.3RR4RIR7.js} +7 -8
  14. package/dist/chunks/chunk.3RR4RIR7.js.map +7 -0
  15. package/dist/chunks/{chunk.M7U5QI74.js → chunk.3T6ULO23.js} +2 -2
  16. package/dist/chunks/{chunk.M7U5QI74.js.map → chunk.3T6ULO23.js.map} +1 -1
  17. package/dist/chunks/{chunk.A7LOAARY.js → chunk.3WVPUEAN.js} +3 -3
  18. package/dist/chunks/{chunk.A7LOAARY.js.map → chunk.3WVPUEAN.js.map} +1 -1
  19. package/dist/chunks/{chunk.FPEGQJBE.js → chunk.42F33KBM.js} +4 -4
  20. package/dist/chunks/{chunk.DCQZCUJC.js → chunk.4ADVK4N5.js} +2 -2
  21. package/dist/chunks/{chunk.IOMYSP25.js → chunk.4FRKK5XY.js} +3 -3
  22. package/dist/chunks/{chunk.DZTLGJLC.js → chunk.4I2C7KCE.js} +2 -2
  23. package/dist/chunks/{chunk.BI7YROH2.js → chunk.4T2NDUOQ.js} +2 -2
  24. package/dist/chunks/{chunk.RHEPJKLB.js → chunk.4URTG3MF.js} +2 -2
  25. package/dist/chunks/{chunk.Z4JDFQ6P.js → chunk.4ZEHQOJ3.js} +2 -2
  26. package/dist/chunks/{chunk.I5G3RSAT.js → chunk.56BJYBST.js} +2 -2
  27. package/dist/chunks/{chunk.VKHKZ3ML.js → chunk.5F5Y2RD6.js} +9 -14
  28. package/dist/chunks/chunk.5F5Y2RD6.js.map +7 -0
  29. package/dist/chunks/{chunk.EK4TK5MY.js → chunk.5OXFZJYX.js} +8 -8
  30. package/dist/chunks/chunk.5OXFZJYX.js.map +7 -0
  31. package/dist/chunks/{chunk.64KVEIIA.js → chunk.5QGW4QZT.js} +5 -9
  32. package/dist/chunks/chunk.5QGW4QZT.js.map +7 -0
  33. package/dist/chunks/{chunk.S7ITIAH3.js → chunk.5T3K7UXO.js} +2 -2
  34. package/dist/chunks/{chunk.MZRNJOUV.js → chunk.66HKI7Q7.js} +1 -1
  35. package/dist/chunks/chunk.66HKI7Q7.js.map +7 -0
  36. package/dist/chunks/{chunk.KYBZYOAW.js → chunk.67NOFASU.js} +2 -2
  37. package/dist/chunks/{chunk.IHG5V7G6.js → chunk.6B7GMPMK.js} +13 -13
  38. package/dist/chunks/{chunk.JSH4LXZJ.js → chunk.6EK4W7PI.js} +9 -14
  39. package/dist/chunks/chunk.6EK4W7PI.js.map +7 -0
  40. package/dist/chunks/{chunk.F7V5LHZA.js → chunk.6KTVNSPY.js} +8 -8
  41. package/dist/chunks/{chunk.K2O55TNU.js → chunk.6P2XCD2Q.js} +4 -4
  42. package/dist/chunks/{chunk.K2O55TNU.js.map → chunk.6P2XCD2Q.js.map} +1 -1
  43. package/dist/chunks/{chunk.3XRQPR37.js → chunk.6VA5V372.js} +2 -2
  44. package/dist/chunks/{chunk.O76MMYOC.js → chunk.7SIMUMVH.js} +3 -3
  45. package/dist/chunks/{chunk.M25ZNEHD.js → chunk.AF4RYZHB.js} +2 -2
  46. package/dist/chunks/{chunk.37FTXFHX.js → chunk.ATT3RT4A.js} +6 -11
  47. package/dist/chunks/chunk.ATT3RT4A.js.map +7 -0
  48. package/dist/chunks/{chunk.4NWG6GIY.js → chunk.B3UAPU32.js} +9 -9
  49. package/dist/chunks/{chunk.GZZPYVQX.js → chunk.B56PMMC4.js} +7 -7
  50. package/dist/chunks/{chunk.S74CFZ4Z.js → chunk.BL5JW7YS.js} +14 -14
  51. package/dist/chunks/{chunk.S74CFZ4Z.js.map → chunk.BL5JW7YS.js.map} +1 -1
  52. package/dist/chunks/{chunk.HS2BUHJR.js → chunk.BNHQTT5B.js} +2 -2
  53. package/dist/chunks/{chunk.77CVXMWD.js → chunk.BVV2XKW3.js} +2 -2
  54. package/dist/chunks/chunk.BVV2XKW3.js.map +7 -0
  55. package/dist/chunks/{chunk.5C3IFF3A.js → chunk.CDOWFAH2.js} +7 -7
  56. package/dist/chunks/chunk.CDOWFAH2.js.map +7 -0
  57. package/dist/chunks/{chunk.MV23LMED.js → chunk.D5GEYHUG.js} +3 -3
  58. package/dist/chunks/{chunk.357ZOX56.js → chunk.DHT3ZN7B.js} +10 -10
  59. package/dist/chunks/{chunk.VLVWVJUC.js → chunk.DRLFKWVC.js} +2 -2
  60. package/dist/chunks/{chunk.ZHJLUYXA.js → chunk.DXVTZKXX.js} +2 -2
  61. package/dist/chunks/{chunk.UCLYCASW.js → chunk.EHZBQTCT.js} +2 -2
  62. package/dist/chunks/{chunk.UCLYCASW.js.map → chunk.EHZBQTCT.js.map} +1 -1
  63. package/dist/chunks/{chunk.KZP6W6WX.js → chunk.EIJX4T2G.js} +6 -6
  64. package/dist/chunks/{chunk.XASOHJYY.js → chunk.EMTWFPA4.js} +2 -2
  65. package/dist/chunks/{chunk.I42ZMXUL.js → chunk.F4TDCDGD.js} +2 -2
  66. package/dist/chunks/{chunk.LBUMVFCE.js → chunk.FHTQSNCX.js} +3 -3
  67. package/dist/chunks/chunk.FHTQSNCX.js.map +7 -0
  68. package/dist/chunks/{chunk.DAELIXNV.js → chunk.FVYPYWJH.js} +6 -6
  69. package/dist/chunks/{chunk.5EC6B57G.js → chunk.GCTLPTMT.js} +3 -3
  70. package/dist/chunks/{chunk.5EC6B57G.js.map → chunk.GCTLPTMT.js.map} +1 -1
  71. package/dist/chunks/{chunk.2DGMS4FV.js → chunk.GFX23JLA.js} +2 -2
  72. package/dist/chunks/chunk.GFX23JLA.js.map +7 -0
  73. package/dist/chunks/{chunk.SP7ULWRO.js → chunk.GJIDYO3Z.js} +3 -3
  74. package/dist/chunks/{chunk.RRAZSY4U.js → chunk.HSQZ3ZWE.js} +10 -26
  75. package/dist/chunks/chunk.HSQZ3ZWE.js.map +7 -0
  76. package/dist/chunks/{chunk.2NIFD3YE.js → chunk.HU237XM2.js} +2 -2
  77. package/dist/chunks/{chunk.2NIFD3YE.js.map → chunk.HU237XM2.js.map} +1 -1
  78. package/dist/chunks/{chunk.VZGIDWPA.js → chunk.HW62YVCL.js} +3 -3
  79. package/dist/chunks/{chunk.KNUV2HA6.js → chunk.HXLRLIDZ.js} +6 -6
  80. package/dist/chunks/{chunk.K3RFNN2T.js → chunk.I5R3PXG7.js} +2 -2
  81. package/dist/chunks/{chunk.CT7WV7U3.js → chunk.IM54DI3K.js} +10 -10
  82. package/dist/chunks/chunk.IM54DI3K.js.map +7 -0
  83. package/dist/chunks/{chunk.3DUI4MAT.js → chunk.IMZSPXJV.js} +2 -2
  84. package/dist/chunks/{chunk.O67MQZKB.js → chunk.IOFVUQIY.js} +2 -2
  85. package/dist/chunks/{chunk.43XCD64Q.js → chunk.IYB26JEV.js} +2 -2
  86. package/dist/chunks/{chunk.XWNOP753.js → chunk.IZRTF5EM.js} +8 -8
  87. package/dist/chunks/chunk.IZRTF5EM.js.map +7 -0
  88. package/dist/chunks/{chunk.QF6ODD6S.js → chunk.JG7YXWHG.js} +2 -2
  89. package/dist/chunks/{chunk.QF6ODD6S.js.map → chunk.JG7YXWHG.js.map} +1 -1
  90. package/dist/chunks/{chunk.WSVB6XWI.js → chunk.JQ4NCOOB.js} +5 -5
  91. package/dist/chunks/{chunk.547D43SQ.js → chunk.JX6C3ADT.js} +7 -7
  92. package/dist/chunks/{chunk.3O3BJR4Y.js → chunk.JYLOZXGC.js} +9 -9
  93. package/dist/chunks/{chunk.FCYQT7CQ.js → chunk.K5MZVORR.js} +4 -4
  94. package/dist/chunks/chunk.K5MZVORR.js.map +7 -0
  95. package/dist/chunks/{chunk.3R55CWLN.js → chunk.K5VB7VKA.js} +5 -5
  96. package/dist/chunks/{chunk.LHFBIW7M.js → chunk.KLUICBMV.js} +7 -5
  97. package/dist/chunks/chunk.KLUICBMV.js.map +7 -0
  98. package/dist/chunks/{chunk.EMM5E2QE.js → chunk.KPBZSLEA.js} +2 -2
  99. package/dist/chunks/{chunk.ZNNZXEP4.js → chunk.KSWDM4HW.js} +2 -2
  100. package/dist/chunks/{chunk.V4HPWQE7.js → chunk.KW5TWA5Y.js} +1 -2
  101. package/dist/chunks/{chunk.V4HPWQE7.js.map → chunk.KW5TWA5Y.js.map} +2 -2
  102. package/dist/chunks/{chunk.COMLGAG4.js → chunk.LBN3HL2T.js} +9 -9
  103. package/dist/chunks/{chunk.O5XZDHTS.js → chunk.LJGUOWPM.js} +7 -12
  104. package/dist/chunks/chunk.LJGUOWPM.js.map +7 -0
  105. package/dist/chunks/{chunk.TITGO6ES.js → chunk.LVYJDZMX.js} +2 -2
  106. package/dist/chunks/{chunk.K6ZQFJXS.js → chunk.M72HMQL6.js} +2 -2
  107. package/dist/chunks/{chunk.H5LIIOIS.js → chunk.MJ4Q6YEU.js} +2 -2
  108. package/dist/chunks/{chunk.IRQZZURK.js → chunk.MM3NO6GS.js} +2 -2
  109. package/dist/chunks/{chunk.C6JRBWBJ.js → chunk.N6C27EXQ.js} +4 -4
  110. package/dist/chunks/{chunk.C6JRBWBJ.js.map → chunk.N6C27EXQ.js.map} +1 -1
  111. package/dist/chunks/{chunk.74EPLGQK.js → chunk.N7BCC4V5.js} +7 -7
  112. package/dist/chunks/{chunk.YMHR44VM.js → chunk.N7LV5KRH.js} +7 -7
  113. package/dist/chunks/{chunk.VOC5DYU5.js → chunk.OBERL73O.js} +3 -3
  114. package/dist/chunks/{chunk.TBO7YQ7H.js → chunk.OHDB73E6.js} +2 -2
  115. package/dist/chunks/{chunk.OQOWQHEV.js → chunk.OIB4NIRJ.js} +2 -2
  116. package/dist/chunks/{chunk.E3Z62YYT.js → chunk.OQUVO5QW.js} +9 -9
  117. package/dist/chunks/chunk.OQUVO5QW.js.map +7 -0
  118. package/dist/chunks/{chunk.KAKCOA6W.js → chunk.P3JEES5B.js} +5 -6
  119. package/dist/chunks/{chunk.KAKCOA6W.js.map → chunk.P3JEES5B.js.map} +2 -2
  120. package/dist/chunks/{chunk.I7AC3RTR.js → chunk.PGGH5VGL.js} +2 -2
  121. package/dist/chunks/{chunk.GW4F6TG7.js → chunk.PR7SSUOT.js} +2 -2
  122. package/dist/chunks/{chunk.TBRYI77U.js → chunk.PWODN6WT.js} +2 -2
  123. package/dist/chunks/{chunk.473H3SHJ.js → chunk.Q3SJASPT.js} +2 -2
  124. package/dist/chunks/{chunk.YNQZY5WT.js → chunk.QACXXBE3.js} +5 -5
  125. package/dist/chunks/{chunk.ERSURHPX.js → chunk.QT47J2O6.js} +2 -2
  126. package/dist/chunks/{chunk.PYW5SSBY.js → chunk.QXZFSE4T.js} +2 -2
  127. package/dist/chunks/{chunk.FPEZO62Q.js → chunk.R4FCX5PU.js} +2 -2
  128. package/dist/chunks/{chunk.SQMVO2BA.js → chunk.R5WFWL7W.js} +2 -2
  129. package/dist/chunks/{chunk.NRCH63KS.js → chunk.RBOU3KVS.js} +5 -5
  130. package/dist/chunks/{chunk.NQAIJI6C.js → chunk.RV5JERXK.js} +7 -7
  131. package/dist/chunks/{chunk.2ZMXABWX.js → chunk.SA423NRC.js} +11 -11
  132. package/dist/chunks/chunk.SA423NRC.js.map +7 -0
  133. package/dist/chunks/{chunk.EWKVHJPJ.js → chunk.SEYI7UTA.js} +25 -25
  134. package/dist/chunks/chunk.SEYI7UTA.js.map +7 -0
  135. package/dist/chunks/{chunk.T7PPSROA.js → chunk.SLDFB2O3.js} +17 -17
  136. package/dist/chunks/chunk.SLDFB2O3.js.map +7 -0
  137. package/dist/chunks/{chunk.XILYGDY5.js → chunk.SLKJ2OJN.js} +5 -5
  138. package/dist/chunks/{chunk.HD3FIFU7.js → chunk.SUH6DGJ5.js} +3 -3
  139. package/dist/chunks/{chunk.ZCUURSJU.js → chunk.TSWB7UFK.js} +21 -21
  140. package/dist/chunks/chunk.TSWB7UFK.js.map +7 -0
  141. package/dist/chunks/{chunk.PFLUXEIO.js → chunk.U6VNE4JX.js} +2 -2
  142. package/dist/chunks/{chunk.EEJUDZFL.js → chunk.UAUY6RVN.js} +2 -2
  143. package/dist/chunks/{chunk.WPZ3G3PZ.js → chunk.UBGDTOZZ.js} +2 -2
  144. package/dist/chunks/{chunk.OAAB4YO4.js → chunk.UNYO3GI7.js} +12 -12
  145. package/dist/chunks/chunk.UNYO3GI7.js.map +7 -0
  146. package/dist/chunks/{chunk.NNAU5QBN.js → chunk.UPDHOWDW.js} +2 -2
  147. package/dist/chunks/{chunk.FBWCMSZA.js → chunk.VBPHUZ5N.js} +6 -6
  148. package/dist/chunks/{chunk.4A6JD5B2.js → chunk.VBS3JEIP.js} +1 -1
  149. package/dist/chunks/chunk.VBS3JEIP.js.map +7 -0
  150. package/dist/chunks/{chunk.6RXGKFPT.js → chunk.VV3WAINT.js} +2 -2
  151. package/dist/chunks/{chunk.MVSK3TVN.js → chunk.VYQ53GHN.js} +8 -8
  152. package/dist/chunks/{chunk.7YONTVZW.js → chunk.WPVUSCH3.js} +2 -2
  153. package/dist/chunks/{chunk.4WQZFNSE.js → chunk.WQMTAEYE.js} +3 -3
  154. package/dist/chunks/chunk.WQMTAEYE.js.map +7 -0
  155. package/dist/chunks/{chunk.YS2YSFGV.js → chunk.X57JLQDS.js} +2 -2
  156. package/dist/chunks/{chunk.QZ5LIQE6.js → chunk.X6HKBVIE.js} +2 -2
  157. package/dist/chunks/{chunk.NREI75V5.js → chunk.XC4GHHH2.js} +4 -4
  158. package/dist/chunks/{chunk.NREI75V5.js.map → chunk.XC4GHHH2.js.map} +1 -1
  159. package/dist/chunks/{chunk.VQJBKWMV.js → chunk.XDOZEDCW.js} +2 -2
  160. package/dist/chunks/{chunk.ABDHXV6X.js → chunk.XKT2M3XA.js} +2 -2
  161. package/dist/chunks/{chunk.UW4IKEIE.js → chunk.XL2GZSHM.js} +2 -2
  162. package/dist/chunks/{chunk.IBKLU7LL.js → chunk.YBITSWNW.js} +2 -2
  163. package/dist/chunks/{chunk.43WK7D7Y.js → chunk.YIYXW5NV.js} +2 -2
  164. package/dist/chunks/{chunk.SAV6MIQK.js → chunk.YOJL35VB.js} +8 -8
  165. package/dist/chunks/chunk.YOJL35VB.js.map +7 -0
  166. package/dist/chunks/{chunk.LJ3KWXOI.js → chunk.Z3SZOYBJ.js} +2 -2
  167. package/dist/chunks/{chunk.DIUHLEKA.js → chunk.ZNJG4EY4.js} +2 -2
  168. package/dist/chunks/{chunk.BEAGYN6W.js → chunk.ZPL7FJ2H.js} +7 -7
  169. package/dist/chunks/{chunk.HBGYPZ7M.js → chunk.ZR7J6ZEM.js} +2 -2
  170. package/dist/chunks/{chunk.PDXNYRZI.js → chunk.ZVOOP3PI.js} +12 -8
  171. package/dist/chunks/chunk.ZVOOP3PI.js.map +7 -0
  172. package/dist/components/accordion/accordion.component.js +6 -6
  173. package/dist/components/accordion/accordion.js +7 -7
  174. package/dist/components/alert/alert.component.js +16 -16
  175. package/dist/components/alert/alert.custom.styles.js +1 -1
  176. package/dist/components/alert/alert.js +17 -17
  177. package/dist/components/badge/badge.component.js +7 -7
  178. package/dist/components/badge/badge.custom.styles.js +1 -1
  179. package/dist/components/badge/badge.js +8 -8
  180. package/dist/components/breadcrumb/breadcrumb.component.js +11 -11
  181. package/dist/components/breadcrumb/breadcrumb.js +12 -12
  182. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +3 -3
  183. package/dist/components/breadcrumb-item/breadcrumb-item.custom.styles.js +1 -1
  184. package/dist/components/breadcrumb-item/breadcrumb-item.js +4 -4
  185. package/dist/components/button/button.component.js +15 -15
  186. package/dist/components/button/button.custom.styles.js +1 -1
  187. package/dist/components/button/button.js +16 -16
  188. package/dist/components/button-group/button-group.component.js +2 -2
  189. package/dist/components/button-group/button-group.js +3 -3
  190. package/dist/components/card/card.component.js +2 -2
  191. package/dist/components/card/card.js +3 -3
  192. package/dist/components/checkbox/checkbox.component.js +12 -12
  193. package/dist/components/checkbox/checkbox.custom.styles.js +1 -1
  194. package/dist/components/checkbox/checkbox.js +13 -13
  195. package/dist/components/combobox/combobox.component.d.ts +0 -7
  196. package/dist/components/combobox/combobox.component.js +15 -15
  197. package/dist/components/combobox/combobox.js +16 -16
  198. package/dist/components/details/details.component.js +13 -13
  199. package/dist/components/details/details.custom.styles.js +1 -1
  200. package/dist/components/details/details.js +14 -14
  201. package/dist/components/dialog/dialog.component.js +15 -15
  202. package/dist/components/dialog/dialog.custom.styles.js +1 -1
  203. package/dist/components/dialog/dialog.js +16 -16
  204. package/dist/components/divider/divider.component.js +2 -2
  205. package/dist/components/divider/divider.js +3 -3
  206. package/dist/components/drawer/drawer.component.js +14 -14
  207. package/dist/components/drawer/drawer.js +15 -15
  208. package/dist/components/dropdown/dropdown.component.d.ts +0 -6
  209. package/dist/components/dropdown/dropdown.component.js +4 -4
  210. package/dist/components/dropdown/dropdown.js +5 -5
  211. package/dist/components/file/file.component.js +17 -17
  212. package/dist/components/file/file.js +18 -18
  213. package/dist/components/file/file.styles.js +1 -1
  214. package/dist/components/header/header.component.js +11 -11
  215. package/dist/components/header/header.js +12 -12
  216. package/dist/components/header/header.styles.js +1 -1
  217. package/dist/components/icon/icon.component.js +6 -6
  218. package/dist/components/icon/icon.js +7 -7
  219. package/dist/components/icon/library.js +4 -4
  220. package/dist/components/icon/library.migration.d.ts +5 -0
  221. package/dist/components/icon/library.migration.js +5 -5
  222. package/dist/components/icon/library.system.js +3 -3
  223. package/dist/components/icon/sick2018-system-icons.d.ts +3 -0
  224. package/dist/components/icon/sick2018-system-icons.js +1 -1
  225. package/dist/components/icon/sick2025-system-icons.js +1 -1
  226. package/dist/components/icon-button/icon-button.component.js +12 -12
  227. package/dist/components/icon-button/icon-button.custom.styles.js +1 -1
  228. package/dist/components/icon-button/icon-button.js +13 -13
  229. package/dist/components/input/input.component.d.ts +1 -2
  230. package/dist/components/input/input.component.js +14 -14
  231. package/dist/components/input/input.custom.styles.js +1 -1
  232. package/dist/components/input/input.js +15 -15
  233. package/dist/components/menu/menu.component.js +2 -2
  234. package/dist/components/menu/menu.js +3 -3
  235. package/dist/components/menu-item/menu-item.component.js +14 -14
  236. package/dist/components/menu-item/menu-item.custom.styles.js +1 -1
  237. package/dist/components/menu-item/menu-item.js +15 -15
  238. package/dist/components/menu-item/submenu-controller.js +1 -1
  239. package/dist/components/menu-label/menu-label.component.js +3 -3
  240. package/dist/components/menu-label/menu-label.js +4 -4
  241. package/dist/components/nav-item/nav-item.component.js +9 -9
  242. package/dist/components/nav-item/nav-item.js +10 -10
  243. package/dist/components/nav-item/nav-item.styles.js +1 -1
  244. package/dist/components/optgroup/optgroup.component.js +4 -4
  245. package/dist/components/optgroup/optgroup.js +5 -5
  246. package/dist/components/optgroup/optgroup.styles.js +1 -1
  247. package/dist/components/option/option.component.js +10 -10
  248. package/dist/components/option/option.custom.styles.js +1 -1
  249. package/dist/components/option/option.js +11 -11
  250. package/dist/components/popup/popup.component.d.ts +0 -6
  251. package/dist/components/popup/popup.component.js +2 -2
  252. package/dist/components/popup/popup.js +3 -3
  253. package/dist/components/prio-nav/prio-nav.component.js +15 -15
  254. package/dist/components/prio-nav/prio-nav.js +16 -16
  255. package/dist/components/progress-bar/progress-bar.component.js +3 -3
  256. package/dist/components/progress-bar/progress-bar.custom.styles.js +1 -1
  257. package/dist/components/progress-bar/progress-bar.js +4 -4
  258. package/dist/components/progress-ring/progress-ring.component.js +3 -3
  259. package/dist/components/progress-ring/progress-ring.custom.styles.js +1 -1
  260. package/dist/components/progress-ring/progress-ring.js +4 -4
  261. package/dist/components/radio/radio.component.js +12 -12
  262. package/dist/components/radio/radio.custom.styles.js +1 -1
  263. package/dist/components/radio/radio.js +13 -13
  264. package/dist/components/radio-button/radio-button.component.js +6 -6
  265. package/dist/components/radio-button/radio-button.js +7 -7
  266. package/dist/components/radio-group/radio-group.component.js +7 -7
  267. package/dist/components/radio-group/radio-group.js +8 -8
  268. package/dist/components/range/range.component.js +9 -9
  269. package/dist/components/range/range.js +10 -10
  270. package/dist/components/range/range.styles.js +1 -1
  271. package/dist/components/range-tick/range-tick.component.js +3 -3
  272. package/dist/components/range-tick/range-tick.js +4 -4
  273. package/dist/components/range-tick/range-tick.styles.js +1 -1
  274. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  275. package/dist/components/select/select.component.d.ts +0 -6
  276. package/dist/components/select/select.component.js +17 -17
  277. package/dist/components/select/select.js +18 -18
  278. package/dist/components/side-nav/side-nav.component.d.ts +1 -14
  279. package/dist/components/side-nav/side-nav.component.js +18 -18
  280. package/dist/components/side-nav/side-nav.js +19 -19
  281. package/dist/components/spinner/spinner.component.js +3 -3
  282. package/dist/components/spinner/spinner.custom.styles.js +1 -1
  283. package/dist/components/spinner/spinner.js +4 -4
  284. package/dist/components/switch/switch.component.js +7 -7
  285. package/dist/components/switch/switch.custom.styles.js +1 -1
  286. package/dist/components/switch/switch.js +8 -8
  287. package/dist/components/tab/tab.component.js +15 -15
  288. package/dist/components/tab/tab.custom.styles.js +1 -1
  289. package/dist/components/tab/tab.js +16 -16
  290. package/dist/components/tab-group/tab-group.component.js +16 -16
  291. package/dist/components/tab-group/tab-group.custom.styles.js +1 -1
  292. package/dist/components/tab-group/tab-group.js +17 -17
  293. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  294. package/dist/components/tab-panel/tab-panel.js +3 -3
  295. package/dist/components/tag/tag.component.js +15 -15
  296. package/dist/components/tag/tag.custom.styles.js +1 -1
  297. package/dist/components/tag/tag.js +16 -16
  298. package/dist/components/textarea/textarea.component.js +6 -6
  299. package/dist/components/textarea/textarea.js +7 -7
  300. package/dist/components/tooltip/tooltip.component.d.ts +0 -7
  301. package/dist/components/tooltip/tooltip.component.js +4 -4
  302. package/dist/components/tooltip/tooltip.js +5 -5
  303. package/dist/components/validate/utility.js +2 -2
  304. package/dist/components/validate/validate.component.js +18 -18
  305. package/dist/components/validate/validate.js +19 -19
  306. package/dist/custom-elements.json +4 -132
  307. package/dist/styles/index.css +1 -1
  308. package/dist/synergy.js +142 -140
  309. package/dist/utilities/defaultSettings/base.js +1 -1
  310. package/dist/utilities/defaultSettings/decorator.js +3 -3
  311. package/dist/utilities/defaultSettings/functions.d.ts +11 -4
  312. package/dist/utilities/defaultSettings/functions.js +4 -2
  313. package/dist/utilities/defaultSettings/index.d.ts +1 -1
  314. package/dist/utilities/defaultSettings/index.js +5 -3
  315. package/dist/utilities/icon-library.js +4 -4
  316. package/dist/vscode.html-custom-data.json +0 -30
  317. package/package.json +4 -4
  318. package/dist/chunks/chunk.2DGMS4FV.js.map +0 -7
  319. package/dist/chunks/chunk.2ZMXABWX.js.map +0 -7
  320. package/dist/chunks/chunk.37FTXFHX.js.map +0 -7
  321. package/dist/chunks/chunk.4A6JD5B2.js.map +0 -7
  322. package/dist/chunks/chunk.4WQZFNSE.js.map +0 -7
  323. package/dist/chunks/chunk.5C3IFF3A.js.map +0 -7
  324. package/dist/chunks/chunk.64KVEIIA.js.map +0 -7
  325. package/dist/chunks/chunk.6YAZZQSR.js.map +0 -7
  326. package/dist/chunks/chunk.77CVXMWD.js.map +0 -7
  327. package/dist/chunks/chunk.CT7WV7U3.js.map +0 -7
  328. package/dist/chunks/chunk.E3Z62YYT.js.map +0 -7
  329. package/dist/chunks/chunk.EK4TK5MY.js.map +0 -7
  330. package/dist/chunks/chunk.EWKVHJPJ.js.map +0 -7
  331. package/dist/chunks/chunk.FCYQT7CQ.js.map +0 -7
  332. package/dist/chunks/chunk.JSH4LXZJ.js.map +0 -7
  333. package/dist/chunks/chunk.LBUMVFCE.js.map +0 -7
  334. package/dist/chunks/chunk.LHFBIW7M.js.map +0 -7
  335. package/dist/chunks/chunk.MZRNJOUV.js.map +0 -7
  336. package/dist/chunks/chunk.O5XZDHTS.js.map +0 -7
  337. package/dist/chunks/chunk.OAAB4YO4.js.map +0 -7
  338. package/dist/chunks/chunk.PDXNYRZI.js.map +0 -7
  339. package/dist/chunks/chunk.RRAZSY4U.js.map +0 -7
  340. package/dist/chunks/chunk.SAV6MIQK.js.map +0 -7
  341. package/dist/chunks/chunk.T7PPSROA.js.map +0 -7
  342. package/dist/chunks/chunk.VKHKZ3ML.js.map +0 -7
  343. package/dist/chunks/chunk.XWNOP753.js.map +0 -7
  344. package/dist/chunks/chunk.Y5IKF6ZC.js.map +0 -7
  345. package/dist/chunks/chunk.ZCUURSJU.js.map +0 -7
  346. /package/dist/chunks/{chunk.ADIU6GO2.js.map → chunk.2ACTZBEC.js.map} +0 -0
  347. /package/dist/chunks/{chunk.34QTCBH5.js.map → chunk.2GP2EYG4.js.map} +0 -0
  348. /package/dist/chunks/{chunk.2FWMG7GH.js.map → chunk.2RSO2DKG.js.map} +0 -0
  349. /package/dist/chunks/{chunk.ZUQ225FP.js.map → chunk.34V3QOIQ.js.map} +0 -0
  350. /package/dist/chunks/{chunk.NNF3HUZN.js.map → chunk.36BZPB3H.js.map} +0 -0
  351. /package/dist/chunks/{chunk.HD634VUP.js.map → chunk.3EJU447K.js.map} +0 -0
  352. /package/dist/chunks/{chunk.UEDN3QLN.js.map → chunk.3EQF2FRQ.js.map} +0 -0
  353. /package/dist/chunks/{chunk.FPEGQJBE.js.map → chunk.42F33KBM.js.map} +0 -0
  354. /package/dist/chunks/{chunk.DCQZCUJC.js.map → chunk.4ADVK4N5.js.map} +0 -0
  355. /package/dist/chunks/{chunk.IOMYSP25.js.map → chunk.4FRKK5XY.js.map} +0 -0
  356. /package/dist/chunks/{chunk.DZTLGJLC.js.map → chunk.4I2C7KCE.js.map} +0 -0
  357. /package/dist/chunks/{chunk.BI7YROH2.js.map → chunk.4T2NDUOQ.js.map} +0 -0
  358. /package/dist/chunks/{chunk.RHEPJKLB.js.map → chunk.4URTG3MF.js.map} +0 -0
  359. /package/dist/chunks/{chunk.Z4JDFQ6P.js.map → chunk.4ZEHQOJ3.js.map} +0 -0
  360. /package/dist/chunks/{chunk.I5G3RSAT.js.map → chunk.56BJYBST.js.map} +0 -0
  361. /package/dist/chunks/{chunk.S7ITIAH3.js.map → chunk.5T3K7UXO.js.map} +0 -0
  362. /package/dist/chunks/{chunk.KYBZYOAW.js.map → chunk.67NOFASU.js.map} +0 -0
  363. /package/dist/chunks/{chunk.IHG5V7G6.js.map → chunk.6B7GMPMK.js.map} +0 -0
  364. /package/dist/chunks/{chunk.F7V5LHZA.js.map → chunk.6KTVNSPY.js.map} +0 -0
  365. /package/dist/chunks/{chunk.3XRQPR37.js.map → chunk.6VA5V372.js.map} +0 -0
  366. /package/dist/chunks/{chunk.O76MMYOC.js.map → chunk.7SIMUMVH.js.map} +0 -0
  367. /package/dist/chunks/{chunk.M25ZNEHD.js.map → chunk.AF4RYZHB.js.map} +0 -0
  368. /package/dist/chunks/{chunk.4NWG6GIY.js.map → chunk.B3UAPU32.js.map} +0 -0
  369. /package/dist/chunks/{chunk.GZZPYVQX.js.map → chunk.B56PMMC4.js.map} +0 -0
  370. /package/dist/chunks/{chunk.HS2BUHJR.js.map → chunk.BNHQTT5B.js.map} +0 -0
  371. /package/dist/chunks/{chunk.MV23LMED.js.map → chunk.D5GEYHUG.js.map} +0 -0
  372. /package/dist/chunks/{chunk.357ZOX56.js.map → chunk.DHT3ZN7B.js.map} +0 -0
  373. /package/dist/chunks/{chunk.VLVWVJUC.js.map → chunk.DRLFKWVC.js.map} +0 -0
  374. /package/dist/chunks/{chunk.ZHJLUYXA.js.map → chunk.DXVTZKXX.js.map} +0 -0
  375. /package/dist/chunks/{chunk.KZP6W6WX.js.map → chunk.EIJX4T2G.js.map} +0 -0
  376. /package/dist/chunks/{chunk.XASOHJYY.js.map → chunk.EMTWFPA4.js.map} +0 -0
  377. /package/dist/chunks/{chunk.I42ZMXUL.js.map → chunk.F4TDCDGD.js.map} +0 -0
  378. /package/dist/chunks/{chunk.DAELIXNV.js.map → chunk.FVYPYWJH.js.map} +0 -0
  379. /package/dist/chunks/{chunk.SP7ULWRO.js.map → chunk.GJIDYO3Z.js.map} +0 -0
  380. /package/dist/chunks/{chunk.VZGIDWPA.js.map → chunk.HW62YVCL.js.map} +0 -0
  381. /package/dist/chunks/{chunk.KNUV2HA6.js.map → chunk.HXLRLIDZ.js.map} +0 -0
  382. /package/dist/chunks/{chunk.K3RFNN2T.js.map → chunk.I5R3PXG7.js.map} +0 -0
  383. /package/dist/chunks/{chunk.3DUI4MAT.js.map → chunk.IMZSPXJV.js.map} +0 -0
  384. /package/dist/chunks/{chunk.O67MQZKB.js.map → chunk.IOFVUQIY.js.map} +0 -0
  385. /package/dist/chunks/{chunk.43XCD64Q.js.map → chunk.IYB26JEV.js.map} +0 -0
  386. /package/dist/chunks/{chunk.WSVB6XWI.js.map → chunk.JQ4NCOOB.js.map} +0 -0
  387. /package/dist/chunks/{chunk.547D43SQ.js.map → chunk.JX6C3ADT.js.map} +0 -0
  388. /package/dist/chunks/{chunk.3O3BJR4Y.js.map → chunk.JYLOZXGC.js.map} +0 -0
  389. /package/dist/chunks/{chunk.3R55CWLN.js.map → chunk.K5VB7VKA.js.map} +0 -0
  390. /package/dist/chunks/{chunk.EMM5E2QE.js.map → chunk.KPBZSLEA.js.map} +0 -0
  391. /package/dist/chunks/{chunk.ZNNZXEP4.js.map → chunk.KSWDM4HW.js.map} +0 -0
  392. /package/dist/chunks/{chunk.COMLGAG4.js.map → chunk.LBN3HL2T.js.map} +0 -0
  393. /package/dist/chunks/{chunk.TITGO6ES.js.map → chunk.LVYJDZMX.js.map} +0 -0
  394. /package/dist/chunks/{chunk.K6ZQFJXS.js.map → chunk.M72HMQL6.js.map} +0 -0
  395. /package/dist/chunks/{chunk.H5LIIOIS.js.map → chunk.MJ4Q6YEU.js.map} +0 -0
  396. /package/dist/chunks/{chunk.IRQZZURK.js.map → chunk.MM3NO6GS.js.map} +0 -0
  397. /package/dist/chunks/{chunk.74EPLGQK.js.map → chunk.N7BCC4V5.js.map} +0 -0
  398. /package/dist/chunks/{chunk.YMHR44VM.js.map → chunk.N7LV5KRH.js.map} +0 -0
  399. /package/dist/chunks/{chunk.VOC5DYU5.js.map → chunk.OBERL73O.js.map} +0 -0
  400. /package/dist/chunks/{chunk.TBO7YQ7H.js.map → chunk.OHDB73E6.js.map} +0 -0
  401. /package/dist/chunks/{chunk.OQOWQHEV.js.map → chunk.OIB4NIRJ.js.map} +0 -0
  402. /package/dist/chunks/{chunk.I7AC3RTR.js.map → chunk.PGGH5VGL.js.map} +0 -0
  403. /package/dist/chunks/{chunk.GW4F6TG7.js.map → chunk.PR7SSUOT.js.map} +0 -0
  404. /package/dist/chunks/{chunk.TBRYI77U.js.map → chunk.PWODN6WT.js.map} +0 -0
  405. /package/dist/chunks/{chunk.473H3SHJ.js.map → chunk.Q3SJASPT.js.map} +0 -0
  406. /package/dist/chunks/{chunk.YNQZY5WT.js.map → chunk.QACXXBE3.js.map} +0 -0
  407. /package/dist/chunks/{chunk.ERSURHPX.js.map → chunk.QT47J2O6.js.map} +0 -0
  408. /package/dist/chunks/{chunk.PYW5SSBY.js.map → chunk.QXZFSE4T.js.map} +0 -0
  409. /package/dist/chunks/{chunk.FPEZO62Q.js.map → chunk.R4FCX5PU.js.map} +0 -0
  410. /package/dist/chunks/{chunk.SQMVO2BA.js.map → chunk.R5WFWL7W.js.map} +0 -0
  411. /package/dist/chunks/{chunk.NRCH63KS.js.map → chunk.RBOU3KVS.js.map} +0 -0
  412. /package/dist/chunks/{chunk.NQAIJI6C.js.map → chunk.RV5JERXK.js.map} +0 -0
  413. /package/dist/chunks/{chunk.XILYGDY5.js.map → chunk.SLKJ2OJN.js.map} +0 -0
  414. /package/dist/chunks/{chunk.HD3FIFU7.js.map → chunk.SUH6DGJ5.js.map} +0 -0
  415. /package/dist/chunks/{chunk.PFLUXEIO.js.map → chunk.U6VNE4JX.js.map} +0 -0
  416. /package/dist/chunks/{chunk.EEJUDZFL.js.map → chunk.UAUY6RVN.js.map} +0 -0
  417. /package/dist/chunks/{chunk.WPZ3G3PZ.js.map → chunk.UBGDTOZZ.js.map} +0 -0
  418. /package/dist/chunks/{chunk.NNAU5QBN.js.map → chunk.UPDHOWDW.js.map} +0 -0
  419. /package/dist/chunks/{chunk.FBWCMSZA.js.map → chunk.VBPHUZ5N.js.map} +0 -0
  420. /package/dist/chunks/{chunk.6RXGKFPT.js.map → chunk.VV3WAINT.js.map} +0 -0
  421. /package/dist/chunks/{chunk.MVSK3TVN.js.map → chunk.VYQ53GHN.js.map} +0 -0
  422. /package/dist/chunks/{chunk.7YONTVZW.js.map → chunk.WPVUSCH3.js.map} +0 -0
  423. /package/dist/chunks/{chunk.YS2YSFGV.js.map → chunk.X57JLQDS.js.map} +0 -0
  424. /package/dist/chunks/{chunk.QZ5LIQE6.js.map → chunk.X6HKBVIE.js.map} +0 -0
  425. /package/dist/chunks/{chunk.VQJBKWMV.js.map → chunk.XDOZEDCW.js.map} +0 -0
  426. /package/dist/chunks/{chunk.ABDHXV6X.js.map → chunk.XKT2M3XA.js.map} +0 -0
  427. /package/dist/chunks/{chunk.UW4IKEIE.js.map → chunk.XL2GZSHM.js.map} +0 -0
  428. /package/dist/chunks/{chunk.IBKLU7LL.js.map → chunk.YBITSWNW.js.map} +0 -0
  429. /package/dist/chunks/{chunk.43WK7D7Y.js.map → chunk.YIYXW5NV.js.map} +0 -0
  430. /package/dist/chunks/{chunk.LJ3KWXOI.js.map → chunk.Z3SZOYBJ.js.map} +0 -0
  431. /package/dist/chunks/{chunk.DIUHLEKA.js.map → chunk.ZNJG4EY4.js.map} +0 -0
  432. /package/dist/chunks/{chunk.BEAGYN6W.js.map → chunk.ZPL7FJ2H.js.map} +0 -0
  433. /package/dist/chunks/{chunk.HBGYPZ7M.js.map → chunk.ZR7J6ZEM.js.map} +0 -0
@@ -421,11 +421,6 @@
421
421
  "description": "Indicates whether or not the combobox is open.\nYou can toggle this attribute to show and hide the listbox, or you can use the `show()`\nand `hide()` methods and this attribute will reflect the combobox's open state.",
422
422
  "values": []
423
423
  },
424
- {
425
- "name": "hoist",
426
- "description": "Enable this option to prevent the listbox from being clipped,\nwhen the component is placed inside a container with `overflow: auto|scroll`.\nHoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
427
- "values": []
428
- },
429
424
  {
430
425
  "name": "label",
431
426
  "description": "The combobox's label. If you need to display HTML, use the `label` slot instead.",
@@ -648,11 +643,6 @@
648
643
  "description": "The distance in pixels from which to offset the panel along its trigger.",
649
644
  "values": []
650
645
  },
651
- {
652
- "name": "hoist",
653
- "description": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
654
- "values": []
655
- },
656
646
  {
657
647
  "name": "sync",
658
648
  "description": "Syncs the popup width or height to that of the trigger element.",
@@ -1301,11 +1291,6 @@
1301
1291
  { "name": "left-end" }
1302
1292
  ]
1303
1293
  },
1304
- {
1305
- "name": "strategy",
1306
- "description": "Determines how the popup is positioned. The `absolute` strategy works well in most cases, but if overflow is\nclipped, using a `fixed` position strategy can often workaround it.",
1307
- "values": [{ "name": "absolute" }, { "name": "fixed" }]
1308
- },
1309
1294
  {
1310
1295
  "name": "distance",
1311
1296
  "description": "The distance in pixels from which to offset the panel away from its anchor.",
@@ -1762,11 +1747,6 @@
1762
1747
  "description": "Indicates whether or not the select is open. You can toggle this attribute to show and hide the menu, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the select's open state.",
1763
1748
  "values": []
1764
1749
  },
1765
- {
1766
- "name": "hoist",
1767
- "description": "Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
1768
- "values": []
1769
- },
1770
1750
  {
1771
1751
  "name": "label",
1772
1752
  "description": "The select's label. If you need to display HTML, use the `label` slot instead.",
@@ -1822,11 +1802,6 @@
1822
1802
  "description": "Indicates whether or not the side-nav is open.\nYou can toggle this attribute to show and hide the side-nav, or you can use the `show()` and\n`hide()` methods and this attribute will reflect the side-nav's open state.\n\nDepending on the \"variant\" attribute, the behavior will differ.\n\n__Default__:\nWith `open` will show the side-nav with an overlay.\nWithout `open`, the side-nav will be hidden.\n\n__Rail__:\nWith `open` will show the whole side-nav with an overlay for touch devices\nor without an overlay for non-touch devices.\nWithout `open`, the side-nav will only show the prefix of nav-item's.\n\n__Sticky__:\nWith `open` will show the whole side-nav with an overlay for touch devices\nor without an overlay for non-touch devices.\nWithout `open`, the side-nav will only show the prefix of nav-item's.",
1823
1803
  "values": []
1824
1804
  },
1825
- {
1826
- "name": "rail",
1827
- "description": "Use the rail attribute to only show the prefix of navigation items in closed state.\nThis will open on hover on the rail navigation.\nOn touch devices the navigation opens on click and shows an overlay.\n\nNote: The Rail is only an option if all Navigation Items on the first level have an Icon.\nIf this is not the case you should use a burger navigation.",
1828
- "values": []
1829
- },
1830
1805
  {
1831
1806
  "name": "variant",
1832
1807
  "description": "The variant that should be used to show the side navigation.\n\nThe following variants are supported:\n- **default** (default): Always shows the whole content and additionally an overlay.\nThis makes especially sense for applications, where you navigate to a place and stay\nthere for a longer time.\n- **rail**: Only show the prefix of navigation items in closed state.\nThis will open on hover on the rail navigation.\nOn touch devices the navigation opens on click and shows an overlay.\nNote: The rail variant is only an option if all Navigation Items on the first level\nhave an Icon.\nIf this is not the case you should use a burger navigation.\n- **sticky**: The side-nav has a pin button to show the side-nav in small (icon only)\nand full width. This variant is only possible for non-nested navigation items.\nNote: The sticky variant is only an option if all Navigation Items on the first level\nhave an Icon and if there are only \"first level\" items.",
@@ -2241,11 +2216,6 @@
2241
2216
  "name": "trigger",
2242
2217
  "description": "Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\noptions can be passed by separating them with a space. When manual is used, the tooltip must be activated\nprogrammatically.",
2243
2218
  "values": []
2244
- },
2245
- {
2246
- "name": "hoist",
2247
- "description": "Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\nscenarios.",
2248
- "values": []
2249
2219
  }
2250
2220
  ],
2251
2221
  "references": [
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "url": "https://www.sick.com"
5
5
  },
6
6
  "name": "@synergy-design-system/components",
7
- "version": "2.77.1",
7
+ "version": "3.0.0",
8
8
  "description": "",
9
9
  "repository": {
10
10
  "type": "git",
@@ -100,8 +100,8 @@
100
100
  "user-agent-data-types": "^0.4.2",
101
101
  "vendorism": "^5.0.0",
102
102
  "@synergy-design-system/eslint-config-syn": "0.1.0",
103
- "@synergy-design-system/tokens": "2.48.2",
104
- "@synergy-design-system/stylelint-config-syn": "0.1.0"
103
+ "@synergy-design-system/stylelint-config-syn": "0.1.0",
104
+ "@synergy-design-system/tokens": "3.0.0"
105
105
  },
106
106
  "dependencies": {
107
107
  "@floating-ui/dom": "^1.7.4",
@@ -111,7 +111,7 @@
111
111
  "lit": "^3.3.2"
112
112
  },
113
113
  "peerDependencies": {
114
- "@synergy-design-system/tokens": "^2.48.2"
114
+ "@synergy-design-system/tokens": "3.0.0"
115
115
  },
116
116
  "customElements": "dist/custom-elements.json",
117
117
  "scripts": {
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/details/details.custom.styles.ts"],
4
- "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n .details {\n background-color: unset;\n border-color: var(--syn-panel-border-color);\n border-radius: var(--syn-border-radius-none);\n border-width: 0 0 var(--syn-border-width-small);\n }\n\n /** #429: Use token for opacity */\n .details--disabled {\n opacity: var(--syn-opacity-50);\n }\n\n .details__summary-icon {\n align-self: flex-start;\n color: var(--syn-color-neutral-950);\n font-size: var(--syn-spacing-large);\n\n /**\n * As we are using an alignment of \"start\" instead of \"center\" make sure\n * the arrow starts on the same visual line as the first line of headline text\n */\n position: relative;\n top: 2px;\n }\n\n .details .details__summary {\n color: var(--syn-typography-color-text);\n }\n\n .details__header {\n gap: var(--syn-spacing-medium);\n }\n\n /**\n * As we are using top/down arrows for the details element,\n * we have to adjust the rotation of the icon when the details is open.\n */\n .details--open .details__summary-icon {\n rotate: var(--syn-details-open-rotation, 360deg);\n }\n\n /**\n * Adjustments for medium variant\n */\n .details--size-medium .details__header {\n padding: var(--syn-spacing-medium-large) 0;\n }\n\n .details--size-medium .details__content {\n font-size: var(--syn-font-size-small);\n line-height: var(--syn-line-height-normal);\n padding: var(--syn-spacing-medium) 0 var(--syn-spacing-large);\n }\n\n .details--size-medium .details__summary {\n font: var(--syn-body-medium-bold);\n }\n\n .details--size-medium .details__summary::slotted(syn-icon) {\n /* Avoid shrinking of the icon, if the text content of the summary is very long and multi line */\n flex-shrink: 0;\n font-size: var(--syn-spacing-large);\n margin-right: var(--syn-spacing-small);\n }\n\n /**\n * Adjustment for large variant\n */\n .details--size-large .details__header {\n padding: var(--syn-spacing-large) 0;\n }\n\n .details--size-large .details__content {\n font-size: var(--syn-font-size-medium);\n line-height: var(--syn-line-height-normal);\n padding: var(--syn-spacing-medium-large) 0 var(--syn-spacing-large);\n }\n\n .details--size-large .details__summary {\n font: var(--syn-body-large-bold);\n }\n\n .details--size-large .details__summary-icon {\n font-size: var(--syn-spacing-x-large);\n }\n\n .details--size-large .details__summary::slotted(syn-icon) {\n /* Avoid shrinking of the icon, if the text content of the summary is very long and multi line */\n flex-shrink: 0;\n font-size: var(--syn-spacing-x-large);\n margin-right: var(--syn-spacing-small);\n }\n\n /**\n * Add a visually visible hover effect to the summary element\n */\n .details:not(.details--disabled) .details__header:hover .details__summary,\n .details:not(.details--disabled) .details__header:hover .details__summary-icon {\n color: var(--syn-color-primary-700);\n }\n\n /**\n * Contained style\n */\n .details--contained {\n background-color: var(--syn-panel-background-color);\n border-radius: var(--syn-border-radius-medium);\n border-width: var(--syn-panel-border-width);\n }\n\n .details--contained .details__header:focus-visible {\n border-radius: var(--syn-border-radius-medium);\n }\n\n .details--size-medium.details--contained .details__header {\n padding: var(--syn-spacing-medium-large) var(--syn-spacing-large);\n }\n\n .details--size-medium.details--contained .details__content {\n padding: var(--syn-spacing-medium) var(--syn-spacing-large) var(--syn-spacing-large);\n }\n\n .details--size-large.details--contained .details__header {\n padding: var(--syn-spacing-large);\n }\n\n .details--size-large.details--contained .details__content {\n padding: var(--syn-spacing-medium-large) var(--syn-spacing-large) var(--syn-spacing-large);\n }\n`;\n"],
5
- "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,gCAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/badge/badge.custom.styles.ts"],
4
- "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n .badge {\n border: none;\n border-radius: var(--syn-border-radius-pill);\n font: var(--syn-body-small-bold);\n height: var(--syn-spacing-large);\n line-height: var(--syn-spacing-large);\n min-width: var(--syn-spacing-large);\n padding: 0 var(--syn-spacing-x-small);\n }\n\n /* Variant modifiers */\n .badge--primary {\n background-color: var(--syn-badge-informative-color-background, var(--syn-color-primary-600));\n color: var(--syn-badge-informative-color-text, var(--syn-typography-color-text-inverted));\n }\n\n .badge--success {\n background-color: var(--syn-badge-success-color-background, var(--syn-color-success-500));\n color: var(--syn-badge-success-color-text, var(--syn-typography-color-text));\n }\n\n .badge--neutral {\n background-color: var(--syn-badge-neutral-color-background, var(--syn-color-neutral-800));\n color: var(--syn-badge-neutral-color-text, var(--syn-typography-color-text-inverted));\n }\n\n .badge--warning {\n background-color: var(--syn-badge-warning-color-background, var(--syn-color-warning-400));\n color: var(--syn-badge-warning-color-text, var(--syn-typography-color-text));\n }\n\n .badge--danger {\n background-color: var(--syn-badge-error-color-background, var(--syn-color-error-600));\n color: var(--syn-badge-error-color-text, var(--syn-typography-color-text-inverted));\n }\n\n /**\n * Special treatment: If the badge is empty, show it as a dot only\n */\n :host(:empty) .badge {\n height: var(--syn-spacing-x-small);\n min-width: initial;\n padding: 0;\n width: var(--syn-spacing-x-small);\n }\n\n .visually-hidden {\n border: 0;\n /* stylelint-disable-next-line property-no-deprecated */\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n }\n`;\n"],
5
- "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,8BAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/dropdown/dropdown.component.ts"],
4
- "sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { animateTo, stopAnimations } from '../../internal/animate.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { getDeepestActiveElement } from '../../internal/active-elements.js';\nimport { getTabbableBoundary } from '../../internal/tabbable.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query } from 'lit/decorators.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynPopup from '../popup/popup.component.js';\nimport styles from './dropdown.styles.js';\nimport customStyles from './dropdown.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport type { SynSelectEvent } from '../../events/syn-select.js';\nimport type SynButton from '../button/button.js';\nimport type SynIconButton from '../icon-button/icon-button.js';\nimport type SynMenu from '../menu/menu.js';\n\n/**\n * @summary Dropdowns expose additional content that \"drops down\" in a panel.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-dropdown--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-popup\n *\n * @slot - The dropdown's main content.\n * @slot trigger - The dropdown's trigger, usually a `<syn-button>` element.\n *\n * @event syn-show - Emitted when the dropdown opens.\n * @event syn-after-show - Emitted after the dropdown opens and all animations are complete.\n * @event syn-hide - Emitted when the dropdown closes.\n * @event syn-after-hide - Emitted after the dropdown closes and all animations are complete.\n *\n * @csspart base - The component's base wrapper, an `<syn-popup>` element.\n * @csspart base__popup - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n * @csspart trigger - The container that wraps the trigger.\n * @csspart panel - The panel that gets shown when the dropdown is open.\n *\n * @animation dropdown.show - The animation to use when showing the dropdown.\n * @animation dropdown.hide - The animation to use when hiding the dropdown.\n */\nexport default class SynDropdown extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-popup': SynPopup };\n\n @query('.dropdown') popup: SynPopup;\n @query('.dropdown__trigger') trigger: HTMLSlotElement;\n @query('.dropdown__panel') panel: HTMLSlotElement;\n\n private readonly localize = new LocalizeController(this);\n private closeWatcher: CloseWatcher | null;\n\n /**\n * Indicates whether or not the dropdown is open. You can toggle this attribute to show and hide the dropdown, or you\n * can use the `show()` and `hide()` methods and this attribute will reflect the dropdown's open state.\n */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /**\n * The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\n * inside of the viewport.\n */\n @property({ reflect: true }) placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'bottom-start';\n\n /** Disables the dropdown so the panel will not open. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /**\n * By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\n * dropdowns that allow for multiple interactions.\n */\n @property({ attribute: 'stay-open-on-select', type: Boolean, reflect: true }) stayOpenOnSelect = false;\n\n /**\n * The dropdown will close when the user interacts outside of this element (e.g. clicking). Useful for composing other\n * components that use a dropdown internally.\n */\n @property({ attribute: false }) containingElement?: HTMLElement;\n\n /** The distance in pixels from which to offset the panel away from its trigger. */\n @property({ type: Number }) distance = 0;\n\n /** The distance in pixels from which to offset the panel along its trigger. */\n @property({ type: Number }) skidding = 0;\n\n /**\n * Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n * `overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.\n * @deprecated This property is deprecated and will be removed in the next major version.\n */\n @property({ type: Boolean }) hoist = false;\n\n /**\n * Syncs the popup width or height to that of the trigger element.\n */\n @property({ reflect: true }) sync: 'width' | 'height' | 'both' | undefined = undefined;\n\n connectedCallback() {\n super.connectedCallback();\n\n if (!this.containingElement) {\n this.containingElement = this;\n }\n }\n\n firstUpdated() {\n this.panel.hidden = !this.open;\n\n // If the dropdown is visible on init, update its position\n if (this.open) {\n this.addOpenListeners();\n this.popup.active = true;\n }\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.removeOpenListeners();\n this.hide();\n }\n\n focusOnTrigger() {\n const trigger = this.trigger.assignedElements({ flatten: true })[0] as HTMLElement | undefined;\n if (typeof trigger?.focus === 'function') {\n trigger.focus();\n }\n }\n\n getMenu() {\n return this.panel.assignedElements({ flatten: true }).find(el => el.tagName.toLowerCase() === 'syn-menu') as\n | SynMenu\n | undefined;\n }\n\n private handleKeyDown = (event: KeyboardEvent) => {\n // Close when escape is pressed inside an open dropdown. We need to listen on the panel itself and stop propagation\n // in case any ancestors are also listening for this key.\n if (this.open && event.key === 'Escape') {\n event.stopPropagation();\n this.hide();\n this.focusOnTrigger();\n }\n };\n\n private handleDocumentKeyDown = (event: KeyboardEvent) => {\n // Close when escape or tab is pressed\n if (event.key === 'Escape' && this.open && !this.closeWatcher) {\n event.stopPropagation();\n this.focusOnTrigger();\n this.hide();\n return;\n }\n\n // Handle tabbing\n if (event.key === 'Tab') {\n // Tabbing within an open menu should close the dropdown and refocus the trigger\n if (this.open && document.activeElement?.tagName.toLowerCase() === 'syn-menu-item') {\n event.preventDefault();\n this.hide();\n this.focusOnTrigger();\n return;\n }\n\n const computeClosestContaining = (element: Element | null | undefined, tagName: string): Element | null => {\n if (!element) return null;\n\n const closest = element.closest(tagName);\n if (closest) return closest;\n\n const rootNode = element.getRootNode();\n if (rootNode instanceof ShadowRoot) {\n return computeClosestContaining(rootNode.host, tagName);\n }\n\n return null;\n };\n\n // Tabbing outside of the containing element closes the panel\n //\n // If the dropdown is used within a shadow DOM, we need to obtain the activeElement within that shadowRoot,\n // otherwise `document.activeElement` will only return the name of the parent shadow DOM element.\n setTimeout(() => {\n const activeElement =\n this.containingElement?.getRootNode() instanceof ShadowRoot\n ? getDeepestActiveElement()\n : document.activeElement;\n\n if (\n !this.containingElement ||\n computeClosestContaining(activeElement, this.containingElement.tagName.toLowerCase()) !==\n this.containingElement\n ) {\n this.hide();\n }\n });\n }\n };\n\n private handleDocumentMouseDown = (event: MouseEvent) => {\n // Close when clicking outside of the containing element\n const path = event.composedPath();\n if (this.containingElement && !path.includes(this.containingElement)) {\n this.hide();\n }\n };\n\n private handlePanelSelect = (event: SynSelectEvent) => {\n const target = event.target as HTMLElement;\n\n // Hide the dropdown when a menu item is selected\n if (!this.stayOpenOnSelect && target.tagName.toLowerCase() === 'syn-menu') {\n this.hide();\n this.focusOnTrigger();\n }\n };\n\n handleTriggerClick() {\n if (this.open) {\n this.hide();\n } else {\n this.show();\n this.focusOnTrigger();\n }\n }\n\n async handleTriggerKeyDown(event: KeyboardEvent) {\n // When spacebar/enter is pressed, show the panel but don't focus on the menu. This let's the user press the same\n // key again to hide the menu in case they don't want to make a selection.\n if ([' ', 'Enter'].includes(event.key)) {\n event.preventDefault();\n this.handleTriggerClick();\n return;\n }\n\n const menu = this.getMenu();\n\n if (menu) {\n const menuItems = menu.getAllItems();\n const firstMenuItem = menuItems[0];\n const lastMenuItem = menuItems[menuItems.length - 1];\n\n // When up/down is pressed, we make the assumption that the user is familiar with the menu and plans to make a\n // selection. Rather than toggle the panel, we focus on the menu (if one exists) and activate the first item for\n // faster navigation.\n if (['ArrowDown', 'ArrowUp', 'Home', 'End'].includes(event.key)) {\n event.preventDefault();\n\n // Show the menu if it's not already open\n if (!this.open) {\n this.show();\n\n // Wait for the dropdown to open before focusing, but not the animation\n await this.updateComplete;\n }\n\n if (menuItems.length > 0) {\n // Focus on the first/last menu item after showing\n this.updateComplete.then(() => {\n if (event.key === 'ArrowDown' || event.key === 'Home') {\n menu.setCurrentItem(firstMenuItem);\n firstMenuItem.focus();\n }\n\n if (event.key === 'ArrowUp' || event.key === 'End') {\n menu.setCurrentItem(lastMenuItem);\n lastMenuItem.focus();\n }\n });\n }\n }\n }\n }\n\n handleTriggerKeyUp(event: KeyboardEvent) {\n // Prevent space from triggering a click event in Firefox\n if (event.key === ' ') {\n event.preventDefault();\n }\n }\n\n handleTriggerSlotChange() {\n this.updateAccessibleTrigger();\n }\n\n //\n // Slotted triggers can be arbitrary content, but we need to link them to the dropdown panel with `aria-haspopup` and\n // `aria-expanded`. These must be applied to the \"accessible trigger\" (the tabbable portion of the trigger element\n // that gets slotted in) so screen readers will understand them. The accessible trigger could be the slotted element,\n // a child of the slotted element, or an element in the slotted element's shadow root.\n //\n // For example, the accessible trigger of an <syn-button> is a <button> located inside its shadow root.\n //\n // To determine this, we assume the first tabbable element in the trigger slot is the \"accessible trigger.\"\n //\n updateAccessibleTrigger() {\n const assignedElements = this.trigger.assignedElements({ flatten: true }) as HTMLElement[];\n const accessibleTrigger = assignedElements.find(el => getTabbableBoundary(el).start);\n let target: HTMLElement;\n\n if (accessibleTrigger) {\n switch (accessibleTrigger.tagName.toLowerCase()) {\n // Synergy buttons have to update the internal button so it's announced correctly by screen readers\n case 'syn-button':\n case 'syn-icon-button':\n target = (accessibleTrigger as SynButton | SynIconButton).button;\n break;\n\n default:\n target = accessibleTrigger;\n }\n\n target.setAttribute('aria-haspopup', 'true');\n target.setAttribute('aria-expanded', this.open ? 'true' : 'false');\n }\n }\n\n /** Shows the dropdown panel. */\n async show() {\n if (this.open) {\n return undefined;\n }\n\n this.open = true;\n return waitForEvent(this, 'syn-after-show');\n }\n\n /** Hides the dropdown panel */\n async hide() {\n if (!this.open) {\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'syn-after-hide');\n }\n\n /**\n * Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\n * is activated.\n */\n reposition() {\n this.popup.reposition();\n }\n\n addOpenListeners() {\n this.panel.addEventListener('syn-select', this.handlePanelSelect);\n if ('CloseWatcher' in window) {\n this.closeWatcher?.destroy();\n this.closeWatcher = new CloseWatcher();\n this.closeWatcher.onclose = () => {\n this.hide();\n this.focusOnTrigger();\n };\n } else {\n this.panel.addEventListener('keydown', this.handleKeyDown);\n }\n document.addEventListener('keydown', this.handleDocumentKeyDown);\n document.addEventListener('mousedown', this.handleDocumentMouseDown);\n }\n\n removeOpenListeners() {\n if (this.panel) {\n this.panel.removeEventListener('syn-select', this.handlePanelSelect);\n this.panel.removeEventListener('keydown', this.handleKeyDown);\n }\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n document.removeEventListener('mousedown', this.handleDocumentMouseDown);\n this.closeWatcher?.destroy();\n }\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.disabled) {\n this.open = false;\n return;\n }\n\n this.updateAccessibleTrigger();\n\n if (this.open) {\n // Show\n this.emit('syn-show');\n this.addOpenListeners();\n\n await stopAnimations(this);\n this.panel.hidden = false;\n this.popup.active = true;\n const { keyframes, options } = getAnimation(this, 'dropdown.show', { dir: this.localize.dir() });\n await animateTo(this.popup.popup, keyframes, options);\n\n this.emit('syn-after-show');\n } else {\n // Hide\n this.emit('syn-hide');\n this.removeOpenListeners();\n\n await stopAnimations(this);\n const { keyframes, options } = getAnimation(this, 'dropdown.hide', { dir: this.localize.dir() });\n await animateTo(this.popup.popup, keyframes, options);\n this.panel.hidden = true;\n this.popup.active = false;\n\n this.emit('syn-after-hide');\n }\n }\n\n render() {\n return html`\n <syn-popup\n part=\"base\"\n exportparts=\"popup:base__popup\"\n id=\"dropdown\"\n placement=${this.placement}\n distance=${this.distance}\n skidding=${this.skidding}\n strategy=${this.hoist ? 'fixed' : 'absolute'}\n flip\n shift\n auto-size=\"vertical\"\n auto-size-padding=\"10\"\n sync=${ifDefined(this.sync ? this.sync : undefined)}\n class=${classMap({\n dropdown: true,\n 'dropdown--open': this.open\n })}\n >\n <slot\n name=\"trigger\"\n slot=\"anchor\"\n part=\"trigger\"\n class=\"dropdown__trigger\"\n @click=${this.handleTriggerClick}\n @keydown=${this.handleTriggerKeyDown}\n @keyup=${this.handleTriggerKeyUp}\n @slotchange=${this.handleTriggerSlotChange}\n ></slot>\n\n <div aria-hidden=${this.open ? 'false' : 'true'} aria-labelledby=\"dropdown\">\n <slot part=\"panel\" class=\"dropdown__panel\"></slot>\n </div>\n </syn-popup>\n `;\n }\n}\n\nsetDefaultAnimation('dropdown.show', {\n keyframes: [\n { opacity: 0, scale: 0.9 },\n { opacity: 1, scale: 1 }\n ],\n options: { duration: 100, easing: 'ease' }\n});\n\nsetDefaultAnimation('dropdown.hide', {\n keyframes: [\n { opacity: 1, scale: 1 },\n { opacity: 0, scale: 0.9 }\n ],\n options: { duration: 100, easing: 'ease' }\n});\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAS,gBAAgB;AAIzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAE1B,SAAS,U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AO,IAAI;AAAA,IACzB,EAAE,SAAS,GAAG,OAAO,EAAE;AAAA,EACzB;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAED,oBAAoB,iBAAiB;AAAA,EACnC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,OAAO,EAAE;AAAA,IACvB,EAAE,SAAS,GAAG,OAAO,IAAI;AAAA,EAC3B;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;",
6
- "names": ["_a"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/icon/sick2025-system-icons.ts"],
4
- "sourcesContent": ["/* eslint-disable */\nexport const icons = {\n \"add\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M11.25 12.75H5.5v-1.5h5.75V5.5h1.5v5.75h5.75v1.5h-5.75v5.75h-1.5z\\\"/></svg>\",\n \"check\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m9.55 17.654-5.334-5.335 1.069-1.069 4.265 4.265 9.166-9.165 1.069 1.07z\\\"/></svg>\",\n \"chevron-down\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12 15.039 6.346 9.384 7.4 8.331l4.6 4.6 4.6-4.6 1.054 1.053z\\\"/></svg>\",\n \"chevron-right\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m12.946 12-4.6-4.6L9.4 6.346 15.054 12 9.4 17.654 8.346 16.6z\\\"/></svg>\",\n \"details-close\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M5.5 12.75v-1.5h13v1.5z\\\"/></svg>\",\n \"details-open\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M11.25 12.75H5.5v-1.5h5.75V5.5h1.5v5.75h5.75v1.5h-5.75v5.75h-1.5z\\\"/></svg>\",\n \"eye\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12.002 15.577q1.7 0 2.888-1.19t1.187-2.89-1.19-2.886-2.89-1.188-2.886 1.19-1.188 2.89 1.19 2.887 2.89 1.187M12 14.2q-1.125 0-1.912-.787A2.6 2.6 0 0 1 9.3 11.5q0-1.125.788-1.912A2.6 2.6 0 0 1 12 8.8q1.125 0 1.913.787.787.788.787 1.913t-.787 1.912A2.6 2.6 0 0 1 12 14.2m.001 4.3q-3.45 0-6.285-1.903-2.837-1.904-4.177-5.097 1.34-3.194 4.175-5.097T12 4.5t6.286 1.903q2.836 1.904 4.177 5.097-1.341 3.195-4.176 5.097T12.001 18.5\\\"/></svg>\",\n \"eye-slash\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m19.762 21.87-4.046-4.016q-.77.285-1.705.465-.936.18-2.01.181-3.525 0-6.341-1.939-2.815-1.938-4.121-5.061.554-1.325 1.43-2.472A11.4 11.4 0 0 1 4.9 7.038l-2.77-2.8 1.055-1.053 17.63 17.63zM12 15.576q.314 0 .642-.054.33-.053.585-.158l-5.092-5.092q-.104.275-.158.599a4 4 0 0 0-.054.628q0 1.702 1.188 2.89 1.186 1.187 2.89 1.187m6.954.507-3.137-3.111q.118-.32.189-.684.07-.366.071-.789 0-1.702-1.187-2.89Q13.702 7.424 12 7.424q-.422 0-.779.076-.355.076-.684.228L8.035 5.235a10 10 0 0 1 1.936-.556q.99-.18 2.03-.179 3.514 0 6.34 1.939 2.824 1.938 4.12 5.061-.555 1.34-1.435 2.502a11 11 0 0 1-2.072 2.082m-4.27-4.234-3.009-3q.661-.124 1.25.098.586.223 1.012.663.435.44.636 1.033.202.593.112 1.206\\\"/></svg>\",\n \"indeterminate\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M5.5 12.75v-1.5h13v1.5z\\\"/></svg>\",\n \"logo-color\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"295\\\" height=\\\"94\\\" viewBox=\\\"0 0 295 94\\\" fill='currentColor'><g clip-path=\\\"url(#a)\\\"><path d=\\\"M166.39 0c17.638 0 32.976 9.895 40.876 24.493L188.19 34.788c-4.268-7.865-12.516-13.108-21.8-13.108-13.545 0-24.876 11.14-24.876 25.32s11.331 25.32 24.876 25.32c9.476 0 17.925-5.452 22.106-13.596l19.058 10.347C199.723 83.905 184.202 94 166.39 94c-25.713 0-46.556-21.044-46.556-47S140.677 0 166.39 0M56.85 1.673c12.543 0 21.498 9.389 21.498 21.296H26.436c-6.977.993-7.421 11.697 0 12.908H54.08c15.164.41 27.263 12.481 27.263 27.768 0 14.084-11.95 28.238-27.194 28.238H25.643c-12.134 0-25.495-6.55-25.495-21.758.151 0 46.601 0 54.011.009 7.9-1.577 7.02-11.541 0-12.917H26.436C11.68 57.217 0 44.622 0 29.614 0 15.182 10.792 1.673 26.436 1.673zm53.803 90.21H89.349V1.664h21.304zm126.48-90.219v36.182h8.292l22.402-36.182h26.497L263.795 47.35l30.085 44.534h-26.505L244.702 56.93h-7.569v34.953h-21.549V1.664z\\\"/></g><defs><clipPath id=\\\"a\\\"><path d=\\\"M0 0h295v94H0z\\\"/></clipPath></defs></svg>\",\n \"menu\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M3.5 17.635v-1.5h17v1.5zm0-4.885v-1.5h17v1.5zm0-4.885v-1.5h17v1.5z\\\"/></svg>\",\n \"more\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M6.23 13.5q-.618 0-1.059-.44a1.44 1.44 0 0 1-.44-1.06q0-.619.44-1.06.44-.44 1.06-.44.618 0 1.06.44.44.442.44 1.06t-.44 1.06q-.442.44-1.06.44m5.77 0q-.619 0-1.06-.44A1.44 1.44 0 0 1 10.5 12q0-.619.44-1.06.441-.44 1.06-.44.618 0 1.06.44.44.442.44 1.06t-.44 1.06q-.442.44-1.06.44m5.77 0q-.62 0-1.06-.44a1.44 1.44 0 0 1-.44-1.06q0-.619.44-1.06.44-.44 1.06-.44.618 0 1.058.44.441.442.441 1.06t-.44 1.06q-.44.44-1.06.44\\\"/></svg>\",\n \"more-vert\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12 19.27q-.619 0-1.06-.442a1.44 1.44 0 0 1-.44-1.059q0-.618.44-1.06.442-.44 1.06-.44t1.06.44q.44.442.44 1.06 0 .62-.44 1.06-.442.44-1.06.44m0-5.77q-.619 0-1.06-.44A1.44 1.44 0 0 1 10.5 12q0-.619.44-1.06.442-.44 1.06-.44t1.06.44q.44.441.44 1.06t-.44 1.06-1.06.44m0-5.77q-.619 0-1.06-.44a1.44 1.44 0 0 1-.44-1.06q0-.618.44-1.059.442-.44 1.06-.44t1.06.44q.44.44.44 1.06 0 .618-.44 1.06-.442.44-1.06.44\\\"/></svg>\",\n \"placeholder\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M3.5 20.5V13H5v6h6v1.5zm9.5 0V19h6v-6h1.5v7.5zm-6.25-3.75 2.48-3.289 2 2.558 2.809-3.653 3.288 4.384zM3.5 11V3.5H11V5H5v6zM19 11V5h-6V3.5h7.5V11zm-3.594-1.096q-.566 0-.938-.37a1.26 1.26 0 0 1-.372-.936q0-.566.37-.938t.936-.372.938.37q.371.37.372.936 0 .566-.37.938a1.26 1.26 0 0 1-.936.372\\\"/></svg>\",\n \"radio\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\" fill='currentColor'><path d=\\\"M6 10.75a4.6 4.6 0 0 1-1.852-.374A4.8 4.8 0 0 1 2.64 9.361a4.8 4.8 0 0 1-1.016-1.508 4.6 4.6 0 0 1-.374-1.852q0-.986.374-1.853.375-.866 1.015-1.508.641-.641 1.508-1.016a4.6 4.6 0 0 1 1.852-.374q.986 0 1.853.374.867.375 1.508 1.015.642.641 1.016 1.508t.374 1.852-.374 1.853A4.8 4.8 0 0 1 9.361 9.36q-.642.642-1.508 1.016a4.6 4.6 0 0 1-1.852.374\\\"/></svg>\",\n \"status-error\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12 16.712q.343 0 .575-.233a.78.78 0 0 0 .233-.575.78.78 0 0 0-.232-.576.78.78 0 0 0-.576-.232.78.78 0 0 0-.575.232.78.78 0 0 0-.233.576q0 .343.232.575a.78.78 0 0 0 .576.233m-.75-3.481h1.5V7.192h-1.5zM8.461 20.5 3.5 15.543V8.462L8.457 3.5h7.082L20.5 8.457v7.082L15.543 20.5zM9.1 19h5.8l4.1-4.1V9.1L14.9 5H9.1L5 9.1v5.8z\\\"/></svg>\",\n \"status-informative\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M11.25 16.75h1.5V11h-1.5zM12 9.289q.343 0 .575-.233a.78.78 0 0 0 .233-.575.78.78 0 0 0-.232-.576.78.78 0 0 0-.576-.232.78.78 0 0 0-.575.232.78.78 0 0 0-.233.576q0 .343.232.575A.78.78 0 0 0 12 9.29m.002 12.211a9.3 9.3 0 0 1-3.706-.748 9.6 9.6 0 0 1-3.016-2.03 9.6 9.6 0 0 1-2.032-3.016 9.25 9.25 0 0 1-.748-3.704q0-1.972.748-3.706a9.6 9.6 0 0 1 2.03-3.016 9.6 9.6 0 0 1 3.016-2.032 9.25 9.25 0 0 1 3.704-.748q1.972 0 3.706.748a9.6 9.6 0 0 1 3.017 2.03 9.6 9.6 0 0 1 2.03 3.016 9.25 9.25 0 0 1 .749 3.704q0 1.972-.748 3.706a9.6 9.6 0 0 1-2.03 3.017 9.6 9.6 0 0 1-3.016 2.03 9.25 9.25 0 0 1-3.704.749M12 20q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4 6.325 6.325 4 12t2.325 5.675T12 20\\\"/></svg>\",\n \"status-neutral\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m9.692 21.5-.38-3.046a5.3 5.3 0 0 1-1.579-.896L4.912 18.75l-2.308-4 2.44-1.844a5 5 0 0 1-.049-.448 7 7 0 0 1 0-.882q.014-.22.05-.482L2.603 9.25l2.308-3.98 2.811 1.182a6.4 6.4 0 0 1 .772-.524 5 5 0 0 1 .807-.382l.39-3.046h4.616l.38 3.056q.45.163.815.381t.735.515l2.85-1.183 2.308 3.981-2.479 1.873q.054.243.059.453t.005.424q0 .204-.01.415-.01.21-.069.481l2.46 1.854-2.308 4-2.815-1.202q-.372.296-.758.524a4.6 4.6 0 0 1-.793.372l-.38 3.056zM11 20h1.966l.359-2.679q.765-.2 1.399-.568.634-.369 1.222-.947l2.485 1.044.985-1.7-2.17-1.635q.125-.387.17-.761a6.3 6.3 0 0 0 0-1.508 4 4 0 0 0-.17-.742l2.189-1.654-.985-1.7-2.513 1.06a5.3 5.3 0 0 0-1.203-.949 5.2 5.2 0 0 0-1.418-.582L13 4h-1.985l-.33 2.67a5.2 5.2 0 0 0-1.414.553q-.648.374-1.237.962L5.55 7.15l-.984 1.7 2.159 1.61a3.7 3.7 0 0 0-.175.74 6.3 6.3 0 0 0 0 1.575q.05.375.165.74l-2.15 1.635.985 1.7 2.475-1.05q.57.585 1.217.958t1.433.573zm1.011-5q1.249 0 2.125-.876A2.9 2.9 0 0 0 15.012 12q0-1.248-.876-2.124A2.9 2.9 0 0 0 12.012 9q-1.264 0-2.132.876A2.9 2.9 0 0 0 9.01 12q0 1.248.869 2.124T12.01 15\\\"/></svg>\",\n \"status-success\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m10.58 16.254 6.724-6.723-1.054-1.054-5.67 5.67-2.85-2.85-1.053 1.053zm1.422 5.246a9.3 9.3 0 0 1-3.706-.748 9.6 9.6 0 0 1-3.016-2.03 9.6 9.6 0 0 1-2.032-3.016 9.25 9.25 0 0 1-.748-3.704q0-1.972.748-3.706a9.6 9.6 0 0 1 2.03-3.016 9.6 9.6 0 0 1 3.016-2.032 9.25 9.25 0 0 1 3.704-.748q1.972 0 3.706.748a9.6 9.6 0 0 1 3.017 2.03 9.6 9.6 0 0 1 2.03 3.016 9.25 9.25 0 0 1 .749 3.704q0 1.972-.748 3.706a9.6 9.6 0 0 1-2.03 3.017 9.6 9.6 0 0 1-3.016 2.03 9.25 9.25 0 0 1-3.704.749M12 20q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4 6.325 6.325 4 12t2.325 5.675T12 20\\\"/></svg>\",\n \"status-warning\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M1.865 20.5 12 3l10.135 17.5zM4.45 19h15.1L12 6zM12 17.808q.343 0 .575-.232a.78.78 0 0 0 .233-.576.78.78 0 0 0-.232-.576.78.78 0 0 0-.576-.232.78.78 0 0 0-.575.232.78.78 0 0 0-.233.576q0 .343.232.576a.78.78 0 0 0 .576.232m-.75-2.616h1.5v-5h-1.5z\\\"/></svg>\",\n \"sticky_sidebar\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M9.5 19H19V5H9.5zm-6 1.5v-17h17v17z\\\"/></svg>\",\n \"tabs-left\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m7.373 12.75 5.696 5.696L12 19.5 4.5 12 12 4.5l1.07 1.054-5.697 5.696H19.5v1.5z\\\"/></svg>\",\n \"tabs-right\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M16.627 12.75H4.5v-1.5h12.127l-5.696-5.696L12 4.5l7.5 7.5-7.5 7.5-1.07-1.054z\\\"/></svg>\",\n \"upload-file\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M11.25 18.385h1.5V13.95l1.85 1.85 1.054-1.07L12 11.078l-3.654 3.654 1.07 1.053 1.834-1.834zM4.5 21.5v-19h9.75l5.25 5.25V21.5zm9-13V4H6v16h12V8.5z\\\"/></svg>\",\n \"x-circle-fill\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m8.4 16.654 3.6-3.6 3.6 3.6 1.054-1.054-3.6-3.6 3.6-3.6L15.6 7.346l-3.6 3.6-3.6-3.6L7.346 8.4l3.6 3.6-3.6 3.6zm3.602 4.846a9.3 9.3 0 0 1-3.706-.748 9.6 9.6 0 0 1-3.016-2.03 9.6 9.6 0 0 1-2.032-3.016 9.25 9.25 0 0 1-.748-3.704q0-1.972.748-3.706a9.6 9.6 0 0 1 2.03-3.016 9.6 9.6 0 0 1 3.016-2.032 9.25 9.25 0 0 1 3.704-.748q1.972 0 3.706.748a9.6 9.6 0 0 1 3.017 2.03 9.6 9.6 0 0 1 2.03 3.016 9.25 9.25 0 0 1 .749 3.704q0 1.972-.748 3.706a9.6 9.6 0 0 1-2.03 3.017 9.6 9.6 0 0 1-3.016 2.03 9.25 9.25 0 0 1-3.704.749\\\"/></svg>\",\n \"x-lg\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M6.4 18.654 5.346 17.6l5.6-5.6-5.6-5.6L6.4 5.346l5.6 5.6 5.6-5.6L18.654 6.4l-5.6 5.6 5.6 5.6-1.054 1.054-5.6-5.6z\\\"/></svg>\"\n};\n"],
5
- "mappings": ";AACO,IAAM,QAAQ;AAAA,EACnB,OAAO;AAAA,EACP,SAAS;AAAA,EACT,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,OAAO;AAAA,EACP,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,eAAe;AAAA,EACf,SAAS;AAAA,EACT,gBAAgB;AAAA,EAChB,sBAAsB;AAAA,EACtB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,aAAa;AAAA,EACb,cAAc;AAAA,EACd,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,QAAQ;AACV;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/spinner/spinner.custom.styles.ts"],
4
- "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n --speed: var(--syn-transition-x-slow);\n --indicator-color: var(--syn-interactive-emphasis-color, var(--syn-color-primary-600));\n }\n\n .spinner__indicator {\n stroke-dasharray: 75% 360%;\n stroke-linecap: initial;\n }\n\n /**\n * Make sure the spinner track is using the correct color.\n */\n .spinner__track {\n filter: saturate(0);\n opacity: var(--syn-spinner-opacity, 0.16);\n stroke: var(--indicator-color);\n }\n\n @keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n }\n`;\n"],
5
- "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,gCAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/file/file.styles.ts"],
4
- "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n display: block;\n }\n\n .input__control {\n /**\n * Visually hide the input type=file without display:none\n * This is necessary for accessibility reasons and so the native html input validation popup \n * is shown.\n */\n border: 0;\n clip-path: inset(50%);\n height: 1px;\n margin: 0;\n overflow: hidden;\n padding: 0;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n }\n\n .form-control--droparea .input__control {\n /* move the input into the center, so the native validation popup is centered to the droparea */\n left: 50%;\n }\n\n .form-control-input {\n /* needed, so the native validation popup is centered correctly */\n position: relative;\n }\n\n /* Regular Input with button only */\n .button__wrapper {\n align-items: center;\n display: flex;\n gap: var(--syn-input-spacing-medium);\n }\n\n .form-control--small .button__wrapper {\n gap: var(--syn-input-spacing-small);\n }\n\n :host([size=\"large\"]) .button__wrapper {\n gap: var(--syn-input-spacing-large);\n }\n\n /**\n * The value of the chosen file(s) or the placeholder text\n */\n .input__value {\n color: var(--syn-input-color);\n font-size: var(--syn-input-label-font-size-medium);\n }\n\n .input__value.input__value--hidden {\n display: none;\n }\n\n .input__value--placeholder {\n color: var(--syn-input-help-text-color);\n }\n\n .form-control--small .input__value {\n font-size: var(--syn-input-label-font-size-small);\n }\n\n .form-control--large .input__value {\n font-size: var(--syn-input-label-font-size-large);\n }\n\n /**\n * Special case for regular inputs:\n * When the user uses drag and drop, highlight the button with the primary color\n */\n .form-control--user-dragging:not([disabled]) .button::part(base) {\n background: none;\n border-color: var(--syn-interactive-emphasis-color-hover, var(--syn-color-primary-900));\n color: var(--syn-interactive-emphasis-color-hover, var(--syn-color-primary-900));\n }\n\n /* Drop Area */\n .droparea {\n --highlight-color: var(--syn-interactive-emphasis-color, var(--syn-color-primary-600));\n\n border: var(--syn-input-border-width) dashed var(--syn-input-border-color);\n border-radius: var(--syn-input-border-radius-medium);\n font: var(--syn-body-medium-regular);\n padding: var(--syn-spacing-x-large) var(--syn-spacing-large);\n transition: var(--syn-transition-medium) background;\n }\n\n .droparea:focus-visible {\n border: var(--syn-input-border-width) dashed var(--syn-interactive-emphasis-color, var(--syn-color-primary-600));\n outline: var(--syn-focus-ring);\n outline-offset: var(--syn-focus-ring-offset);\n }\n\n /* Adjust the highlight to match an inactive item */\n :host([disabled]) .droparea {\n --highlight-color: var(--syn-color-neutral-600);\n }\n\n :host([disabled]) .input__value {\n display: none;\n }\n\n .droparea__background {\n align-items: center;\n display: flex;\n gap: var(--syn-spacing-x-small);\n padding: var(--syn-spacing-x-small) var(--syn-spacing-medium);\n }\n\n .droparea__icon {\n align-items: center;\n color: var(--highlight-color);\n display: flex;\n font-size: var(--syn-spacing-3x-large);\n }\n\n .droparea__text {\n display: flex;\n flex-direction: column;\n gap: var(--syn-spacing-3x-small);\n margin: 0;\n }\n\n .droparea__text strong {\n color: var(--highlight-color);\n font-weight: var(--syn-font-weight-bold);\n }\n\n /* Sizes */\n /* stylelint-disable-next-line no-descending-specificity */\n .form-control--small .droparea {\n font: var(--syn-body-small-regular);\n }\n\n .form-control--small .droparea__icon {\n font-size: var(--syn-spacing-2x-large)\n }\n\n /* stylelint-disable-next-line no-descending-specificity */\n .form-control--large .droparea {\n font: var(--syn-body-large-regular);\n }\n\n .form-control--large .droparea__icon {\n font-size: var(--syn-spacing-4x-large)\n }\n\n /* Disabled Styles */\n :host([disabled]) .droparea,\n :host([disabled]) .input__value {\n cursor: not-allowed;\n opacity: var(--syn-input-disabled-opacity);\n }\n\n :host(:not([disabled])) .form-control--user-dragging .droparea {\n background: var(--syn-color-primary-50);\n border: var(--syn-input-border-width) solid var(--syn-interactive-emphasis-color, var(--syn-color-primary-600));\n cursor: pointer;\n }\n\n :host(:not([disabled])) .droparea:not(:focus-visible):hover {\n --highlight-color: var(--syn-interactive-emphasis-color-hover, var(--syn-color-primary-900));\n\n border: var(--syn-input-border-width) dashed var(--syn-input-border-color-hover);\n cursor: pointer;\n }\n\n /* Validation */\n /* stylelint-disable-next-line no-descending-specificity */\n :host([data-user-invalid]:not([disabled])) .droparea {\n border: var(--syn-input-border-width) dashed var(--syn-input-focus-ring-error);\n }\n`;\n"],
5
- "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,sBAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/popup/popup.component.ts"],
4
- "sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { arrow, autoUpdate, computePosition, flip, offset, platform, shift, size } from '@floating-ui/dom';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { offsetParent } from 'composed-offset-position';\nimport { property, query } from 'lit/decorators.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './popup.styles.js';\nimport customStyles from './popup.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\nconst SUPPORTS_POPOVER = globalThis?.HTMLElement?.prototype.hasOwnProperty('popover');\n\nexport interface VirtualElement {\n getBoundingClientRect: () => DOMRect;\n contextElement?: Element;\n}\n\nfunction isVirtualElement(e: unknown): e is VirtualElement {\n return (\n e !== null &&\n typeof e === 'object' &&\n 'getBoundingClientRect' in e &&\n ('contextElement' in e ? e.contextElement instanceof Element : true)\n );\n}\n\n/**\n * @summary Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-popup--docs\n * @status stable\n * @since 2.0\n *\n * @event syn-reposition - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive\n * operations in your listener or consider debouncing it.\n *\n * @slot - The popup's content.\n * @slot anchor - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the\n * `anchor` attribute or property instead.\n *\n * @csspart arrow - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are\n * assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and\n * maybe a border or box shadow.\n * @csspart popup - The popup's container. Useful for setting a background color, box shadow, etc.\n * @csspart hover-bridge - The hover bridge element. Only available when the `hover-bridge` option is enabled.\n *\n * @cssproperty [--arrow-size=6px] - The size of the arrow. Note that an arrow won't be shown unless the `arrow`\n * attribute is used.\n * @cssproperty [--arrow-color=var(--syn-color-neutral-0)] - The color of the arrow.\n * @cssproperty [--auto-size-available-width] - A read-only custom property that determines the amount of width the\n * popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only\n * available when using `auto-size`.\n * @cssproperty [--auto-size-available-height] - A read-only custom property that determines the amount of height the\n * popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only\n * available when using `auto-size`.\n */\nexport default class SynPopup extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n private anchorEl: Element | VirtualElement | null;\n private cleanup: ReturnType<typeof autoUpdate> | undefined;\n private readonly localize = new LocalizeController(this);\n\n /** A reference to the internal popup container. Useful for animating and styling the popup with JavaScript. */\n @query('.popup') popup: HTMLElement;\n @query('.popup__arrow') private arrowEl: HTMLElement;\n\n /**\n * The element the popup will be anchored to. If the anchor lives outside of the popup, you can provide the anchor\n * element `id`, a DOM element reference, or a `VirtualElement`. If the anchor lives inside the popup, use the\n * `anchor` slot instead.\n */\n @property() anchor: Element | string | VirtualElement;\n\n /**\n * Activates the positioning logic and shows the popup. When this attribute is removed, the positioning logic is torn\n * down and the popup will be hidden.\n */\n @property({ type: Boolean, reflect: true }) active = false;\n\n /**\n * The preferred placement of the popup. Note that the actual placement will vary as configured to keep the\n * panel inside of the viewport.\n */\n @property({ reflect: true }) placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'top';\n\n /**\n * Determines how the popup is positioned. The `absolute` strategy works well in most cases, but if overflow is\n * clipped, using a `fixed` position strategy can often workaround it.\n * @deprecated The strategy property is deprecated and will be removed in future versions. Modern browsers support the popover element which is used internally instead.\n */\n @property({ reflect: true }) strategy: 'absolute' | 'fixed' = 'absolute';\n\n /** The distance in pixels from which to offset the panel away from its anchor. */\n @property({ type: Number }) distance = 0;\n\n /** The distance in pixels from which to offset the panel along its anchor. */\n @property({ type: Number }) skidding = 0;\n\n /**\n * Attaches an arrow to the popup. The arrow's size and color can be customized using the `--arrow-size` and\n * `--arrow-color` custom properties. For additional customizations, you can also target the arrow using\n * `::part(arrow)` in your stylesheet.\n */\n @property({ type: Boolean }) arrow = false;\n\n /**\n * The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the\n * anchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will\n * align the arrow to the start, end, or center of the popover instead.\n */\n @property({ attribute: 'arrow-placement' }) arrowPlacement: 'start' | 'end' | 'center' | 'anchor' = 'anchor';\n\n /**\n * The amount of padding between the arrow and the edges of the popup. If the popup has a border-radius, for example,\n * this will prevent it from overflowing the corners.\n */\n @property({ attribute: 'arrow-padding', type: Number }) arrowPadding = 10;\n\n /**\n * When set, placement of the popup will flip to the opposite site to keep it in view. You can use\n * `flipFallbackPlacements` to further configure how the fallback placement is determined.\n */\n @property({ type: Boolean }) flip = false;\n\n /**\n * If the preferred placement doesn't fit, popup will be tested in these fallback placements until one fits. Must be a\n * string of any number of placements separated by a space, e.g. \"top bottom left\". If no placement fits, the flip\n * fallback strategy will be used instead.\n * */\n @property({\n attribute: 'flip-fallback-placements',\n converter: {\n fromAttribute: (value: string) => {\n return value\n .split(' ')\n .map(p => p.trim())\n .filter(p => p !== '');\n },\n toAttribute: (value: []) => {\n return value.join(' ');\n }\n }\n })\n flipFallbackPlacements = '';\n\n /**\n * When neither the preferred placement nor the fallback placements fit, this value will be used to determine whether\n * the popup should be positioned using the best available fit based on available space or as it was initially\n * preferred.\n */\n @property({ attribute: 'flip-fallback-strategy' }) flipFallbackStrategy: 'best-fit' | 'initial' = 'best-fit';\n\n /**\n * The flip boundary describes clipping element(s) that overflow will be checked relative to when flipping. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) flipBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the flip behavior will occur. */\n @property({ attribute: 'flip-padding', type: Number }) flipPadding = 0;\n\n /** Moves the popup along the axis to keep it in view when clipped. */\n @property({ type: Boolean }) shift = false;\n\n /**\n * The shift boundary describes clipping element(s) that overflow will be checked relative to when shifting. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) shiftBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the shift behavior will occur. */\n @property({ attribute: 'shift-padding', type: Number }) shiftPadding = 0;\n\n /** When set, this will cause the popup to automatically resize itself to prevent it from overflowing. */\n @property({ attribute: 'auto-size' }) autoSize: 'horizontal' | 'vertical' | 'both';\n\n /** Syncs the popup's width or height to that of the anchor element. */\n @property() sync: 'width' | 'height' | 'both';\n\n /**\n * The auto-size boundary describes clipping element(s) that overflow will be checked relative to when resizing. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) autoSizeBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the auto-size behavior will occur. */\n @property({ attribute: 'auto-size-padding', type: Number }) autoSizePadding = 0;\n\n /**\n * When a gap exists between the anchor and the popup element, this option will add a \"hover bridge\" that fills the\n * gap using an invisible element. This makes listening for events such as `mouseenter` and `mouseleave` more sane\n * because the pointer never technically leaves the element. The hover bridge will only be drawn when the popover is\n * active.\n */\n @property({ attribute: 'hover-bridge', type: Boolean }) hoverBridge = false;\n\n async connectedCallback() {\n super.connectedCallback();\n\n // Start the positioner after the first update\n await this.updateComplete;\n this.start();\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.stop();\n }\n\n async updated(changedProps: Map<string, unknown>) {\n super.updated(changedProps);\n\n // Start or stop the positioner when active changes\n if (changedProps.has('active')) {\n if (this.active) {\n this.start();\n } else {\n this.stop();\n }\n }\n\n // Update the anchor when anchor changes\n if (changedProps.has('anchor')) {\n this.handleAnchorChange();\n }\n\n // All other properties will trigger a reposition when active\n if (this.active) {\n await this.updateComplete;\n this.reposition();\n }\n }\n\n private async handleAnchorChange() {\n await this.stop();\n\n if (this.anchor && typeof this.anchor === 'string') {\n // Locate the anchor by id\n const root = this.getRootNode() as Document | ShadowRoot;\n this.anchorEl = root.getElementById(this.anchor);\n } else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {\n // Use the anchor's reference\n this.anchorEl = this.anchor;\n } else {\n // Look for a slotted anchor\n this.anchorEl = this.querySelector<HTMLElement>('[slot=\"anchor\"]');\n }\n\n // If the anchor is a <slot>, we'll use the first assigned element as the target since slots use `display: contents`\n // and positioning can't be calculated on them\n if (this.anchorEl instanceof HTMLSlotElement) {\n this.anchorEl = this.anchorEl.assignedElements({ flatten: true })[0] as HTMLElement;\n }\n\n // If the anchor is valid, start it up\n if (this.anchorEl && this.active) {\n this.start();\n }\n }\n\n private start() {\n // We can't start the positioner without an anchor or when the popup is inactive\n if (!this.anchorEl || !this.active) {\n return;\n }\n\n if (SUPPORTS_POPOVER) {\n this.popup.showPopover?.();\n }\n\n this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {\n this.reposition();\n });\n }\n\n private async stop(): Promise<void> {\n return new Promise(resolve => {\n if (SUPPORTS_POPOVER) {\n // #1041 In some testing frameworks the disconnectedCallback is called too early so this.popup is not yet available\n this.popup?.hidePopover?.();\n }\n if (this.cleanup) {\n this.cleanup();\n this.cleanup = undefined;\n this.removeAttribute('data-current-placement');\n this.style.removeProperty('--auto-size-available-width');\n this.style.removeProperty('--auto-size-available-height');\n requestAnimationFrame(() => resolve());\n } else {\n resolve();\n }\n });\n }\n\n /** Forces the popup to recalculate and reposition itself. */\n reposition() {\n // Nothing to do if the popup is inactive or the anchor doesn't exist\n if (!this.active || !this.anchorEl) {\n return;\n }\n\n //\n // NOTE: Floating UI middlewares are order dependent: https://floating-ui.com/docs/middleware\n //\n const middleware = [\n // The offset middleware goes first\n offset({ mainAxis: this.distance, crossAxis: this.skidding })\n ];\n\n // First we sync width/height\n if (this.sync) {\n middleware.push(\n size({\n apply: ({ rects }) => {\n const syncWidth = this.sync === 'width' || this.sync === 'both';\n const syncHeight = this.sync === 'height' || this.sync === 'both';\n this.popup.style.width = syncWidth ? `${rects.reference.width}px` : '';\n this.popup.style.height = syncHeight ? `${rects.reference.height}px` : '';\n }\n })\n );\n } else {\n // Cleanup styles if we're not matching width/height\n this.popup.style.width = '';\n this.popup.style.height = '';\n }\n\n // Then we flip\n if (this.flip) {\n middleware.push(\n flip({\n boundary: this.flipBoundary,\n // @ts-expect-error - We're converting a string attribute to an array here\n fallbackPlacements: this.flipFallbackPlacements,\n fallbackStrategy: this.flipFallbackStrategy === 'best-fit' ? 'bestFit' : 'initialPlacement',\n padding: this.flipPadding\n })\n );\n }\n\n // Then we shift\n if (this.shift) {\n middleware.push(\n shift({\n boundary: this.shiftBoundary,\n padding: this.shiftPadding\n })\n );\n }\n\n // Now we adjust the size as needed\n if (this.autoSize) {\n middleware.push(\n size({\n boundary: this.autoSizeBoundary,\n padding: this.autoSizePadding,\n apply: ({ availableWidth, availableHeight }) => {\n if (this.autoSize === 'vertical' || this.autoSize === 'both') {\n this.style.setProperty('--auto-size-available-height', `${availableHeight}px`);\n } else {\n this.style.removeProperty('--auto-size-available-height');\n }\n\n if (this.autoSize === 'horizontal' || this.autoSize === 'both') {\n this.style.setProperty('--auto-size-available-width', `${availableWidth}px`);\n } else {\n this.style.removeProperty('--auto-size-available-width');\n }\n }\n })\n );\n } else {\n // Cleanup styles if we're no longer using auto-size\n this.style.removeProperty('--auto-size-available-width');\n this.style.removeProperty('--auto-size-available-height');\n }\n\n // Finally, we add an arrow\n if (this.arrow) {\n middleware.push(\n arrow({\n element: this.arrowEl,\n padding: this.arrowPadding\n })\n );\n }\n\n //\n // Use custom positioning logic if the strategy is absolute. Otherwise, fall back to the default logic.\n //\n // More info: https://github.com/shoelace-style/shoelace/issues/1135\n //\n const getOffsetParent =\n SUPPORTS_POPOVER || this.strategy === 'absolute'\n ? (element: Element) => platform.getOffsetParent(element, offsetParent)\n : platform.getOffsetParent;\n\n computePosition(this.anchorEl, this.popup, {\n placement: this.placement,\n middleware,\n strategy: SUPPORTS_POPOVER ? 'absolute' : this.strategy,\n platform: {\n ...platform,\n getOffsetParent\n }\n }).then(({ x, y, middlewareData, placement }) => {\n //\n // Even though we have our own localization utility, it uses different heuristics to determine RTL. Because of\n // that, we'll use the same approach that Floating UI uses.\n //\n // Source: https://github.com/floating-ui/floating-ui/blob/cb3b6ab07f95275730d3e6e46c702f8d4908b55c/packages/dom/src/utils/getDocumentRect.ts#L31\n //\n const isRtl = this.localize.dir() === 'rtl';\n const staticSide = { top: 'bottom', right: 'left', bottom: 'top', left: 'right' }[placement.split('-')[0]]!;\n\n this.setAttribute('data-current-placement', placement);\n\n Object.assign(this.popup.style, {\n left: `${x}px`,\n top: `${y}px`\n });\n\n if (this.arrow) {\n const arrowX = middlewareData.arrow!.x;\n const arrowY = middlewareData.arrow!.y;\n let top = '';\n let right = '';\n let bottom = '';\n let left = '';\n\n if (this.arrowPlacement === 'start') {\n // Start\n const value = typeof arrowX === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n top = typeof arrowY === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n right = isRtl ? value : '';\n left = isRtl ? '' : value;\n } else if (this.arrowPlacement === 'end') {\n // End\n const value = typeof arrowX === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n right = isRtl ? '' : value;\n left = isRtl ? value : '';\n bottom = typeof arrowY === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n } else if (this.arrowPlacement === 'center') {\n // Center\n left = typeof arrowX === 'number' ? `calc(50% - var(--arrow-size-diagonal))` : '';\n top = typeof arrowY === 'number' ? `calc(50% - var(--arrow-size-diagonal))` : '';\n } else {\n // Anchor (default)\n left = typeof arrowX === 'number' ? `${arrowX}px` : '';\n top = typeof arrowY === 'number' ? `${arrowY}px` : '';\n }\n\n Object.assign(this.arrowEl.style, {\n top,\n right,\n bottom,\n left,\n [staticSide]: 'calc(var(--arrow-size-diagonal) * -1)'\n });\n }\n });\n\n // Wait until the new position is drawn before updating the hover bridge, otherwise it can get out of sync\n requestAnimationFrame(() => this.updateHoverBridge());\n\n this.emit('syn-reposition');\n }\n\n private updateHoverBridge = () => {\n if (this.hoverBridge && this.anchorEl) {\n const anchorRect = this.anchorEl.getBoundingClientRect();\n const popupRect = this.popup.getBoundingClientRect();\n const isVertical = this.placement.includes('top') || this.placement.includes('bottom');\n let topLeftX = 0;\n let topLeftY = 0;\n let topRightX = 0;\n let topRightY = 0;\n let bottomLeftX = 0;\n let bottomLeftY = 0;\n let bottomRightX = 0;\n let bottomRightY = 0;\n\n if (isVertical) {\n if (anchorRect.top < popupRect.top) {\n // Anchor is above\n topLeftX = anchorRect.left;\n topLeftY = anchorRect.bottom;\n topRightX = anchorRect.right;\n topRightY = anchorRect.bottom;\n\n bottomLeftX = popupRect.left;\n bottomLeftY = popupRect.top;\n bottomRightX = popupRect.right;\n bottomRightY = popupRect.top;\n } else {\n // Anchor is below\n topLeftX = popupRect.left;\n topLeftY = popupRect.bottom;\n topRightX = popupRect.right;\n topRightY = popupRect.bottom;\n\n bottomLeftX = anchorRect.left;\n bottomLeftY = anchorRect.top;\n bottomRightX = anchorRect.right;\n bottomRightY = anchorRect.top;\n }\n } else {\n if (anchorRect.left < popupRect.left) {\n // Anchor is on the left\n topLeftX = anchorRect.right;\n topLeftY = anchorRect.top;\n topRightX = popupRect.left;\n topRightY = popupRect.top;\n\n bottomLeftX = anchorRect.right;\n bottomLeftY = anchorRect.bottom;\n bottomRightX = popupRect.left;\n bottomRightY = popupRect.bottom;\n } else {\n // Anchor is on the right\n topLeftX = popupRect.right;\n topLeftY = popupRect.top;\n topRightX = anchorRect.left;\n topRightY = anchorRect.top;\n\n bottomLeftX = popupRect.right;\n bottomLeftY = popupRect.bottom;\n bottomRightX = anchorRect.left;\n bottomRightY = anchorRect.bottom;\n }\n }\n\n this.style.setProperty('--hover-bridge-top-left-x', `${topLeftX}px`);\n this.style.setProperty('--hover-bridge-top-left-y', `${topLeftY}px`);\n this.style.setProperty('--hover-bridge-top-right-x', `${topRightX}px`);\n this.style.setProperty('--hover-bridge-top-right-y', `${topRightY}px`);\n this.style.setProperty('--hover-bridge-bottom-left-x', `${bottomLeftX}px`);\n this.style.setProperty('--hover-bridge-bottom-left-y', `${bottomLeftY}px`);\n this.style.setProperty('--hover-bridge-bottom-right-x', `${bottomRightX}px`);\n this.style.setProperty('--hover-bridge-bottom-right-y', `${bottomRightY}px`);\n }\n };\n\n render() {\n return html`\n <slot name=\"anchor\" @slotchange=${this.handleAnchorChange}></slot>\n\n <span\n part=\"hover-bridge\"\n class=${classMap({\n 'popup-hover-bridge': true,\n 'popup-hover-bridge--visible': this.hoverBridge && this.active\n })}\n ></span>\n\n <div\n part=\"popup\"\n popover=${ifDefined(SUPPORTS_POPOVER ? 'manual' : undefined)}\n class=${classMap({\n popup: true,\n 'popup--active': this.active,\n 'popup--fixed': !SUPPORTS_POPOVER && this.strategy === 'fixed',\n 'popup--has-arrow': this.arrow\n })}\n >\n <slot></slot>\n ${this.arrow ? html`<div part=\"arrow\" class=\"popup__arrow\" role=\"presentation\"></div>` : ''}\n </div>\n `;\n }\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,OAAO,YAAY,iBAAiB,MAAM,QAAQ,UAAU,OAAO,YAAY;AACxF,SAAS,gBAAgB;AACzB,SAAS,iBAAiB;AAC1B,SAAS,YAAY;AAErB,SAAS,oBAAoB;AAC7B,SAAS,UAAU,aAAa;AAdhC;AAqBA,IAAM,oBAAmB,8CAAY,gBAAZ,mBAAyB,UAAU,eAAe;AAO3E,SAAS,iBAAiB,GAAiC;AACzD,SACE,MAAM,QACN,OAAO,MAAM,YACb,2BAA2B,MAC1B,oBAAoB,IAAI,EAAE,0BAA0B,UAAU;AAEnE;AA+BA,IAAqB,WAArB,cAAsC,eAAe;AAAA,EAArD;AAAA;AAKE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAiBX,kBAAS;AAMxB,qBAYZ;AAOY,oBAA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MACA,aAAa,CAAC,UAAc;AAC1B,eAAO,MAAM,KAAK,GAAG;AAAA,MACvB;AAAA,IACF;AAAA,EACF,CAAC;AAAA,GAnGkB,SAoGnB;AAOmD;AAAA,EAAlD,SAAS,EAAE,WAAW,yBAAyB,CAAC;AAAA,GA3G9B,SA2GgC;AAOvB;AAAA,EAA3B,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,GAlHP,SAkHS;AAG2B;AAAA,EAAtD,SAAS,EAAE,WAAW,gBAAgB,MAAM,OAAO,CAAC;AAAA,GArHlC,SAqHoC;AAG1B;AAAA,EAA5B,SAAS,EAAE,MAAM,QAAQ,CAAC;AAAA,GAxHR,SAwHU;AAOD;AAAA,EAA3B,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,GA/HP,SA+HS;AAG4B;AAAA,EAAvD,SAAS,EAAE,WAAW,iBAAiB,MAAM,OAAO,CAAC;AAAA,GAlInC,SAkIqC;AAGlB;AAAA,EAArC,SAAS,EAAE,WAAW,YAAY,CAAC;AAAA,GArIjB,SAqImB;AAG1B;AAAA,EAAX,SAAS;AAAA,GAxIS,SAwIP;AAOgB;AAAA,EAA3B,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,GA/IP,SA+IS;AAGgC;AAAA,EAA3D,SAAS,EAAE,WAAW,qBAAqB,MAAM,OAAO,CAAC;AAAA,GAlJvC,SAkJyC;AAQJ;AAAA,EAAvD,SAAS,EAAE,WAAW,gBAAgB,MAAM,QAAQ,CAAC;AAAA,GA1JnC,SA0JqC;",
6
- "names": ["_a"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/input/input.component.ts", "../../src/internal/longpress.ts"],
4
- "sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { defaultValue } from '../../internal/default-value.js';\nimport { FormControlController } from '../../internal/form.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { live } from 'lit/directives/live.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport formControlStyles from '../../styles/form-control.styles.js';\nimport formControlCustomStyles from '../../styles/form-control.custom.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIcon from '../icon/icon.component.js';\nimport SynDivider from '../divider/divider.component.js';\nimport { longPress } from '../../internal/longpress.js';\nimport styles from './input.styles.js';\nimport customStyles from './input.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport type { SynergyFormControl } from '../../internal/synergy-element.js';\nimport {\n type NumericStrategy,\n createNumericStrategy,\n nativeNumericStrategy,\n modernNumericStrategy,\n} from './strategies.js';\nimport { formatNumber } from './formatter.js';\nimport type { SynClampDetails } from '../../events/syn-clamp.js';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Inputs collect data from the user.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-input--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n * @dependency syn-divider\n *\n * @slot label - The input's label. Alternatively, you can use the `label` attribute.\n * @slot prefix - Used to prepend a presentational icon or similar element to the input.\n * @slot suffix - Used to append a presentational icon or similar element to the input.\n * @slot clear-icon - An icon to use in lieu of the default clear icon.\n * @slot show-password-icon - An icon to use in lieu of the default show password icon.\n * @slot hide-password-icon - An icon to use in lieu of the default hide password icon.\n * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n * @slot increment-number-stepper - An icon to use in lieu of the default increment number stepper icon.\n * @slot decrement-number-stepper - An icon to use in lieu of the default decrement number stepper icon.\n *\n * @event syn-blur - Emitted when the control loses focus.\n * @event syn-change - Emitted when an alteration to the control's value is committed by the user.\n * @event syn-clear - Emitted when the clear button is activated.\n * @event syn-focus - Emitted when the control gains focus.\n * @event syn-input - Emitted when the control receives input.\n * @event syn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n * @event syn-clamp - Emitted if the numeric strategy allows autoClamp and the value is clamped to the min or max attribute.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The input's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart base - The component's base wrapper.\n * @csspart input - The internal `<input>` control.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart clear-button - The clear button.\n * @csspart password-toggle-button - The password toggle button.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart stepper - The container that wraps the number stepper.\n * @csspart decrement-number-stepper - The decrement number stepper button.\n * @csspart increment-number-stepper - The increment number stepper button.\n * @csspart divider - The divider between the increment and decrement number stepper buttons.\n *\n * @cssproperty --syn-input-autofill-shadow - The shadow to apply when the input is autofilled.\n * @cssproperty --syn-input-autofill-readonly-shadow - The shadow to apply when the input is readonly and autofilled.\n * @cssproperty --syn-input-autofill-text-fill-color - The text fill color to apply when the input is autofilled.\n * @cssproperty --syn-input-autofill-caret-color - The caret color to apply when the input is autofilled.\n */\n@enableDefaultSettings('SynInput')\nexport default class SynInput extends SynergyElement implements SynergyFormControl {\n static styles: CSSResultGroup = [componentStyles, formControlStyles, styles, formControlCustomStyles, customStyles];\n static dependencies = {\n\t\t'syn-icon': SynIcon,\n\t\t'syn-divider': SynDivider\n\t};\n\n private readonly formControlController = new FormControlController(this, {\n assumeInteractionOn: ['syn-blur', 'syn-input']\n });\n private readonly hasSlotController = new HasSlotController(this, 'help-text', 'label', 'prefix', 'suffix');\n private readonly localize = new LocalizeController(this);\n\n @query('.input__control') input: HTMLInputElement;\n\n @state() private hasFocus = false;\n @property({ reflect: true }) title = ''; // make reactive to pass through\n\n private __numberInput = Object.assign(document.createElement('input'), { type: 'number' });\n private __dateInput = Object.assign(document.createElement('input'), { type: 'date' });\n\n /**\n * The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\n * to `text`.\n */\n @property({ reflect: true }) type:\n | 'date'\n | 'datetime-local'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'time'\n | 'url' = 'text';\n\n /** The name of the input, submitted as a name/value pair with form data. */\n @property() name = '';\n\n /** The current value of the input, submitted as a name/value pair with form data. */\n @property() value = '';\n\n /** The default value of the form control. Primarily used for resetting the form control. */\n @defaultValue() defaultValue = '';\n\n /** The input's size. */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** The input's label. If you need to display HTML, use the `label` slot instead. */\n @property() label = '';\n\n /** The input's help text. If you need to display HTML, use the `help-text` slot instead. */\n @property({ attribute: 'help-text' }) helpText = '';\n\n /** Adds a clear button when the input is not empty. */\n @property({ type: Boolean }) clearable = false;\n\n /** Disables the input. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /** Placeholder text to show as a hint when the input is empty. */\n @property() placeholder = '';\n\n /** Makes the input readonly. */\n @property({ type: Boolean, reflect: true }) readonly = false;\n\n /** Adds a button to toggle the password's visibility. Only applies to password types. */\n @property({ attribute: 'password-toggle', type: Boolean }) passwordToggle = false;\n\n /** Determines whether or not the password is currently visible. Only applies to password input types. */\n @property({ attribute: 'password-visible', type: Boolean }) passwordVisible = false;\n\n /** Hides the increment/decrement spin buttons for number inputs. */\n @property({ attribute: 'no-spin-buttons', type: Boolean }) noSpinButtons = false;\n\n /**\n * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\n * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in\n * the same document or shadow root for this to work.\n */\n @property({ reflect: true }) form = '';\n\n /** Makes the input a required field. */\n @property({ type: Boolean, reflect: true }) required = false;\n\n /** A regular expression pattern to validate input against. */\n @property() pattern: string;\n\n /** The minimum length of input that will be considered valid. */\n @property({ type: Number }) minlength: number;\n\n /** The maximum length of input that will be considered valid. */\n @property({ type: Number }) maxlength: number;\n\n /** The input's minimum value. Only applies to date and number input types. */\n @property() min: number | string;\n\n /** The input's maximum value. Only applies to date and number input types. */\n @property() max: number | string;\n\n /**\n * Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is\n * implied, allowing any numeric value. Only applies to date and number input types.\n */\n @property() step: number | 'any';\n\n /** Controls whether and how text input is automatically capitalized as it is entered by the user. */\n @property() autocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';\n\n /** Indicates whether the browser's autocorrect feature is on or off. */\n @property({\n attribute: 'autocorrect',\n reflect: true,\n converter: {\n fromAttribute: (value: string) => value === '' || value === 'on',\n toAttribute: (value: boolean) => (value ? 'on' : 'off')\n },\n type: Boolean,\n }) autocorrect: boolean;\n\n /**\n * Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n * [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.\n */\n @property() autocomplete: string;\n\n /** Indicates that the input should receive focus on page load. */\n @property({ type: Boolean }) autofocus: boolean;\n\n /** Used to customize the label or icon of the Enter key on virtual keyboards. */\n @property() enterkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';\n\n /** Enables spell checking on the input. */\n @property({\n type: Boolean,\n converter: {\n // Allow \"true|false\" attribute values but keep the property boolean\n fromAttribute: value => (!value || value === 'false' ? false : true),\n toAttribute: value => (value ? 'true' : 'false')\n }\n })\n spellcheck = true;\n\n /**\n * Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\n * keyboard on supportive devices.\n */\n @property() inputmode: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n\n /**\n * Optional options that should be passed to the `NumberFormatter` when formatting the value.\n * This is used to format the number when the input type is `number`.\n * Note this can only be set via `property`, not as an `attribute`!\n */\n @property({\n attribute: false,\n reflect: false,\n type: Object,\n }) numberFormatterOptions: Intl.NumberFormatOptions;\n\n /**\n * The minimal amount of fraction digits to use for numeric values.\n * Used to format the number when the input type is `number`.\n */\n @property({\n attribute: 'min-fraction-digits',\n type: Number,\n }) minFractionDigits: number;\n\n /**\n * The maximal amount of fraction digits to use for numeric values.\n * Used to format the number when the input type is `number`.\n */\n @property({\n attribute: 'max-fraction-digits',\n type: Number,\n }) maxFractionDigits: number;\n\n #numericStrategy: NumericStrategy = nativeNumericStrategy;\n\n /**\n * Defines the strategy for handling numbers in the numeric input.\n * This is used to determine how the input behaves when the user interacts with it.\n *\n * Includes the following configuration options:\n *\n * - **autoClamp**: If true, the input will clamp the value to the min and max attributes.\n * - **noStepAlign**: If true, the input will not align the value to the step attribute.\n * - **noStepValidation**: If true, the input will not validate the value against the step attribute.\n * \n * You may provide this as one of the following values:\n *\n * - 'native': Uses the native browser implementation.\n * - 'modern': Uses a more intuitive implementation:\n * - Values are clamped to the nearest min or max value.\n * - Stepping is inclusive to the provided min and max values.\n * - Provided stepping is no longer used in validation.\n * - An object that matches the `NumericStrategy` type. Note this can only be set via `property`, not as an `attribute`!\n */\n @property({\n attribute: 'numeric-strategy',\n converter: {\n fromAttribute: (value) => {\n return value === 'modern'\n ? modernNumericStrategy\n : nativeNumericStrategy;\n },\n },\n type: Object,\n })\n set numericStrategy(value: 'native' | 'modern' | Partial<NumericStrategy>) {\n switch (typeof value) {\n case 'string': this.#numericStrategy = value === 'modern' ? modernNumericStrategy : nativeNumericStrategy; break;\n case 'object': this.#numericStrategy = createNumericStrategy(value); break;\n default: this.#numericStrategy = nativeNumericStrategy;\n }\n }\n\n /**\n * @default nativeNumericStrategy\n * @todo: This must be changed to \"modern\" in Synergy@3\n */\n get numericStrategy(): 'native' | 'modern' | Partial<NumericStrategy> {\n return this.#numericStrategy;\n }\n\n //\n // NOTE: We use an in-memory input for these getters/setters instead of the one in the template because the properties\n // can be set before the component is rendered.\n //\n\n /**\n * Gets or sets the current value as a `Date` object. Returns `null` if the value can't be converted. This will use the native `<input type=\"{{type}}\">` implementation and may result in an error.\n */\n get valueAsDate() {\n this.__dateInput.type = this.type;\n this.__dateInput.value = this.value;\n return this.input?.valueAsDate || this.__dateInput.valueAsDate;\n }\n\n set valueAsDate(newValue: Date | null) {\n this.__dateInput.type = this.type;\n this.__dateInput.valueAsDate = newValue;\n this.value = this.__dateInput.value;\n }\n\n /** Gets or sets the current value as a number. Returns `NaN` if the value can't be converted. */\n get valueAsNumber() {\n this.__numberInput.value = this.value;\n return this.input?.valueAsNumber || this.__numberInput.valueAsNumber;\n }\n\n set valueAsNumber(newValue: number) {\n this.__numberInput.valueAsNumber = newValue;\n this.value = this.__numberInput.value;\n }\n\n /** Gets the validity state object */\n get validity() {\n return this.input.validity;\n }\n\n /** Gets the validation message */\n get validationMessage() {\n return this.input.validationMessage;\n }\n\n firstUpdated() {\n this.formControlController.updateValidity();\n }\n\n private handleBlur() {\n this.hasFocus = false;\n this.emit('syn-blur');\n }\n\n private handleStep(){\n this.handleInput();\n this.input.focus();\n }\n\n private handleStepUp() {\n this.stepUp();\n this.handleStep();\n }\n\n private handleStepDown() {\n this.stepDown();\n this.handleStep();\n }\n \n private isDecrementDisabled() {\n if(this.disabled || this.readonly) {\n return true;\n }\n\n if (this.min === undefined || this.min === null) {\n return false;\n }\n\n const min = typeof this.min === 'string' ? parseFloat(this.min) : this.min;\n\n // #872: Use value instead of valueAsNumber as valueAsNumber is drawn from the hidden input\n // that is not yet updated in the current render cycle.\n return parseFloat(this.value) <= min;\n }\n\n private isIncrementDisabled() {\n if(this.disabled || this.readonly) {\n return true;\n }\n\n if (this.max === undefined || this.max === null) {\n return false;\n }\n\n const max = typeof this.max === 'string' ? parseFloat(this.max) : this.max;\n\n // #872: Use value instead of valueAsNumber as valueAsNumber is drawn from the hidden input\n // that is not yet updated in the current render cycle.\n return parseFloat(this.value) >= max;\n }\n\n \n private handleNumericStrategyAutoClamp() {\n const {\n valueAsNumber,\n max: initialMax,\n min: initialMin,\n } = this;\n\n // Exit early if there should be no clamping\n if (!this.#numericStrategy.autoClamp) {\n return {\n eventObj: null,\n shouldClamp: false,\n nextValue: valueAsNumber,\n }\n }\n\n const min = typeof initialMin === 'string' ? parseFloat(initialMin) : initialMin;\n const max = typeof initialMax === 'string' ? parseFloat(initialMax) : initialMax;\n\n let nextValue = valueAsNumber;\n let clampEvent = '';\n if (nextValue < min) {\n nextValue = min;\n clampEvent = 'min';\n } else if (nextValue > max) {\n nextValue = max;\n clampEvent = 'max';\n }\n\n const eventObj = clampEvent ? {\n detail: {\n clampedTo: clampEvent as SynClampDetails['clampedTo'],\n lastUserValue: valueAsNumber,\n },\n } : null;\n\n return {\n eventObj,\n shouldClamp: !!eventObj,\n nextValue,\n };\n }\n\n private handleChange() {\n if (this.type === 'number' && (this.#isNumberFormattingEnabled() || this.#numericStrategy.autoClamp)) {\n const { eventObj, shouldClamp, nextValue } = this.handleNumericStrategyAutoClamp();\n let initialNextValue = this.#numericStrategy.autoClamp ? nextValue : this.valueAsNumber;\n\n // Make sure to flag non numeric values as invalid\n if (isNaN(initialNextValue)) {\n // Make sure to set the value to the min or max value if the input is empty\n // If neither min nor max are set, we set the value to 0\n const { max, min } = this;\n\n if (max !== undefined && max !== null) {\n initialNextValue = typeof max === 'string' ? parseFloat(max) : +max;\n } else if (min !== undefined && min !== null) {\n initialNextValue = typeof min === 'string' ? parseFloat(min) : +min;\n } else {\n initialNextValue = 0;\n }\n }\n\n this.value = this.#isNumberFormattingEnabled()\n ? this.#formatNumber(initialNextValue)\n : initialNextValue.toString();\n\n // Make sure to wait for the updateComplete to be done before updating the validity\n // and firing events. This is needed because valueAsNumber is not updated yet when the event is fired\n this.updateComplete.then(() => {\n\n if (shouldClamp && eventObj) {\n this.emit('syn-clamp', eventObj);\n }\n\n this.formControlController.updateValidity();\n this.emit('syn-change');\n });\n return;\n }\n this.value = this.input.value;\n this.emit('syn-change');\n }\n\n private handleClearClick(event: MouseEvent) {\n event.preventDefault();\n\n if (this.value !== '') {\n this.value = '';\n this.emit('syn-clear');\n this.emit('syn-input');\n this.emit('syn-change');\n }\n\n this.input.focus();\n }\n\n private handleFocus() {\n this.hasFocus = true;\n this.emit('syn-focus');\n }\n\n private handleInput() {\n this.value = this.input.value;\n this.formControlController.updateValidity();\n this.emit('syn-input');\n }\n\n private handleInvalid(event: Event) {\n this.formControlController.setValidity(false);\n this.formControlController.emitInvalidEvent(event);\n }\n\n private handleKeyDown(event: KeyboardEvent) {\n if (this.#numericStrategy.noStepAlign && this.type === 'number') {\n const { key } = event;\n if (key === 'ArrowUp' || key === 'ArrowDown') {\n event.preventDefault();\n event.stopPropagation();\n\n if (key === 'ArrowUp') {\n this.handleStepUp();\n } else if (key === 'ArrowDown') {\n this.handleStepDown();\n }\n this.handleChange();\n return;\n }\n }\n const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;\n\n // Pressing enter when focused on an input should submit the form like a native input, but we wait a tick before\n // submitting to allow users to cancel the keydown event if they need to\n if (event.key === 'Enter' && !hasModifier) {\n setTimeout(() => {\n //\n // When using an Input Method Editor (IME), pressing enter will cause the form to submit unexpectedly. One way\n // to check for this is to look at event.isComposing, which will be true when the IME is open.\n //\n // See https://github.com/shoelace-style/shoelace/pull/988\n //\n if (!event.defaultPrevented && !event.isComposing) {\n this.formControlController.submit();\n }\n });\n }\n }\n\n private handlePasswordToggle() {\n this.passwordVisible = !this.passwordVisible;\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n // Disabled form controls are always valid\n this.formControlController.setValidity(this.disabled);\n }\n\n @watch('step', { waitUntilFirstUpdate: true })\n handleStepChange() {\n // If the numericStrategy has noStepValidation set, skip this as the inputs step will always set to \"any\".\n if (this.#numericStrategy.noStepValidation) {\n return;\n }\n // If step changes, the value may become invalid so we need to recheck after the update. We set the new step\n // imperatively so we don't have to wait for the next render to report the updated validity.\n this.input.step = String(this.step);\n this.formControlController.updateValidity();\n }\n\n @watch('value', { waitUntilFirstUpdate: true })\n async handleValueChange() {\n await this.updateComplete;\n this.formControlController.updateValidity();\n }\n\n /** Sets focus on the input. */\n focus(options?: FocusOptions) {\n this.input.focus(options);\n }\n\n /** Removes focus from the input. */\n blur() {\n this.input.blur();\n }\n\n /** Selects all the text in the input. */\n select() {\n this.input.select();\n }\n\n /** Sets the start and end positions of the text selection (0-based). */\n setSelectionRange(\n selectionStart: number,\n selectionEnd: number,\n selectionDirection: 'forward' | 'backward' | 'none' = 'none'\n ) {\n this.input.setSelectionRange(selectionStart, selectionEnd, selectionDirection);\n }\n\n /** Replaces a range of text with a new string. */\n setRangeText(\n replacement: string,\n start?: number,\n end?: number,\n selectMode: 'select' | 'start' | 'end' | 'preserve' = 'preserve'\n ) {\n const selectionStart = start ?? this.input.selectionStart!;\n const selectionEnd = end ?? this.input.selectionEnd!;\n\n this.input.setRangeText(replacement, selectionStart, selectionEnd, selectMode);\n\n if (this.value !== this.input.value) {\n this.value = this.input.value;\n }\n }\n\n /** Displays the browser picker for an input element (only works if the browser supports it for the input type). */\n showPicker() {\n if ('showPicker' in HTMLInputElement.prototype) {\n this.input.showPicker();\n }\n }\n\n /** Increments the value of a numeric input type by the value of the step attribute. */\n stepUp() {\n if (this.#numericStrategy.noStepAlign) {\n const { max, step, valueAsNumber } = this;\n\n // Needed because the input could be empty. In this case, valueAsNumber is NaN\n const usedInitialValue = Number.isNaN(valueAsNumber) ? 0 : valueAsNumber;\n const usedMin = typeof this.min === 'string' ? parseFloat(this.min) : this.min;\n const usedMax = typeof max === 'string' ? parseFloat(max) : max;\n const usedStep = (typeof step === 'undefined' || step === null || step === 'any') ? 1 : typeof step === 'number' ? step : parseFloat(step);\n\n let wantedNextValue = usedInitialValue + usedStep;\n\n if (typeof usedMax === 'number' && usedMax < wantedNextValue) {\n wantedNextValue = usedMax;\n } else if (typeof usedMin === 'number' && usedMin > wantedNextValue) {\n wantedNextValue = usedMin;\n }\n\n const finalStringValue = this.#isNumberFormattingEnabled()\n ? this.#formatNumber(wantedNextValue)\n : wantedNextValue.toString();\n\n this.input.value = finalStringValue;\n\n if (this.value !== this.input.value) {\n this.value = this.input.value;\n }\n return;\n }\n this.input.stepUp();\n if (this.value !== this.input.value) {\n this.value = this.input.value;\n }\n }\n\n /** Decrements the value of a numeric input type by the value of the step attribute. */\n stepDown() {\n if (this.#numericStrategy.noStepAlign) {\n const { min, max, step, valueAsNumber } = this;\n\n // Needed because the input could be empty. In this case, valueAsNumber is NaN\n const usedInitialValue = Number.isNaN(valueAsNumber) ? 0 : valueAsNumber;\n const usedMin = typeof min === 'string' ? parseFloat(min) : min;\n const usedMax = typeof max === 'string' ? parseFloat(max) : max;\n const usedStep = (typeof step === 'undefined' || step === null || step === 'any') ? 1 : typeof step === 'number' ? step : parseFloat(step);\n\n let wantedNextValue = usedInitialValue - usedStep;\n \n if (typeof usedMin === 'number' && usedMin > wantedNextValue) {\n wantedNextValue = usedMin;\n } else if (typeof usedMax === 'number' && usedMax < wantedNextValue) {\n wantedNextValue = usedMax;\n }\n\n const finalStringValue = this.#isNumberFormattingEnabled()\n ? this.#formatNumber(wantedNextValue)\n : wantedNextValue.toString();\n\n this.input.value = finalStringValue;\n\n if (this.value !== this.input.value) {\n this.value = this.input.value;\n }\n return;\n }\n this.input.stepDown();\n if (this.value !== this.input.value) {\n this.value = this.input.value;\n }\n }\n\n /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */\n checkValidity() {\n return this.input.checkValidity();\n }\n\n /** Gets the associated form, if one exists. */\n getForm(): HTMLFormElement | null {\n return this.formControlController.getForm();\n }\n\n /** Checks for validity and shows the browser's validation message if the control is invalid. */\n reportValidity() {\n return this.input.reportValidity();\n }\n\n /** Sets a custom validation message. Pass an empty string to restore validity. */\n setCustomValidity(message: string) {\n this.input.setCustomValidity(message);\n this.formControlController.updateValidity();\n }\n\n #formatNumber(value: number) {\n return formatNumber(value, this.step, {\n maximumFractionDigits: this.maxFractionDigits,\n minimumFractionDigits: this.minFractionDigits,\n ...this.numberFormatterOptions,\n });\n }\n\n #isNumberFormattingEnabled() {\n const {\n numberFormatterOptions,\n maxFractionDigits,\n minFractionDigits,\n step,\n } = this;\n\n const hasMaxFractionDigits = typeof maxFractionDigits !== 'undefined' && !Number.isNaN(maxFractionDigits);\n const hasMinFractionDigits = typeof minFractionDigits !== 'undefined' && !Number.isNaN(minFractionDigits);\n\n // Easy checks first: If we have a min or max fraction digit, proceed\n if (hasMaxFractionDigits || hasMinFractionDigits) {\n return true;\n }\n \n // Check if there are any options that where provided via formatter options\n if (typeof numberFormatterOptions === 'object') {\n return true;\n }\n\n // As a last fallback, see if the step has a decimal value\n // If it has, we should format according to the steps amount of fraction digits\n const stepToUse = step === 'any' || !step ? 1 : +step;\n const stepFractionDigits = stepToUse.toString().split('.')[1]?.length || 0;\n\n return stepFractionDigits > 0;\n }\n\n render() {\n const hasLabelSlot = this.hasSlotController.test('label');\n const hasHelpTextSlot = this.hasSlotController.test('help-text');\n const hasPrefixSlot = this.hasSlotController.test('prefix');\n const hasSuffixSlot = this.hasSlotController.test('suffix');\n const hasLabel = this.label ? true : !!hasLabelSlot;\n const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;\n const hasClearIcon = this.clearable && !this.disabled && !this.readonly;\n const isClearIconVisible = hasClearIcon && (typeof this.value === 'number' || this.value.length > 0);\n\n return html`\n <div\n part=\"form-control\"\n class=${classMap({\n 'form-control': true,\n 'form-control--small': this.size === 'small',\n 'form-control--medium': this.size === 'medium',\n 'form-control--large': this.size === 'large',\n 'form-control--has-label': hasLabel,\n 'form-control--has-help-text': hasHelpText,\n 'form-control--has-prefix': hasPrefixSlot,\n 'form-control--has-suffix': hasSuffixSlot\n })}\n >\n <label\n part=\"form-control-label\"\n class=\"form-control__label\"\n for=\"input\"\n aria-hidden=${hasLabel ? 'false' : 'true'}\n >\n <slot name=\"label\">${this.label}</slot>\n </label>\n\n <div part=\"form-control-input\" class=\"form-control-input\">\n <div\n part=\"base\"\n class=${classMap({\n input: true,\n\n // Sizes\n 'input--small': this.size === 'small',\n 'input--medium': this.size === 'medium',\n 'input--large': this.size === 'large',\n\n // States\n 'input--standard': !this.readonly,\n 'input--readonly': this.readonly,\n 'input--disabled': this.disabled,\n 'input--focused': this.hasFocus,\n 'input--empty': !this.value,\n 'input--no-spin-buttons': this.noSpinButtons\n })}\n >\n <span part=\"prefix\" class=\"input__prefix\">\n <slot name=\"prefix\"></slot>\n </span>\n\n <input\n part=\"input\"\n id=\"input\"\n class=\"input__control\"\n type=${this.type === 'password' && this.passwordVisible ? 'text' : this.type}\n title=${this.title /* An empty title prevents browser validation tooltips from appearing on hover */}\n name=${ifDefined(this.name)}\n ?disabled=${this.disabled}\n ?readonly=${this.readonly}\n ?required=${this.required}\n placeholder=${ifDefined(this.placeholder)}\n minlength=${ifDefined(this.minlength)}\n maxlength=${ifDefined(this.maxlength)}\n min=${ifDefined(this.min)}\n max=${ifDefined(this.max)}\n step=${ifDefined(!this.#numericStrategy.noStepValidation ? this.step as number : 'any')}\n .value=${live(this.value)}\n autocapitalize=${ifDefined(this.autocapitalize)}\n autocomplete=${ifDefined(this.autocomplete)}\n autocorrect=${ifDefined(this.autocorrect ? undefined : 'off')}\n ?autofocus=${this.autofocus}\n spellcheck=${this.spellcheck}\n pattern=${ifDefined(this.pattern)}\n enterkeyhint=${ifDefined(this.enterkeyhint)}\n inputmode=${ifDefined(this.inputmode)}\n aria-describedby=\"help-text\"\n @change=${this.handleChange}\n @input=${this.handleInput}\n @invalid=${this.handleInvalid}\n @keydown=${this.handleKeyDown}\n @focus=${this.handleFocus}\n @blur=${this.handleBlur}\n />\n\n ${isClearIconVisible\n ? html`\n <button\n part=\"clear-button\"\n class=\"input__clear\"\n type=\"button\"\n aria-label=${this.localize.term('clearEntry')}\n @click=${this.handleClearClick}\n tabindex=\"-1\"\n >\n <slot name=\"clear-icon\">\n <syn-icon name=\"x-circle-fill\" library=\"system\"></syn-icon>\n </slot>\n </button>\n `\n : ''}\n ${this.passwordToggle && !this.disabled\n ? html`\n <button\n part=\"password-toggle-button\"\n class=\"input__password-toggle\"\n type=\"button\"\n aria-label=${this.localize.term(this.passwordVisible ? 'hidePassword' : 'showPassword')}\n @click=${this.handlePasswordToggle}\n tabindex=\"-1\"\n >\n ${this.passwordVisible\n ? html`\n <slot name=\"show-password-icon\">\n <syn-icon name=\"eye-slash\" library=\"system\"></syn-icon>\n </slot>\n `\n : html`\n <slot name=\"hide-password-icon\">\n <syn-icon name=\"eye\" library=\"system\"></syn-icon>\n </slot>\n `}\n </button>\n `\n : ''}\n\n <span part=\"suffix\" class=\"input__suffix\">\n <slot name=\"suffix\"></slot>\n </span>\n\n ${this.type === 'number' && !this.noSpinButtons\n ? html`\n <div part=\"stepper\" class=\"input__number-stepper\">\n <button\n part=\"decrement-number-stepper\"\n class=\"input__number-stepper-button\"\n type=\"button\"\n ?disabled=${this.isDecrementDisabled()}\n aria-hidden=\"true\"\n ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange()})}\n tabindex=\"-1\"\n >\n <slot name=\"decrement-number-stepper\">\n <syn-icon name=\"indeterminate\" library=\"system\"></syn-icon>\n </slot>\n </button>\n <syn-divider class=\"input__number-divider\" part=\"divider\" vertical></syn-divider>\n <button\n part=\"increment-number-stepper\"\n class=\"input__number-stepper-button\"\n type=\"button\"\n ?disabled=${this.isIncrementDisabled()}\n aria-hidden=\"true\"\n ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange()})}\n tabindex=\"-1\"\n >\n <slot name=\"increment-number-stepper\">\n <syn-icon name=\"add\" library=\"system\"></syn-icon>\n </slot>\n </button>\n </div>\n `\n : ''}\n </div>\n </div>\n\n <div\n part=\"form-control-help-text\"\n id=\"help-text\"\n class=\"form-control__help-text\"\n aria-hidden=${hasHelpText ? 'false' : 'true'}\n >\n <slot name=\"help-text\">${this.helpText}</slot>\n </div>\n </div>\n `;\n }\n}\n", "import { type ElementPart, noChange, nothing } from 'lit';\nimport {\n AsyncDirective,\n type DirectiveParameters,\n type Part,\n PartType,\n directive,\n} from 'lit/async-directive.js';\n\ntype Callbacks = {\n start: () => void;\n end: () => void;\n};\n\n/**\n * A directive that determines,if a HTMLButtonElement is long pressed or only clicked.\n * Depending on the state it executes the callback once or repeating.\n *\n * Usage:\n *\n * <button\n * ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange()})}\n * >\n * my button\n * </button>\n */\nclass LongPressDirective extends AsyncDirective {\n host: HTMLButtonElement;\n\n observer: MutationObserver;\n\n callbacks: Callbacks;\n\n interval: NodeJS.Timeout;\n\n timeout: NodeJS.Timeout;\n\n constructor(part: Part) {\n super(part);\n if (part.type !== PartType.ELEMENT || !(part.element instanceof HTMLButtonElement)) {\n throw new Error('The `longPress` directive must be used on an HTMLButtonElement.');\n }\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unused-vars, class-methods-use-this\n render(_callback: Callbacks): typeof nothing {\n return nothing;\n }\n\n update(part: ElementPart, [callbacks]: DirectiveParameters<this>): typeof noChange {\n // initial call\n if (this.callbacks === undefined && this.host === undefined) {\n this.host = part.element as HTMLButtonElement;\n this.callbacks = { ...callbacks };\n this.host.addEventListener('pointerdown', this.handlePointerDown);\n }\n\n return noChange;\n }\n\n reconnected(): void {\n this.host.addEventListener('pointerdown', this.handlePointerDown);\n }\n\n protected disconnected(): void {\n this.stopSpinningAndCleanUp();\n this.host.removeEventListener('pointerdown', this.handlePointerDown);\n document.removeEventListener('pointerup', this.handlePointerUp);\n }\n\n private handlePointerDown = (event: PointerEvent) => {\n // do nothing if the click was not done from the left mouse button or if the button is disabled\n if (event.button !== 0 || this.host.disabled) {\n return;\n }\n this.spinOnLongPressCallback(event);\n };\n\n /**\n * Start spinning on long press clicks otherwise handle as single click event\n */\n private spinOnLongPressCallback(event: PointerEvent) {\n event.preventDefault();\n event.stopPropagation();\n\n // Start spinning only on long press\n this.timeout = setTimeout(() => {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this.timeout = undefined;\n this.interval = setInterval(() => {\n this.callbacks.start();\n }, 50);\n }, 500);\n\n document.addEventListener('pointerup', this.handlePointerUp);\n\n // when buttons becoming disabled during long-press\n this.observer?.disconnect();\n this.observer = new MutationObserver((mutations) => {\n mutations.forEach((mutation) => {\n if (mutation.attributeName === 'disabled') {\n this.stopSpinningAndCleanUp();\n }\n });\n });\n this.observer.observe(this.host, { attributes: true });\n }\n\n private handlePointerUp = (pointerUp?: PointerEvent) => {\n pointerUp?.preventDefault();\n pointerUp?.stopPropagation();\n\n // we did not start to spin\n if (this.timeout) {\n this.callbacks.start();\n }\n\n this.stopSpinningAndCleanUp();\n\n this.callbacks.end();\n document.removeEventListener('pointerup', this.handlePointerUp);\n };\n\n /**\n * Stop the spinning and clean up all timer and observer\n */\n private stopSpinningAndCleanUp() {\n // stop spinning\n clearInterval(this.interval);\n\n clearTimeout(this.timeout);\n this.observer?.disconnect();\n }\n}\n\nexport const longPress = directive(LongPressDirective);\n\nexport type { LongPressDirective };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,gBAAgB;AAIzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAC1B,SAAS,YAAY;AAErB,SAAS,UAAU,OAAO,aAAa;;;AChBvC,SAA2B,UAAU,eAAe;AACpD;AAAA,EACE;AAAA,EAGA;AAAA,EACA;AAAA,OACK;AAmBP,IAAM,qBAAN,cAAiC,eAAe;AAAA,EAW9C,YAAY,MAAY;AACtB,UAAM,IAAI;AAgCZ,SAAQ,oBAAoB,CAAC,UAAwB;AAEnD,UAAI,MAAM,WAAW,KAAK,KAAK,KAAK,UAAU;AAC5C;AAAA,MACF;AACA,WAAK,wBAAwB,KAAK;AAAA,IACpC;AAiCA,SAAQ,kBAAkB,CAAC,cAA6B;AACtD,6CAAW;AACX,6CAAW;AAGX,UAAI,KAAK,SAAS;AAChB,aAAK,UAAU,MAAM;AAAA,MACvB;AAEA,WAAK,uBAAuB;AAE5B,WAAK,UAAU,IAAI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,GAnIS,SAmIP;AAWZ;AAAA,EARC,SAAS;AAAA,IACR,MAAM;AAAA,IACN,WAAW;AAAA;AAAA,MAET,eAAe,WAAU,CAAC,SAAS,UAAU,UAAU,QAAQ;AAAA,MAC/D,aAAa,WAAU,QAAQ,SAAS;AAAA,IAC1C;AAAA,EACF,CAAC;AAAA,GA7IkB,SA8InB;AAMY;AAAA,EAAX,SAAS;AAAA,GApJS,SAoJP;AAWT;AAAA,EAJF,SAAS;AAAA,IACR,WAAW;AAAA,IACX,SAAS;AAAA,IACT,MAAM;AAAA,EACR,CAAC;AAAA,GA/JkB,SA+JhB;AASA;AAAA,EAHF,SAAS;AAAA,IACR,WAAW;AAAA,IACX,MAAM;AAAA,EACR,CAAC;AAAA,GAxKkB,SAwKhB;AASA;AAAA,EAHF,SAAS;AAAA,IACR,WAAW;AAAA,IACX,MAAM;AAAA,EACR,CAAC;AAAA,GAjLkB,SAiLhB;AAkCC;AAAA,EAXH,SAAS;AAAA,IACR,WAAW;AAAA,IACX,WAAW;AAAA,MACT,eAAe,CAAC,UAAU;AACxB,eAAO,UAAU,WACb,wBACA;AAAA,MACN;AAAA,IACF;AAAA,IACA,MAAM;AAAA,EACR,CAAC;AAAA,GAlNkB,SAmNf;AA2QJ;AAAA,EADC,MAAM,YAAY,EAAE,sBAAsB,KAAK,CAAC;AAAA,GA7d9B,SA8dnB;AAMA;AAAA,EADC,MAAM,QAAQ,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAne1B,SAoenB;AAYM;AAAA,EADL,MAAM,SAAS,EAAE,sBAAsB,KAAK,CAAC;AAAA,GA/e3B,SAgfb;AAhfa,WAArB;AAAA,EADC,sBAAsB,UAAU;AAAA,GACZ;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/breadcrumb-item/breadcrumb-item.custom.styles.ts"],
4
- "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n .breadcrumb-item {\n color: var(--syn-breadcrumb-color, var(--syn-color-neutral-500));\n font-size: var(--syn-font-size-x-small);\n font-weight: var(--syn-font-weight-semibold);\n }\n\n /**\n * Make sure to remove the border radius.\n * Without this, focus will be rounded\n */\n .breadcrumb-item__label {\n border-radius: var(--syn-border-radius-none);\n }\n\n :host(:not(:last-of-type)) .breadcrumb-item {\n font-weight: var(--syn-font-weight-normal);\n }\n\n :host(:not(:last-of-type)) .breadcrumb-item__label {\n color: var(--syn-typography-color-text);\n }\n\n :host(:not(:last-of-type)) .breadcrumb-item__label:hover {\n color: var(--syn-color-primary-600);\n }\n\n :host(:not(:last-of-type)) .breadcrumb-item__label:active {\n color: var(--syn-color-primary-950);\n }\n\n .breadcrumb-item--has-prefix .breadcrumb-item__prefix {\n margin-inline-end: var(--syn-spacing-2x-small);\n }\n\n .breadcrumb-item--has-suffix .breadcrumb-item__suffix {\n margin-inline-start: var(--syn-spacing-2x-small);\n }\n\n /**\n * Adjust color and font size to match Synergy's typography.\n */\n .breadcrumb-item--has-prefix .breadcrumb-item__prefix,\n .breadcrumb-item--has-suffix .breadcrumb-item__suffix {\n color: var(--syn-typography-color-text);\n font-size: var(--syn-spacing-medium);\n }\n\n /**\n * Make sure the color of the last item's prefix and suffix matches the text.\n */\n :host(:last-of-type) .breadcrumb-item--has-prefix .breadcrumb-item__prefix,\n :host(:last-of-type) .breadcrumb-item--has-suffix .breadcrumb-item__suffix {\n color: inherit;\n }\n\n .breadcrumb-item__separator {\n font-size: var(--syn-spacing-medium);\n margin: 0 var(--syn-spacing-x-small) 0 var(--syn-spacing-2x-small);\n }\n\n /**\n * Make sure the direction of the chevron matches the direction of the text.\n */\n .breadcrumb-item__separator ::slotted(syn-icon.ltr) {\n rotate: -90deg;\n }\n\n .breadcrumb-item__separator ::slotted(syn-icon.rtl) {\n rotate: 90deg;\n }\n\n .breadcrumb-item__label--drop-down {\n display: flex;\n }\n`;\n"],
5
- "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,wCAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/range/range.styles.ts"],
4
- "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n /*\n * Values here apply for the default size of \"medium\"\n * For other sizes, see below\n */\n --thumb-size: var(--syn-spacing-medium);\n --thumb-hit-area-size: 1.4;\n --track-hit-area-size: var(--syn-spacing-medium);\n --track-active-offset: 0px;\n --track-color-active: var(--syn-range-track-color-active,var(--syn-color-primary-600));\n --track-color-inactive: var(--syn-range-color-inactive, var(--syn-color-neutral-200));\n --track-height: var(--syn-spacing-2x-small);\n\n /* This is needed to get the full with of the element, including the border */\n --full-thumb-size: calc(var(--thumb-size) + (var(--syn-focus-ring-width) * 2));\n\n /*\n * There are multiple places where we need the half width of the thumb\n * This is needed for example to position the knob on the track or\n * provide the spacing to the left and right for the track to make it stand \"over\"\n */\n --half-thumb-size: calc(var(--full-thumb-size) / 2);\n }\n\n /* Sizes */\n :host([size='small']) {\n --thumb-size: var(--syn-spacing-small);\n }\n\n :host([size='large']) {\n --thumb-size: var(--syn-spacing-medium-large);\n }\n\n .form-control {\n align-items: stretch;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n writing-mode: horizontal-tb;\n }\n\n .base {\n align-items: center;\n cursor: text;\n display: inline-flex;\n flex: 1 1 auto;\n font-family: var(--syn-input-font-family);\n font-size: var(--syn-input-font-size-medium);\n font-weight: var(--syn-input-font-weight);\n justify-content: start;\n letter-spacing: var(--syn-input-letter-spacing);\n position: relative;\n /* stylelint-disable-next-line plugin/no-unsupported-browser-features */\n touch-action: none; /* Prevent misbehavior in mobile by disabling native touch */\n -webkit-touch-callout: none;\n transition: var(--syn-transition-fast) color, var(--syn-transition-fast) border, var(--syn-transition-fast) box-shadow, var(--syn-transition-fast) background-color;\n /* stylelint-disable-next-line property-no-vendor-prefix */\n -webkit-user-select: none;\n vertical-align: middle;\n width: 100%;\n }\n\n .input__wrapper {\n flex: 1 0 auto;\n margin: 0 var(--half-thumb-size);\n position: relative;\n }\n\n :host([disabled]) .base {\n opacity: var(--syn-input-disabled-opacity);\n }\n\n .input__prefix,\n .input__suffix {\n align-items: center;\n color: var(--syn-input-icon-color);\n cursor: default;\n display: inline-flex;\n flex: 0 0 auto;\n }\n\n /* Sizing for the prefix and suffix */\n .form-control--small .input__prefix ::slotted(*) {\n font-size: var(--syn-input-font-size-small);\n margin-inline-end: var(--syn-spacing-x-small);\n }\n\n .form-control--small .input__suffix ::slotted(*) {\n font-size: var(--syn-input-font-size-small);\n margin-inline-start: var(--syn-spacing-x-small);\n }\n\n .form-control--medium .input__prefix ::slotted(*) {\n margin-inline-end: var(--syn-input-spacing-small);\n }\n\n .form-control--medium .input__suffix ::slotted(*) {\n margin-inline-start: var(--syn-input-spacing-small);\n }\n\n .form-control--large .input__prefix ::slotted(*) {\n font-size: var(--syn-input-font-size-large);\n margin-inline-end: var(--syn-input-spacing-medium);\n }\n\n .form-control--large .input__suffix ::slotted(*) {\n font-size: var(--syn-input-font-size-large);\n margin-inline-start: var(--syn-input-spacing-medium);\n }\n\n .form-control--small .input__prefix ::slotted(syn-icon),\n .form-control--small .input__suffix ::slotted(syn-icon) {\n font-size: var(--syn-font-size-medium);\n }\n\n .form-control--medium .input__prefix ::slotted(syn-icon),\n .form-control--medium .input__suffix ::slotted(syn-icon) {\n font-size: var(--syn-font-size-x-large);\n }\n \n .form-control--large .input__prefix ::slotted(syn-icon),\n .form-control--large .input__suffix ::slotted(syn-icon) {\n font-size: var(--syn-font-size-2x-large);\n }\n\n .track__wrapper {\n cursor: pointer;\n position: relative;\n }\n\n /* Internal helper for a better click surface on tracks */\n .track__click-helper {\n inset: calc(var(--track-hit-area-size) * -1) calc(var(--half-thumb-size) * -1);\n position: absolute;\n }\n\n .track {\n background-color: var(--track-color-inactive);\n border-radius: var(--syn-border-radius-pill);\n height: var(--track-height);\n margin: calc((var(--full-thumb-size) - var(--track-height)) / 2) calc(var(--half-thumb-size) * -1);\n }\n\n .active-track {\n background-color: var(--track-color-active);\n border-radius: var(--syn-border-radius-pill);\n height: var(--track-height);\n margin: 0 calc(var(--half-thumb-size) * -1);\n position: absolute;\n top: 0;\n z-index: 2;\n }\n\n .thumb {\n background-color: var(--syn-interactive-emphasis-color,var(--syn-color-primary-600));\n border: var(--syn-focus-ring-width) solid var(--syn-input-border-color-offset, var(--syn-color-neutral-0));\n border-radius: var(--syn-border-radius-circle);\n cursor: pointer;\n display: block;\n height: var(--full-thumb-size);\n position: absolute;\n top: 0;\n transition: transform var(--syn-transition-fast) ease-in-out, background-color var(--syn-transition-fast) ease-in-out, box-shadow var(--syn-transition-fast) ease-in-out;\n user-select: none;\n width: var(--full-thumb-size);\n z-index: 3;\n }\n\n /**\n * Adds some space to the thumb that makes it easier to click and drag\n */\n .thumb::after {\n background: transparent;\n border-radius: var(--syn-border-radius-circle);\n content: \"\";\n display: block;\n \n /* The --thumb-size needs to be used to subtract from, because the border of the thumb is not calculated into the inset */\n inset: calc((var(--thumb-size) - (var(--full-thumb-size) * var(--thumb-hit-area-size)) ) / 2);\n\n /* This is needed as we also attach a pointerleave listener that stops */\n pointer-events: none;\n position: absolute;\n }\n\n .thumb:hover {\n /* stylelint-disable-next-line plugin/no-unsupported-browser-features */\n cursor: grab;\n }\n\n .thumb.grabbed {\n background: var(--syn-interactive-emphasis-color-active, var(--syn-color-primary-950));\n /* stylelint-disable-next-line plugin/no-unsupported-browser-features */\n cursor: grabbing;\n }\n\n .thumb:focus-visible {\n outline: none;\n }\n\n .thumb:not(.grabbed):focus-visible {\n background: var(--syn-interactive-emphasis-color-hover,var(--syn-color-primary-900));\n outline: var(--syn-focus-ring);\n outline-offset: 0;\n }\n\n :host([disabled]) .track__wrapper,\n :host([disabled]) .thumb,\n :host([disabled]) .thumb.grabbed {\n cursor: not-allowed;\n }\n\n /*\n * Guard against mobile devices not removing the transform\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/@media/any-hover\n */\n @media (any-hover: hover) {\n :host(:not([disabled])) .thumb:hover {\n transform: scale(var(--thumb-hit-area-size));\n }\n\n :host(:not([disabled])) .thumb:not(.grabbed):hover {\n background: var(--syn-interactive-emphasis-color-hover, var(--syn-color-primary-900));\n }\n \n :host(:not([disabled])) .thumb:hover::after {\n /* Unset the area of the thumb click and drag area space, so it does not scale with the hover */\n inset: unset;\n }\n }\n\n /* Ticks */\n .ticks {\n cursor: pointer;\n margin: 1px 0;\n position: relative;\n user-select: none;\n }\n\n .form-control--small .ticks ::slotted(*) {\n font-size: var(--syn-font-size-small);\n }\n\n .form-control--large .ticks ::slotted(*) {\n font-size: var(--syn-font-size-large);\n }\n\n /**\n * Visually hide elements without display:none to make aria and other accessibility stuff work correctly\n * This is necessary for accessibility reasons and e.g. for the native html input validation popup to be\n * shown.\n */\n .visually-hidden {\n border: 0;\n /* stylelint-disable-next-line property-no-deprecated */\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n }\n\n /**\n * Position the validation input to the bottom and center of the range track\n */\n .range__validation-input {\n bottom: 0;\n left: 50%;\n }\n \n\n :host([data-user-invalid]) .active-track {\n --track-color-active: var(--syn-range-error-color ,var(--syn-input-border-color-focus-error));\n }\n\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AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/icon-button/icon-button.custom.styles.ts"],
4
- "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n .icon-button {\n border-radius: 0;\n color: currentColor;\n font-size: inherit;\n }\n\n .icon-button--disabled {\n color: var(--syn-color-neutral-400);\n\n /** #429: Use token for opacity */\n opacity: var(--syn-input-disabled-opacity);\n }\n\n /* Remove round borders */\n .icon-button:focus-visible {\n border-radius: var(--syn-icon-button-focus-ring-border-radius, var(--syn-border-radius-none));\n }\n\n /* Colors */\n :host([color=\"currentColor\"]) {\n color: currentColor;\n }\n\n :host([color=\"primary\"]),\n :host([color=\"primary\"]) .icon-button:focus-visible:not(.icon-button--disabled) {\n color: var(--syn-interactive-emphasis-color, var(--syn-color-primary-600));\n }\n\n :host([color=\"primary\"]) .icon-button:hover:not(.icon-button--disabled) {\n color: var(--syn-interactive-emphasis-color-hover, var(--syn-color-primary-900));\n }\n\n :host([color=\"primary\"]) .icon-button:active:not(.icon-button--disabled) {\n color: var(--syn-interactive-emphasis-color-active, var(--syn-color-primary-950));\n }\n\n :host([color=\"neutral\"]) {\n color: var(--syn-interactive-quiet-color, var(--syn-typography-color-text));\n }\n\n :host([color=\"neutral\"]) .icon-button:hover:not(.icon-button--disabled) {\n color: var(--syn-interactive-quiet-color-hover, var(--syn-color-primary-600));\n }\n\n :host([color=\"neutral\"]) .icon-button:active:not(.icon-button--disabled) {\n color: var(--syn-interactive-quiet-color-active, var(--syn-color-primary-700));\n }\n\n :host([color=\"neutral\"]) .icon-button:focus-visible:not(.icon-button--disabled):not(:hover) {\n color: var(--syn-interactive-quiet-color, var(--syn-typography-color-text));\n }\n\n /* Sizes */\n .icon-button--small {\n font-size: var(--syn-font-size-medium);\n }\n\n .icon-button--medium {\n font-size: var(--syn-font-size-x-large);\n }\n\n .icon-button--large {\n font-size: var(--syn-font-size-2x-large);\n }\n\n /* Force user to set \"label\" prop */\n .icon-button[aria-label=\"\"] {\n border: var(--syn-border-width-large) var(--syn-color-error-600) solid;\n }\n\n .icon-button[aria-label=\"\"]::after {\n content: \"Set label prop for a11y to get rid of this text and border!\";\n font-size: var(--syn-font-size-2x-small);\n margin-left: var(--syn-spacing-2x-small);\n }\n`;\n"],
5
- "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,oCAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/components/header/header.styles.ts"],
4
- "sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n display: block;\n }\n\n .header {\n background: var(--syn-panel-background-color);\n box-shadow: inset 0 -1px 0 0 var(--syn-header-border-color, var(--syn-color-neutral-400));\n }\n\n /**\n * The primary content area displays one to many slotted items\n * and contains the following items:\n * - side nav state icon (OPTIONAL)\n * - company or application logo\n * - application name\n * - meta-navigation\n */\n .header__content {\n align-items: center;\n box-sizing: content-box;\n display: flex;\n min-height: 40px;\n padding: var(--syn-spacing-small) var(--syn-spacing-large);\n }\n\n /**\n * The logo slot includes the application or company logo\n */\n .header__logo ::slotted(*),\n .header__logo syn-icon {\n display: block;\n }\n\n /**\n * Make sure to use the correct color and outline for links\n */\n .header__logo ::slotted(a),\n .header__logo ::slotted(a:hover) {\n color: var(--syn-logo-color, var(--syn-color-primary-600));\n }\n\n .header__logo ::slotted(a:is(:focus-visible)) {\n outline: var(--syn-focus-ring);\n outline-offset: var(--syn-focus-ring-offset);\n }\n\n /**\n * Styles for the default logo. This makes sure the default SICK logo has the correct size and color\n */\n .header__logo syn-icon,\n .header__logo syn-icon::part(svg) {\n color: var(--syn-logo-color, var(--syn-color-primary-600));\n height: 32px;\n width: auto;\n }\n\n /**\n * The label section hosts the application name\n */\n .header__label {\n color: var(--syn-typography-color-text);\n font: var(--syn-body-large-bold);\n padding: 0 var(--syn-spacing-2x-large);\n white-space: nowrap;\n }\n\n /**\n * The options menu holds an arbitrary list of <syn-icon-button />\n */\n .header__meta-navigation {\n display: flex;\n flex: 1;\n gap: var(--syn-spacing-x-small);\n justify-content: end;\n }\n\n .header__meta-navigation ::slotted(*) {\n color: var(--syn-interactive-quiet-color, var(--syn-color-neutral-950));\n display: contents;\n font-size: var(--syn-font-size-x-large);\n }\n\n /**\n * The horizontal top navigation section\n */\n .header__navigation {\n padding: 0 var(--syn-spacing-large);\n }\n\n /**\n * The burger menu icon styles\n */\n .header__burger-menu-toggle {\n align-items: center;\n background: none;\n border: none;\n color: var(--syn-interactive-quiet-color, var(--syn-color-neutral-950));\n cursor: pointer;\n display: flex;\n font-size: var(--syn-font-size-x-large);\n margin-right: calc(var(--syn-spacing-medium) + var(--syn-spacing-2x-small));\n padding: var(--syn-spacing-x-small);\n transition: var(--syn-transition-x-fast) color;\n }\n\n .header__burger-menu-toggle:hover {\n color: var(--syn-interactive-quiet-color-hover, var(--syn-color-primary-600));\n }\n\n .header__burger-menu-toggle:active {\n color: var(--syn-interactive-quiet-color-active, var(--syn-color-primary-700));\n }\n\n .header__burger-menu-toggle:focus-visible {\n outline: var(--syn-focus-ring);\n outline-offset: var(--syn-focus-ring-offset);\n }\n\n /**\n * If the burger menu is provided, use a smaller spacing on the left side\n */\n .header--has-burger-menu .header__content {\n padding-left: var(--syn-spacing-medium);\n }\n`;\n"],
5
- "mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,wBAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
6
- "names": []
7
- }