@mhmo91/schmancy 0.4.15 → 0.4.17

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 (282) hide show
  1. package/dist/{animated-text-CuOeUPBc.js → animated-text-BWYbjl8p.js} +3 -3
  2. package/dist/{animated-text-CuOeUPBc.js.map → animated-text-BWYbjl8p.js.map} +1 -1
  3. package/dist/{animated-text-vI_J_T4H.cjs → animated-text-Cya5qiBi.cjs} +2 -2
  4. package/dist/{animated-text-vI_J_T4H.cjs.map → animated-text-Cya5qiBi.cjs.map} +1 -1
  5. package/dist/animated-text.cjs +1 -1
  6. package/dist/animated-text.js +1 -1
  7. package/dist/area.cjs +1 -1
  8. package/dist/{area.component-DMXMTNuu.cjs → area.component-DaPyd1fu.cjs} +2 -2
  9. package/dist/{area.component-DMXMTNuu.cjs.map → area.component-DaPyd1fu.cjs.map} +1 -1
  10. package/dist/{area.component-BM9ihM3x.js → area.component-YeKamCZL.js} +3 -3
  11. package/dist/{area.component-BM9ihM3x.js.map → area.component-YeKamCZL.js.map} +1 -1
  12. package/dist/area.js +1 -1
  13. package/dist/{autocomplete-BF2L9FvO.cjs → autocomplete-CBhOEEVz.cjs} +2 -2
  14. package/dist/{autocomplete-BF2L9FvO.cjs.map → autocomplete-CBhOEEVz.cjs.map} +1 -1
  15. package/dist/{autocomplete-BmY1HiRm.js → autocomplete-cvHG_Mud.js} +3 -3
  16. package/dist/{autocomplete-BmY1HiRm.js.map → autocomplete-cvHG_Mud.js.map} +1 -1
  17. package/dist/autocomplete.cjs +1 -1
  18. package/dist/autocomplete.js +1 -1
  19. package/dist/{avatar-C4oY5hJn.cjs → avatar-BxJkq320.cjs} +2 -2
  20. package/dist/{avatar-C4oY5hJn.cjs.map → avatar-BxJkq320.cjs.map} +1 -1
  21. package/dist/{avatar-Cpqpem_H.js → avatar-DJQvGv_E.js} +45 -45
  22. package/dist/{avatar-Cpqpem_H.js.map → avatar-DJQvGv_E.js.map} +1 -1
  23. package/dist/badge.cjs +1 -1
  24. package/dist/badge.js +1 -1
  25. package/dist/{boat-GHXDYUXo.cjs → boat-BvOYU982.cjs} +2 -2
  26. package/dist/{boat-GHXDYUXo.cjs.map → boat-BvOYU982.cjs.map} +1 -1
  27. package/dist/{boat-DhLd0NFJ.js → boat-D1Bn-7KH.js} +2 -2
  28. package/dist/{boat-DhLd0NFJ.js.map → boat-D1Bn-7KH.js.map} +1 -1
  29. package/dist/boat.cjs +1 -1
  30. package/dist/boat.js +1 -1
  31. package/dist/busy.cjs +1 -1
  32. package/dist/busy.js +1 -1
  33. package/dist/button.cjs +1 -1
  34. package/dist/button.js +1 -1
  35. package/dist/card.cjs +1 -1
  36. package/dist/card.js +1 -1
  37. package/dist/{checkbox-BOQEemBC.js → checkbox-C-4cJ-9n.js} +2 -2
  38. package/dist/{checkbox-BOQEemBC.js.map → checkbox-C-4cJ-9n.js.map} +1 -1
  39. package/dist/{checkbox-CRwmpo0I.cjs → checkbox-D0WVJtQV.cjs} +2 -2
  40. package/dist/{checkbox-CRwmpo0I.cjs.map → checkbox-D0WVJtQV.cjs.map} +1 -1
  41. package/dist/checkbox.cjs +1 -1
  42. package/dist/checkbox.js +1 -1
  43. package/dist/{chips-CAdNz2hu.js → chips-m3ETe9oo.js} +3 -3
  44. package/dist/{chips-CAdNz2hu.js.map → chips-m3ETe9oo.js.map} +1 -1
  45. package/dist/{chips-CL4ex3S5.cjs → chips-oaCodJhH.cjs} +2 -2
  46. package/dist/{chips-CL4ex3S5.cjs.map → chips-oaCodJhH.cjs.map} +1 -1
  47. package/dist/chips.cjs +1 -1
  48. package/dist/chips.js +1 -1
  49. package/dist/{circular-progress-DHLvm1dK.cjs → circular-progress-Bb2Ugunr.cjs} +2 -2
  50. package/dist/{circular-progress-DHLvm1dK.cjs.map → circular-progress-Bb2Ugunr.cjs.map} +1 -1
  51. package/dist/{circular-progress-Byjn--Fy.js → circular-progress-C6yeCaSz.js} +3 -3
  52. package/dist/{circular-progress-Byjn--Fy.js.map → circular-progress-C6yeCaSz.js.map} +1 -1
  53. package/dist/circular-progress.cjs +1 -1
  54. package/dist/circular-progress.js +1 -1
  55. package/dist/code-highlight.cjs +1 -1
  56. package/dist/code-highlight.js +1 -1
  57. package/dist/{code-preview-KWJFLNdy.js → code-preview-2V_1NojV.js} +2 -2
  58. package/dist/{code-preview-KWJFLNdy.js.map → code-preview-2V_1NojV.js.map} +1 -1
  59. package/dist/{code-preview-C0kMHrZp.cjs → code-preview-BX-j6Poy.cjs} +2 -2
  60. package/dist/{code-preview-C0kMHrZp.cjs.map → code-preview-BX-j6Poy.cjs.map} +1 -1
  61. package/dist/components.cjs +1 -1
  62. package/dist/components.js +1 -1
  63. package/dist/content-drawer.cjs +1 -1
  64. package/dist/content-drawer.js +1 -1
  65. package/dist/{date-range-Dq9AYUX9.cjs → date-range-C2KYe5Uw.cjs} +2 -2
  66. package/dist/{date-range-Dq9AYUX9.cjs.map → date-range-C2KYe5Uw.cjs.map} +1 -1
  67. package/dist/{date-range-Dbw7tlTg.js → date-range-CoiyFgJb.js} +3 -3
  68. package/dist/{date-range-Dbw7tlTg.js.map → date-range-CoiyFgJb.js.map} +1 -1
  69. package/dist/date-range.cjs +1 -1
  70. package/dist/date-range.js +1 -1
  71. package/dist/{delay-CHFrBv7q.cjs → delay-B8qFcxKs.cjs} +2 -2
  72. package/dist/{delay-CHFrBv7q.cjs.map → delay-B8qFcxKs.cjs.map} +1 -1
  73. package/dist/{delay-DVNcXeFo.js → delay-CKifQyBV.js} +2 -2
  74. package/dist/{delay-DVNcXeFo.js.map → delay-CKifQyBV.js.map} +1 -1
  75. package/dist/delay.cjs +1 -1
  76. package/dist/delay.js +1 -1
  77. package/dist/{dialog-content-BUZnNGK5.js → dialog-content-C0At3Q1J.js} +3 -3
  78. package/dist/{dialog-content-BUZnNGK5.js.map → dialog-content-C0At3Q1J.js.map} +1 -1
  79. package/dist/{dialog-content-Bgc7dtoN.cjs → dialog-content-pBi7Si8F.cjs} +2 -2
  80. package/dist/{dialog-content-Bgc7dtoN.cjs.map → dialog-content-pBi7Si8F.cjs.map} +1 -1
  81. package/dist/dialog.cjs +1 -1
  82. package/dist/dialog.js +1 -1
  83. package/dist/{divider-ONYdMCC3.cjs → divider-CERRWE8x.cjs} +2 -2
  84. package/dist/{divider-ONYdMCC3.cjs.map → divider-CERRWE8x.cjs.map} +1 -1
  85. package/dist/{divider-Baxo2_bg.js → divider-RskcANpL.js} +3 -3
  86. package/dist/{divider-Baxo2_bg.js.map → divider-RskcANpL.js.map} +1 -1
  87. package/dist/divider.cjs +1 -1
  88. package/dist/divider.js +1 -1
  89. package/dist/{dropdown-content-DjcEmYM4.cjs → dropdown-content-CdLS_Ibc.cjs} +2 -2
  90. package/dist/{dropdown-content-DjcEmYM4.cjs.map → dropdown-content-CdLS_Ibc.cjs.map} +1 -1
  91. package/dist/{dropdown-content-Di_ThsYr.js → dropdown-content-Cl3Gb6Pi.js} +3 -3
  92. package/dist/{dropdown-content-Di_ThsYr.js.map → dropdown-content-Cl3Gb6Pi.js.map} +1 -1
  93. package/dist/dropdown.cjs +1 -1
  94. package/dist/dropdown.js +1 -1
  95. package/dist/extra.cjs +1 -1
  96. package/dist/extra.js +1 -1
  97. package/dist/{flex-CqNaXCKb.js → flex-5NFffg5L.js} +2 -2
  98. package/dist/{flex-CqNaXCKb.js.map → flex-5NFffg5L.js.map} +1 -1
  99. package/dist/{flex-B_mu8j3k.cjs → flex-B-0RxHvh.cjs} +2 -2
  100. package/dist/{flex-B_mu8j3k.cjs.map → flex-B-0RxHvh.cjs.map} +1 -1
  101. package/dist/{form-t3eedyiY.js → form-BsWshf6F.js} +2 -2
  102. package/dist/{form-t3eedyiY.js.map → form-BsWshf6F.js.map} +1 -1
  103. package/dist/{form-ha4Eqx8c.cjs → form-Dng5Kp0V.cjs} +2 -2
  104. package/dist/{form-ha4Eqx8c.cjs.map → form-Dng5Kp0V.cjs.map} +1 -1
  105. package/dist/form.cjs +1 -1
  106. package/dist/form.js +1 -1
  107. package/dist/{formField.mixin-DzKDhHbR.js → formField.mixin-CB_wbnxx.js} +2 -2
  108. package/dist/{formField.mixin-DzKDhHbR.js.map → formField.mixin-CB_wbnxx.js.map} +1 -1
  109. package/dist/{formField.mixin-d14Fm5er.cjs → formField.mixin-WE1RZT6F.cjs} +2 -2
  110. package/dist/{formField.mixin-d14Fm5er.cjs.map → formField.mixin-WE1RZT6F.cjs.map} +1 -1
  111. package/dist/{icon-tJDnrQSl.js → icon-BFkClABK.js} +2 -2
  112. package/dist/{icon-tJDnrQSl.js.map → icon-BFkClABK.js.map} +1 -1
  113. package/dist/{icon-CFCGmi4A.cjs → icon-DVdpplkB.cjs} +2 -2
  114. package/dist/{icon-CFCGmi4A.cjs.map → icon-DVdpplkB.cjs.map} +1 -1
  115. package/dist/{icon-button-D4GrKqC0.cjs → icon-button-D7S42TvE.cjs} +2 -2
  116. package/dist/{icon-button-D4GrKqC0.cjs.map → icon-button-D7S42TvE.cjs.map} +1 -1
  117. package/dist/{icon-button-UhONt-F9.js → icon-button-DclaSjiq.js} +3 -3
  118. package/dist/{icon-button-UhONt-F9.js.map → icon-button-DclaSjiq.js.map} +1 -1
  119. package/dist/icons.cjs +1 -1
  120. package/dist/icons.js +1 -1
  121. package/dist/index.cjs +1 -1
  122. package/dist/index.js +43 -43
  123. package/dist/input-BgSfNdMi.cjs +111 -0
  124. package/dist/input-BgSfNdMi.cjs.map +1 -0
  125. package/dist/{input-BKGOpZ3z.js → input-DQoSkBYb.js} +103 -115
  126. package/dist/input-DQoSkBYb.js.map +1 -0
  127. package/dist/input.cjs +1 -1
  128. package/dist/input.js +1 -1
  129. package/dist/layout.cjs +1 -1
  130. package/dist/layout.js +1 -1
  131. package/dist/{list-DLKOrlMB.cjs → list-CWDyjIuT.cjs} +2 -2
  132. package/dist/{list-DLKOrlMB.cjs.map → list-CWDyjIuT.cjs.map} +1 -1
  133. package/dist/{list-BXQI_aVt.js → list-VgW4NOR3.js} +2 -2
  134. package/dist/{list-BXQI_aVt.js.map → list-VgW4NOR3.js.map} +1 -1
  135. package/dist/list.cjs +1 -1
  136. package/dist/list.js +1 -1
  137. package/dist/{litElement.mixin-BFshhc99.js → litElement.mixin-8ymZv7ae.js} +2 -2
  138. package/dist/{litElement.mixin-BFshhc99.js.map → litElement.mixin-8ymZv7ae.js.map} +1 -1
  139. package/dist/{litElement.mixin-D80K-DKp.cjs → litElement.mixin-C0Nh9FLv.cjs} +2 -2
  140. package/dist/{litElement.mixin-D80K-DKp.cjs.map → litElement.mixin-C0Nh9FLv.cjs.map} +1 -1
  141. package/dist/{media-CMy1y_G4.js → media-BE54fWY6.js} +2 -2
  142. package/dist/{media-CMy1y_G4.js.map → media-BE54fWY6.js.map} +1 -1
  143. package/dist/{media-DrrOd3Cp.cjs → media-BGw0_OhG.cjs} +2 -2
  144. package/dist/{media-DrrOd3Cp.cjs.map → media-BGw0_OhG.cjs.map} +1 -1
  145. package/dist/{menu-CIbYjq5w.js → menu-BWcdPRcR.js} +3 -3
  146. package/dist/{menu-CIbYjq5w.js.map → menu-BWcdPRcR.js.map} +1 -1
  147. package/dist/{menu-HxSHRr44.cjs → menu-S-2TsUq7.cjs} +2 -2
  148. package/dist/{menu-HxSHRr44.cjs.map → menu-S-2TsUq7.cjs.map} +1 -1
  149. package/dist/menu.cjs +1 -1
  150. package/dist/menu.js +1 -1
  151. package/dist/nav-drawer.cjs +1 -1
  152. package/dist/nav-drawer.js +1 -1
  153. package/dist/{notification-service-D6dwccSa.cjs → notification-service-BUvY55AO.cjs} +2 -2
  154. package/dist/{notification-service-D6dwccSa.cjs.map → notification-service-BUvY55AO.cjs.map} +1 -1
  155. package/dist/{notification-service-DqhrEhim.js → notification-service-XxUeft4M.js} +3 -3
  156. package/dist/{notification-service-DqhrEhim.js.map → notification-service-XxUeft4M.js.map} +1 -1
  157. package/dist/notification.cjs +1 -1
  158. package/dist/notification.js +1 -1
  159. package/dist/{option-B7mh5iBR.js → option-C8QSgwb0.js} +2 -2
  160. package/dist/{option-B7mh5iBR.js.map → option-C8QSgwb0.js.map} +1 -1
  161. package/dist/{option-YZacOiKm.cjs → option-DsMeMNcf.cjs} +2 -2
  162. package/dist/{option-YZacOiKm.cjs.map → option-DsMeMNcf.cjs.map} +1 -1
  163. package/dist/option.cjs +1 -1
  164. package/dist/option.js +1 -1
  165. package/dist/{payment-card-form-jeoZZi6p.js → payment-card-form-B7gzqYE4.js} +3 -3
  166. package/dist/{payment-card-form-jeoZZi6p.js.map → payment-card-form-B7gzqYE4.js.map} +1 -1
  167. package/dist/{payment-card-form-Ba3j-mko.cjs → payment-card-form-Dp5wLeXB.cjs} +2 -2
  168. package/dist/{payment-card-form-Ba3j-mko.cjs.map → payment-card-form-Dp5wLeXB.cjs.map} +1 -1
  169. package/dist/{progress-CZXKwGBB.cjs → progress-BNODDFe6.cjs} +2 -2
  170. package/dist/{progress-CZXKwGBB.cjs.map → progress-BNODDFe6.cjs.map} +1 -1
  171. package/dist/{progress-D4y0dpK9.js → progress-D29mWe5f.js} +2 -2
  172. package/dist/{progress-D4y0dpK9.js.map → progress-D29mWe5f.js.map} +1 -1
  173. package/dist/progress.cjs +1 -1
  174. package/dist/progress.js +1 -1
  175. package/dist/{radio-button-CKty5_sG.js → radio-button-DSQajEU8.js} +3 -3
  176. package/dist/{radio-button-CKty5_sG.js.map → radio-button-DSQajEU8.js.map} +1 -1
  177. package/dist/{radio-button-DeAY1R3D.cjs → radio-button-FJEOiXEr.cjs} +2 -2
  178. package/dist/{radio-button-DeAY1R3D.cjs.map → radio-button-FJEOiXEr.cjs.map} +1 -1
  179. package/dist/radio-group.cjs +1 -1
  180. package/dist/radio-group.js +1 -1
  181. package/dist/{schmancy-steps-container-DdxlPOl3.js → schmancy-steps-container-CiluvBK_.js} +2 -2
  182. package/dist/{schmancy-steps-container-DdxlPOl3.js.map → schmancy-steps-container-CiluvBK_.js.map} +1 -1
  183. package/dist/{schmancy-steps-container-CmSXDf7C.cjs → schmancy-steps-container-DdX56KAd.cjs} +2 -2
  184. package/dist/{schmancy-steps-container-CmSXDf7C.cjs.map → schmancy-steps-container-DdX56KAd.cjs.map} +1 -1
  185. package/dist/{select-DCqtkgHe.js → select-2Qur670v.js} +3 -3
  186. package/dist/{select-DCqtkgHe.js.map → select-2Qur670v.js.map} +1 -1
  187. package/dist/{select-JeuY2nWW.cjs → select-WLiNkRXM.cjs} +2 -2
  188. package/dist/{select-JeuY2nWW.cjs.map → select-WLiNkRXM.cjs.map} +1 -1
  189. package/dist/select.cjs +1 -1
  190. package/dist/select.js +1 -1
  191. package/dist/{sheet-q6FFKREE.js → sheet-C21ntfa9.js} +4 -4
  192. package/dist/{sheet-q6FFKREE.js.map → sheet-C21ntfa9.js.map} +1 -1
  193. package/dist/{sheet-t4A4BeGz.cjs → sheet-CwPFof6g.cjs} +2 -2
  194. package/dist/{sheet-t4A4BeGz.cjs.map → sheet-CwPFof6g.cjs.map} +1 -1
  195. package/dist/sheet.cjs +1 -1
  196. package/dist/sheet.js +2 -2
  197. package/dist/{sheet.service-DqO2aRtR.js → sheet.service-AozcjI2F.js} +2 -2
  198. package/dist/{sheet.service-DqO2aRtR.js.map → sheet.service-AozcjI2F.js.map} +1 -1
  199. package/dist/{sheet.service-DO-2bnGp.cjs → sheet.service-AuiT8l27.cjs} +2 -2
  200. package/dist/{sheet.service-DO-2bnGp.cjs.map → sheet.service-AuiT8l27.cjs.map} +1 -1
  201. package/dist/{slider-BtKp18tE.cjs → slider-BZDWbmyY.cjs} +2 -2
  202. package/dist/{slider-BtKp18tE.cjs.map → slider-BZDWbmyY.cjs.map} +1 -1
  203. package/dist/{slider-Cv78iuoH.js → slider-_FYJ40Wf.js} +3 -3
  204. package/dist/{slider-Cv78iuoH.js.map → slider-_FYJ40Wf.js.map} +1 -1
  205. package/dist/slider.cjs +1 -1
  206. package/dist/slider.js +1 -1
  207. package/dist/{spinner-DIXpf7Xc.js → spinner-BdBj0-Ht.js} +2 -2
  208. package/dist/{spinner-DIXpf7Xc.js.map → spinner-BdBj0-Ht.js.map} +1 -1
  209. package/dist/{spinner-BZKI4Aje.cjs → spinner-ByGE1eQD.cjs} +2 -2
  210. package/dist/{spinner-BZKI4Aje.cjs.map → spinner-ByGE1eQD.cjs.map} +1 -1
  211. package/dist/steps.cjs +1 -1
  212. package/dist/steps.js +1 -1
  213. package/dist/{surface-By-1_D5m.js → surface-BFK5bSnv.js} +2 -2
  214. package/dist/{surface-By-1_D5m.js.map → surface-BFK5bSnv.js.map} +1 -1
  215. package/dist/{surface-6Kwk9NCC.cjs → surface-l-lbJ-ZG.cjs} +2 -2
  216. package/dist/{surface-6Kwk9NCC.cjs.map → surface-l-lbJ-ZG.cjs.map} +1 -1
  217. package/dist/surface.cjs +1 -1
  218. package/dist/surface.js +1 -1
  219. package/dist/{table-BojV1cr-.cjs → table-B8-uWz2r.cjs} +2 -2
  220. package/dist/{table-BojV1cr-.cjs.map → table-B8-uWz2r.cjs.map} +1 -1
  221. package/dist/{table-BKdxrE64.js → table-Nj48ePAY.js} +2 -2
  222. package/dist/{table-BKdxrE64.js.map → table-Nj48ePAY.js.map} +1 -1
  223. package/dist/table.cjs +1 -1
  224. package/dist/table.js +1 -1
  225. package/dist/{tabs-compatibility-BddIPDk-.js → tabs-compatibility-CLhrXcYT.js} +2 -2
  226. package/dist/{tabs-compatibility-BddIPDk-.js.map → tabs-compatibility-CLhrXcYT.js.map} +1 -1
  227. package/dist/{tabs-compatibility-BuSTUrbW.cjs → tabs-compatibility-Cqkh5dME.cjs} +2 -2
  228. package/dist/{tabs-compatibility-BuSTUrbW.cjs.map → tabs-compatibility-Cqkh5dME.cjs.map} +1 -1
  229. package/dist/tabs.cjs +1 -1
  230. package/dist/tabs.js +1 -1
  231. package/dist/{tailwind.mixin-C9wSwMyj.cjs → tailwind.mixin-5ecZ2gS6.cjs} +2 -2
  232. package/dist/{tailwind.mixin-C9wSwMyj.cjs.map → tailwind.mixin-5ecZ2gS6.cjs.map} +1 -1
  233. package/dist/{tailwind.mixin-CjS7whsn.js → tailwind.mixin-B176_-fw.js} +9 -9
  234. package/dist/{tailwind.mixin-CjS7whsn.js.map → tailwind.mixin-B176_-fw.js.map} +1 -1
  235. package/dist/teleport.cjs +1 -1
  236. package/dist/teleport.js +1 -1
  237. package/dist/{textarea-BkUV1o5c.js → textarea-CxAQGHZ_.js} +2 -2
  238. package/dist/{textarea-BkUV1o5c.js.map → textarea-CxAQGHZ_.js.map} +1 -1
  239. package/dist/{textarea-Csc71VAg.cjs → textarea-L4jUiram.cjs} +2 -2
  240. package/dist/{textarea-Csc71VAg.cjs.map → textarea-L4jUiram.cjs.map} +1 -1
  241. package/dist/textarea.cjs +1 -1
  242. package/dist/textarea.js +1 -1
  243. package/dist/{theme-button-BBAfag6o.cjs → theme-button-CXVB63RK.cjs} +2 -2
  244. package/dist/{theme-button-BBAfag6o.cjs.map → theme-button-CXVB63RK.cjs.map} +1 -1
  245. package/dist/{theme-button-D-bDzeOP.js → theme-button-Ck0Q1IuX.js} +2 -2
  246. package/dist/{theme-button-D-bDzeOP.js.map → theme-button-Ck0Q1IuX.js.map} +1 -1
  247. package/dist/theme-button.cjs +1 -1
  248. package/dist/theme-button.js +1 -1
  249. package/dist/theme.cjs +1 -1
  250. package/dist/theme.js +1 -1
  251. package/dist/{timezone-DntF7Anf.cjs → timezone-B50Smk8v.cjs} +2 -2
  252. package/dist/{timezone-DntF7Anf.cjs.map → timezone-B50Smk8v.cjs.map} +1 -1
  253. package/dist/{timezone-CRh0TVA5.js → timezone-BryhAYIO.js} +3 -3
  254. package/dist/{timezone-CRh0TVA5.js.map → timezone-BryhAYIO.js.map} +1 -1
  255. package/dist/{tooltip-DSZZBYgA.js → tooltip-Cz9Ph65i.js} +2 -2
  256. package/dist/{tooltip-DSZZBYgA.js.map → tooltip-Cz9Ph65i.js.map} +1 -1
  257. package/dist/{tooltip-7Vz-0dIm.cjs → tooltip-DE0lTaQy.cjs} +2 -2
  258. package/dist/{tooltip-7Vz-0dIm.cjs.map → tooltip-DE0lTaQy.cjs.map} +1 -1
  259. package/dist/tooltip.cjs +1 -1
  260. package/dist/tooltip.js +1 -1
  261. package/dist/{tree-CPQBVpEO.cjs → tree-COpmWA-l.cjs} +2 -2
  262. package/dist/{tree-CPQBVpEO.cjs.map → tree-COpmWA-l.cjs.map} +1 -1
  263. package/dist/{tree-BNtkejK4.js → tree-mnsn5VE6.js} +2 -2
  264. package/dist/{tree-BNtkejK4.js.map → tree-mnsn5VE6.js.map} +1 -1
  265. package/dist/tree.cjs +1 -1
  266. package/dist/tree.js +1 -1
  267. package/dist/{typewriter-h4SJqRGh.cjs → typewriter-CKnAc4qm.cjs} +2 -2
  268. package/dist/{typewriter-h4SJqRGh.cjs.map → typewriter-CKnAc4qm.cjs.map} +1 -1
  269. package/dist/{typewriter-Brhk0nKN.js → typewriter-tslDSSb1.js} +4 -4
  270. package/dist/{typewriter-Brhk0nKN.js.map → typewriter-tslDSSb1.js.map} +1 -1
  271. package/dist/typewriter.cjs +1 -1
  272. package/dist/typewriter.js +1 -1
  273. package/dist/{typography-7ntwHeb5.cjs → typography-BNf8SwIy.cjs} +2 -2
  274. package/dist/{typography-7ntwHeb5.cjs.map → typography-BNf8SwIy.cjs.map} +1 -1
  275. package/dist/{typography-Bt0EPE8x.js → typography-fjymhLhx.js} +2 -2
  276. package/dist/{typography-Bt0EPE8x.js.map → typography-fjymhLhx.js.map} +1 -1
  277. package/dist/typography.cjs +1 -1
  278. package/dist/typography.js +1 -1
  279. package/package.json +1 -1
  280. package/dist/input-BKGOpZ3z.js.map +0 -1
  281. package/dist/input-dNXzVzgY.cjs +0 -122
  282. package/dist/input-dNXzVzgY.cjs.map +0 -1
@@ -1,23 +1,22 @@
1
- import { nothing as E, html as b, LitElement as w } from "lit";
2
- import { property as i, query as k, state as f, customElement as R } from "lit/decorators.js";
1
+ import { nothing as g, html as b, LitElement as w } from "lit";
2
+ import { property as i, query as R, state as m, customElement as V } from "lit/decorators.js";
3
3
  import { ifDefined as h } from "lit/directives/if-defined.js";
4
- import { createRef as S, ref as V } from "lit/directives/ref.js";
5
- import { when as x } from "lit/directives/when.js";
6
- import { fromEvent as p, map as $, takeUntil as c, distinctUntilChanged as C, filter as v } from "rxjs";
4
+ import { createRef as k, ref as S } from "lit/directives/ref.js";
5
+ import { when as E } from "lit/directives/when.js";
6
+ import { fromEvent as d, map as $, takeUntil as p, distinctUntilChanged as C, filter as y } from "rxjs";
7
7
  import "lit/directives/class-map.js";
8
8
  import "lit/directives/style-map.js";
9
- import { T as O } from "./tailwind.mixin-CjS7whsn.js";
10
- import { c as g } from "./ripple-BumgqsDT.js";
11
- import { S as d } from "./theme.interface-C5Kj6WjD.js";
12
- import { S as I } from "./formField.mixin-DzKDhHbR.js";
13
- const z = ":host{border:unset!important;line-height:unset!important;background:unset!important;padding:unset!important;font-size:unset!important;box-shadow:unset!important;width:-webkit-fill-available}:host:focus{box-shadow:unset!important}input:focus-visible{outline:none!important}input{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;text-decoration:inherit;text-indent:inherit;text-shadow:inherit;text-overflow:inherit;text-rendering:inherit;text-size-adjust:inherit;text-align-last:inherit}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}@keyframes onAutoFillStart{}input:-webkit-autofill{animation-name:onAutoFillStart}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px var(--schmancy-sys-color-surface-highest) inset!important;-webkit-text-fill-color:var(--schmancy-sys-color-surface-on)!important;transition:background-color 5000s ease-in-out 0s}@-moz-document url-prefix(){input:-moz-autofill,input:-moz-autofill:focus{background-color:var(--schmancy-sys-color-surface-highest)!important;color:var(--schmancy-sys-color-surface-on)!important}}input:autofill,input:autofill:hover,input:autofill:focus,input:autofill:active{background-color:var(--schmancy-sys-color-surface-highest)!important;color:var(--schmancy-sys-color-surface-on)!important}";
14
- var T = Object.defineProperty, A = Object.getOwnPropertyDescriptor, r = (t, e, a, l) => {
15
- for (var m, u = l > 1 ? void 0 : l ? A(e, a) : e, y = t.length - 1; y >= 0; y--) (m = t[y]) && (u = (l ? m(e, a, u) : m(u)) || u);
16
- return l && u && T(e, a, u), u;
9
+ import { T as O } from "./tailwind.mixin-B176_-fw.js";
10
+ import { c as x } from "./ripple-BumgqsDT.js";
11
+ import { S as v } from "./theme.interface-C5Kj6WjD.js";
12
+ import { S as I } from "./formField.mixin-CB_wbnxx.js";
13
+ var T = Object.defineProperty, z = Object.getOwnPropertyDescriptor, l = (t, e, a, o) => {
14
+ for (var c, u = o > 1 ? void 0 : o ? z(e, a) : e, f = t.length - 1; f >= 0; f--) (c = t[f]) && (u = (o ? c(e, a, u) : c(u)) || u);
15
+ return o && u && T(e, a, u), u;
17
16
  };
18
- let s = class extends O(z) {
17
+ let s = class extends O("") {
19
18
  constructor() {
20
- if (super(), this.id = "", this.label = "", this.type = "text", this.name = `name_${Date.now()}`, this.placeholder = "", this.value = "", this.required = !1, this.disabled = !1, this.readonly = !1, this.clickable = !1, this.spellcheck = !1, this.align = "left", this.autofocus = !1, this.autocomplete = "on", this.tabIndex = 0, this.error = !1, this.size = "md", this.validateOn = "touched", this.validationMessage = "", this.inputRef = S(), this.isAutofilled = !1, this.touched = !1, this.dirty = !1, this.submitted = !1, this.defaultValue = "", "attachInternals" in this) try {
19
+ if (super(), this.id = "", this.label = "", this.type = "text", this.name = `name_${Date.now()}`, this.placeholder = "", this.value = "", this.required = !1, this.disabled = !1, this.readonly = !1, this.clickable = !1, this.spellcheck = !1, this.align = "left", this.autofocus = !1, this.autocomplete = "on", this.tabIndex = 0, this.error = !1, this.size = "md", this.validateOn = "touched", this.validationMessage = "", this.inputRef = k(), this.isAutofilled = !1, this.touched = !1, this.dirty = !1, this.submitted = !1, this.defaultValue = "", "attachInternals" in this) try {
21
20
  this.internals = this.attachInternals();
22
21
  } catch {
23
22
  this.internals = void 0;
@@ -85,8 +84,8 @@ let s = class extends O(z) {
85
84
  }
86
85
  validateInput(t = !1) {
87
86
  if (this.disabled) return;
88
- const e = this.shouldShowValidation(t), a = this.inputElement?.validity ?? { customError: !1, valid: !0 }, l = !a.valid && !a.customError;
89
- e && l ? (this.error = !0, this.validationMessage = this.inputElement?.validationMessage || "") : a.valid ? (this.error = !1, a.customError || (this.validationMessage = "")) : e || (this.error = !1), this.updateValidityState();
87
+ const e = this.shouldShowValidation(t), a = this.inputElement?.validity ?? { customError: !1, valid: !0 }, o = !a.valid && !a.customError;
88
+ e && o ? (this.error = !0, this.validationMessage = this.inputElement?.validationMessage || "") : a.valid ? (this.error = !1, a.customError || (this.validationMessage = "")) : e || (this.error = !1), this.updateValidityState();
90
89
  }
91
90
  checkValidity() {
92
91
  const t = this.inputRef.value?.checkValidity() ?? !0;
@@ -106,37 +105,37 @@ let s = class extends O(z) {
106
105
  }, 0), this.setupInputEvents(), this.setupFocusBlurEvents(), this.setupAutofillDetection(), this.setupEnterKeyEvents();
107
106
  }
108
107
  setupInputEvents() {
109
- p(this.inputElement, "input").pipe($((t) => {
108
+ d(this.inputElement, "input").pipe($((t) => {
110
109
  const e = t;
111
110
  return { value: t.target.value, inputType: e.inputType, data: e.data, isComposing: e.isComposing, originalEvent: t };
112
- }), c(this.disconnecting)).subscribe((t) => {
111
+ }), p(this.disconnecting)).subscribe((t) => {
113
112
  this.value = t.value, this.dirty = this.value !== this.defaultValue;
114
113
  const e = new CustomEvent("input", { detail: { value: t.value }, bubbles: !0, composed: !0 });
115
114
  Object.defineProperties(e, { inputType: { value: t.inputType }, data: { value: t.data }, isComposing: { value: t.isComposing } }), this.dispatchEvent(e), this.validateInput();
116
- }), p(this.inputElement, "change").pipe($((t) => t.target.value), C(), c(this.disconnecting)).subscribe((t) => {
115
+ }), d(this.inputElement, "change").pipe($((t) => t.target.value), C(), p(this.disconnecting)).subscribe((t) => {
117
116
  this.value = t, this.dirty = this.value !== this.defaultValue, this.dispatchEvent(new CustomEvent("change", { detail: { value: t }, bubbles: !0, composed: !0 })), this.validateInput();
118
117
  });
119
118
  }
120
119
  setupFocusBlurEvents() {
121
- p(this.inputElement, "focus").pipe(c(this.disconnecting)).subscribe((t) => {
120
+ d(this.inputElement, "focus").pipe(p(this.disconnecting)).subscribe((t) => {
122
121
  const e = new CustomEvent("focus", { bubbles: t.bubbles, cancelable: t.cancelable, composed: t.composed });
123
122
  Object.defineProperties(e, { relatedTarget: { value: t.relatedTarget } }), this.dispatchEvent(e);
124
- }), p(this.inputElement, "blur").pipe(c(this.disconnecting)).subscribe((t) => {
123
+ }), d(this.inputElement, "blur").pipe(p(this.disconnecting)).subscribe((t) => {
125
124
  this.touched = !0, this.disabled || this.validateInput();
126
125
  const e = new CustomEvent("blur", { bubbles: t.bubbles, cancelable: t.cancelable, composed: t.composed });
127
126
  Object.defineProperties(e, { relatedTarget: { value: t.relatedTarget } }), this.dispatchEvent(e);
128
127
  });
129
128
  }
130
129
  setupAutofillDetection() {
131
- p(this.inputElement, "animationstart").pipe(v((t) => t.animationName === "onAutoFillStart"), c(this.disconnecting)).subscribe((t) => {
130
+ d(this.inputElement, "animationstart").pipe(y((t) => t.animationName === "onAutoFillStart"), p(this.disconnecting)).subscribe((t) => {
132
131
  const { value: e } = t.target;
133
132
  this.value = e, this.isAutofilled = !0, this.dirty = this.value !== this.defaultValue, this.dispatchEvent(new CustomEvent("autofill", { detail: { value: e }, bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent("change", { detail: { value: e }, bubbles: !0, composed: !0 }));
134
- }), p(this.inputElement, "animationstart").pipe(v((t) => t.animationName === "onAutoFillCancel"), c(this.disconnecting)).subscribe(() => {
133
+ }), d(this.inputElement, "animationstart").pipe(y((t) => t.animationName === "onAutoFillCancel"), p(this.disconnecting)).subscribe(() => {
135
134
  this.isAutofilled = !1;
136
135
  });
137
136
  }
138
137
  setupEnterKeyEvents() {
139
- p(this.inputElement, "keyup").pipe(v((t) => t.key === "Enter"), c(this.disconnecting)).subscribe((t) => {
138
+ d(this.inputElement, "keyup").pipe(y((t) => t.key === "Enter"), p(this.disconnecting)).subscribe((t) => {
140
139
  const { value: e } = t.target;
141
140
  this.value = e, this.dirty = this.value !== this.defaultValue;
142
141
  const a = new CustomEvent("enter", { detail: { value: e }, bubbles: !0, composed: !0 });
@@ -161,8 +160,8 @@ let s = class extends O(z) {
161
160
  get selectionDirection() {
162
161
  return this.inputRef.value?.selectionDirection ?? null;
163
162
  }
164
- setRangeText(t, e, a, l) {
165
- e !== void 0 && a !== void 0 ? this.inputRef.value?.setRangeText(t, e, a, l) : this.inputRef.value?.setRangeText(t);
163
+ setRangeText(t, e, a, o) {
164
+ e !== void 0 && a !== void 0 ? this.inputRef.value?.setRangeText(t, e, a, o) : this.inputRef.value?.setRangeText(t);
166
165
  }
167
166
  focus(t) {
168
167
  this.inputRef.value?.focus(t), this.dispatchEvent(new Event("focus"));
@@ -183,14 +182,14 @@ let s = class extends O(z) {
183
182
  default:
184
183
  return { height: "50px", padding: "0 16px", fontSize: "1rem" };
185
184
  }
186
- })(), l = { "w-full flex-1 rounded-[8px] border-0 bg-surface-highest text-surface-on": !0, "outline-secondary-default focus:outline-1 ": !0, "outline-secondary-default focus:outline-1": !0, "disabled:opacity-40 disabled:cursor-not-allowed": !0, "placeholder:text-muted": !0, "ring-0 ring-inset focus:ring-1 focus:ring-inset": !0, "ring-secondary-default ring-outline focus:ring-secondary-default": !this.error, "ring-error-default focus:ring-error-default": this.error, "caret-transparent focus:outline-hidden cursor-pointer text-select-none": this.readonly, "cursor-pointer": this.clickable, "text-center": this.align === "center", "text-right": this.align === "right", autofilled: this.isAutofilled }, m = { "opacity-40": this.disabled, "block mb-[4px]": !0, "text-sm": this.size === "sm", "text-base": this.size === "md", "text-lg": this.size === "lg" }, u = { height: t, padding: e, fontSize: a };
185
+ })(), o = { "w-full flex-1 rounded-[8px] border-0 bg-surface-highest text-surface-on": !0, "outline-secondary-default focus:outline-1 ": !0, "outline-secondary-default focus:outline-1": !0, "disabled:opacity-40 disabled:cursor-not-allowed": !0, "placeholder:text-muted": !0, "ring-0 ring-inset focus:ring-1 focus:ring-inset": !0, "ring-secondary-default ring-outline focus:ring-secondary-default": !this.error, "ring-error-default focus:ring-error-default": this.error, "caret-transparent focus:outline-hidden cursor-pointer text-select-none": this.readonly, "cursor-pointer": this.clickable, "text-center": this.align === "center", "text-right": this.align === "right", autofilled: this.isAutofilled }, c = { "opacity-40": this.disabled, "block mb-[4px]": !0, "text-sm": this.size === "sm", "text-base": this.size === "md", "text-lg": this.size === "lg" }, u = { height: t, padding: e, fontSize: a };
187
186
  return b`
188
- ${x(this.label, () => b`
187
+ ${E(this.label, () => b`
189
188
  <label
190
189
  for=${this.id}
191
190
  id="label-${this.id}"
192
- class=${this.classMap(m)}
193
- ${g({ color: this.error ? d.sys.color.error.default : d.sys.color.primary.default })}
191
+ class=${this.classMap(c)}
192
+ ${x({ color: this.error ? v.sys.color.error.default : v.sys.color.primary.default })}
194
193
  >
195
194
  <schmancy-typography type="label" token=${this.size === "sm" ? "sm" : this.size === "lg" ? "lg" : "md"}>
196
195
  ${this.label}
@@ -199,11 +198,11 @@ let s = class extends O(z) {
199
198
  `)}
200
199
 
201
200
  <input
202
- ${g({ bgColor: d.sys.color.surface.highest, color: d.sys.color.surface.on })}
203
- ${V(this.inputRef)}
201
+ ${x({ bgColor: v.sys.color.surface.highest, color: v.sys.color.surface.on })}
202
+ ${S(this.inputRef)}
204
203
  id=${this.id}
205
204
  name=${this.name}
206
- class=${this.classMap(l)}
205
+ class=${this.classMap(o)}
207
206
  style=${this.styleMap(u)}
208
207
  .value=${this.value}
209
208
  .type=${this.type}
@@ -223,17 +222,17 @@ let s = class extends O(z) {
223
222
  ?readonly=${this.readonly}
224
223
  aria-invalid=${this.error ? "true" : "false"}
225
224
  aria-required=${this.required ? "true" : "false"}
226
- aria-labelledby=${this.label ? `label-${this.id}` : E}
227
- aria-describedby=${this.hint ? `hint-${this.id}` : E}
225
+ aria-labelledby=${this.label ? `label-${this.id}` : g}
226
+ aria-describedby=${this.hint ? `hint-${this.id}` : g}
228
227
  aria-label=${h(this.label ? void 0 : this.placeholder || "Input")}
229
228
  aria-autocomplete=${this.list ? "list" : "none"}
230
229
  />
231
230
 
232
- ${x(this.hint, () => b`
231
+ ${E(this.hint, () => b`
233
232
  <div
234
233
  id="hint-${this.id}"
235
234
  class="${this.size === "sm" ? "pt-[1px] text-xs" : this.size === "lg" ? "pt-[3px] text-base" : "pt-[2px] text-sm"}"
236
- ${g({ color: this.error ? d.sys.color.error.default : d.sys.color.primary.default })}
235
+ ${x({ color: this.error ? v.sys.color.error.default : v.sys.color.primary.default })}
237
236
  >
238
237
  <schmancy-typography
239
238
  align="left"
@@ -247,17 +246,17 @@ let s = class extends O(z) {
247
246
  `;
248
247
  }
249
248
  };
250
- s._idCounter = 0, s.formAssociated = !0, s.shadowRootOptions = { ...w.shadowRootOptions, delegatesFocus: !0 }, r([i({ reflect: !0 })], s.prototype, "id", 2), r([i({ type: String })], s.prototype, "label", 2), r([i({ reflect: !0 })], s.prototype, "type", 2), r([i()], s.prototype, "name", 2), r([i()], s.prototype, "placeholder", 2), r([i({ type: String, reflect: !0 })], s.prototype, "value", 2), r([i({ type: String, reflect: !0 })], s.prototype, "pattern", 2), r([i({ type: Boolean, reflect: !0 })], s.prototype, "required", 2), r([i({ type: Boolean, reflect: !0 })], s.prototype, "disabled", 2), r([i({ type: Boolean, reflect: !0 })], s.prototype, "readonly", 2), r([i({ type: Boolean, reflect: !0 })], s.prototype, "clickable", 2), r([i({ type: Boolean, reflect: !0 })], s.prototype, "spellcheck", 2), r([i({ type: String, reflect: !0 })], s.prototype, "align", 2), r([i()], s.prototype, "inputmode", 2), r([i({ type: Number, reflect: !0 })], s.prototype, "minlength", 2), r([i({ type: Number })], s.prototype, "maxlength", 2), r([i()], s.prototype, "min", 2), r([i()], s.prototype, "max", 2), r([i({ type: Number, reflect: !0 })], s.prototype, "step", 2), r([i({ type: Boolean })], s.prototype, "autofocus", 2), r([i({ type: String, reflect: !0 })], s.prototype, "autocomplete", 2), r([i({ type: Number, reflect: !0 })], s.prototype, "tabIndex", 2), r([i()], s.prototype, "hint", 2), r([i({ type: Boolean, reflect: !0 })], s.prototype, "error", 2), r([i({ type: String, reflect: !0 })], s.prototype, "size", 2), r([i({ type: String })], s.prototype, "validateOn", 2), r([i({ type: String })], s.prototype, "list", 2), r([i({ type: String })], s.prototype, "validationMessage", 2), r([k("input")], s.prototype, "inputElement", 2), r([f()], s.prototype, "isAutofilled", 2), r([f()], s.prototype, "touched", 2), r([f()], s.prototype, "dirty", 2), r([f()], s.prototype, "submitted", 2), r([f()], s.prototype, "defaultValue", 2), s = r([R("sch-input")], s);
251
- var M = Object.defineProperty, D = Object.getOwnPropertyDescriptor, o = (t, e, a, l) => {
252
- for (var m, u = l > 1 ? void 0 : l ? D(e, a) : e, y = t.length - 1; y >= 0; y--) (m = t[y]) && (u = (l ? m(e, a, u) : m(u)) || u);
253
- return l && u && M(e, a, u), u;
249
+ s._idCounter = 0, s.formAssociated = !0, s.shadowRootOptions = { ...w.shadowRootOptions, delegatesFocus: !0 }, l([i({ reflect: !0 })], s.prototype, "id", 2), l([i({ type: String })], s.prototype, "label", 2), l([i({ reflect: !0 })], s.prototype, "type", 2), l([i()], s.prototype, "name", 2), l([i()], s.prototype, "placeholder", 2), l([i({ type: String, reflect: !0 })], s.prototype, "value", 2), l([i({ type: String, reflect: !0 })], s.prototype, "pattern", 2), l([i({ type: Boolean, reflect: !0 })], s.prototype, "required", 2), l([i({ type: Boolean, reflect: !0 })], s.prototype, "disabled", 2), l([i({ type: Boolean, reflect: !0 })], s.prototype, "readonly", 2), l([i({ type: Boolean, reflect: !0 })], s.prototype, "clickable", 2), l([i({ type: Boolean, reflect: !0 })], s.prototype, "spellcheck", 2), l([i({ type: String, reflect: !0 })], s.prototype, "align", 2), l([i()], s.prototype, "inputmode", 2), l([i({ type: Number, reflect: !0 })], s.prototype, "minlength", 2), l([i({ type: Number })], s.prototype, "maxlength", 2), l([i()], s.prototype, "min", 2), l([i()], s.prototype, "max", 2), l([i({ type: Number, reflect: !0 })], s.prototype, "step", 2), l([i({ type: Boolean })], s.prototype, "autofocus", 2), l([i({ type: String, reflect: !0 })], s.prototype, "autocomplete", 2), l([i({ type: Number, reflect: !0 })], s.prototype, "tabIndex", 2), l([i()], s.prototype, "hint", 2), l([i({ type: Boolean, reflect: !0 })], s.prototype, "error", 2), l([i({ type: String, reflect: !0 })], s.prototype, "size", 2), l([i({ type: String })], s.prototype, "validateOn", 2), l([i({ type: String })], s.prototype, "list", 2), l([i({ type: String })], s.prototype, "validationMessage", 2), l([R("input")], s.prototype, "inputElement", 2), l([m()], s.prototype, "isAutofilled", 2), l([m()], s.prototype, "touched", 2), l([m()], s.prototype, "dirty", 2), l([m()], s.prototype, "submitted", 2), l([m()], s.prototype, "defaultValue", 2), s = l([V("sch-input")], s);
250
+ var A = Object.defineProperty, M = Object.getOwnPropertyDescriptor, n = (t, e, a, o) => {
251
+ for (var c, u = o > 1 ? void 0 : o ? M(e, a) : e, f = t.length - 1; f >= 0; f--) (c = t[f]) && (u = (o ? c(e, a, u) : c(u)) || u);
252
+ return o && u && A(e, a, u), u;
254
253
  };
255
- let n = class extends I(z) {
254
+ let r = class extends I("") {
256
255
  constructor() {
257
- super(...arguments), this.value = "", this.type = "text", this.placeholder = "", this.clickable = !1, this.spellcheck = !1, this.align = "left", this.autofocus = !1, this.autocomplete = "on", this.tabIndex = 0, this.size = "md", this.validateOn = "touched", this.inputRef = S(), this.isAutofilled = !1, this.touched = !1, this.dirty = !1, this.submitted = !1, this.defaultValue = "";
256
+ super(...arguments), this.value = "", this.type = "text", this.placeholder = "", this.clickable = !1, this.spellcheck = !1, this.align = "left", this.autofocus = !1, this.autocomplete = "on", this.tabIndex = 0, this.size = "md", this.validateOn = "touched", this.inputRef = k(), this.isAutofilled = !1, this.touched = !1, this.dirty = !1, this.submitted = !1, this.defaultValue = "";
258
257
  }
259
258
  willUpdate(t) {
260
- this.id || (this.id = "sch-input-" + n._idCounter++), super.willUpdate(t);
259
+ this.id || (this.id = "sch-input-" + r._idCounter++), super.willUpdate(t);
261
260
  }
262
261
  updated(t) {
263
262
  super.updated(t), t.has("value") && (this.value !== this.defaultValue && (this.dirty = !0), this.validateInput()), !this.hasUpdated && t.has("value") && (this.defaultValue = this.value);
@@ -312,8 +311,8 @@ let n = class extends I(z) {
312
311
  }
313
312
  validateInput(t = !1) {
314
313
  if (this.disabled) return;
315
- const e = this.shouldShowValidation(t), a = this.inputElement?.validity ?? { customError: !1, valid: !0 }, l = !a.valid && !a.customError;
316
- e && l ? (this.error = !0, this.validationMessage = this.inputElement?.validationMessage || "") : a.valid ? (this.error = !1, a.customError || (this.validationMessage = "")) : e || (this.error = !1);
314
+ const e = this.shouldShowValidation(t), a = this.inputElement?.validity ?? { customError: !1, valid: !0 }, o = !a.valid && !a.customError;
315
+ e && o ? (this.error = !0, this.validationMessage = this.inputElement?.validationMessage || "") : a.valid ? (this.error = !1, a.customError || (this.validationMessage = "")) : e || (this.error = !1);
317
316
  }
318
317
  checkValidity() {
319
318
  const t = this.inputRef.value?.checkValidity() ?? !0, e = super.checkValidity();
@@ -335,37 +334,37 @@ let n = class extends I(z) {
335
334
  }, 0), this.setupInputEvents(), this.setupFocusBlurEvents(), this.setupAutofillDetection(), this.setupEnterKeyEvents();
336
335
  }
337
336
  setupInputEvents() {
338
- p(this.inputElement, "input").pipe($((t) => {
337
+ d(this.inputElement, "input").pipe($((t) => {
339
338
  const e = t;
340
339
  return { value: t.target.value, inputType: e.inputType, data: e.data, isComposing: e.isComposing, originalEvent: t };
341
- }), c(this.disconnecting)).subscribe((t) => {
340
+ }), p(this.disconnecting)).subscribe((t) => {
342
341
  this.value = t.value, this.dirty = this.value !== this.defaultValue;
343
342
  const e = new CustomEvent("input", { detail: { value: t.value }, bubbles: !0, composed: !0 });
344
343
  Object.defineProperties(e, { inputType: { value: t.inputType }, data: { value: t.data }, isComposing: { value: t.isComposing } }), this.dispatchEvent(e), this.validateInput();
345
- }), p(this.inputElement, "change").pipe($((t) => t.target.value), C(), c(this.disconnecting)).subscribe((t) => {
344
+ }), d(this.inputElement, "change").pipe($((t) => t.target.value), C(), p(this.disconnecting)).subscribe((t) => {
346
345
  this.value = t, this.dirty = this.value !== this.defaultValue, this.emitChange({ value: t }), this.validateInput();
347
346
  });
348
347
  }
349
348
  setupFocusBlurEvents() {
350
- p(this.inputElement, "focus").pipe(c(this.disconnecting)).subscribe((t) => {
349
+ d(this.inputElement, "focus").pipe(p(this.disconnecting)).subscribe((t) => {
351
350
  const e = new CustomEvent("focus", { bubbles: t.bubbles, cancelable: t.cancelable, composed: t.composed });
352
351
  Object.defineProperties(e, { relatedTarget: { value: t.relatedTarget } }), this.dispatchEvent(e);
353
- }), p(this.inputElement, "blur").pipe(c(this.disconnecting)).subscribe((t) => {
352
+ }), d(this.inputElement, "blur").pipe(p(this.disconnecting)).subscribe((t) => {
354
353
  this.touched = !0, this.disabled || this.validateInput();
355
354
  const e = new CustomEvent("blur", { bubbles: t.bubbles, cancelable: t.cancelable, composed: t.composed });
356
355
  Object.defineProperties(e, { relatedTarget: { value: t.relatedTarget } }), this.dispatchEvent(e);
357
356
  });
358
357
  }
359
358
  setupAutofillDetection() {
360
- p(this.inputElement, "animationstart").pipe(v((t) => t.animationName === "onAutoFillStart"), c(this.disconnecting)).subscribe((t) => {
359
+ d(this.inputElement, "animationstart").pipe(y((t) => t.animationName === "onAutoFillStart"), p(this.disconnecting)).subscribe((t) => {
361
360
  const { value: e } = t.target;
362
361
  this.value = e, this.isAutofilled = !0, this.dirty = this.value !== this.defaultValue, this.dispatchEvent(new CustomEvent("autofill", { detail: { value: e }, bubbles: !0, composed: !0 })), this.emitChange({ value: e });
363
- }), p(this.inputElement, "animationstart").pipe(v((t) => t.animationName === "onAutoFillCancel"), c(this.disconnecting)).subscribe(() => {
362
+ }), d(this.inputElement, "animationstart").pipe(y((t) => t.animationName === "onAutoFillCancel"), p(this.disconnecting)).subscribe(() => {
364
363
  this.isAutofilled = !1;
365
364
  });
366
365
  }
367
366
  setupEnterKeyEvents() {
368
- p(this.inputElement, "keydown").pipe(v((t) => t.key === "Enter"), c(this.disconnecting)).subscribe((t) => {
367
+ d(this.inputElement, "keydown").pipe(y((t) => t.key === "Enter"), p(this.disconnecting)).subscribe((t) => {
369
368
  const { value: e } = t.target;
370
369
  this.value !== e && (this.value = e, this.dirty = this.value !== this.defaultValue), this.inputElement.blur();
371
370
  const a = new CustomEvent("enter", { detail: { value: this.value }, bubbles: !0, composed: !0 });
@@ -390,8 +389,8 @@ let n = class extends I(z) {
390
389
  get selectionDirection() {
391
390
  return this.inputRef.value?.selectionDirection ?? null;
392
391
  }
393
- setRangeText(t, e, a, l) {
394
- e !== void 0 && a !== void 0 ? this.inputRef.value?.setRangeText(t, e, a, l) : this.inputRef.value?.setRangeText(t);
392
+ setRangeText(t, e, a, o) {
393
+ e !== void 0 && a !== void 0 ? this.inputRef.value?.setRangeText(t, e, a, o) : this.inputRef.value?.setRangeText(t);
395
394
  }
396
395
  focus(t) {
397
396
  this.inputRef.value?.focus(t), this.dispatchEvent(new Event("focus"));
@@ -412,69 +411,58 @@ let n = class extends I(z) {
412
411
  default:
413
412
  return { height: "50px", padding: "0 16px", fontSize: "1rem" };
414
413
  }
415
- })(), l = { "w-full flex-1 rounded-[8px] border-0 bg-surface-highest text-surface-on": !0, "outline-secondary-default focus:outline-1 ": !0, "outline-secondary-default focus:outline-1": !0, "disabled:opacity-40 disabled:cursor-not-allowed": !0, "placeholder:text-muted": !0, "ring-0 ring-inset focus:ring-1 focus:ring-inset": !0, "ring-secondary-default ring-outline focus:ring-secondary-default": !this.error, "ring-error-default focus:ring-error-default": this.error, "caret-transparent focus:outline-hidden cursor-pointer text-select-none": this.readonly, "cursor-pointer": this.clickable, "text-center": this.align === "center", "text-right": this.align === "right", autofilled: this.isAutofilled }, m = { "opacity-40": this.disabled, "block mb-[4px]": !0, "text-sm": this.size === "sm", "text-base": this.size === "md", "text-lg": this.size === "lg" }, u = { height: t, padding: e, fontSize: a };
414
+ })(), o = ["date", "datetime-local", "time", "month", "week"].includes(this.type), c = { "block w-full min-w-0 rounded-[8px] border-0 bg-surface-highest text-surface-on": !0, "outline-secondary-default focus:outline-1": !0, "disabled:opacity-40 disabled:cursor-not-allowed": !0, "placeholder:text-muted": !0, "ring-0 ring-inset focus:ring-1 focus:ring-inset": !0, "ring-secondary-default ring-outline focus:ring-secondary-default": !this.error, "ring-error-default focus:ring-error-default": this.error, "caret-transparent focus:outline-hidden cursor-pointer select-none": this.readonly, "cursor-pointer": this.clickable, "text-left": this.align === "left" || o, "text-center": this.align === "center" && !o, "text-right": this.align === "right" && !o, autofilled: this.isAutofilled }, u = { "block mb-1 font-medium": !0, "opacity-40": this.disabled, "text-sm": this.size === "sm", "text-base": this.size === "md", "text-lg": this.size === "lg", "text-primary-default": !this.error, "text-error-default": this.error }, f = { height: t, padding: e, fontSize: a, lineHeight: t };
416
415
  return b`
417
- ${x(this.label, () => b`
418
- <label
419
- for=${this.id}
420
- id="label-${this.id}"
421
- class=${this.classMap(m)}
422
- ${g({ color: this.error ? d.sys.color.error.default : d.sys.color.primary.default })}
423
- >
424
- <schmancy-typography type="label" token=${this.size === "sm" ? "sm" : this.size === "lg" ? "lg" : "md"}>
416
+ <div class="w-full min-w-0 ${o ? "date-input-container" : ""}">
417
+ ${E(this.label, () => b`
418
+ <label
419
+ for=${this.id}
420
+ class=${this.classMap(u)}
421
+ >
425
422
  ${this.label}
426
- </schmancy-typography>
427
- </label>
428
- `)}
423
+ </label>
424
+ `)}
429
425
 
430
- <input
431
- ${g({ bgColor: d.sys.color.surface.highest, color: d.sys.color.surface.on })}
432
- ${V(this.inputRef)}
433
- id=${this.id}
434
- name=${this.name}
435
- class=${this.classMap(l)}
436
- style=${this.styleMap(u)}
437
- .value=${this.value}
438
- .type=${this.type}
439
- .autocomplete=${this.autocomplete}
440
- .spellcheck=${this.spellcheck}
441
- placeholder=${this.placeholder}
442
- inputmode=${h(this.inputmode)}
443
- pattern=${h(this.pattern)}
444
- step=${h(this.step)}
445
- minlength=${h(this.minlength)}
446
- maxlength=${h(this.maxlength)}
447
- min=${h(this.min)}
448
- max=${h(this.max)}
449
- list=${h(this.list)}
450
- ?required=${this.required}
451
- ?disabled=${this.disabled}
452
- ?readonly=${this.readonly}
453
- aria-invalid=${this.error ? "true" : "false"}
454
- aria-required=${this.required ? "true" : "false"}
455
- aria-labelledby=${this.label ? `label-${this.id}` : E}
456
- aria-describedby=${this.hint ? `hint-${this.id}` : E}
457
- aria-label=${h(this.label ? void 0 : this.placeholder || "Input")}
458
- aria-autocomplete=${this.list ? "list" : "none"}
459
- />
426
+ <input
427
+ ${S(this.inputRef)}
428
+ id=${this.id}
429
+ name=${this.name}
430
+ class=${this.classMap(c)}
431
+ style=${this.styleMap(f)}
432
+ .value=${this.value}
433
+ .type=${this.type}
434
+ .autocomplete=${this.autocomplete}
435
+ .spellcheck=${this.spellcheck}
436
+ placeholder=${this.placeholder}
437
+ inputmode=${h(this.inputmode)}
438
+ pattern=${h(this.pattern)}
439
+ step=${h(this.step)}
440
+ minlength=${h(this.minlength)}
441
+ maxlength=${h(this.maxlength)}
442
+ min=${h(this.min)}
443
+ max=${h(this.max)}
444
+ list=${h(this.list)}
445
+ ?required=${this.required}
446
+ ?disabled=${this.disabled}
447
+ ?readonly=${this.readonly}
448
+ aria-invalid=${this.error ? "true" : "false"}
449
+ aria-required=${this.required ? "true" : "false"}
450
+ aria-labelledby=${this.label ? `label-${this.id}` : g}
451
+ aria-describedby=${this.hint || this.validationMessage ? `hint-${this.id}` : g}
452
+ aria-label=${h(this.label ? void 0 : this.placeholder || "Input")}
453
+ />
460
454
 
461
- ${x(this.hint, () => b`
462
- <div
463
- id="hint-${this.id}"
464
- class="${this.size === "sm" ? "pt-[1px] text-xs" : this.size === "lg" ? "pt-[3px] text-base" : "pt-[2px] text-sm"}"
465
- ${g({ color: this.error ? d.sys.color.error.default : d.sys.color.primary.default })}
466
- >
467
- <schmancy-typography
468
- align="left"
469
- type="label"
470
- token=${this.size === "sm" ? "sm" : this.size === "lg" ? "lg" : "md"}
455
+ ${E(this.hint || this.error && this.validationMessage, () => b`
456
+ <div
457
+ id="hint-${this.id}"
458
+ class="mt-1 text-sm ${this.error ? "text-error-default" : "text-surface-onVariant"}"
471
459
  >
472
- ${this.hint}
473
- </schmancy-typography>
474
- </div>
475
- `)}
460
+ ${this.error && this.validationMessage ? this.validationMessage : this.hint}
461
+ </div>
462
+ `)}
463
+ </div>
476
464
  `;
477
465
  }
478
466
  };
479
- n._idCounter = 0, n.shadowRootOptions = { ...w.shadowRootOptions, delegatesFocus: !0 }, o([i({ type: String, reflect: !0 })], n.prototype, "value", 2), o([i({ reflect: !0 })], n.prototype, "type", 2), o([i()], n.prototype, "placeholder", 2), o([i({ type: String, reflect: !0 })], n.prototype, "pattern", 2), o([i({ type: Boolean, reflect: !0 })], n.prototype, "clickable", 2), o([i({ type: Boolean, reflect: !0 })], n.prototype, "spellcheck", 2), o([i({ type: String, reflect: !0 })], n.prototype, "align", 2), o([i()], n.prototype, "inputmode", 2), o([i({ type: Number, reflect: !0 })], n.prototype, "minlength", 2), o([i({ type: Number })], n.prototype, "maxlength", 2), o([i()], n.prototype, "min", 2), o([i()], n.prototype, "max", 2), o([i({ type: Number, reflect: !0 })], n.prototype, "step", 2), o([i({ type: Boolean })], n.prototype, "autofocus", 2), o([i({ type: String, reflect: !0 })], n.prototype, "autocomplete", 2), o([i({ type: Number, reflect: !0 })], n.prototype, "tabIndex", 2), o([i({ type: String, reflect: !0 })], n.prototype, "size", 2), o([i({ type: String })], n.prototype, "validateOn", 2), o([i({ type: String })], n.prototype, "list", 2), o([k("input")], n.prototype, "inputElement", 2), o([f()], n.prototype, "isAutofilled", 2), o([f()], n.prototype, "touched", 2), o([f()], n.prototype, "dirty", 2), o([f()], n.prototype, "submitted", 2), o([f()], n.prototype, "defaultValue", 2), n = o([R("schmancy-input")], n);
480
- //# sourceMappingURL=input-BKGOpZ3z.js.map
467
+ r._idCounter = 0, r.shadowRootOptions = { ...w.shadowRootOptions, delegatesFocus: !0 }, n([i({ type: String, reflect: !0 })], r.prototype, "value", 2), n([i({ reflect: !0 })], r.prototype, "type", 2), n([i()], r.prototype, "placeholder", 2), n([i({ type: String, reflect: !0 })], r.prototype, "pattern", 2), n([i({ type: Boolean, reflect: !0 })], r.prototype, "clickable", 2), n([i({ type: Boolean, reflect: !0 })], r.prototype, "spellcheck", 2), n([i({ type: String, reflect: !0 })], r.prototype, "align", 2), n([i()], r.prototype, "inputmode", 2), n([i({ type: Number, reflect: !0 })], r.prototype, "minlength", 2), n([i({ type: Number })], r.prototype, "maxlength", 2), n([i()], r.prototype, "min", 2), n([i()], r.prototype, "max", 2), n([i({ type: Number, reflect: !0 })], r.prototype, "step", 2), n([i({ type: Boolean })], r.prototype, "autofocus", 2), n([i({ type: String, reflect: !0 })], r.prototype, "autocomplete", 2), n([i({ type: Number, reflect: !0 })], r.prototype, "tabIndex", 2), n([i({ type: String, reflect: !0 })], r.prototype, "size", 2), n([i({ type: String })], r.prototype, "validateOn", 2), n([i({ type: String })], r.prototype, "list", 2), n([R("input")], r.prototype, "inputElement", 2), n([m()], r.prototype, "isAutofilled", 2), n([m()], r.prototype, "touched", 2), n([m()], r.prototype, "dirty", 2), n([m()], r.prototype, "submitted", 2), n([m()], r.prototype, "defaultValue", 2), r = n([V("schmancy-input")], r);
468
+ //# sourceMappingURL=input-DQoSkBYb.js.map