@synergy-design-system/components 2.31.0-numeric.3 → 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 (430) hide show
  1. package/dist/chunks/{chunk.5LC3JCV4.js → chunk.2B7USYXM.js} +3 -3
  2. package/dist/chunks/{chunk.Z4XV3SMG.js → chunk.2GFK6XTO.js} +1 -14
  3. package/dist/chunks/{chunk.DRKA3RET.js → chunk.2KA6GZTD.js} +2 -2
  4. package/dist/chunks/{chunk.AYAX7BG7.js → chunk.2LYOMDFO.js} +2 -2
  5. package/dist/chunks/{chunk.MV27WLAS.js → chunk.35ZNNBZW.js} +2 -2
  6. package/dist/chunks/{chunk.MHPQA44T.js → chunk.37W6AS5R.js} +2 -2
  7. package/dist/chunks/{chunk.PCYVMZQM.js → chunk.3BPL6QPW.js} +2 -2
  8. package/dist/chunks/{chunk.JWND2GFN.js → chunk.4D4S2YIJ.js} +6 -6
  9. package/dist/chunks/{chunk.ODUSEMOT.js → chunk.4MFSAOXD.js} +2 -2
  10. package/dist/chunks/{chunk.5BUU5BCH.js → chunk.5QQ4ZYIU.js} +2 -2
  11. package/dist/chunks/{chunk.BQORIQ74.js → chunk.5VJN65HL.js} +2 -2
  12. package/dist/chunks/{chunk.WHD6U3UX.js → chunk.6E5Q6VKO.js} +2 -2
  13. package/dist/chunks/{chunk.AJ73FM3N.js → chunk.6ESNGUDX.js} +2 -2
  14. package/dist/chunks/{chunk.MTN5NM4A.js → chunk.6GBQX53P.js} +2 -2
  15. package/dist/chunks/{chunk.ZBRWKI2I.js → chunk.6NPYKNGJ.js} +9 -9
  16. package/dist/chunks/{chunk.ZGQ4FVQW.js → chunk.6T2H5VTF.js} +2 -2
  17. package/dist/chunks/{chunk.PJ77QULT.js → chunk.6Y2WSLTX.js} +4 -4
  18. package/dist/chunks/{chunk.BVZQ6QSY.js → chunk.74IOULXM.js} +2 -2
  19. package/dist/chunks/{chunk.IW6X3LFW.js → chunk.7TU726KD.js} +3 -3
  20. package/dist/chunks/{chunk.ZO2YPPQX.js → chunk.7ZLOLW3C.js} +3 -3
  21. package/dist/chunks/{chunk.FASIIYDO.js → chunk.A2F77RGM.js} +4 -4
  22. package/dist/chunks/{chunk.JYM2KBX2.js → chunk.A3HWYSAL.js} +3 -3
  23. package/dist/chunks/{chunk.G6ITZTTW.js → chunk.A3OYJILJ.js} +2 -2
  24. package/dist/chunks/{chunk.SXYORVJ4.js → chunk.A5XSJHBM.js} +11 -11
  25. package/dist/chunks/{chunk.5QUFKOPO.js → chunk.AHFGZRBY.js} +2 -2
  26. package/dist/chunks/{chunk.JN7MXTVN.js → chunk.AKTTRIOY.js} +2 -2
  27. package/dist/chunks/{chunk.Q7OBEUJP.js → chunk.AZVOGRZ7.js} +5 -5
  28. package/dist/chunks/{chunk.YMPDZZMX.js → chunk.B6TDEXVY.js} +12 -12
  29. package/dist/chunks/{chunk.ZIKZWHEJ.js → chunk.BF3GFGX3.js} +2 -2
  30. package/dist/chunks/{chunk.PMU62FIY.js → chunk.BVUKV27G.js} +2 -2
  31. package/dist/chunks/{chunk.HDXDWES2.js → chunk.CPDZHD7L.js} +2 -2
  32. package/dist/chunks/{chunk.L5DDQZJL.js → chunk.CQTSIWXG.js} +2 -2
  33. package/dist/chunks/{chunk.Z67XVHET.js → chunk.D3RIIOVE.js} +4 -4
  34. package/dist/chunks/{chunk.LMT5B3HR.js → chunk.D4H6AJAW.js} +5 -5
  35. package/dist/chunks/{chunk.CFBIOFE3.js → chunk.DSOVZGPX.js} +2 -2
  36. package/dist/chunks/{chunk.TR2YSRMW.js → chunk.DUUXFFUP.js} +2 -2
  37. package/dist/chunks/{chunk.HA7BLR63.js → chunk.EOTX4M3O.js} +10 -10
  38. package/dist/chunks/{chunk.GOMKPLJA.js → chunk.EQFRWLRD.js} +4 -4
  39. package/dist/chunks/{chunk.5T4FMEG4.js → chunk.FAHCNBPH.js} +8 -8
  40. package/dist/chunks/{chunk.KM35YPU6.js → chunk.FJFZEHCM.js} +4 -4
  41. package/dist/chunks/{chunk.NQQYAAJ5.js → chunk.FMEDRCXZ.js} +27 -27
  42. package/dist/chunks/{chunk.S3NLAHQN.js → chunk.GY7N723N.js} +2 -2
  43. package/dist/chunks/{chunk.4J2NV5SS.js → chunk.H7ZIT7K4.js} +8 -8
  44. package/dist/chunks/{chunk.7JGKUB4A.js → chunk.HQ6QUSK7.js} +2 -2
  45. package/dist/chunks/{chunk.5Y44IODU.js → chunk.HUNET7WJ.js} +13 -198
  46. package/dist/chunks/chunk.HUNET7WJ.js.map +7 -0
  47. package/dist/chunks/{chunk.TFJD4QKG.js → chunk.HXU4KIS6.js} +2 -2
  48. package/dist/chunks/{chunk.TIZSO7FR.js → chunk.I4BIR42C.js} +11 -11
  49. package/dist/chunks/{chunk.VUZDQVIA.js → chunk.IQYJL5Z6.js} +6 -6
  50. package/dist/chunks/{chunk.G76BKD7B.js → chunk.JCIM6NE3.js} +2 -2
  51. package/dist/chunks/{chunk.G4QCVDAA.js → chunk.JCTTJTOZ.js} +2 -2
  52. package/dist/chunks/{chunk.C3B4XHOF.js → chunk.JCVNNYTF.js} +2 -2
  53. package/dist/chunks/{chunk.PRN3I42I.js → chunk.JDCHKWRR.js} +6 -6
  54. package/dist/chunks/{chunk.5UKAMFXK.js → chunk.JTSBAJHO.js} +2 -2
  55. package/dist/chunks/{chunk.7227JLJF.js → chunk.KBWFUFEY.js} +2 -2
  56. package/dist/chunks/{chunk.6KVCQIPW.js → chunk.L6MGPLRR.js} +2 -2
  57. package/dist/chunks/{chunk.LKAB6SQ7.js → chunk.LSARMSBE.js} +10 -10
  58. package/dist/chunks/{chunk.SUC6BMB5.js → chunk.LWDK3PUU.js} +2 -2
  59. package/dist/chunks/{chunk.7US7QSZB.js → chunk.LZ436BOH.js} +2 -2
  60. package/dist/chunks/{chunk.TOVTZIPZ.js → chunk.M2C4HVTA.js} +2 -2
  61. package/dist/chunks/{chunk.EGNDSUID.js → chunk.MRVMEVKZ.js} +5 -5
  62. package/dist/chunks/{chunk.D7UHBX3B.js → chunk.MZ2E47U2.js} +2 -2
  63. package/dist/chunks/{chunk.MNODNPKF.js → chunk.N3BWEYKZ.js} +2 -2
  64. package/dist/chunks/{chunk.LYH5JTYU.js → chunk.NCOPJN7G.js} +2 -2
  65. package/dist/chunks/{chunk.KFUASL6I.js → chunk.NUIJATJY.js} +3 -3
  66. package/dist/chunks/{chunk.F4HR34MV.js → chunk.OH3PPVV4.js} +1 -11
  67. package/dist/chunks/chunk.OH3PPVV4.js.map +7 -0
  68. package/dist/chunks/{chunk.IVZ3CJUE.js → chunk.OINUEOGJ.js} +2 -2
  69. package/dist/chunks/{chunk.INZSW7NE.js → chunk.OKEISYAL.js} +2 -2
  70. package/dist/chunks/{chunk.HP2LEQRU.js → chunk.OLRA37R5.js} +2 -2
  71. package/dist/chunks/{chunk.HNMO7OGI.js → chunk.OV34IIR4.js} +2 -2
  72. package/dist/chunks/{chunk.NZFBQFBJ.js → chunk.OWHZ76PP.js} +2 -2
  73. package/dist/chunks/{chunk.MRUEYMZJ.js → chunk.PEACRKLJ.js} +5 -5
  74. package/dist/chunks/{chunk.DY3RUP6T.js → chunk.PS5IQXSL.js} +2 -2
  75. package/dist/chunks/{chunk.VBXOOYJE.js → chunk.PTD7MC3P.js} +2 -2
  76. package/dist/chunks/{chunk.GMMFGZP6.js → chunk.QDGHOIBX.js} +7 -7
  77. package/dist/chunks/{chunk.IQPPSHKW.js → chunk.QG5FJ336.js} +3 -3
  78. package/dist/chunks/{chunk.UAGQQMKI.js → chunk.QODV46JX.js} +17 -17
  79. package/dist/chunks/{chunk.SOOOSOI2.js → chunk.QQRMMXVP.js} +6 -6
  80. package/dist/chunks/{chunk.FRI6SBLL.js → chunk.QSYDS5RS.js} +2 -2
  81. package/dist/chunks/{chunk.F4YZ6CNS.js → chunk.RSXTHBS2.js} +2 -2
  82. package/dist/chunks/{chunk.YCDB7TVS.js → chunk.S3FCROLD.js} +11 -11
  83. package/dist/chunks/{chunk.WVN7TE6P.js → chunk.SIDONJZL.js} +11 -11
  84. package/dist/chunks/{chunk.NOBEUBIX.js → chunk.SNQEIVMG.js} +2 -2
  85. package/dist/chunks/{chunk.HBEIGBOH.js → chunk.SPHJ7GCZ.js} +2 -2
  86. package/dist/chunks/{chunk.2USZJC3L.js → chunk.STWUISSH.js} +2 -2
  87. package/dist/chunks/{chunk.MA4RY7ZA.js → chunk.TN7MALIJ.js} +5 -5
  88. package/dist/chunks/{chunk.L3QIFBZN.js → chunk.TQLJ73CW.js} +4 -4
  89. package/dist/chunks/{chunk.JOX4HOS3.js → chunk.TT323QJE.js} +5 -5
  90. package/dist/chunks/{chunk.7JCTL47Z.js → chunk.UHDJKNZO.js} +5 -5
  91. package/dist/chunks/{chunk.52P5J77M.js → chunk.UM7QSCRR.js} +3 -3
  92. package/dist/chunks/{chunk.BX4XJHF6.js → chunk.UNWTTBS2.js} +4 -4
  93. package/dist/chunks/{chunk.C64MJQAT.js → chunk.V2CEHXZB.js} +7 -7
  94. package/dist/chunks/{chunk.JKSJEW72.js → chunk.V77GZTYH.js} +3 -3
  95. package/dist/chunks/{chunk.XCRIYHZ6.js → chunk.VBAJW6MI.js} +6 -6
  96. package/dist/chunks/{chunk.RDUNTOLI.js → chunk.VMCFOFYT.js} +2 -2
  97. package/dist/chunks/{chunk.7DGBHZU2.js → chunk.VWKZRTIE.js} +2 -2
  98. package/dist/chunks/{chunk.3BM4IYC5.js → chunk.WET36DGR.js} +2 -2
  99. package/dist/chunks/{chunk.3MKDEHUA.js → chunk.WG5YE65C.js} +2 -2
  100. package/dist/chunks/{chunk.OQF62MOH.js → chunk.WI5ZBZMJ.js} +7 -7
  101. package/dist/chunks/{chunk.7Z4PGOTU.js → chunk.WNTUCLIL.js} +11 -11
  102. package/dist/chunks/{chunk.36B3LAIV.js → chunk.XLCW4L4M.js} +12 -12
  103. package/dist/chunks/{chunk.JXLTDOJR.js → chunk.XOEJGHQ4.js} +2 -2
  104. package/dist/chunks/{chunk.QW75RDVZ.js → chunk.XYA7E6SM.js} +3 -3
  105. package/dist/chunks/{chunk.QW75RDVZ.js.map → chunk.XYA7E6SM.js.map} +1 -1
  106. package/dist/chunks/{chunk.NGWCUJL3.js → chunk.Y4WKCT4Y.js} +13 -13
  107. package/dist/chunks/{chunk.AVJHCISC.js → chunk.YVOCVTK4.js} +2 -2
  108. package/dist/chunks/{chunk.ONXI25VD.js → chunk.ZSA5J75I.js} +4 -4
  109. package/dist/chunks/{chunk.7ZFDGJ4L.js → chunk.ZW3X7PIQ.js} +2 -2
  110. package/dist/components/accordion/accordion.component.js +7 -8
  111. package/dist/components/accordion/accordion.js +8 -9
  112. package/dist/components/accordion/accordion.styles.js +1 -1
  113. package/dist/components/alert/alert.component.js +12 -13
  114. package/dist/components/alert/alert.custom.styles.js +1 -1
  115. package/dist/components/alert/alert.js +13 -14
  116. package/dist/components/alert/alert.styles.js +1 -1
  117. package/dist/components/badge/badge.component.js +6 -7
  118. package/dist/components/badge/badge.custom.styles.js +1 -1
  119. package/dist/components/badge/badge.js +7 -8
  120. package/dist/components/badge/badge.styles.js +1 -1
  121. package/dist/components/breadcrumb/breadcrumb.component.js +5 -5
  122. package/dist/components/breadcrumb/breadcrumb.custom.styles.js +1 -1
  123. package/dist/components/breadcrumb/breadcrumb.js +6 -6
  124. package/dist/components/breadcrumb/breadcrumb.styles.js +1 -1
  125. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +4 -4
  126. package/dist/components/breadcrumb-item/breadcrumb-item.custom.styles.js +1 -1
  127. package/dist/components/breadcrumb-item/breadcrumb-item.js +5 -5
  128. package/dist/components/breadcrumb-item/breadcrumb-item.styles.js +1 -1
  129. package/dist/components/button/button.component.js +11 -12
  130. package/dist/components/button/button.custom.styles.js +1 -1
  131. package/dist/components/button/button.js +12 -13
  132. package/dist/components/button/button.styles.js +1 -1
  133. package/dist/components/button-group/button-group.component.js +3 -3
  134. package/dist/components/button-group/button-group.js +4 -4
  135. package/dist/components/button-group/button-group.styles.js +1 -1
  136. package/dist/components/card/card.component.js +3 -3
  137. package/dist/components/card/card.custom.styles.js +1 -1
  138. package/dist/components/card/card.js +4 -4
  139. package/dist/components/card/card.styles.js +1 -1
  140. package/dist/components/checkbox/checkbox.component.js +10 -11
  141. package/dist/components/checkbox/checkbox.custom.styles.js +1 -1
  142. package/dist/components/checkbox/checkbox.js +11 -12
  143. package/dist/components/checkbox/checkbox.styles.js +1 -1
  144. package/dist/components/combobox/combobox.component.js +17 -18
  145. package/dist/components/combobox/combobox.custom.styles.js +1 -1
  146. package/dist/components/combobox/combobox.js +18 -19
  147. package/dist/components/combobox/combobox.styles.js +1 -1
  148. package/dist/components/combobox/option-renderer.js +1 -1
  149. package/dist/components/combobox/utils.js +1 -1
  150. package/dist/components/details/details.component.js +11 -12
  151. package/dist/components/details/details.custom.styles.js +1 -1
  152. package/dist/components/details/details.js +12 -13
  153. package/dist/components/details/details.styles.js +1 -1
  154. package/dist/components/dialog/dialog.component.js +14 -15
  155. package/dist/components/dialog/dialog.custom.styles.js +1 -1
  156. package/dist/components/dialog/dialog.js +15 -16
  157. package/dist/components/dialog/dialog.styles.js +1 -1
  158. package/dist/components/divider/divider.component.js +4 -4
  159. package/dist/components/divider/divider.custom.styles.js +1 -1
  160. package/dist/components/divider/divider.js +5 -5
  161. package/dist/components/divider/divider.styles.js +1 -1
  162. package/dist/components/drawer/drawer.component.js +14 -15
  163. package/dist/components/drawer/drawer.custom.styles.js +1 -1
  164. package/dist/components/drawer/drawer.js +15 -16
  165. package/dist/components/drawer/drawer.styles.js +1 -1
  166. package/dist/components/dropdown/dropdown.component.js +8 -8
  167. package/dist/components/dropdown/dropdown.custom.styles.js +1 -1
  168. package/dist/components/dropdown/dropdown.js +9 -9
  169. package/dist/components/dropdown/dropdown.styles.js +1 -1
  170. package/dist/components/file/file.component.js +14 -15
  171. package/dist/components/file/file.js +15 -16
  172. package/dist/components/file/file.styles.js +1 -1
  173. package/dist/components/header/header.component.js +7 -7
  174. package/dist/components/header/header.js +8 -8
  175. package/dist/components/header/header.styles.js +1 -1
  176. package/dist/components/icon/icon.component.js +4 -4
  177. package/dist/components/icon/icon.custom.styles.js +1 -1
  178. package/dist/components/icon/icon.js +5 -5
  179. package/dist/components/icon/icon.styles.js +1 -1
  180. package/dist/components/icon/library.default.js +1 -1
  181. package/dist/components/icon/library.js +1 -1
  182. package/dist/components/icon/library.system.js +1 -1
  183. package/dist/components/icon-button/icon-button.component.js +8 -9
  184. package/dist/components/icon-button/icon-button.custom.styles.js +1 -1
  185. package/dist/components/icon-button/icon-button.js +9 -10
  186. package/dist/components/icon-button/icon-button.styles.js +1 -1
  187. package/dist/components/input/input.component.d.ts +0 -46
  188. package/dist/components/input/input.component.js +11 -13
  189. package/dist/components/input/input.custom.styles.js +1 -1
  190. package/dist/components/input/input.js +12 -14
  191. package/dist/components/input/input.styles.js +1 -1
  192. package/dist/components/menu/menu.component.js +3 -3
  193. package/dist/components/menu/menu.custom.styles.js +1 -1
  194. package/dist/components/menu/menu.js +4 -4
  195. package/dist/components/menu/menu.styles.js +1 -1
  196. package/dist/components/menu-item/menu-item.component.js +8 -8
  197. package/dist/components/menu-item/menu-item.custom.styles.js +1 -1
  198. package/dist/components/menu-item/menu-item.js +9 -9
  199. package/dist/components/menu-item/menu-item.styles.js +1 -1
  200. package/dist/components/menu-item/submenu-controller.js +1 -1
  201. package/dist/components/menu-label/menu-label.component.js +6 -6
  202. package/dist/components/menu-label/menu-label.custom.styles.js +1 -1
  203. package/dist/components/menu-label/menu-label.js +7 -7
  204. package/dist/components/menu-label/menu-label.styles.js +1 -1
  205. package/dist/components/nav-item/nav-item.component.js +5 -5
  206. package/dist/components/nav-item/nav-item.js +6 -6
  207. package/dist/components/nav-item/nav-item.styles.js +1 -1
  208. package/dist/components/optgroup/optgroup.component.js +5 -5
  209. package/dist/components/optgroup/optgroup.js +6 -6
  210. package/dist/components/optgroup/optgroup.styles.js +1 -1
  211. package/dist/components/option/option-size.styles.js +1 -1
  212. package/dist/components/option/option.component.js +5 -5
  213. package/dist/components/option/option.custom.styles.js +1 -1
  214. package/dist/components/option/option.js +6 -6
  215. package/dist/components/option/option.styles.js +1 -1
  216. package/dist/components/option/utility.js +1 -1
  217. package/dist/components/popup/popup.component.js +3 -3
  218. package/dist/components/popup/popup.js +4 -4
  219. package/dist/components/popup/popup.styles.js +1 -1
  220. package/dist/components/prio-nav/prio-nav.component.js +14 -14
  221. package/dist/components/prio-nav/prio-nav.js +15 -15
  222. package/dist/components/prio-nav/prio-nav.styles.js +1 -1
  223. package/dist/components/prio-nav/utils.js +1 -1
  224. package/dist/components/progress-bar/progress-bar.component.js +3 -3
  225. package/dist/components/progress-bar/progress-bar.custom.styles.js +1 -1
  226. package/dist/components/progress-bar/progress-bar.js +4 -4
  227. package/dist/components/progress-bar/progress-bar.styles.js +1 -1
  228. package/dist/components/progress-ring/progress-ring.component.js +3 -3
  229. package/dist/components/progress-ring/progress-ring.custom.styles.js +1 -1
  230. package/dist/components/progress-ring/progress-ring.js +4 -4
  231. package/dist/components/progress-ring/progress-ring.styles.js +1 -1
  232. package/dist/components/radio/radio.component.js +8 -9
  233. package/dist/components/radio/radio.custom.styles.js +1 -1
  234. package/dist/components/radio/radio.js +9 -10
  235. package/dist/components/radio/radio.styles.js +1 -1
  236. package/dist/components/radio-button/radio-button.component.js +7 -8
  237. package/dist/components/radio-button/radio-button.js +8 -9
  238. package/dist/components/radio-button/radio-button.styles.js +1 -1
  239. package/dist/components/radio-group/radio-group.component.js +9 -10
  240. package/dist/components/radio-group/radio-group.custom.styles.js +1 -1
  241. package/dist/components/radio-group/radio-group.js +10 -11
  242. package/dist/components/radio-group/radio-group.styles.js +1 -1
  243. package/dist/components/range/range.component.js +14 -15
  244. package/dist/components/range/range.js +15 -16
  245. package/dist/components/range/range.styles.js +1 -1
  246. package/dist/components/range/utility.js +1 -1
  247. package/dist/components/range-tick/range-tick.component.js +3 -3
  248. package/dist/components/range-tick/range-tick.js +4 -4
  249. package/dist/components/range-tick/range-tick.styles.js +1 -1
  250. package/dist/components/resize-observer/resize-observer.component.js +4 -4
  251. package/dist/components/resize-observer/resize-observer.styles.js +1 -1
  252. package/dist/components/select/select.component.js +16 -17
  253. package/dist/components/select/select.custom.styles.js +1 -1
  254. package/dist/components/select/select.js +17 -18
  255. package/dist/components/select/select.styles.js +1 -1
  256. package/dist/components/select/utility.js +1 -1
  257. package/dist/components/side-nav/side-nav.component.js +16 -17
  258. package/dist/components/side-nav/side-nav.js +17 -18
  259. package/dist/components/side-nav/side-nav.styles.js +1 -1
  260. package/dist/components/spinner/spinner.component.js +3 -3
  261. package/dist/components/spinner/spinner.custom.styles.js +1 -1
  262. package/dist/components/spinner/spinner.js +4 -4
  263. package/dist/components/spinner/spinner.styles.js +1 -1
  264. package/dist/components/switch/switch.component.js +8 -9
  265. package/dist/components/switch/switch.custom.styles.js +1 -1
  266. package/dist/components/switch/switch.js +9 -10
  267. package/dist/components/switch/switch.styles.js +1 -1
  268. package/dist/components/tab/tab.component.js +9 -10
  269. package/dist/components/tab/tab.custom.styles.js +1 -1
  270. package/dist/components/tab/tab.js +10 -11
  271. package/dist/components/tab/tab.styles.js +1 -1
  272. package/dist/components/tab-group/tab-group.component.js +10 -11
  273. package/dist/components/tab-group/tab-group.custom.styles.js +1 -1
  274. package/dist/components/tab-group/tab-group.js +11 -12
  275. package/dist/components/tab-group/tab-group.styles.js +1 -1
  276. package/dist/components/tab-panel/tab-panel.component.js +4 -4
  277. package/dist/components/tab-panel/tab-panel.custom.styles.js +1 -1
  278. package/dist/components/tab-panel/tab-panel.js +5 -5
  279. package/dist/components/tab-panel/tab-panel.styles.js +1 -1
  280. package/dist/components/tag/tag.component.js +9 -10
  281. package/dist/components/tag/tag.custom.styles.js +1 -1
  282. package/dist/components/tag/tag.js +10 -11
  283. package/dist/components/tag/tag.styles.js +1 -1
  284. package/dist/components/textarea/textarea.component.js +8 -9
  285. package/dist/components/textarea/textarea.custom.styles.js +1 -1
  286. package/dist/components/textarea/textarea.js +9 -10
  287. package/dist/components/textarea/textarea.styles.js +1 -1
  288. package/dist/components/tooltip/tooltip.component.js +7 -7
  289. package/dist/components/tooltip/tooltip.custom.styles.js +1 -1
  290. package/dist/components/tooltip/tooltip.js +8 -8
  291. package/dist/components/tooltip/tooltip.styles.js +1 -1
  292. package/dist/components/validate/utility.js +3 -3
  293. package/dist/components/validate/validate.component.js +14 -15
  294. package/dist/components/validate/validate.js +15 -16
  295. package/dist/components/validate/validate.styles.js +1 -1
  296. package/dist/custom-elements.json +2 -102
  297. package/dist/events/events.d.ts +0 -1
  298. package/dist/styles/index.css +1 -1
  299. package/dist/synergy-autoloader.js +1 -1
  300. package/dist/synergy.js +170 -172
  301. package/dist/translations/de.js +1 -1
  302. package/dist/translations/en.js +1 -1
  303. package/dist/utilities/animation-registry.js +2 -2
  304. package/dist/utilities/base-path.js +1 -1
  305. package/dist/utilities/defaultSettings/base.d.ts +0 -3
  306. package/dist/utilities/defaultSettings/base.js +2 -3
  307. package/dist/utilities/defaultSettings/decorator.js +4 -5
  308. package/dist/utilities/defaultSettings/functions.js +3 -4
  309. package/dist/utilities/defaultSettings/index.js +4 -5
  310. package/dist/utilities/form.js +3 -3
  311. package/dist/utilities/icon-library.js +1 -1
  312. package/dist/utilities/localize.js +1 -1
  313. package/dist/vscode.html-custom-data.json +1 -20
  314. package/package.json +3 -3
  315. package/dist/chunks/chunk.5Y44IODU.js.map +0 -7
  316. package/dist/chunks/chunk.F4HR34MV.js.map +0 -7
  317. package/dist/chunks/chunk.RB2JR2ND.js +0 -23
  318. package/dist/chunks/chunk.RB2JR2ND.js.map +0 -7
  319. package/dist/chunks/chunk.T4QJUSQQ.js +0 -52
  320. package/dist/chunks/chunk.T4QJUSQQ.js.map +0 -7
  321. package/dist/components/input/formatter.d.ts +0 -8
  322. package/dist/components/input/formatter.js +0 -8
  323. package/dist/components/input/formatter.js.map +0 -7
  324. package/dist/components/input/strategies.d.ts +0 -61
  325. package/dist/components/input/strategies.js +0 -12
  326. package/dist/components/input/strategies.js.map +0 -7
  327. package/dist/events/syn-clamp.d.ts +0 -16
  328. /package/dist/chunks/{chunk.5LC3JCV4.js.map → chunk.2B7USYXM.js.map} +0 -0
  329. /package/dist/chunks/{chunk.Z4XV3SMG.js.map → chunk.2GFK6XTO.js.map} +0 -0
  330. /package/dist/chunks/{chunk.DRKA3RET.js.map → chunk.2KA6GZTD.js.map} +0 -0
  331. /package/dist/chunks/{chunk.AYAX7BG7.js.map → chunk.2LYOMDFO.js.map} +0 -0
  332. /package/dist/chunks/{chunk.MV27WLAS.js.map → chunk.35ZNNBZW.js.map} +0 -0
  333. /package/dist/chunks/{chunk.MHPQA44T.js.map → chunk.37W6AS5R.js.map} +0 -0
  334. /package/dist/chunks/{chunk.PCYVMZQM.js.map → chunk.3BPL6QPW.js.map} +0 -0
  335. /package/dist/chunks/{chunk.JWND2GFN.js.map → chunk.4D4S2YIJ.js.map} +0 -0
  336. /package/dist/chunks/{chunk.ODUSEMOT.js.map → chunk.4MFSAOXD.js.map} +0 -0
  337. /package/dist/chunks/{chunk.5BUU5BCH.js.map → chunk.5QQ4ZYIU.js.map} +0 -0
  338. /package/dist/chunks/{chunk.BQORIQ74.js.map → chunk.5VJN65HL.js.map} +0 -0
  339. /package/dist/chunks/{chunk.WHD6U3UX.js.map → chunk.6E5Q6VKO.js.map} +0 -0
  340. /package/dist/chunks/{chunk.AJ73FM3N.js.map → chunk.6ESNGUDX.js.map} +0 -0
  341. /package/dist/chunks/{chunk.MTN5NM4A.js.map → chunk.6GBQX53P.js.map} +0 -0
  342. /package/dist/chunks/{chunk.ZBRWKI2I.js.map → chunk.6NPYKNGJ.js.map} +0 -0
  343. /package/dist/chunks/{chunk.ZGQ4FVQW.js.map → chunk.6T2H5VTF.js.map} +0 -0
  344. /package/dist/chunks/{chunk.PJ77QULT.js.map → chunk.6Y2WSLTX.js.map} +0 -0
  345. /package/dist/chunks/{chunk.BVZQ6QSY.js.map → chunk.74IOULXM.js.map} +0 -0
  346. /package/dist/chunks/{chunk.IW6X3LFW.js.map → chunk.7TU726KD.js.map} +0 -0
  347. /package/dist/chunks/{chunk.ZO2YPPQX.js.map → chunk.7ZLOLW3C.js.map} +0 -0
  348. /package/dist/chunks/{chunk.FASIIYDO.js.map → chunk.A2F77RGM.js.map} +0 -0
  349. /package/dist/chunks/{chunk.JYM2KBX2.js.map → chunk.A3HWYSAL.js.map} +0 -0
  350. /package/dist/chunks/{chunk.G6ITZTTW.js.map → chunk.A3OYJILJ.js.map} +0 -0
  351. /package/dist/chunks/{chunk.SXYORVJ4.js.map → chunk.A5XSJHBM.js.map} +0 -0
  352. /package/dist/chunks/{chunk.5QUFKOPO.js.map → chunk.AHFGZRBY.js.map} +0 -0
  353. /package/dist/chunks/{chunk.JN7MXTVN.js.map → chunk.AKTTRIOY.js.map} +0 -0
  354. /package/dist/chunks/{chunk.Q7OBEUJP.js.map → chunk.AZVOGRZ7.js.map} +0 -0
  355. /package/dist/chunks/{chunk.YMPDZZMX.js.map → chunk.B6TDEXVY.js.map} +0 -0
  356. /package/dist/chunks/{chunk.ZIKZWHEJ.js.map → chunk.BF3GFGX3.js.map} +0 -0
  357. /package/dist/chunks/{chunk.PMU62FIY.js.map → chunk.BVUKV27G.js.map} +0 -0
  358. /package/dist/chunks/{chunk.HDXDWES2.js.map → chunk.CPDZHD7L.js.map} +0 -0
  359. /package/dist/chunks/{chunk.L5DDQZJL.js.map → chunk.CQTSIWXG.js.map} +0 -0
  360. /package/dist/chunks/{chunk.Z67XVHET.js.map → chunk.D3RIIOVE.js.map} +0 -0
  361. /package/dist/chunks/{chunk.LMT5B3HR.js.map → chunk.D4H6AJAW.js.map} +0 -0
  362. /package/dist/chunks/{chunk.CFBIOFE3.js.map → chunk.DSOVZGPX.js.map} +0 -0
  363. /package/dist/chunks/{chunk.TR2YSRMW.js.map → chunk.DUUXFFUP.js.map} +0 -0
  364. /package/dist/chunks/{chunk.HA7BLR63.js.map → chunk.EOTX4M3O.js.map} +0 -0
  365. /package/dist/chunks/{chunk.GOMKPLJA.js.map → chunk.EQFRWLRD.js.map} +0 -0
  366. /package/dist/chunks/{chunk.5T4FMEG4.js.map → chunk.FAHCNBPH.js.map} +0 -0
  367. /package/dist/chunks/{chunk.KM35YPU6.js.map → chunk.FJFZEHCM.js.map} +0 -0
  368. /package/dist/chunks/{chunk.NQQYAAJ5.js.map → chunk.FMEDRCXZ.js.map} +0 -0
  369. /package/dist/chunks/{chunk.S3NLAHQN.js.map → chunk.GY7N723N.js.map} +0 -0
  370. /package/dist/chunks/{chunk.4J2NV5SS.js.map → chunk.H7ZIT7K4.js.map} +0 -0
  371. /package/dist/chunks/{chunk.7JGKUB4A.js.map → chunk.HQ6QUSK7.js.map} +0 -0
  372. /package/dist/chunks/{chunk.TFJD4QKG.js.map → chunk.HXU4KIS6.js.map} +0 -0
  373. /package/dist/chunks/{chunk.TIZSO7FR.js.map → chunk.I4BIR42C.js.map} +0 -0
  374. /package/dist/chunks/{chunk.VUZDQVIA.js.map → chunk.IQYJL5Z6.js.map} +0 -0
  375. /package/dist/chunks/{chunk.G76BKD7B.js.map → chunk.JCIM6NE3.js.map} +0 -0
  376. /package/dist/chunks/{chunk.G4QCVDAA.js.map → chunk.JCTTJTOZ.js.map} +0 -0
  377. /package/dist/chunks/{chunk.C3B4XHOF.js.map → chunk.JCVNNYTF.js.map} +0 -0
  378. /package/dist/chunks/{chunk.PRN3I42I.js.map → chunk.JDCHKWRR.js.map} +0 -0
  379. /package/dist/chunks/{chunk.5UKAMFXK.js.map → chunk.JTSBAJHO.js.map} +0 -0
  380. /package/dist/chunks/{chunk.7227JLJF.js.map → chunk.KBWFUFEY.js.map} +0 -0
  381. /package/dist/chunks/{chunk.6KVCQIPW.js.map → chunk.L6MGPLRR.js.map} +0 -0
  382. /package/dist/chunks/{chunk.LKAB6SQ7.js.map → chunk.LSARMSBE.js.map} +0 -0
  383. /package/dist/chunks/{chunk.SUC6BMB5.js.map → chunk.LWDK3PUU.js.map} +0 -0
  384. /package/dist/chunks/{chunk.7US7QSZB.js.map → chunk.LZ436BOH.js.map} +0 -0
  385. /package/dist/chunks/{chunk.TOVTZIPZ.js.map → chunk.M2C4HVTA.js.map} +0 -0
  386. /package/dist/chunks/{chunk.EGNDSUID.js.map → chunk.MRVMEVKZ.js.map} +0 -0
  387. /package/dist/chunks/{chunk.D7UHBX3B.js.map → chunk.MZ2E47U2.js.map} +0 -0
  388. /package/dist/chunks/{chunk.MNODNPKF.js.map → chunk.N3BWEYKZ.js.map} +0 -0
  389. /package/dist/chunks/{chunk.LYH5JTYU.js.map → chunk.NCOPJN7G.js.map} +0 -0
  390. /package/dist/chunks/{chunk.KFUASL6I.js.map → chunk.NUIJATJY.js.map} +0 -0
  391. /package/dist/chunks/{chunk.IVZ3CJUE.js.map → chunk.OINUEOGJ.js.map} +0 -0
  392. /package/dist/chunks/{chunk.INZSW7NE.js.map → chunk.OKEISYAL.js.map} +0 -0
  393. /package/dist/chunks/{chunk.HP2LEQRU.js.map → chunk.OLRA37R5.js.map} +0 -0
  394. /package/dist/chunks/{chunk.HNMO7OGI.js.map → chunk.OV34IIR4.js.map} +0 -0
  395. /package/dist/chunks/{chunk.NZFBQFBJ.js.map → chunk.OWHZ76PP.js.map} +0 -0
  396. /package/dist/chunks/{chunk.MRUEYMZJ.js.map → chunk.PEACRKLJ.js.map} +0 -0
  397. /package/dist/chunks/{chunk.DY3RUP6T.js.map → chunk.PS5IQXSL.js.map} +0 -0
  398. /package/dist/chunks/{chunk.VBXOOYJE.js.map → chunk.PTD7MC3P.js.map} +0 -0
  399. /package/dist/chunks/{chunk.GMMFGZP6.js.map → chunk.QDGHOIBX.js.map} +0 -0
  400. /package/dist/chunks/{chunk.IQPPSHKW.js.map → chunk.QG5FJ336.js.map} +0 -0
  401. /package/dist/chunks/{chunk.UAGQQMKI.js.map → chunk.QODV46JX.js.map} +0 -0
  402. /package/dist/chunks/{chunk.SOOOSOI2.js.map → chunk.QQRMMXVP.js.map} +0 -0
  403. /package/dist/chunks/{chunk.FRI6SBLL.js.map → chunk.QSYDS5RS.js.map} +0 -0
  404. /package/dist/chunks/{chunk.F4YZ6CNS.js.map → chunk.RSXTHBS2.js.map} +0 -0
  405. /package/dist/chunks/{chunk.YCDB7TVS.js.map → chunk.S3FCROLD.js.map} +0 -0
  406. /package/dist/chunks/{chunk.WVN7TE6P.js.map → chunk.SIDONJZL.js.map} +0 -0
  407. /package/dist/chunks/{chunk.NOBEUBIX.js.map → chunk.SNQEIVMG.js.map} +0 -0
  408. /package/dist/chunks/{chunk.HBEIGBOH.js.map → chunk.SPHJ7GCZ.js.map} +0 -0
  409. /package/dist/chunks/{chunk.2USZJC3L.js.map → chunk.STWUISSH.js.map} +0 -0
  410. /package/dist/chunks/{chunk.MA4RY7ZA.js.map → chunk.TN7MALIJ.js.map} +0 -0
  411. /package/dist/chunks/{chunk.L3QIFBZN.js.map → chunk.TQLJ73CW.js.map} +0 -0
  412. /package/dist/chunks/{chunk.JOX4HOS3.js.map → chunk.TT323QJE.js.map} +0 -0
  413. /package/dist/chunks/{chunk.7JCTL47Z.js.map → chunk.UHDJKNZO.js.map} +0 -0
  414. /package/dist/chunks/{chunk.52P5J77M.js.map → chunk.UM7QSCRR.js.map} +0 -0
  415. /package/dist/chunks/{chunk.BX4XJHF6.js.map → chunk.UNWTTBS2.js.map} +0 -0
  416. /package/dist/chunks/{chunk.C64MJQAT.js.map → chunk.V2CEHXZB.js.map} +0 -0
  417. /package/dist/chunks/{chunk.JKSJEW72.js.map → chunk.V77GZTYH.js.map} +0 -0
  418. /package/dist/chunks/{chunk.XCRIYHZ6.js.map → chunk.VBAJW6MI.js.map} +0 -0
  419. /package/dist/chunks/{chunk.RDUNTOLI.js.map → chunk.VMCFOFYT.js.map} +0 -0
  420. /package/dist/chunks/{chunk.7DGBHZU2.js.map → chunk.VWKZRTIE.js.map} +0 -0
  421. /package/dist/chunks/{chunk.3BM4IYC5.js.map → chunk.WET36DGR.js.map} +0 -0
  422. /package/dist/chunks/{chunk.3MKDEHUA.js.map → chunk.WG5YE65C.js.map} +0 -0
  423. /package/dist/chunks/{chunk.OQF62MOH.js.map → chunk.WI5ZBZMJ.js.map} +0 -0
  424. /package/dist/chunks/{chunk.7Z4PGOTU.js.map → chunk.WNTUCLIL.js.map} +0 -0
  425. /package/dist/chunks/{chunk.36B3LAIV.js.map → chunk.XLCW4L4M.js.map} +0 -0
  426. /package/dist/chunks/{chunk.JXLTDOJR.js.map → chunk.XOEJGHQ4.js.map} +0 -0
  427. /package/dist/chunks/{chunk.NGWCUJL3.js.map → chunk.Y4WKCT4Y.js.map} +0 -0
  428. /package/dist/chunks/{chunk.AVJHCISC.js.map → chunk.YVOCVTK4.js.map} +0 -0
  429. /package/dist/chunks/{chunk.ONXI25VD.js.map → chunk.ZSA5J75I.js.map} +0 -0
  430. /package/dist/chunks/{chunk.7ZFDGJ4L.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.T4QJUSQQ.js";
10
7
  import {
11
8
  SynDivider
12
- } from "./chunk.Z67XVHET.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.GOMKPLJA.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.KFUASL6I.js";
35
- import {
36
- createNumericStrategy,
37
- modernNumericStrategy,
38
- nativeNumericStrategy
39
- } from "./chunk.RB2JR2ND.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.QW75RDVZ.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, formatNumber_fn, isNumberFormattingEnabled_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,26 +167,6 @@ var SynInput = class extends SynergyElement {
181
167
  this.form = "";
182
168
  this.required = false;
183
169
  this.spellcheck = true;
184
- __privateAdd(this, _numericStrategy, nativeNumericStrategy);
185
- }
186
- set numericStrategy(value) {
187
- switch (typeof value) {
188
- case "string":
189
- __privateSet(this, _numericStrategy, value === "modern" ? modernNumericStrategy : nativeNumericStrategy);
190
- break;
191
- case "object":
192
- __privateSet(this, _numericStrategy, createNumericStrategy(value));
193
- break;
194
- default:
195
- __privateSet(this, _numericStrategy, nativeNumericStrategy);
196
- }
197
- }
198
- /**
199
- * @default nativeNumericStrategy
200
- * @todo: This must be changed to "modern" in Synergy@3
201
- */
202
- get numericStrategy() {
203
- return __privateGet(this, _numericStrategy);
204
170
  }
205
171
  //
206
172
  // NOTE: We use an in-memory input for these getters/setters instead of the one in the template because the properties
@@ -261,7 +227,7 @@ var SynInput = class extends SynergyElement {
261
227
  if (this.disabled || this.readonly) {
262
228
  return true;
263
229
  }
264
- if (this.min === void 0 || this.min === null) {
230
+ if (this.min === void 0 || this.min === null || this.disabled) {
265
231
  return false;
266
232
  }
267
233
  const min = typeof this.min === "string" ? parseFloat(this.min) : this.min;
@@ -277,45 +243,7 @@ var SynInput = class extends SynergyElement {
277
243
  const max = typeof this.max === "string" ? parseFloat(this.max) : this.max;
278
244
  return this.valueAsNumber >= max;
279
245
  }
280
- handleNumericStrategyAutoClamp() {
281
- const min = typeof this.min === "string" ? parseFloat(this.min) : this.min;
282
- const max = typeof this.max === "string" ? parseFloat(this.max) : this.max;
283
- const { valueAsNumber } = this;
284
- let nextValue = valueAsNumber;
285
- let clampEvent = "";
286
- if (nextValue < min) {
287
- nextValue = min;
288
- clampEvent = "min";
289
- } else if (nextValue > max) {
290
- nextValue = max;
291
- clampEvent = "max";
292
- }
293
- const eventObj = clampEvent ? {
294
- detail: {
295
- clampedTo: clampEvent,
296
- lastUserValue: valueAsNumber
297
- }
298
- } : null;
299
- return {
300
- eventObj,
301
- shouldClamp: !!eventObj,
302
- nextValue
303
- };
304
- }
305
246
  handleChange() {
306
- if (this.type === "number" && (__privateMethod(this, _SynInput_instances, isNumberFormattingEnabled_fn).call(this) || __privateGet(this, _numericStrategy).autoClamp)) {
307
- const { eventObj, shouldClamp, nextValue } = this.handleNumericStrategyAutoClamp();
308
- const initialNextValue = __privateGet(this, _numericStrategy).autoClamp ? nextValue : this.valueAsNumber;
309
- this.value = __privateMethod(this, _SynInput_instances, isNumberFormattingEnabled_fn).call(this) ? __privateMethod(this, _SynInput_instances, formatNumber_fn).call(this, initialNextValue) : initialNextValue.toString();
310
- this.updateComplete.then(() => {
311
- if (shouldClamp && eventObj) {
312
- this.emit("syn-clamp", eventObj);
313
- }
314
- this.formControlController.updateValidity();
315
- this.emit("syn-change");
316
- });
317
- return;
318
- }
319
247
  this.value = this.input.value;
320
248
  this.emit("syn-change");
321
249
  }
@@ -343,20 +271,6 @@ var SynInput = class extends SynergyElement {
343
271
  this.formControlController.emitInvalidEvent(event);
344
272
  }
345
273
  handleKeyDown(event) {
346
- if (__privateGet(this, _numericStrategy).noStepAlign && this.type === "number") {
347
- const { key } = event;
348
- if (key === "ArrowUp" || key === "ArrowDown") {
349
- event.preventDefault();
350
- event.stopPropagation();
351
- if (key === "ArrowUp") {
352
- this.handleStepUp();
353
- } else if (key === "ArrowDown") {
354
- this.handleStepDown();
355
- }
356
- this.handleChange();
357
- return;
358
- }
359
- }
360
274
  const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;
361
275
  if (event.key === "Enter" && !hasModifier) {
362
276
  setTimeout(() => {
@@ -373,9 +287,6 @@ var SynInput = class extends SynergyElement {
373
287
  this.formControlController.setValidity(this.disabled);
374
288
  }
375
289
  handleStepChange() {
376
- if (__privateGet(this, _numericStrategy).noStepValidation) {
377
- return;
378
- }
379
290
  this.input.step = String(this.step);
380
291
  this.formControlController.updateValidity();
381
292
  }
@@ -416,25 +327,6 @@ var SynInput = class extends SynergyElement {
416
327
  }
417
328
  /** Increments the value of a numeric input type by the value of the step attribute. */
418
329
  stepUp() {
419
- if (__privateGet(this, _numericStrategy).noStepAlign) {
420
- const { max, step, valueAsNumber } = this;
421
- const usedInitialValue = Number.isNaN(valueAsNumber) ? 0 : valueAsNumber;
422
- const usedMin = typeof this.min === "string" ? parseFloat(this.min) : this.min;
423
- const usedMax = typeof max === "string" ? parseFloat(max) : max;
424
- const usedStep = typeof step === "undefined" || step === null || step === "any" ? 1 : typeof step === "number" ? step : parseFloat(step);
425
- let wantedNextValue = usedInitialValue + usedStep;
426
- if (typeof usedMax === "number" && usedMax < wantedNextValue) {
427
- wantedNextValue = usedMax;
428
- } else if (typeof usedMin === "number" && usedMin > wantedNextValue) {
429
- wantedNextValue = usedMin;
430
- }
431
- const finalStringValue = __privateMethod(this, _SynInput_instances, isNumberFormattingEnabled_fn).call(this) ? __privateMethod(this, _SynInput_instances, formatNumber_fn).call(this, wantedNextValue) : wantedNextValue.toString();
432
- this.input.value = finalStringValue;
433
- if (this.value !== this.input.value) {
434
- this.value = this.input.value;
435
- }
436
- return;
437
- }
438
330
  this.input.stepUp();
439
331
  if (this.value !== this.input.value) {
440
332
  this.value = this.input.value;
@@ -442,25 +334,6 @@ var SynInput = class extends SynergyElement {
442
334
  }
443
335
  /** Decrements the value of a numeric input type by the value of the step attribute. */
444
336
  stepDown() {
445
- if (__privateGet(this, _numericStrategy).noStepAlign) {
446
- const { min, max, step, valueAsNumber } = this;
447
- const usedInitialValue = Number.isNaN(valueAsNumber) ? 0 : valueAsNumber;
448
- const usedMin = typeof min === "string" ? parseFloat(min) : min;
449
- const usedMax = typeof max === "string" ? parseFloat(max) : max;
450
- const usedStep = typeof step === "undefined" || step === null || step === "any" ? 1 : typeof step === "number" ? step : parseFloat(step);
451
- let wantedNextValue = usedInitialValue - usedStep;
452
- if (typeof usedMin === "number" && usedMin > wantedNextValue) {
453
- wantedNextValue = usedMin;
454
- } else if (typeof usedMax === "number" && usedMax < wantedNextValue) {
455
- wantedNextValue = usedMax;
456
- }
457
- const finalStringValue = __privateMethod(this, _SynInput_instances, isNumberFormattingEnabled_fn).call(this) ? __privateMethod(this, _SynInput_instances, formatNumber_fn).call(this, wantedNextValue) : wantedNextValue.toString();
458
- this.input.value = finalStringValue;
459
- if (this.value !== this.input.value) {
460
- this.value = this.input.value;
461
- }
462
- return;
463
- }
464
337
  this.input.stepDown();
465
338
  if (this.value !== this.input.value) {
466
339
  this.value = this.input.value;
@@ -552,7 +425,7 @@ var SynInput = class extends SynergyElement {
552
425
  maxlength=${ifDefined(this.maxlength)}
553
426
  min=${ifDefined(this.min)}
554
427
  max=${ifDefined(this.max)}
555
- step=${ifDefined(!__privateGet(this, _numericStrategy).noStepValidation ? this.step : "any")}
428
+ step=${ifDefined(this.step)}
556
429
  .value=${live(this.value)}
557
430
  autocapitalize=${ifDefined(this.autocapitalize)}
558
431
  autocomplete=${ifDefined(this.autocomplete)}
@@ -656,34 +529,6 @@ var SynInput = class extends SynergyElement {
656
529
  `;
657
530
  }
658
531
  };
659
- _numericStrategy = new WeakMap();
660
- _SynInput_instances = new WeakSet();
661
- formatNumber_fn = function(value) {
662
- return formatNumber(value, this.step, __spreadValues({
663
- maximumFractionDigits: this.maxFractionDigits,
664
- minimumFractionDigits: this.minFractionDigits
665
- }, this.numberFormatterOptions));
666
- };
667
- isNumberFormattingEnabled_fn = function() {
668
- var _a;
669
- const {
670
- numberFormatterOptions,
671
- maxFractionDigits,
672
- minFractionDigits,
673
- step
674
- } = this;
675
- const hasMaxFractionDigits = typeof maxFractionDigits !== "undefined" && !Number.isNaN(maxFractionDigits);
676
- const hasMinFractionDigits = typeof minFractionDigits !== "undefined" && !Number.isNaN(minFractionDigits);
677
- if (hasMaxFractionDigits || hasMinFractionDigits) {
678
- return true;
679
- }
680
- if (typeof numberFormatterOptions === "object") {
681
- return true;
682
- }
683
- const stepToUse = step === "any" || !step ? 1 : +step;
684
- const stepFractionDigits = ((_a = stepToUse.toString().split(".")[1]) == null ? void 0 : _a.length) || 0;
685
- return stepFractionDigits > 0;
686
- };
687
532
  SynInput.styles = [component_styles_default, form_control_styles_default, input_styles_default, form_control_custom_styles_default, input_custom_styles_default];
688
533
  SynInput.dependencies = {
689
534
  "syn-icon": SynIcon,
@@ -792,36 +637,6 @@ __decorateClass([
792
637
  __decorateClass([
793
638
  property()
794
639
  ], SynInput.prototype, "inputmode", 2);
795
- __decorateClass([
796
- property({
797
- attribute: false,
798
- reflect: false,
799
- type: Object
800
- })
801
- ], SynInput.prototype, "numberFormatterOptions", 2);
802
- __decorateClass([
803
- property({
804
- attribute: "min-fraction-digits",
805
- type: Number
806
- })
807
- ], SynInput.prototype, "minFractionDigits", 2);
808
- __decorateClass([
809
- property({
810
- attribute: "max-fraction-digits",
811
- type: Number
812
- })
813
- ], SynInput.prototype, "maxFractionDigits", 2);
814
- __decorateClass([
815
- property({
816
- attribute: "numeric-strategy",
817
- converter: {
818
- fromAttribute: (value) => {
819
- return value === "modern" ? modernNumericStrategy : nativeNumericStrategy;
820
- }
821
- },
822
- type: Object
823
- })
824
- ], SynInput.prototype, "numericStrategy", 1);
825
640
  __decorateClass([
826
641
  watch("disabled", { waitUntilFirstUpdate: true })
827
642
  ], SynInput.prototype, "handleDisabledChange", 1);
@@ -838,4 +653,4 @@ SynInput = __decorateClass([
838
653
  export {
839
654
  SynInput
840
655
  };
841
- //# sourceMappingURL=chunk.5Y44IODU.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;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;AACnB,eAAS,oBAAoB,aAAa,KAAK,eAAe;AAAA,IAChE;AAnFE,QAAI,KAAK,SAAS,SAAS,WAAW,EAAE,KAAK,mBAAmB,oBAAoB;AAClF,YAAM,IAAI,MAAM,iEAAiE;AAAA,IACnF;AAAA,EACF;AAAA;AAAA,EAGA,OAAO,WAAsC;AAC3C,WAAO;AAAA,EACT;AAAA,EAEA,OAAO,MAAmB,CAAC,SAAS,GAA+C;AAEjF,QAAI,KAAK,cAAc,UAAa,KAAK,SAAS,QAAW;AAC3D,WAAK,OAAO,KAAK;AACjB,WAAK,YAAY,mBAAK;AACtB,WAAK,KAAK,iBAAiB,eAAe,KAAK,iBAAiB;AAAA,IAClE;AAEA,WAAO;AAAA,EACT;AAAA,EAEA,cAAoB;AAClB,SAAK,KAAK,iBAAiB,eAAe,KAAK,iB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S;AAAA,IAC1C;AAAA,EACF,CAAC;AAAA,GArIkB,SAsInB;AAMY;AAAA,EAAX,SAAS;AAAA,GA5IS,SA4IP;AAwJZ;AAAA,EADC,MAAM,YAAY,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAnS9B,SAoSnB;AAMA;AAAA,EADC,MAAM,QAAQ,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAzS1B,SA0SnB;AAQM;AAAA,EADL,MAAM,SAAS,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAjT3B,SAkTb;AAlTa,WAArB;AAAA,EADC,sBAAsB,UAAU;AAAA,GACZ;",
6
+ "names": []
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTabPanel
3
- } from "./chunk.PJ77QULT.js";
3
+ } from "./chunk.6Y2WSLTX.js";
4
4
 
5
5
  // src/components/tab-panel/tab-panel.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.TFJD4QKG.js.map
12
+ //# sourceMappingURL=chunk.HXU4KIS6.js.map
@@ -6,7 +6,7 @@ import {
6
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.EGNDSUID.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.QW75RDVZ.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.TIZSO7FR.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.KFUASL6I.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.QW75RDVZ.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.VUZDQVIA.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.JYM2KBX2.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.G4QCVDAA.js.map
12
+ //# sourceMappingURL=chunk.JCTTJTOZ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynCheckbox
3
- } from "./chunk.ZBRWKI2I.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.C3B4XHOF.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.KFUASL6I.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.QW75RDVZ.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.PRN3I42I.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.F4HR34MV.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.5UKAMFXK.js.map
147
+ //# sourceMappingURL=chunk.JTSBAJHO.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTextarea
3
- } from "./chunk.PRN3I42I.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.7227JLJF.js.map
12
+ //# sourceMappingURL=chunk.KBWFUFEY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTag
3
- } from "./chunk.MRUEYMZJ.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.6KVCQIPW.js.map
12
+ //# sourceMappingURL=chunk.L6MGPLRR.js.map