@synergy-design-system/components 2.31.0-numeric.2 → 2.31.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 (436) hide show
  1. package/dist/chunks/{chunk.56NTE7JW.js → chunk.2B7USYXM.js} +3 -3
  2. package/dist/chunks/{chunk.Z4XV3SMG.js → chunk.2GFK6XTO.js} +1 -14
  3. package/dist/chunks/{chunk.N3KLCG35.js → chunk.2KA6GZTD.js} +2 -2
  4. package/dist/chunks/{chunk.AYAX7BG7.js → chunk.2LYOMDFO.js} +2 -2
  5. package/dist/chunks/{chunk.YYAC6H6O.js → chunk.35ZNNBZW.js} +2 -2
  6. package/dist/chunks/{chunk.2K6NQLEV.js → chunk.37W6AS5R.js} +2 -2
  7. package/dist/chunks/{chunk.JB6TLEKH.js → chunk.3BPL6QPW.js} +2 -2
  8. package/dist/chunks/{chunk.XAUVRHWG.js → chunk.4D4S2YIJ.js} +6 -6
  9. package/dist/chunks/{chunk.Z6TU6HAF.js → chunk.4MFSAOXD.js} +2 -2
  10. package/dist/chunks/{chunk.2XOHNYC5.js → chunk.5QQ4ZYIU.js} +2 -2
  11. package/dist/chunks/{chunk.Y34UAFAN.js → chunk.5VJN65HL.js} +2 -2
  12. package/dist/chunks/{chunk.EC3TBECW.js → chunk.6E5Q6VKO.js} +2 -2
  13. package/dist/chunks/{chunk.BKHCRIMU.js → chunk.6ESNGUDX.js} +2 -2
  14. package/dist/chunks/{chunk.MTN5NM4A.js → chunk.6GBQX53P.js} +2 -2
  15. package/dist/chunks/{chunk.OUISPKO2.js → chunk.6NPYKNGJ.js} +9 -9
  16. package/dist/chunks/{chunk.V4K35JJY.js → chunk.6T2H5VTF.js} +2 -2
  17. package/dist/chunks/{chunk.B27C5RF6.js → chunk.6Y2WSLTX.js} +4 -4
  18. package/dist/chunks/{chunk.BVZQ6QSY.js → chunk.74IOULXM.js} +2 -2
  19. package/dist/chunks/{chunk.NRLJB73P.js → chunk.7TU726KD.js} +3 -3
  20. package/dist/chunks/{chunk.K5DRZGPZ.js → chunk.7ZLOLW3C.js} +3 -3
  21. package/dist/chunks/{chunk.53RGIEWF.js → chunk.A2F77RGM.js} +4 -4
  22. package/dist/chunks/{chunk.WUSN4QJH.js → chunk.A3HWYSAL.js} +3 -3
  23. package/dist/chunks/{chunk.G6ITZTTW.js → chunk.A3OYJILJ.js} +2 -2
  24. package/dist/chunks/{chunk.EK2I2ETM.js → chunk.A5XSJHBM.js} +16 -16
  25. package/dist/chunks/{chunk.SWCD3CKX.js → chunk.AHFGZRBY.js} +2 -2
  26. package/dist/chunks/{chunk.TJPUKKXT.js → chunk.AKTTRIOY.js} +2 -2
  27. package/dist/chunks/{chunk.NTTXYDYX.js → chunk.AZVOGRZ7.js} +8 -8
  28. package/dist/chunks/{chunk.LPZXZR3T.js → chunk.B6TDEXVY.js} +12 -12
  29. package/dist/chunks/{chunk.3ZKI5OTR.js → chunk.BF3GFGX3.js} +2 -2
  30. package/dist/chunks/{chunk.XIAITA3R.js → chunk.BVUKV27G.js} +2 -2
  31. package/dist/chunks/{chunk.UIFJKTEU.js → chunk.CPDZHD7L.js} +2 -2
  32. package/dist/chunks/{chunk.S3ABDHZT.js → chunk.CQTSIWXG.js} +2 -2
  33. package/dist/chunks/{chunk.AVC4OCSZ.js → chunk.D3RIIOVE.js} +4 -4
  34. package/dist/chunks/{chunk.JQDPM6DF.js → chunk.D4H6AJAW.js} +5 -5
  35. package/dist/chunks/{chunk.FUXHSYEA.js → chunk.DSOVZGPX.js} +2 -2
  36. package/dist/chunks/{chunk.NQH6IYCA.js → chunk.DUUXFFUP.js} +2 -2
  37. package/dist/chunks/{chunk.PR66KI74.js → chunk.EOTX4M3O.js} +10 -10
  38. package/dist/chunks/{chunk.4WTEYK2Y.js → chunk.EQFRWLRD.js} +4 -4
  39. package/dist/chunks/{chunk.XYVSORCI.js → chunk.FAHCNBPH.js} +8 -8
  40. package/dist/chunks/{chunk.VTWC6SZF.js → chunk.FJFZEHCM.js} +4 -4
  41. package/dist/chunks/{chunk.A7BSGQUQ.js → chunk.FMEDRCXZ.js} +16 -15
  42. package/dist/chunks/chunk.FMEDRCXZ.js.map +7 -0
  43. package/dist/chunks/{chunk.SLFOWP34.js → chunk.GY7N723N.js} +2 -2
  44. package/dist/chunks/{chunk.34MJRDEM.js → chunk.H7ZIT7K4.js} +8 -8
  45. package/dist/chunks/{chunk.7JGKUB4A.js → chunk.HQ6QUSK7.js} +2 -2
  46. package/dist/chunks/{chunk.NKMYBNM5.js → chunk.HUNET7WJ.js} +13 -176
  47. package/dist/chunks/chunk.HUNET7WJ.js.map +7 -0
  48. package/dist/chunks/{chunk.UODJAGU2.js → chunk.HXU4KIS6.js} +2 -2
  49. package/dist/chunks/{chunk.MAIIRSXZ.js → chunk.I4BIR42C.js} +14 -14
  50. package/dist/chunks/{chunk.DOIMWGFS.js → chunk.IQYJL5Z6.js} +6 -6
  51. package/dist/chunks/{chunk.G76BKD7B.js → chunk.JCIM6NE3.js} +2 -2
  52. package/dist/chunks/{chunk.KJBCZJ6K.js → chunk.JCTTJTOZ.js} +2 -2
  53. package/dist/chunks/{chunk.K3PX643U.js → chunk.JCVNNYTF.js} +2 -2
  54. package/dist/chunks/{chunk.JYYVZLIU.js → chunk.JDCHKWRR.js} +6 -6
  55. package/dist/chunks/{chunk.QAQINAAG.js → chunk.JTSBAJHO.js} +2 -2
  56. package/dist/chunks/{chunk.YF6FRUKX.js → chunk.KBWFUFEY.js} +2 -2
  57. package/dist/chunks/{chunk.RK6NECYK.js → chunk.L6MGPLRR.js} +2 -2
  58. package/dist/chunks/{chunk.RTQJFZK3.js → chunk.LSARMSBE.js} +10 -10
  59. package/dist/chunks/{chunk.BRG3RLN3.js → chunk.LWDK3PUU.js} +2 -2
  60. package/dist/chunks/{chunk.JHGIU4HZ.js → chunk.LZ436BOH.js} +2 -2
  61. package/dist/chunks/{chunk.PKPTTKQA.js → chunk.M2C4HVTA.js} +2 -2
  62. package/dist/chunks/{chunk.IKCNW223.js → chunk.MRVMEVKZ.js} +5 -5
  63. package/dist/chunks/{chunk.IFV2P53O.js → chunk.MZ2E47U2.js} +2 -2
  64. package/dist/chunks/{chunk.HZO7PBWS.js → chunk.N3BWEYKZ.js} +2 -2
  65. package/dist/chunks/{chunk.SIWLLQTA.js → chunk.NCOPJN7G.js} +2 -2
  66. package/dist/chunks/{chunk.V4H475OR.js → chunk.NUIJATJY.js} +3 -3
  67. package/dist/chunks/{chunk.CEQYPACD.js → chunk.OH3PPVV4.js} +1 -11
  68. package/dist/chunks/chunk.OH3PPVV4.js.map +7 -0
  69. package/dist/chunks/{chunk.OMZMY7WY.js → chunk.OINUEOGJ.js} +2 -2
  70. package/dist/chunks/{chunk.GCIPCYGA.js → chunk.OKEISYAL.js} +2 -2
  71. package/dist/chunks/{chunk.HP2LEQRU.js → chunk.OLRA37R5.js} +2 -2
  72. package/dist/chunks/{chunk.2NWEQCDE.js → chunk.OV34IIR4.js} +2 -2
  73. package/dist/chunks/{chunk.BPD4SAWW.js → chunk.OWHZ76PP.js} +2 -2
  74. package/dist/chunks/{chunk.3764RHNZ.js → chunk.PEACRKLJ.js} +5 -5
  75. package/dist/chunks/{chunk.E3EDE5EN.js → chunk.PS5IQXSL.js} +2 -2
  76. package/dist/chunks/{chunk.HX7JLYDF.js → chunk.PTD7MC3P.js} +2 -2
  77. package/dist/chunks/{chunk.YSZZ3XZE.js → chunk.QDGHOIBX.js} +7 -7
  78. package/dist/chunks/{chunk.353K4PON.js → chunk.QG5FJ336.js} +3 -3
  79. package/dist/chunks/{chunk.2L5JW3W5.js → chunk.QODV46JX.js} +16 -15
  80. package/dist/chunks/chunk.QODV46JX.js.map +7 -0
  81. package/dist/chunks/{chunk.UHVW6WAA.js → chunk.QQRMMXVP.js} +6 -6
  82. package/dist/chunks/{chunk.66H23HMI.js → chunk.QSYDS5RS.js} +2 -2
  83. package/dist/chunks/{chunk.GNAG7ZC2.js → chunk.RSXTHBS2.js} +2 -2
  84. package/dist/chunks/{chunk.HCOKZQTP.js → chunk.S3FCROLD.js} +11 -11
  85. package/dist/chunks/{chunk.MY2ALVF7.js → chunk.SIDONJZL.js} +11 -11
  86. package/dist/chunks/{chunk.4I3A2FAT.js → chunk.SNQEIVMG.js} +2 -2
  87. package/dist/chunks/{chunk.FI2CRQ7Y.js → chunk.SPHJ7GCZ.js} +2 -2
  88. package/dist/chunks/{chunk.U5UY5Y2W.js → chunk.STWUISSH.js} +2 -2
  89. package/dist/chunks/{chunk.GG2RRZVJ.js → chunk.TN7MALIJ.js} +5 -5
  90. package/dist/chunks/{chunk.CGP72BVA.js → chunk.TQLJ73CW.js} +4 -4
  91. package/dist/chunks/{chunk.YDYA7L2E.js → chunk.TT323QJE.js} +5 -5
  92. package/dist/chunks/{chunk.DSM54YAD.js → chunk.UHDJKNZO.js} +5 -5
  93. package/dist/chunks/{chunk.HNDAREEH.js → chunk.UM7QSCRR.js} +3 -3
  94. package/dist/chunks/{chunk.2J3C2R4R.js → chunk.UNWTTBS2.js} +4 -4
  95. package/dist/chunks/{chunk.HY3NOR7D.js → chunk.V2CEHXZB.js} +7 -7
  96. package/dist/chunks/{chunk.6XA7QZZL.js → chunk.V77GZTYH.js} +3 -3
  97. package/dist/chunks/{chunk.5VQ3S2XE.js → chunk.VBAJW6MI.js} +6 -6
  98. package/dist/chunks/{chunk.23KNPBFB.js → chunk.VMCFOFYT.js} +2 -2
  99. package/dist/chunks/{chunk.CGQHRVXQ.js → chunk.VWKZRTIE.js} +2 -2
  100. package/dist/chunks/{chunk.Z634ODXV.js → chunk.WET36DGR.js} +2 -2
  101. package/dist/chunks/{chunk.BGBML4AJ.js → chunk.WG5YE65C.js} +2 -2
  102. package/dist/chunks/{chunk.OQVWVZ4P.js → chunk.WI5ZBZMJ.js} +8 -8
  103. package/dist/chunks/{chunk.JAP2ROD6.js → chunk.WNTUCLIL.js} +14 -14
  104. package/dist/chunks/{chunk.KAR4IGHT.js → chunk.XLCW4L4M.js} +12 -12
  105. package/dist/chunks/{chunk.J6WNJGIB.js → chunk.XOEJGHQ4.js} +2 -2
  106. package/dist/chunks/{chunk.NUQBPC6D.js → chunk.XYA7E6SM.js} +3 -3
  107. package/dist/chunks/{chunk.NUQBPC6D.js.map → chunk.XYA7E6SM.js.map} +1 -1
  108. package/dist/chunks/{chunk.PMYJ4WQL.js → chunk.Y4WKCT4Y.js} +13 -13
  109. package/dist/chunks/{chunk.4X3HY2V5.js → chunk.YT5SHGUK.js} +6 -1
  110. package/dist/chunks/{chunk.4X3HY2V5.js.map → chunk.YT5SHGUK.js.map} +2 -2
  111. package/dist/chunks/{chunk.3JEL6TFC.js → chunk.YVOCVTK4.js} +2 -2
  112. package/dist/chunks/{chunk.GQBSDITD.js → chunk.ZSA5J75I.js} +4 -4
  113. package/dist/chunks/{chunk.PE3G4I5L.js → chunk.ZW3X7PIQ.js} +2 -2
  114. package/dist/components/accordion/accordion.component.js +8 -9
  115. package/dist/components/accordion/accordion.js +9 -10
  116. package/dist/components/accordion/accordion.styles.js +1 -1
  117. package/dist/components/alert/alert.component.js +13 -14
  118. package/dist/components/alert/alert.custom.styles.js +1 -1
  119. package/dist/components/alert/alert.js +14 -15
  120. package/dist/components/alert/alert.styles.js +1 -1
  121. package/dist/components/badge/badge.component.js +6 -7
  122. package/dist/components/badge/badge.custom.styles.js +1 -1
  123. package/dist/components/badge/badge.js +7 -8
  124. package/dist/components/badge/badge.styles.js +1 -1
  125. package/dist/components/breadcrumb/breadcrumb.component.js +5 -5
  126. package/dist/components/breadcrumb/breadcrumb.custom.styles.js +1 -1
  127. package/dist/components/breadcrumb/breadcrumb.js +6 -6
  128. package/dist/components/breadcrumb/breadcrumb.styles.js +1 -1
  129. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +4 -4
  130. package/dist/components/breadcrumb-item/breadcrumb-item.custom.styles.js +1 -1
  131. package/dist/components/breadcrumb-item/breadcrumb-item.js +5 -5
  132. package/dist/components/breadcrumb-item/breadcrumb-item.styles.js +1 -1
  133. package/dist/components/button/button.component.js +11 -12
  134. package/dist/components/button/button.custom.styles.js +1 -1
  135. package/dist/components/button/button.js +12 -13
  136. package/dist/components/button/button.styles.js +1 -1
  137. package/dist/components/button-group/button-group.component.js +3 -3
  138. package/dist/components/button-group/button-group.js +4 -4
  139. package/dist/components/button-group/button-group.styles.js +1 -1
  140. package/dist/components/card/card.component.js +3 -3
  141. package/dist/components/card/card.custom.styles.js +1 -1
  142. package/dist/components/card/card.js +4 -4
  143. package/dist/components/card/card.styles.js +1 -1
  144. package/dist/components/checkbox/checkbox.component.js +10 -11
  145. package/dist/components/checkbox/checkbox.custom.styles.js +1 -1
  146. package/dist/components/checkbox/checkbox.js +11 -12
  147. package/dist/components/checkbox/checkbox.styles.js +1 -1
  148. package/dist/components/combobox/combobox.component.d.ts +2 -0
  149. package/dist/components/combobox/combobox.component.js +14 -15
  150. package/dist/components/combobox/combobox.custom.styles.js +1 -1
  151. package/dist/components/combobox/combobox.js +15 -16
  152. package/dist/components/combobox/combobox.styles.js +1 -1
  153. package/dist/components/combobox/option-renderer.js +1 -1
  154. package/dist/components/combobox/utils.js +1 -1
  155. package/dist/components/details/details.component.js +11 -12
  156. package/dist/components/details/details.custom.styles.js +1 -1
  157. package/dist/components/details/details.js +12 -13
  158. package/dist/components/details/details.styles.js +1 -1
  159. package/dist/components/dialog/dialog.component.js +15 -16
  160. package/dist/components/dialog/dialog.custom.styles.js +1 -1
  161. package/dist/components/dialog/dialog.js +16 -17
  162. package/dist/components/dialog/dialog.styles.js +1 -1
  163. package/dist/components/divider/divider.component.js +4 -4
  164. package/dist/components/divider/divider.custom.styles.js +1 -1
  165. package/dist/components/divider/divider.js +5 -5
  166. package/dist/components/divider/divider.styles.js +1 -1
  167. package/dist/components/drawer/drawer.component.js +15 -16
  168. package/dist/components/drawer/drawer.custom.styles.js +1 -1
  169. package/dist/components/drawer/drawer.js +16 -17
  170. package/dist/components/drawer/drawer.styles.js +1 -1
  171. package/dist/components/dropdown/dropdown.component.js +8 -8
  172. package/dist/components/dropdown/dropdown.custom.styles.js +1 -1
  173. package/dist/components/dropdown/dropdown.js +9 -9
  174. package/dist/components/dropdown/dropdown.styles.js +1 -1
  175. package/dist/components/file/file.component.js +14 -15
  176. package/dist/components/file/file.js +15 -16
  177. package/dist/components/file/file.styles.js +1 -1
  178. package/dist/components/header/header.component.js +7 -7
  179. package/dist/components/header/header.js +8 -8
  180. package/dist/components/header/header.styles.js +1 -1
  181. package/dist/components/icon/icon.component.js +4 -4
  182. package/dist/components/icon/icon.custom.styles.js +1 -1
  183. package/dist/components/icon/icon.js +5 -5
  184. package/dist/components/icon/icon.styles.js +1 -1
  185. package/dist/components/icon/library.default.js +1 -1
  186. package/dist/components/icon/library.js +1 -1
  187. package/dist/components/icon/library.system.js +1 -1
  188. package/dist/components/icon-button/icon-button.component.js +8 -9
  189. package/dist/components/icon-button/icon-button.custom.styles.js +1 -1
  190. package/dist/components/icon-button/icon-button.js +9 -10
  191. package/dist/components/icon-button/icon-button.styles.js +1 -1
  192. package/dist/components/input/input.component.d.ts +0 -47
  193. package/dist/components/input/input.component.js +11 -13
  194. package/dist/components/input/input.custom.styles.js +1 -1
  195. package/dist/components/input/input.js +12 -14
  196. package/dist/components/input/input.styles.js +1 -1
  197. package/dist/components/menu/menu.component.js +3 -3
  198. package/dist/components/menu/menu.custom.styles.js +1 -1
  199. package/dist/components/menu/menu.js +4 -4
  200. package/dist/components/menu/menu.styles.js +1 -1
  201. package/dist/components/menu-item/menu-item.component.js +8 -8
  202. package/dist/components/menu-item/menu-item.custom.styles.js +1 -1
  203. package/dist/components/menu-item/menu-item.js +9 -9
  204. package/dist/components/menu-item/menu-item.styles.js +1 -1
  205. package/dist/components/menu-item/submenu-controller.js +1 -1
  206. package/dist/components/menu-label/menu-label.component.js +6 -6
  207. package/dist/components/menu-label/menu-label.custom.styles.js +1 -1
  208. package/dist/components/menu-label/menu-label.js +7 -7
  209. package/dist/components/menu-label/menu-label.styles.js +1 -1
  210. package/dist/components/nav-item/nav-item.component.js +5 -5
  211. package/dist/components/nav-item/nav-item.js +6 -6
  212. package/dist/components/nav-item/nav-item.styles.js +1 -1
  213. package/dist/components/optgroup/optgroup.component.js +5 -5
  214. package/dist/components/optgroup/optgroup.js +6 -6
  215. package/dist/components/optgroup/optgroup.styles.js +1 -1
  216. package/dist/components/option/option-size.styles.js +1 -1
  217. package/dist/components/option/option.component.js +5 -5
  218. package/dist/components/option/option.custom.styles.js +1 -1
  219. package/dist/components/option/option.js +6 -6
  220. package/dist/components/option/option.styles.js +1 -1
  221. package/dist/components/option/utility.js +1 -1
  222. package/dist/components/popup/popup.component.js +3 -3
  223. package/dist/components/popup/popup.js +4 -4
  224. package/dist/components/popup/popup.styles.js +1 -1
  225. package/dist/components/prio-nav/prio-nav.component.js +16 -16
  226. package/dist/components/prio-nav/prio-nav.js +17 -17
  227. package/dist/components/prio-nav/prio-nav.styles.js +1 -1
  228. package/dist/components/prio-nav/utils.js +1 -1
  229. package/dist/components/progress-bar/progress-bar.component.js +3 -3
  230. package/dist/components/progress-bar/progress-bar.custom.styles.js +1 -1
  231. package/dist/components/progress-bar/progress-bar.js +4 -4
  232. package/dist/components/progress-bar/progress-bar.styles.js +1 -1
  233. package/dist/components/progress-ring/progress-ring.component.js +3 -3
  234. package/dist/components/progress-ring/progress-ring.custom.styles.js +1 -1
  235. package/dist/components/progress-ring/progress-ring.js +4 -4
  236. package/dist/components/progress-ring/progress-ring.styles.js +1 -1
  237. package/dist/components/radio/radio.component.js +8 -9
  238. package/dist/components/radio/radio.custom.styles.js +1 -1
  239. package/dist/components/radio/radio.js +9 -10
  240. package/dist/components/radio/radio.styles.js +1 -1
  241. package/dist/components/radio-button/radio-button.component.js +7 -8
  242. package/dist/components/radio-button/radio-button.js +8 -9
  243. package/dist/components/radio-button/radio-button.styles.js +1 -1
  244. package/dist/components/radio-group/radio-group.component.js +9 -10
  245. package/dist/components/radio-group/radio-group.custom.styles.js +1 -1
  246. package/dist/components/radio-group/radio-group.js +10 -11
  247. package/dist/components/radio-group/radio-group.styles.js +1 -1
  248. package/dist/components/range/range.component.js +15 -16
  249. package/dist/components/range/range.js +16 -17
  250. package/dist/components/range/range.styles.js +1 -1
  251. package/dist/components/range/utility.js +1 -1
  252. package/dist/components/range-tick/range-tick.component.js +3 -3
  253. package/dist/components/range-tick/range-tick.js +4 -4
  254. package/dist/components/range-tick/range-tick.styles.js +1 -1
  255. package/dist/components/resize-observer/resize-observer.component.js +4 -4
  256. package/dist/components/resize-observer/resize-observer.styles.js +1 -1
  257. package/dist/components/select/select.component.d.ts +1 -0
  258. package/dist/components/select/select.component.js +15 -16
  259. package/dist/components/select/select.custom.styles.js +1 -1
  260. package/dist/components/select/select.js +16 -17
  261. package/dist/components/select/select.styles.js +1 -1
  262. package/dist/components/select/utility.js +1 -1
  263. package/dist/components/side-nav/side-nav.component.js +17 -18
  264. package/dist/components/side-nav/side-nav.js +18 -19
  265. package/dist/components/side-nav/side-nav.styles.js +1 -1
  266. package/dist/components/spinner/spinner.component.js +3 -3
  267. package/dist/components/spinner/spinner.custom.styles.js +1 -1
  268. package/dist/components/spinner/spinner.js +4 -4
  269. package/dist/components/spinner/spinner.styles.js +1 -1
  270. package/dist/components/switch/switch.component.js +8 -9
  271. package/dist/components/switch/switch.custom.styles.js +1 -1
  272. package/dist/components/switch/switch.js +9 -10
  273. package/dist/components/switch/switch.styles.js +1 -1
  274. package/dist/components/tab/tab.component.js +9 -10
  275. package/dist/components/tab/tab.custom.styles.js +1 -1
  276. package/dist/components/tab/tab.js +10 -11
  277. package/dist/components/tab/tab.styles.js +1 -1
  278. package/dist/components/tab-group/tab-group.component.js +10 -11
  279. package/dist/components/tab-group/tab-group.custom.styles.js +1 -1
  280. package/dist/components/tab-group/tab-group.js +11 -12
  281. package/dist/components/tab-group/tab-group.styles.js +1 -1
  282. package/dist/components/tab-panel/tab-panel.component.js +4 -4
  283. package/dist/components/tab-panel/tab-panel.custom.styles.js +1 -1
  284. package/dist/components/tab-panel/tab-panel.js +5 -5
  285. package/dist/components/tab-panel/tab-panel.styles.js +1 -1
  286. package/dist/components/tag/tag.component.js +9 -10
  287. package/dist/components/tag/tag.custom.styles.js +1 -1
  288. package/dist/components/tag/tag.js +10 -11
  289. package/dist/components/tag/tag.styles.js +1 -1
  290. package/dist/components/textarea/textarea.component.js +8 -9
  291. package/dist/components/textarea/textarea.custom.styles.js +1 -1
  292. package/dist/components/textarea/textarea.js +9 -10
  293. package/dist/components/textarea/textarea.styles.js +1 -1
  294. package/dist/components/tooltip/tooltip.component.js +8 -8
  295. package/dist/components/tooltip/tooltip.custom.styles.js +2 -2
  296. package/dist/components/tooltip/tooltip.js +9 -9
  297. package/dist/components/tooltip/tooltip.styles.js +1 -1
  298. package/dist/components/validate/utility.js +3 -3
  299. package/dist/components/validate/validate.component.js +15 -16
  300. package/dist/components/validate/validate.js +16 -17
  301. package/dist/components/validate/validate.styles.js +1 -1
  302. package/dist/custom-elements.json +178 -267
  303. package/dist/events/events.d.ts +0 -1
  304. package/dist/styles/index.css +1 -1
  305. package/dist/synergy-autoloader.js +1 -1
  306. package/dist/synergy.js +177 -179
  307. package/dist/translations/de.js +1 -1
  308. package/dist/translations/en.js +1 -1
  309. package/dist/utilities/animation-registry.js +2 -2
  310. package/dist/utilities/base-path.js +1 -1
  311. package/dist/utilities/defaultSettings/base.d.ts +0 -3
  312. package/dist/utilities/defaultSettings/base.js +2 -3
  313. package/dist/utilities/defaultSettings/decorator.js +4 -5
  314. package/dist/utilities/defaultSettings/functions.js +3 -4
  315. package/dist/utilities/defaultSettings/index.js +4 -5
  316. package/dist/utilities/form.js +3 -3
  317. package/dist/utilities/icon-library.js +1 -1
  318. package/dist/utilities/localize.js +1 -1
  319. package/dist/vscode.html-custom-data.json +35 -54
  320. package/package.json +3 -3
  321. package/dist/chunks/chunk.2L5JW3W5.js.map +0 -7
  322. package/dist/chunks/chunk.53T54MDF.js +0 -30
  323. package/dist/chunks/chunk.53T54MDF.js.map +0 -7
  324. package/dist/chunks/chunk.A7BSGQUQ.js.map +0 -7
  325. package/dist/chunks/chunk.CEQYPACD.js.map +0 -7
  326. package/dist/chunks/chunk.NKMYBNM5.js.map +0 -7
  327. package/dist/chunks/chunk.RDYAIG65.js +0 -25
  328. package/dist/chunks/chunk.RDYAIG65.js.map +0 -7
  329. package/dist/components/input/formatter.d.ts +0 -8
  330. package/dist/components/input/formatter.js +0 -8
  331. package/dist/components/input/formatter.js.map +0 -7
  332. package/dist/components/input/strategies.d.ts +0 -67
  333. package/dist/components/input/strategies.js +0 -12
  334. package/dist/components/input/strategies.js.map +0 -7
  335. package/dist/events/syn-clamp.d.ts +0 -16
  336. /package/dist/chunks/{chunk.56NTE7JW.js.map → chunk.2B7USYXM.js.map} +0 -0
  337. /package/dist/chunks/{chunk.Z4XV3SMG.js.map → chunk.2GFK6XTO.js.map} +0 -0
  338. /package/dist/chunks/{chunk.N3KLCG35.js.map → chunk.2KA6GZTD.js.map} +0 -0
  339. /package/dist/chunks/{chunk.AYAX7BG7.js.map → chunk.2LYOMDFO.js.map} +0 -0
  340. /package/dist/chunks/{chunk.YYAC6H6O.js.map → chunk.35ZNNBZW.js.map} +0 -0
  341. /package/dist/chunks/{chunk.2K6NQLEV.js.map → chunk.37W6AS5R.js.map} +0 -0
  342. /package/dist/chunks/{chunk.JB6TLEKH.js.map → chunk.3BPL6QPW.js.map} +0 -0
  343. /package/dist/chunks/{chunk.XAUVRHWG.js.map → chunk.4D4S2YIJ.js.map} +0 -0
  344. /package/dist/chunks/{chunk.Z6TU6HAF.js.map → chunk.4MFSAOXD.js.map} +0 -0
  345. /package/dist/chunks/{chunk.2XOHNYC5.js.map → chunk.5QQ4ZYIU.js.map} +0 -0
  346. /package/dist/chunks/{chunk.Y34UAFAN.js.map → chunk.5VJN65HL.js.map} +0 -0
  347. /package/dist/chunks/{chunk.EC3TBECW.js.map → chunk.6E5Q6VKO.js.map} +0 -0
  348. /package/dist/chunks/{chunk.BKHCRIMU.js.map → chunk.6ESNGUDX.js.map} +0 -0
  349. /package/dist/chunks/{chunk.MTN5NM4A.js.map → chunk.6GBQX53P.js.map} +0 -0
  350. /package/dist/chunks/{chunk.OUISPKO2.js.map → chunk.6NPYKNGJ.js.map} +0 -0
  351. /package/dist/chunks/{chunk.V4K35JJY.js.map → chunk.6T2H5VTF.js.map} +0 -0
  352. /package/dist/chunks/{chunk.B27C5RF6.js.map → chunk.6Y2WSLTX.js.map} +0 -0
  353. /package/dist/chunks/{chunk.BVZQ6QSY.js.map → chunk.74IOULXM.js.map} +0 -0
  354. /package/dist/chunks/{chunk.NRLJB73P.js.map → chunk.7TU726KD.js.map} +0 -0
  355. /package/dist/chunks/{chunk.K5DRZGPZ.js.map → chunk.7ZLOLW3C.js.map} +0 -0
  356. /package/dist/chunks/{chunk.53RGIEWF.js.map → chunk.A2F77RGM.js.map} +0 -0
  357. /package/dist/chunks/{chunk.WUSN4QJH.js.map → chunk.A3HWYSAL.js.map} +0 -0
  358. /package/dist/chunks/{chunk.G6ITZTTW.js.map → chunk.A3OYJILJ.js.map} +0 -0
  359. /package/dist/chunks/{chunk.EK2I2ETM.js.map → chunk.A5XSJHBM.js.map} +0 -0
  360. /package/dist/chunks/{chunk.SWCD3CKX.js.map → chunk.AHFGZRBY.js.map} +0 -0
  361. /package/dist/chunks/{chunk.TJPUKKXT.js.map → chunk.AKTTRIOY.js.map} +0 -0
  362. /package/dist/chunks/{chunk.NTTXYDYX.js.map → chunk.AZVOGRZ7.js.map} +0 -0
  363. /package/dist/chunks/{chunk.LPZXZR3T.js.map → chunk.B6TDEXVY.js.map} +0 -0
  364. /package/dist/chunks/{chunk.3ZKI5OTR.js.map → chunk.BF3GFGX3.js.map} +0 -0
  365. /package/dist/chunks/{chunk.XIAITA3R.js.map → chunk.BVUKV27G.js.map} +0 -0
  366. /package/dist/chunks/{chunk.UIFJKTEU.js.map → chunk.CPDZHD7L.js.map} +0 -0
  367. /package/dist/chunks/{chunk.S3ABDHZT.js.map → chunk.CQTSIWXG.js.map} +0 -0
  368. /package/dist/chunks/{chunk.AVC4OCSZ.js.map → chunk.D3RIIOVE.js.map} +0 -0
  369. /package/dist/chunks/{chunk.JQDPM6DF.js.map → chunk.D4H6AJAW.js.map} +0 -0
  370. /package/dist/chunks/{chunk.FUXHSYEA.js.map → chunk.DSOVZGPX.js.map} +0 -0
  371. /package/dist/chunks/{chunk.NQH6IYCA.js.map → chunk.DUUXFFUP.js.map} +0 -0
  372. /package/dist/chunks/{chunk.PR66KI74.js.map → chunk.EOTX4M3O.js.map} +0 -0
  373. /package/dist/chunks/{chunk.4WTEYK2Y.js.map → chunk.EQFRWLRD.js.map} +0 -0
  374. /package/dist/chunks/{chunk.XYVSORCI.js.map → chunk.FAHCNBPH.js.map} +0 -0
  375. /package/dist/chunks/{chunk.VTWC6SZF.js.map → chunk.FJFZEHCM.js.map} +0 -0
  376. /package/dist/chunks/{chunk.SLFOWP34.js.map → chunk.GY7N723N.js.map} +0 -0
  377. /package/dist/chunks/{chunk.34MJRDEM.js.map → chunk.H7ZIT7K4.js.map} +0 -0
  378. /package/dist/chunks/{chunk.7JGKUB4A.js.map → chunk.HQ6QUSK7.js.map} +0 -0
  379. /package/dist/chunks/{chunk.UODJAGU2.js.map → chunk.HXU4KIS6.js.map} +0 -0
  380. /package/dist/chunks/{chunk.MAIIRSXZ.js.map → chunk.I4BIR42C.js.map} +0 -0
  381. /package/dist/chunks/{chunk.DOIMWGFS.js.map → chunk.IQYJL5Z6.js.map} +0 -0
  382. /package/dist/chunks/{chunk.G76BKD7B.js.map → chunk.JCIM6NE3.js.map} +0 -0
  383. /package/dist/chunks/{chunk.KJBCZJ6K.js.map → chunk.JCTTJTOZ.js.map} +0 -0
  384. /package/dist/chunks/{chunk.K3PX643U.js.map → chunk.JCVNNYTF.js.map} +0 -0
  385. /package/dist/chunks/{chunk.JYYVZLIU.js.map → chunk.JDCHKWRR.js.map} +0 -0
  386. /package/dist/chunks/{chunk.QAQINAAG.js.map → chunk.JTSBAJHO.js.map} +0 -0
  387. /package/dist/chunks/{chunk.YF6FRUKX.js.map → chunk.KBWFUFEY.js.map} +0 -0
  388. /package/dist/chunks/{chunk.RK6NECYK.js.map → chunk.L6MGPLRR.js.map} +0 -0
  389. /package/dist/chunks/{chunk.RTQJFZK3.js.map → chunk.LSARMSBE.js.map} +0 -0
  390. /package/dist/chunks/{chunk.BRG3RLN3.js.map → chunk.LWDK3PUU.js.map} +0 -0
  391. /package/dist/chunks/{chunk.JHGIU4HZ.js.map → chunk.LZ436BOH.js.map} +0 -0
  392. /package/dist/chunks/{chunk.PKPTTKQA.js.map → chunk.M2C4HVTA.js.map} +0 -0
  393. /package/dist/chunks/{chunk.IKCNW223.js.map → chunk.MRVMEVKZ.js.map} +0 -0
  394. /package/dist/chunks/{chunk.IFV2P53O.js.map → chunk.MZ2E47U2.js.map} +0 -0
  395. /package/dist/chunks/{chunk.HZO7PBWS.js.map → chunk.N3BWEYKZ.js.map} +0 -0
  396. /package/dist/chunks/{chunk.SIWLLQTA.js.map → chunk.NCOPJN7G.js.map} +0 -0
  397. /package/dist/chunks/{chunk.V4H475OR.js.map → chunk.NUIJATJY.js.map} +0 -0
  398. /package/dist/chunks/{chunk.OMZMY7WY.js.map → chunk.OINUEOGJ.js.map} +0 -0
  399. /package/dist/chunks/{chunk.GCIPCYGA.js.map → chunk.OKEISYAL.js.map} +0 -0
  400. /package/dist/chunks/{chunk.HP2LEQRU.js.map → chunk.OLRA37R5.js.map} +0 -0
  401. /package/dist/chunks/{chunk.2NWEQCDE.js.map → chunk.OV34IIR4.js.map} +0 -0
  402. /package/dist/chunks/{chunk.BPD4SAWW.js.map → chunk.OWHZ76PP.js.map} +0 -0
  403. /package/dist/chunks/{chunk.3764RHNZ.js.map → chunk.PEACRKLJ.js.map} +0 -0
  404. /package/dist/chunks/{chunk.E3EDE5EN.js.map → chunk.PS5IQXSL.js.map} +0 -0
  405. /package/dist/chunks/{chunk.HX7JLYDF.js.map → chunk.PTD7MC3P.js.map} +0 -0
  406. /package/dist/chunks/{chunk.YSZZ3XZE.js.map → chunk.QDGHOIBX.js.map} +0 -0
  407. /package/dist/chunks/{chunk.353K4PON.js.map → chunk.QG5FJ336.js.map} +0 -0
  408. /package/dist/chunks/{chunk.UHVW6WAA.js.map → chunk.QQRMMXVP.js.map} +0 -0
  409. /package/dist/chunks/{chunk.66H23HMI.js.map → chunk.QSYDS5RS.js.map} +0 -0
  410. /package/dist/chunks/{chunk.GNAG7ZC2.js.map → chunk.RSXTHBS2.js.map} +0 -0
  411. /package/dist/chunks/{chunk.HCOKZQTP.js.map → chunk.S3FCROLD.js.map} +0 -0
  412. /package/dist/chunks/{chunk.MY2ALVF7.js.map → chunk.SIDONJZL.js.map} +0 -0
  413. /package/dist/chunks/{chunk.4I3A2FAT.js.map → chunk.SNQEIVMG.js.map} +0 -0
  414. /package/dist/chunks/{chunk.FI2CRQ7Y.js.map → chunk.SPHJ7GCZ.js.map} +0 -0
  415. /package/dist/chunks/{chunk.U5UY5Y2W.js.map → chunk.STWUISSH.js.map} +0 -0
  416. /package/dist/chunks/{chunk.GG2RRZVJ.js.map → chunk.TN7MALIJ.js.map} +0 -0
  417. /package/dist/chunks/{chunk.CGP72BVA.js.map → chunk.TQLJ73CW.js.map} +0 -0
  418. /package/dist/chunks/{chunk.YDYA7L2E.js.map → chunk.TT323QJE.js.map} +0 -0
  419. /package/dist/chunks/{chunk.DSM54YAD.js.map → chunk.UHDJKNZO.js.map} +0 -0
  420. /package/dist/chunks/{chunk.HNDAREEH.js.map → chunk.UM7QSCRR.js.map} +0 -0
  421. /package/dist/chunks/{chunk.2J3C2R4R.js.map → chunk.UNWTTBS2.js.map} +0 -0
  422. /package/dist/chunks/{chunk.HY3NOR7D.js.map → chunk.V2CEHXZB.js.map} +0 -0
  423. /package/dist/chunks/{chunk.6XA7QZZL.js.map → chunk.V77GZTYH.js.map} +0 -0
  424. /package/dist/chunks/{chunk.5VQ3S2XE.js.map → chunk.VBAJW6MI.js.map} +0 -0
  425. /package/dist/chunks/{chunk.23KNPBFB.js.map → chunk.VMCFOFYT.js.map} +0 -0
  426. /package/dist/chunks/{chunk.CGQHRVXQ.js.map → chunk.VWKZRTIE.js.map} +0 -0
  427. /package/dist/chunks/{chunk.Z634ODXV.js.map → chunk.WET36DGR.js.map} +0 -0
  428. /package/dist/chunks/{chunk.BGBML4AJ.js.map → chunk.WG5YE65C.js.map} +0 -0
  429. /package/dist/chunks/{chunk.OQVWVZ4P.js.map → chunk.WI5ZBZMJ.js.map} +0 -0
  430. /package/dist/chunks/{chunk.JAP2ROD6.js.map → chunk.WNTUCLIL.js.map} +0 -0
  431. /package/dist/chunks/{chunk.KAR4IGHT.js.map → chunk.XLCW4L4M.js.map} +0 -0
  432. /package/dist/chunks/{chunk.J6WNJGIB.js.map → chunk.XOEJGHQ4.js.map} +0 -0
  433. /package/dist/chunks/{chunk.PMYJ4WQL.js.map → chunk.Y4WKCT4Y.js.map} +0 -0
  434. /package/dist/chunks/{chunk.3JEL6TFC.js.map → chunk.YVOCVTK4.js.map} +0 -0
  435. /package/dist/chunks/{chunk.GQBSDITD.js.map → chunk.ZSA5J75I.js.map} +0 -0
  436. /package/dist/chunks/{chunk.PE3G4I5L.js.map → chunk.ZW3X7PIQ.js.map} +0 -0
@@ -4,12 +4,9 @@ import {
4
4
  import {
5
5
  input_styles_default
6
6
  } from "./chunk.XAQKFEHH.js";
7
- import {
8
- formatNumber
9
- } from "./chunk.53T54MDF.js";
10
7
  import {
11
8
  SynDivider
12
- } from "./chunk.AVC4OCSZ.js";
9
+ } from "./chunk.D3RIIOVE.js";
13
10
  import {
14
11
  defaultValue
15
12
  } from "./chunk.3NXKLKWH.js";
@@ -19,41 +16,32 @@ import {
19
16
  } from "./chunk.AERTEAG5.js";
20
17
  import {
21
18
  FormControlController
22
- } from "./chunk.HP2LEQRU.js";
19
+ } from "./chunk.OLRA37R5.js";
20
+ import {
21
+ HasSlotController
22
+ } from "./chunk.WVVQK5TE.js";
23
23
  import {
24
24
  SynIcon
25
- } from "./chunk.4WTEYK2Y.js";
25
+ } from "./chunk.EQFRWLRD.js";
26
26
  import {
27
27
  LocalizeController
28
28
  } from "./chunk.GIU3H3J3.js";
29
- import {
30
- HasSlotController
31
- } from "./chunk.WVVQK5TE.js";
32
29
  import {
33
30
  enableDefaultSettings
34
- } from "./chunk.V4H475OR.js";
35
- import {
36
- createNumericStrategy,
37
- modernNumericStrategy,
38
- nativeNumericStrategy
39
- } from "./chunk.RDYAIG65.js";
31
+ } from "./chunk.NUIJATJY.js";
40
32
  import {
41
33
  watch
42
- } from "./chunk.BVZQ6QSY.js";
34
+ } from "./chunk.74IOULXM.js";
43
35
  import {
44
36
  component_styles_default
45
37
  } from "./chunk.NLYVOJGK.js";
46
38
  import {
47
39
  SynergyElement
48
- } from "./chunk.NUQBPC6D.js";
40
+ } from "./chunk.XYA7E6SM.js";
49
41
  import {
50
42
  __decorateClass,
51
- __privateAdd,
52
- __privateGet,
53
- __privateMethod,
54
- __privateSet,
55
43
  __spreadValues
56
- } from "./chunk.Z4XV3SMG.js";
44
+ } from "./chunk.2GFK6XTO.js";
57
45
 
58
46
  // src/components/input/input.component.ts
59
47
  import { classMap } from "lit/directives/class-map.js";
@@ -149,11 +137,9 @@ var LongPressDirective = class extends AsyncDirective {
149
137
  var longPress = directive(LongPressDirective);
150
138
 
151
139
  // src/components/input/input.component.ts
152
- var _numericStrategy, _SynInput_instances, format_fn;
153
140
  var SynInput = class extends SynergyElement {
154
141
  constructor() {
155
142
  super(...arguments);
156
- __privateAdd(this, _SynInput_instances);
157
143
  this.formControlController = new FormControlController(this, {
158
144
  assumeInteractionOn: ["syn-blur", "syn-input"]
159
145
  });
@@ -181,27 +167,6 @@ var SynInput = class extends SynergyElement {
181
167
  this.form = "";
182
168
  this.required = false;
183
169
  this.spellcheck = true;
184
- this.minFractionDigits = 0;
185
- __privateAdd(this, _numericStrategy, nativeNumericStrategy);
186
- }
187
- set numericStrategy(value) {
188
- switch (typeof value) {
189
- case "string":
190
- __privateSet(this, _numericStrategy, value === "modern" ? modernNumericStrategy : nativeNumericStrategy);
191
- break;
192
- case "object":
193
- __privateSet(this, _numericStrategy, createNumericStrategy(value));
194
- break;
195
- default:
196
- __privateSet(this, _numericStrategy, nativeNumericStrategy);
197
- }
198
- }
199
- /**
200
- * @default nativeNumericStrategy
201
- * @todo: This must be changed to "modern" in Synergy@3
202
- */
203
- get numericStrategy() {
204
- return __privateGet(this, _numericStrategy);
205
170
  }
206
171
  //
207
172
  // NOTE: We use an in-memory input for these getters/setters instead of the one in the template because the properties
@@ -262,7 +227,7 @@ var SynInput = class extends SynergyElement {
262
227
  if (this.disabled || this.readonly) {
263
228
  return true;
264
229
  }
265
- if (this.min === void 0 || this.min === null) {
230
+ if (this.min === void 0 || this.min === null || this.disabled) {
266
231
  return false;
267
232
  }
268
233
  const min = typeof this.min === "string" ? parseFloat(this.min) : this.min;
@@ -278,45 +243,7 @@ var SynInput = class extends SynergyElement {
278
243
  const max = typeof this.max === "string" ? parseFloat(this.max) : this.max;
279
244
  return this.valueAsNumber >= max;
280
245
  }
281
- handleNumericStrategyAutoClamp() {
282
- const min = typeof this.min === "string" ? parseFloat(this.min) : this.min;
283
- const max = typeof this.max === "string" ? parseFloat(this.max) : this.max;
284
- const { valueAsNumber } = this;
285
- let nextValue = valueAsNumber;
286
- let clampEvent = "";
287
- if (nextValue < min) {
288
- nextValue = min;
289
- clampEvent = "min";
290
- } else if (nextValue > max) {
291
- nextValue = max;
292
- clampEvent = "max";
293
- }
294
- const eventObj = clampEvent ? {
295
- detail: {
296
- clampedTo: clampEvent,
297
- lastUserValue: valueAsNumber
298
- }
299
- } : null;
300
- return {
301
- eventObj,
302
- shouldClamp: !!eventObj,
303
- nextValue
304
- };
305
- }
306
246
  handleChange() {
307
- if (this.type === "number" && (__privateGet(this, _numericStrategy).enableNumberFormat || __privateGet(this, _numericStrategy).autoClamp)) {
308
- const { eventObj, shouldClamp, nextValue } = this.handleNumericStrategyAutoClamp();
309
- const initialNextValue = __privateGet(this, _numericStrategy).autoClamp ? nextValue : this.valueAsNumber;
310
- this.value = __privateGet(this, _numericStrategy).enableNumberFormat ? __privateMethod(this, _SynInput_instances, format_fn).call(this, initialNextValue) : initialNextValue.toString();
311
- this.updateComplete.then(() => {
312
- if (shouldClamp && eventObj) {
313
- this.emit("syn-clamp", eventObj);
314
- }
315
- this.formControlController.updateValidity();
316
- this.emit("syn-change");
317
- });
318
- return;
319
- }
320
247
  this.value = this.input.value;
321
248
  this.emit("syn-change");
322
249
  }
@@ -344,20 +271,6 @@ var SynInput = class extends SynergyElement {
344
271
  this.formControlController.emitInvalidEvent(event);
345
272
  }
346
273
  handleKeyDown(event) {
347
- if (__privateGet(this, _numericStrategy).noStepAlign && this.type === "number") {
348
- const { key } = event;
349
- if (key === "ArrowUp" || key === "ArrowDown") {
350
- event.preventDefault();
351
- event.stopPropagation();
352
- if (key === "ArrowUp") {
353
- this.handleStepUp();
354
- } else if (key === "ArrowDown") {
355
- this.handleStepDown();
356
- }
357
- this.handleChange();
358
- return;
359
- }
360
- }
361
274
  const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;
362
275
  if (event.key === "Enter" && !hasModifier) {
363
276
  setTimeout(() => {
@@ -414,25 +327,6 @@ var SynInput = class extends SynergyElement {
414
327
  }
415
328
  /** Increments the value of a numeric input type by the value of the step attribute. */
416
329
  stepUp() {
417
- if (__privateGet(this, _numericStrategy).noStepAlign) {
418
- const { max, step, valueAsNumber } = this;
419
- const usedInitialValue = Number.isNaN(valueAsNumber) ? 0 : valueAsNumber;
420
- const usedMin = typeof this.min === "string" ? parseFloat(this.min) : this.min;
421
- const usedMax = typeof max === "string" ? parseFloat(max) : max;
422
- const usedStep = typeof step === "undefined" || step === null || step === "any" ? 1 : typeof step === "number" ? step : parseFloat(step);
423
- let wantedNextValue = usedInitialValue + usedStep;
424
- if (typeof usedMax === "number" && usedMax < wantedNextValue) {
425
- wantedNextValue = usedMax;
426
- } else if (typeof usedMin === "number" && usedMin > wantedNextValue) {
427
- wantedNextValue = usedMin;
428
- }
429
- const finalStringValue = __privateGet(this, _numericStrategy).enableNumberFormat ? __privateMethod(this, _SynInput_instances, format_fn).call(this, wantedNextValue) : wantedNextValue.toString();
430
- this.input.value = finalStringValue;
431
- if (this.value !== this.input.value) {
432
- this.value = this.input.value;
433
- }
434
- return;
435
- }
436
330
  this.input.stepUp();
437
331
  if (this.value !== this.input.value) {
438
332
  this.value = this.input.value;
@@ -440,25 +334,6 @@ var SynInput = class extends SynergyElement {
440
334
  }
441
335
  /** Decrements the value of a numeric input type by the value of the step attribute. */
442
336
  stepDown() {
443
- if (__privateGet(this, _numericStrategy).noStepAlign) {
444
- const { min, max, step, valueAsNumber } = this;
445
- const usedInitialValue = Number.isNaN(valueAsNumber) ? 0 : valueAsNumber;
446
- const usedMin = typeof min === "string" ? parseFloat(min) : min;
447
- const usedMax = typeof max === "string" ? parseFloat(max) : max;
448
- const usedStep = typeof step === "undefined" || step === null || step === "any" ? 1 : typeof step === "number" ? step : parseFloat(step);
449
- let wantedNextValue = usedInitialValue - usedStep;
450
- if (typeof usedMin === "number" && usedMin > wantedNextValue) {
451
- wantedNextValue = usedMin;
452
- } else if (typeof usedMax === "number" && usedMax < wantedNextValue) {
453
- wantedNextValue = usedMax;
454
- }
455
- const finalStringValue = __privateGet(this, _numericStrategy).enableNumberFormat ? __privateMethod(this, _SynInput_instances, format_fn).call(this, wantedNextValue) : wantedNextValue.toString();
456
- this.input.value = finalStringValue;
457
- if (this.value !== this.input.value) {
458
- this.value = this.input.value;
459
- }
460
- return;
461
- }
462
337
  this.input.stepDown();
463
338
  if (this.value !== this.input.value) {
464
339
  this.value = this.input.value;
@@ -550,7 +425,7 @@ var SynInput = class extends SynergyElement {
550
425
  maxlength=${ifDefined(this.maxlength)}
551
426
  min=${ifDefined(this.min)}
552
427
  max=${ifDefined(this.max)}
553
- step=${ifDefined(!__privateGet(this, _numericStrategy).noStepValidation ? this.step : "any")}
428
+ step=${ifDefined(this.step)}
554
429
  .value=${live(this.value)}
555
430
  autocapitalize=${ifDefined(this.autocapitalize)}
556
431
  autocomplete=${ifDefined(this.autocomplete)}
@@ -654,14 +529,6 @@ var SynInput = class extends SynergyElement {
654
529
  `;
655
530
  }
656
531
  };
657
- _numericStrategy = new WeakMap();
658
- _SynInput_instances = new WeakSet();
659
- format_fn = function(value) {
660
- return formatNumber(value, this.step, __spreadValues({
661
- maximumFractionDigits: this.maxFractionDigits,
662
- minimumFractionDigits: this.minFractionDigits
663
- }, this.numberFormatterOptions));
664
- };
665
532
  SynInput.styles = [component_styles_default, form_control_styles_default, input_styles_default, form_control_custom_styles_default, input_custom_styles_default];
666
533
  SynInput.dependencies = {
667
534
  "syn-icon": SynIcon,
@@ -770,36 +637,6 @@ __decorateClass([
770
637
  __decorateClass([
771
638
  property()
772
639
  ], SynInput.prototype, "inputmode", 2);
773
- __decorateClass([
774
- property({
775
- attribute: false,
776
- reflect: false,
777
- type: Object
778
- })
779
- ], SynInput.prototype, "numberFormatterOptions", 2);
780
- __decorateClass([
781
- property({
782
- attribute: "min-fraction-digits",
783
- type: Number
784
- })
785
- ], SynInput.prototype, "minFractionDigits", 2);
786
- __decorateClass([
787
- property({
788
- attribute: "max-fraction-digits",
789
- type: Number
790
- })
791
- ], SynInput.prototype, "maxFractionDigits", 2);
792
- __decorateClass([
793
- property({
794
- attribute: "numeric-strategy",
795
- converter: {
796
- fromAttribute: (value) => {
797
- return value === "modern" ? modernNumericStrategy : nativeNumericStrategy;
798
- }
799
- },
800
- type: Object
801
- })
802
- ], SynInput.prototype, "numericStrategy", 1);
803
640
  __decorateClass([
804
641
  watch("disabled", { waitUntilFirstUpdate: true })
805
642
  ], SynInput.prototype, "handleDisabledChange", 1);
@@ -816,4 +653,4 @@ SynInput = __decorateClass([
816
653
  export {
817
654
  SynInput
818
655
  };
819
- //# sourceMappingURL=chunk.NKMYBNM5.js.map
656
+ //# sourceMappingURL=chunk.HUNET7WJ.js.map
@@ -0,0 +1,7 @@
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 { 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 *\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() autocorrect: 'off' | 'on';\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 // 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 || this.disabled) {\n return false;\n }\n\n const min = typeof this.min === 'string' ? parseFloat(this.min) : this.min\n return this.valueAsNumber <= 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 return this.valueAsNumber >= max;\n }\n\n private handleChange() {\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 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 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 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 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 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.step as number)}\n .value=${live(this.value)}\n autocapitalize=${ifDefined(this.autocapitalize)}\n autocomplete=${ifDefined(this.autocomplete)}\n autocorrect=${ifDefined(this.autocorrect)}\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;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.ts
6
6
  var tab_panel_default = SynTabPanel;
@@ -9,4 +9,4 @@ SynTabPanel.define("syn-tab-panel");
9
9
  export {
10
10
  tab_panel_default
11
11
  };
12
- //# sourceMappingURL=chunk.UODJAGU2.js.map
12
+ //# sourceMappingURL=chunk.HXU4KIS6.js.map
@@ -1,12 +1,12 @@
1
- import {
2
- drawer_custom_styles_default
3
- } from "./chunk.I4FIU7FA.js";
4
1
  import {
5
2
  drawer_styles_default
6
3
  } from "./chunk.N7QJ54ZM.js";
4
+ import {
5
+ drawer_custom_styles_default
6
+ } from "./chunk.I4FIU7FA.js";
7
7
  import {
8
8
  Modal
9
- } from "./chunk.AYAX7BG7.js";
9
+ } from "./chunk.2LYOMDFO.js";
10
10
  import {
11
11
  lockBodyScrolling,
12
12
  unlockBodyScrolling
@@ -16,36 +16,36 @@ import {
16
16
  } from "./chunk.WXVOTRW5.js";
17
17
  import {
18
18
  SynIconButton
19
- } from "./chunk.IKCNW223.js";
19
+ } from "./chunk.MRVMEVKZ.js";
20
20
  import {
21
21
  waitForEvent
22
22
  } from "./chunk.C2ENQBPM.js";
23
23
  import {
24
24
  animateTo,
25
25
  stopAnimations
26
- } from "./chunk.G6ITZTTW.js";
26
+ } from "./chunk.A3OYJILJ.js";
27
27
  import {
28
28
  getAnimation,
29
29
  setDefaultAnimation
30
- } from "./chunk.7JGKUB4A.js";
31
- import {
32
- LocalizeController
33
- } from "./chunk.GIU3H3J3.js";
30
+ } from "./chunk.HQ6QUSK7.js";
34
31
  import {
35
32
  HasSlotController
36
33
  } from "./chunk.WVVQK5TE.js";
34
+ import {
35
+ LocalizeController
36
+ } from "./chunk.GIU3H3J3.js";
37
37
  import {
38
38
  watch
39
- } from "./chunk.BVZQ6QSY.js";
39
+ } from "./chunk.74IOULXM.js";
40
40
  import {
41
41
  component_styles_default
42
42
  } from "./chunk.NLYVOJGK.js";
43
43
  import {
44
44
  SynergyElement
45
- } from "./chunk.NUQBPC6D.js";
45
+ } from "./chunk.XYA7E6SM.js";
46
46
  import {
47
47
  __decorateClass
48
- } from "./chunk.Z4XV3SMG.js";
48
+ } from "./chunk.2GFK6XTO.js";
49
49
 
50
50
  // src/components/drawer/drawer.component.ts
51
51
  import { classMap } from "lit/directives/class-map.js";
@@ -398,4 +398,4 @@ setDefaultAnimation("drawer.overlay.hide", {
398
398
  export {
399
399
  SynDrawer
400
400
  };
401
- //# sourceMappingURL=chunk.MAIIRSXZ.js.map
401
+ //# sourceMappingURL=chunk.I4BIR42C.js.map
@@ -13,25 +13,25 @@ import {
13
13
  } from "./chunk.AERTEAG5.js";
14
14
  import {
15
15
  FormControlController
16
- } from "./chunk.HP2LEQRU.js";
16
+ } from "./chunk.OLRA37R5.js";
17
17
  import {
18
18
  HasSlotController
19
19
  } from "./chunk.WVVQK5TE.js";
20
20
  import {
21
21
  enableDefaultSettings
22
- } from "./chunk.V4H475OR.js";
22
+ } from "./chunk.NUIJATJY.js";
23
23
  import {
24
24
  watch
25
- } from "./chunk.BVZQ6QSY.js";
25
+ } from "./chunk.74IOULXM.js";
26
26
  import {
27
27
  component_styles_default
28
28
  } from "./chunk.NLYVOJGK.js";
29
29
  import {
30
30
  SynergyElement
31
- } from "./chunk.NUQBPC6D.js";
31
+ } from "./chunk.XYA7E6SM.js";
32
32
  import {
33
33
  __decorateClass
34
- } from "./chunk.Z4XV3SMG.js";
34
+ } from "./chunk.2GFK6XTO.js";
35
35
 
36
36
  // src/components/switch/switch.component.ts
37
37
  import { classMap } from "lit/directives/class-map.js";
@@ -255,4 +255,4 @@ SynSwitch = __decorateClass([
255
255
  export {
256
256
  SynSwitch
257
257
  };
258
- //# sourceMappingURL=chunk.DOIMWGFS.js.map
258
+ //# sourceMappingURL=chunk.IQYJL5Z6.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __yieldStar
3
- } from "./chunk.Z4XV3SMG.js";
3
+ } from "./chunk.2GFK6XTO.js";
4
4
 
5
5
  // src/internal/active-elements.ts
6
6
  function* activeElements(activeElement = document.activeElement) {
@@ -154,4 +154,4 @@ export {
154
154
  getTabbableBoundary,
155
155
  getTabbableElements
156
156
  };
157
- //# sourceMappingURL=chunk.G76BKD7B.js.map
157
+ //# sourceMappingURL=chunk.JCIM6NE3.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynPopup
3
- } from "./chunk.WUSN4QJH.js";
3
+ } from "./chunk.A3HWYSAL.js";
4
4
 
5
5
  // src/components/popup/popup.ts
6
6
  var popup_default = SynPopup;
@@ -9,4 +9,4 @@ SynPopup.define("syn-popup");
9
9
  export {
10
10
  popup_default
11
11
  };
12
- //# sourceMappingURL=chunk.KJBCZJ6K.js.map
12
+ //# sourceMappingURL=chunk.JCTTJTOZ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynCheckbox
3
- } from "./chunk.OUISPKO2.js";
3
+ } from "./chunk.6NPYKNGJ.js";
4
4
 
5
5
  // src/components/checkbox/checkbox.ts
6
6
  var checkbox_default = SynCheckbox;
@@ -9,4 +9,4 @@ SynCheckbox.define("syn-checkbox");
9
9
  export {
10
10
  checkbox_default
11
11
  };
12
- //# sourceMappingURL=chunk.K3PX643U.js.map
12
+ //# sourceMappingURL=chunk.JCVNNYTF.js.map
@@ -13,25 +13,25 @@ import {
13
13
  } from "./chunk.AERTEAG5.js";
14
14
  import {
15
15
  FormControlController
16
- } from "./chunk.HP2LEQRU.js";
16
+ } from "./chunk.OLRA37R5.js";
17
17
  import {
18
18
  HasSlotController
19
19
  } from "./chunk.WVVQK5TE.js";
20
20
  import {
21
21
  enableDefaultSettings
22
- } from "./chunk.V4H475OR.js";
22
+ } from "./chunk.NUIJATJY.js";
23
23
  import {
24
24
  watch
25
- } from "./chunk.BVZQ6QSY.js";
25
+ } from "./chunk.74IOULXM.js";
26
26
  import {
27
27
  component_styles_default
28
28
  } from "./chunk.NLYVOJGK.js";
29
29
  import {
30
30
  SynergyElement
31
- } from "./chunk.NUQBPC6D.js";
31
+ } from "./chunk.XYA7E6SM.js";
32
32
  import {
33
33
  __decorateClass
34
- } from "./chunk.Z4XV3SMG.js";
34
+ } from "./chunk.2GFK6XTO.js";
35
35
 
36
36
  // src/components/textarea/textarea.component.ts
37
37
  import { classMap } from "lit/directives/class-map.js";
@@ -375,4 +375,4 @@ SynTextarea = __decorateClass([
375
375
  export {
376
376
  SynTextarea
377
377
  };
378
- //# sourceMappingURL=chunk.JYYVZLIU.js.map
378
+ //# sourceMappingURL=chunk.JDCHKWRR.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  INITIAL_DEFAULT_SETTINGS,
3
3
  defaultSettings
4
- } from "./chunk.CEQYPACD.js";
4
+ } from "./chunk.OH3PPVV4.js";
5
5
 
6
6
  // src/utilities/defaultSettings/functions.ts
7
7
  var SYNERGY_EXPERIMENTAL_SETTING_EMIT_EVENTS = false;
@@ -144,4 +144,4 @@ export {
144
144
  setGlobalDefaultSettings,
145
145
  resetGlobalDefaultSettings
146
146
  };
147
- //# sourceMappingURL=chunk.QAQINAAG.js.map
147
+ //# sourceMappingURL=chunk.JTSBAJHO.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTextarea
3
- } from "./chunk.JYYVZLIU.js";
3
+ } from "./chunk.JDCHKWRR.js";
4
4
 
5
5
  // src/components/textarea/textarea.ts
6
6
  var textarea_default = SynTextarea;
@@ -9,4 +9,4 @@ SynTextarea.define("syn-textarea");
9
9
  export {
10
10
  textarea_default
11
11
  };
12
- //# sourceMappingURL=chunk.YF6FRUKX.js.map
12
+ //# sourceMappingURL=chunk.KBWFUFEY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTag
3
- } from "./chunk.3764RHNZ.js";
3
+ } from "./chunk.PEACRKLJ.js";
4
4
 
5
5
  // src/components/tag/tag.ts
6
6
  var tag_default = SynTag;
@@ -9,4 +9,4 @@ SynTag.define("syn-tag");
9
9
  export {
10
10
  tag_default
11
11
  };
12
- //# sourceMappingURL=chunk.RK6NECYK.js.map
12
+ //# sourceMappingURL=chunk.L6MGPLRR.js.map