@mhmo91/schmancy 0.4.1 → 0.4.3

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 (332) hide show
  1. package/dist/{animated-text-DBk95qoX.cjs → animated-text-5NJFGbRC.cjs} +2 -2
  2. package/dist/{animated-text-DBk95qoX.cjs.map → animated-text-5NJFGbRC.cjs.map} +1 -1
  3. package/dist/{animated-text-BhACpxZL.js → animated-text-C63wwL5H.js} +3 -3
  4. package/dist/{animated-text-BhACpxZL.js.map → animated-text-C63wwL5H.js.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-B78lu4GT.cjs +8 -0
  9. package/dist/{area.component-CbT_WCUv.cjs.map → area.component-B78lu4GT.cjs.map} +1 -1
  10. package/dist/{area.component-DX2Y6cAp.js → area.component-mDv3w12S.js} +85 -90
  11. package/dist/{area.component-DX2Y6cAp.js.map → area.component-mDv3w12S.js.map} +1 -1
  12. package/dist/area.js +1 -1
  13. package/dist/autocomplete-BLtChct9.js +315 -0
  14. package/dist/{autocomplete-Qr_SNWus.js.map → autocomplete-BLtChct9.js.map} +1 -1
  15. package/dist/autocomplete-JjaB0OPh.cjs +73 -0
  16. package/dist/{autocomplete-ByVC8MLH.cjs.map → autocomplete-JjaB0OPh.cjs.map} +1 -1
  17. package/dist/autocomplete.cjs +1 -1
  18. package/dist/autocomplete.js +1 -1
  19. package/dist/avatar-BuCRVCII.cjs +211 -0
  20. package/dist/avatar-BuCRVCII.cjs.map +1 -0
  21. package/dist/{avatar-BFxYkrCv.js → avatar-WaHuf8DW.js} +205 -322
  22. package/dist/avatar-WaHuf8DW.js.map +1 -0
  23. package/dist/badge.cjs +1 -1
  24. package/dist/badge.js +1 -1
  25. package/dist/{boat-ZKuOCC1g.js → boat-BTnwHy3K.js} +2 -2
  26. package/dist/{boat-ZKuOCC1g.js.map → boat-BTnwHy3K.js.map} +1 -1
  27. package/dist/{boat-RaIwtGNW.cjs → boat-RjFQ6YHH.cjs} +2 -2
  28. package/dist/{boat-RaIwtGNW.cjs.map → boat-RjFQ6YHH.cjs.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 +7 -1
  37. package/dist/{checkbox-BZvRSKLj.cjs → checkbox-BdCbMFh6.cjs} +4 -4
  38. package/dist/{checkbox-BZvRSKLj.cjs.map → checkbox-BdCbMFh6.cjs.map} +1 -1
  39. package/dist/{checkbox-Cy3X3PGY.js → checkbox-C6B9Iii2.js} +34 -35
  40. package/dist/{checkbox-Cy3X3PGY.js.map → checkbox-C6B9Iii2.js.map} +1 -1
  41. package/dist/checkbox.cjs +1 -1
  42. package/dist/checkbox.js +1 -1
  43. package/dist/{chips-Y1qvw2Wa.js → chips-CLKkNCVv.js} +59 -61
  44. package/dist/{chips-Y1qvw2Wa.js.map → chips-CLKkNCVv.js.map} +1 -1
  45. package/dist/{chips-5IKm7m8x.cjs → chips-eAdPw08P.cjs} +25 -25
  46. package/dist/{chips-5IKm7m8x.cjs.map → chips-eAdPw08P.cjs.map} +1 -1
  47. package/dist/chips.cjs +1 -1
  48. package/dist/chips.js +1 -1
  49. package/dist/{circular-progress-utG8iIPV.js → circular-progress-C246y_3U.js} +3 -3
  50. package/dist/{circular-progress-utG8iIPV.js.map → circular-progress-C246y_3U.js.map} +1 -1
  51. package/dist/{circular-progress-BZwI11v0.cjs → circular-progress-E9riM09J.cjs} +2 -2
  52. package/dist/{circular-progress-BZwI11v0.cjs.map → circular-progress-E9riM09J.cjs.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-CN4mbrHE.cjs → code-preview-Cw3eINAz.cjs} +9 -9
  58. package/dist/{code-preview-CN4mbrHE.cjs.map → code-preview-Cw3eINAz.cjs.map} +1 -1
  59. package/dist/{code-preview-C_W44LD7.js → code-preview-CxDOJhpM.js} +166 -168
  60. package/dist/{code-preview-C_W44LD7.js.map → code-preview-CxDOJhpM.js.map} +1 -1
  61. package/dist/components.cjs +1 -1
  62. package/dist/components.js +1 -1
  63. package/dist/{consume-B05Dd6qy.js → consume-5D1qfVWM.js} +2 -2
  64. package/dist/{consume-B05Dd6qy.js.map → consume-5D1qfVWM.js.map} +1 -1
  65. package/dist/{consume-uKrSupzs.cjs → consume-edta5ng5.cjs} +2 -2
  66. package/dist/{consume-uKrSupzs.cjs.map → consume-edta5ng5.cjs.map} +1 -1
  67. package/dist/content-drawer.cjs +1 -1
  68. package/dist/content-drawer.js +1 -1
  69. package/dist/{context-object-CISes2bD.js → context-object-CDDP4bTk.js} +6 -8
  70. package/dist/{context-object-CISes2bD.js.map → context-object-CDDP4bTk.js.map} +1 -1
  71. package/dist/context-object-K_1gDFu-.cjs +2 -0
  72. package/dist/{context-object-CP7HbDFQ.cjs.map → context-object-K_1gDFu-.cjs.map} +1 -1
  73. package/dist/date-range-CYMv_xG-.cjs +121 -0
  74. package/dist/date-range-CYMv_xG-.cjs.map +1 -0
  75. package/dist/date-range-DStUXYx-.js +596 -0
  76. package/dist/date-range-DStUXYx-.js.map +1 -0
  77. package/dist/date-range.cjs +1 -1
  78. package/dist/date-range.js +1 -1
  79. package/dist/{delay-Cd-N6nxZ.js → delay-1MUDagyy.js} +57 -70
  80. package/dist/{delay-Cd-N6nxZ.js.map → delay-1MUDagyy.js.map} +1 -1
  81. package/dist/delay-DkQ3ZZuE.cjs +10 -0
  82. package/dist/{delay-CLGKeX0n.cjs.map → delay-DkQ3ZZuE.cjs.map} +1 -1
  83. package/dist/delay.cjs +1 -1
  84. package/dist/delay.js +1 -1
  85. package/dist/{dialog-content-C835zQHB.js → dialog-content-CXBx9Bmp.js} +9 -11
  86. package/dist/{dialog-content-C835zQHB.js.map → dialog-content-CXBx9Bmp.js.map} +1 -1
  87. package/dist/{dialog-content-DWITDRHy.cjs → dialog-content-CjgsxN8I.cjs} +4 -4
  88. package/dist/{dialog-content-DWITDRHy.cjs.map → dialog-content-CjgsxN8I.cjs.map} +1 -1
  89. package/dist/dialog-service-BgqAlT7T.cjs +2 -0
  90. package/dist/{dialog-service-Di9NiBao.cjs.map → dialog-service-BgqAlT7T.cjs.map} +1 -1
  91. package/dist/dialog-service-CnjZCTMj.js +127 -0
  92. package/dist/{dialog-service-noGCuxg1.js.map → dialog-service-CnjZCTMj.js.map} +1 -1
  93. package/dist/dialog.cjs +1 -1
  94. package/dist/dialog.js +2 -2
  95. package/dist/{divider-D7pxxtTI.js → divider-GhXZhIur.js} +3 -3
  96. package/dist/{divider-D7pxxtTI.js.map → divider-GhXZhIur.js.map} +1 -1
  97. package/dist/{divider-C7UzzgIj.cjs → divider-OSlBVpO-.cjs} +2 -2
  98. package/dist/{divider-C7UzzgIj.cjs.map → divider-OSlBVpO-.cjs.map} +1 -1
  99. package/dist/divider.cjs +1 -1
  100. package/dist/divider.js +1 -1
  101. package/dist/{dropdown-content-DJFDnoKm.js → dropdown-content-BcGSsDWz.js} +16 -20
  102. package/dist/{dropdown-content-DJFDnoKm.js.map → dropdown-content-BcGSsDWz.js.map} +1 -1
  103. package/dist/{dropdown-content-RMyyjS7G.cjs → dropdown-content-Cd1O_kVO.cjs} +4 -4
  104. package/dist/{dropdown-content-RMyyjS7G.cjs.map → dropdown-content-Cd1O_kVO.cjs.map} +1 -1
  105. package/dist/dropdown.cjs +1 -1
  106. package/dist/dropdown.js +1 -1
  107. package/dist/extra.cjs +1 -1
  108. package/dist/extra.js +1 -1
  109. package/dist/{flex-Bu7OqH-d.js → flex-BftnODFE.js} +63 -64
  110. package/dist/{flex-Bu7OqH-d.js.map → flex-BftnODFE.js.map} +1 -1
  111. package/dist/{flex-Cg_UtAIG.cjs → flex-DyHrvDQU.cjs} +10 -10
  112. package/dist/{flex-Cg_UtAIG.cjs.map → flex-DyHrvDQU.cjs.map} +1 -1
  113. package/dist/flow-D0e7hGXO.cjs +2 -0
  114. package/dist/{flow-CnJl1T1A.cjs.map → flow-D0e7hGXO.cjs.map} +1 -1
  115. package/dist/{flow-B1wMqea2.js → flow-DXYqC9OA.js} +50 -52
  116. package/dist/{flow-B1wMqea2.js.map → flow-DXYqC9OA.js.map} +1 -1
  117. package/dist/{form-WeCrsPmp.js → form-2QZDF5pF.js} +19 -28
  118. package/dist/{form-WeCrsPmp.js.map → form-2QZDF5pF.js.map} +1 -1
  119. package/dist/form-B0stbhfQ.cjs +14 -0
  120. package/dist/{form-DzfdidJO.cjs.map → form-B0stbhfQ.cjs.map} +1 -1
  121. package/dist/form.cjs +1 -1
  122. package/dist/form.js +1 -1
  123. package/dist/{icon-Be8aUtz9.js → icon-DWdq9YQM.js} +8 -9
  124. package/dist/{icon-Be8aUtz9.js.map → icon-DWdq9YQM.js.map} +1 -1
  125. package/dist/{icon-4c4f-QXa.cjs → icon-JitLog9X.cjs} +4 -4
  126. package/dist/{icon-4c4f-QXa.cjs.map → icon-JitLog9X.cjs.map} +1 -1
  127. package/dist/{icon-button-Mfs7C_ol.js → icon-button-BMkYjAl1.js} +40 -41
  128. package/dist/{icon-button-Mfs7C_ol.js.map → icon-button-BMkYjAl1.js.map} +1 -1
  129. package/dist/icon-button-em1NSoxk.cjs +69 -0
  130. package/dist/{icon-button-DNvGlOPI.cjs.map → icon-button-em1NSoxk.cjs.map} +1 -1
  131. package/dist/icons.cjs +1 -1
  132. package/dist/icons.js +1 -1
  133. package/dist/index.cjs +1 -1
  134. package/dist/index.js +167 -162
  135. package/dist/index.js.map +1 -1
  136. package/dist/{input-CpYu_aUV.js → input-6XNB7MZP.js} +86 -113
  137. package/dist/{input-CpYu_aUV.js.map → input-6XNB7MZP.js.map} +1 -1
  138. package/dist/input-BlpSg5js.cjs +111 -0
  139. package/dist/{input-CD59n3y-.cjs.map → input-BlpSg5js.cjs.map} +1 -1
  140. package/dist/input.cjs +1 -1
  141. package/dist/input.js +1 -1
  142. package/dist/layout.cjs +1 -1
  143. package/dist/layout.js +1 -1
  144. package/dist/{list-DNZhjJ-s.js → list-BxLFi3dU.js} +20 -21
  145. package/dist/{list-DNZhjJ-s.js.map → list-BxLFi3dU.js.map} +1 -1
  146. package/dist/{list-kvjz9d5N.cjs → list-CmbK_JyT.cjs} +4 -4
  147. package/dist/{list-kvjz9d5N.cjs.map → list-CmbK_JyT.cjs.map} +1 -1
  148. package/dist/list.cjs +1 -1
  149. package/dist/list.js +1 -1
  150. package/dist/{litElement.mixin-DMTxmbnz.js → litElement.mixin-BC40ZfGG.js} +2 -2
  151. package/dist/{litElement.mixin-DMTxmbnz.js.map → litElement.mixin-BC40ZfGG.js.map} +1 -1
  152. package/dist/{litElement.mixin-CrXwM_fu.cjs → litElement.mixin-BDMVhBpu.cjs} +2 -2
  153. package/dist/{litElement.mixin-CrXwM_fu.cjs.map → litElement.mixin-BDMVhBpu.cjs.map} +1 -1
  154. package/dist/media-DR_teeoc.js +185 -0
  155. package/dist/media-DR_teeoc.js.map +1 -0
  156. package/dist/media-DSVZ83aB.cjs +128 -0
  157. package/dist/media-DSVZ83aB.cjs.map +1 -0
  158. package/dist/{menu-CzoGF0Jg.js → menu-CwKx1goz.js} +3 -3
  159. package/dist/{menu-CzoGF0Jg.js.map → menu-CwKx1goz.js.map} +1 -1
  160. package/dist/{menu-DSJGu_Le.cjs → menu-DRwYeROH.cjs} +2 -2
  161. package/dist/{menu-DSJGu_Le.cjs.map → menu-DRwYeROH.cjs.map} +1 -1
  162. package/dist/menu.cjs +1 -1
  163. package/dist/menu.js +1 -1
  164. package/dist/nav-drawer.cjs +1 -1
  165. package/dist/nav-drawer.js +1 -1
  166. package/dist/{notification-service-dKoZweFH.cjs → notification-service-C6Bv3f71.cjs} +6 -6
  167. package/dist/{notification-service-dKoZweFH.cjs.map → notification-service-C6Bv3f71.cjs.map} +1 -1
  168. package/dist/{notification-service-BUZQ2nOZ.js → notification-service-ufUrNaq3.js} +4 -4
  169. package/dist/{notification-service-BUZQ2nOZ.js.map → notification-service-ufUrNaq3.js.map} +1 -1
  170. package/dist/notification.cjs +1 -1
  171. package/dist/notification.js +1 -1
  172. package/dist/{option-dBiLTB_w.js → option-CayvURH3.js} +3 -4
  173. package/dist/{option-dBiLTB_w.js.map → option-CayvURH3.js.map} +1 -1
  174. package/dist/{option-BXU6HGLZ.cjs → option-Dt7pNR-a.cjs} +3 -3
  175. package/dist/{option-BXU6HGLZ.cjs.map → option-Dt7pNR-a.cjs.map} +1 -1
  176. package/dist/option.cjs +1 -1
  177. package/dist/option.js +1 -1
  178. package/dist/{payment-card-form-Bhy7PHzr.js → payment-card-form-DPf41TU3.js} +3 -3
  179. package/dist/{payment-card-form-Bhy7PHzr.js.map → payment-card-form-DPf41TU3.js.map} +1 -1
  180. package/dist/{payment-card-form-HSho3d5z.cjs → payment-card-form-xKlOCP9C.cjs} +2 -2
  181. package/dist/{payment-card-form-HSho3d5z.cjs.map → payment-card-form-xKlOCP9C.cjs.map} +1 -1
  182. package/dist/provide-BxZ2kn_p.cjs +2 -0
  183. package/dist/{provide-BGGp1Iks.cjs.map → provide-BxZ2kn_p.cjs.map} +1 -1
  184. package/dist/{provide-hwQSumt-.js → provide-tcktw8xB.js} +41 -42
  185. package/dist/{provide-hwQSumt-.js.map → provide-tcktw8xB.js.map} +1 -1
  186. package/dist/radio-button-BWJLsF3d.cjs +41 -0
  187. package/dist/{radio-button-dwmtJ2ef.cjs.map → radio-button-BWJLsF3d.cjs.map} +1 -1
  188. package/dist/radio-button-DouFDjcL.js +151 -0
  189. package/dist/{radio-button-DDbyvXw1.js.map → radio-button-DouFDjcL.js.map} +1 -1
  190. package/dist/radio-group.cjs +1 -1
  191. package/dist/radio-group.js +1 -1
  192. package/dist/{redispatch-event-CF5ekzwZ.js → redispatch-event-BLom7yp4.js} +65 -68
  193. package/dist/{redispatch-event-CF5ekzwZ.js.map → redispatch-event-BLom7yp4.js.map} +1 -1
  194. package/dist/redispatch-event-DHcobAl6.cjs +4 -0
  195. package/dist/{redispatch-event-roczetCU.cjs.map → redispatch-event-DHcobAl6.cjs.map} +1 -1
  196. package/dist/{schmancy-steps-container-COL9P7PV.cjs → schmancy-steps-container-3-Bd627o.cjs} +3 -3
  197. package/dist/{schmancy-steps-container-COL9P7PV.cjs.map → schmancy-steps-container-3-Bd627o.cjs.map} +1 -1
  198. package/dist/{schmancy-steps-container-BrfKRYkI.js → schmancy-steps-container-CWBj3izf.js} +5 -6
  199. package/dist/{schmancy-steps-container-BrfKRYkI.js.map → schmancy-steps-container-CWBj3izf.js.map} +1 -1
  200. package/dist/{select-C6O6NRea.js → select-BjZUTKHm.js} +46 -56
  201. package/dist/{select-C6O6NRea.js.map → select-BjZUTKHm.js.map} +1 -1
  202. package/dist/select-Bv_TZZ-v.cjs +56 -0
  203. package/dist/{select-PrgXr6zf.cjs.map → select-Bv_TZZ-v.cjs.map} +1 -1
  204. package/dist/select.cjs +1 -1
  205. package/dist/select.js +1 -1
  206. package/dist/{selector-hook-B6uqLA-J.js → selector-hook-BvXML7_4.js} +61 -64
  207. package/dist/{selector-hook-B6uqLA-J.js.map → selector-hook-BvXML7_4.js.map} +1 -1
  208. package/dist/selector-hook-CYMLsOvh.cjs +2 -0
  209. package/dist/{selector-hook-CyvD9WN9.cjs.map → selector-hook-CYMLsOvh.cjs.map} +1 -1
  210. package/dist/sheet-D8SmGguy.js +141 -0
  211. package/dist/{sheet-lcz-71nv.js.map → sheet-D8SmGguy.js.map} +1 -1
  212. package/dist/sheet-tx2jWxVd.cjs +47 -0
  213. package/dist/{sheet-CNvW8vrn.cjs.map → sheet-tx2jWxVd.cjs.map} +1 -1
  214. package/dist/sheet.cjs +1 -1
  215. package/dist/sheet.js +2 -2
  216. package/dist/{slider-BNXI3Yj7.cjs → slider-Bo-4a-Ss.cjs} +8 -8
  217. package/dist/{slider-BNXI3Yj7.cjs.map → slider-Bo-4a-Ss.cjs.map} +1 -1
  218. package/dist/{slider-i-AZp4UF.js → slider-ytiEVvLJ.js} +36 -40
  219. package/dist/{slider-i-AZp4UF.js.map → slider-ytiEVvLJ.js.map} +1 -1
  220. package/dist/slider.cjs +1 -1
  221. package/dist/slider.js +1 -1
  222. package/dist/{spinner-Df6JHzWX.js → spinner-BuH3Wf-1.js} +3 -3
  223. package/dist/{spinner-Df6JHzWX.js.map → spinner-BuH3Wf-1.js.map} +1 -1
  224. package/dist/{spinner-DItpvohq.cjs → spinner-RIkASBZt.cjs} +2 -2
  225. package/dist/{spinner-DItpvohq.cjs.map → spinner-RIkASBZt.cjs.map} +1 -1
  226. package/dist/steps.cjs +1 -1
  227. package/dist/steps.js +1 -1
  228. package/dist/store.cjs +1 -1
  229. package/dist/store.js +2 -2
  230. package/dist/{surface-BaatMeqX.js → surface-Bkj3lZLo.js} +3 -3
  231. package/dist/{surface-BaatMeqX.js.map → surface-Bkj3lZLo.js.map} +1 -1
  232. package/dist/{surface-DiP3y6CA.cjs → surface-D-2akvnF.cjs} +2 -2
  233. package/dist/{surface-DiP3y6CA.cjs.map → surface-D-2akvnF.cjs.map} +1 -1
  234. package/dist/surface.cjs +1 -1
  235. package/dist/surface.js +1 -1
  236. package/dist/{table-BY56H-_F.js → table-BNUCQw-a.js} +58 -68
  237. package/dist/{table-BY56H-_F.js.map → table-BNUCQw-a.js.map} +1 -1
  238. package/dist/table-BpeeUiM1.cjs +65 -0
  239. package/dist/{table-BRQDbCA8.cjs.map → table-BpeeUiM1.cjs.map} +1 -1
  240. package/dist/table.cjs +1 -1
  241. package/dist/table.js +1 -1
  242. package/dist/{tabs-compatibility-pq--kZ3e.cjs → tabs-compatibility-CIQWnzk8.cjs} +5 -5
  243. package/dist/{tabs-compatibility-pq--kZ3e.cjs.map → tabs-compatibility-CIQWnzk8.cjs.map} +1 -1
  244. package/dist/{tabs-compatibility-qFYA1HDl.js → tabs-compatibility-c-iBrBOK.js} +20 -21
  245. package/dist/{tabs-compatibility-qFYA1HDl.js.map → tabs-compatibility-c-iBrBOK.js.map} +1 -1
  246. package/dist/tabs.cjs +1 -1
  247. package/dist/tabs.js +1 -1
  248. package/dist/tailwind.mixin-Ba46CZMW.js +43 -0
  249. package/dist/{tailwind.mixin-DbsxfE0U.js.map → tailwind.mixin-Ba46CZMW.js.map} +1 -1
  250. package/dist/tailwind.mixin-DJWjTKPc.cjs +2 -0
  251. package/dist/{tailwind.mixin-CPvz1Npj.cjs.map → tailwind.mixin-DJWjTKPc.cjs.map} +1 -1
  252. package/dist/teleport.cjs +1 -1
  253. package/dist/teleport.js +1 -1
  254. package/dist/{textarea-DPD_F-N6.cjs → textarea-DL-qgeME.cjs} +12 -12
  255. package/dist/{textarea-DPD_F-N6.cjs.map → textarea-DL-qgeME.cjs.map} +1 -1
  256. package/dist/{textarea-D2m3usht.js → textarea-jbhUeEzu.js} +31 -45
  257. package/dist/{textarea-D2m3usht.js.map → textarea-jbhUeEzu.js.map} +1 -1
  258. package/dist/textarea.cjs +1 -1
  259. package/dist/textarea.js +1 -1
  260. package/dist/{theme-button-0dEQlWtO.cjs → theme-button-BcRuHUSa.cjs} +2 -2
  261. package/dist/{theme-button-0dEQlWtO.cjs.map → theme-button-BcRuHUSa.cjs.map} +1 -1
  262. package/dist/{theme-button-ucq2VrW0.js → theme-button-CBJXLV0Z.js} +2 -2
  263. package/dist/{theme-button-ucq2VrW0.js.map → theme-button-CBJXLV0Z.js.map} +1 -1
  264. package/dist/theme-button.cjs +1 -1
  265. package/dist/theme-button.js +1 -1
  266. package/dist/theme.cjs +1 -1
  267. package/dist/{theme.component-DOSuAou9.js → theme.component-DC3WGfcn.js} +24 -25
  268. package/dist/{theme.component-DOSuAou9.js.map → theme.component-DC3WGfcn.js.map} +1 -1
  269. package/dist/{theme.component-E4gA7t5r.cjs → theme.component-DFALHVCM.cjs} +2 -2
  270. package/dist/{theme.component-E4gA7t5r.cjs.map → theme.component-DFALHVCM.cjs.map} +1 -1
  271. package/dist/theme.js +1 -1
  272. package/dist/{timezone-xOWMbSDV.js → timezone-CDz5qI2Z.js} +22 -28
  273. package/dist/{timezone-xOWMbSDV.js.map → timezone-CDz5qI2Z.js.map} +1 -1
  274. package/dist/{timezone-Bf4J_3By.cjs → timezone-IrGPq2tl.cjs} +6 -6
  275. package/dist/{timezone-Bf4J_3By.cjs.map → timezone-IrGPq2tl.cjs.map} +1 -1
  276. package/dist/{tooltip-zsp-xmPP.js → tooltip-BaX2Qoi8.js} +29 -31
  277. package/dist/{tooltip-zsp-xmPP.js.map → tooltip-BaX2Qoi8.js.map} +1 -1
  278. package/dist/tooltip-VUFi4Gjt.cjs +7 -0
  279. package/dist/{tooltip-6a1_bSeD.cjs.map → tooltip-VUFi4Gjt.cjs.map} +1 -1
  280. package/dist/tooltip.cjs +1 -1
  281. package/dist/tooltip.js +1 -1
  282. package/dist/{tree-DRa2127p.cjs → tree-Bz6GjWwf.cjs} +2 -2
  283. package/dist/{tree-DRa2127p.cjs.map → tree-Bz6GjWwf.cjs.map} +1 -1
  284. package/dist/{tree-D0FCXUWg.js → tree-DGUU6cQI.js} +2 -2
  285. package/dist/{tree-D0FCXUWg.js.map → tree-DGUU6cQI.js.map} +1 -1
  286. package/dist/tree.cjs +1 -1
  287. package/dist/tree.js +1 -1
  288. package/dist/typewriter-9XKXLbKA.cjs +21 -0
  289. package/dist/{typewriter-XTltzkLy.cjs.map → typewriter-9XKXLbKA.cjs.map} +1 -1
  290. package/dist/typewriter-BdQEQLOW.js +437 -0
  291. package/dist/{typewriter-BNTzu9jY.js.map → typewriter-BdQEQLOW.js.map} +1 -1
  292. package/dist/typewriter.cjs +1 -1
  293. package/dist/typewriter.js +1 -1
  294. package/dist/{typography-DCP0jC-m.js → typography-B1KbZvto.js} +2 -2
  295. package/dist/{typography-DCP0jC-m.js.map → typography-B1KbZvto.js.map} +1 -1
  296. package/dist/{typography-nVG55_Y6.cjs → typography-RGPsRMJw.cjs} +2 -2
  297. package/dist/{typography-nVG55_Y6.cjs.map → typography-RGPsRMJw.cjs.map} +1 -1
  298. package/dist/typography.cjs +1 -1
  299. package/dist/typography.js +1 -1
  300. package/package.json +14 -17
  301. package/dist/area.component-CbT_WCUv.cjs +0 -8
  302. package/dist/autocomplete-ByVC8MLH.cjs +0 -73
  303. package/dist/autocomplete-Qr_SNWus.js +0 -324
  304. package/dist/avatar-BFxYkrCv.js.map +0 -1
  305. package/dist/avatar-Bqohpa1o.cjs +0 -281
  306. package/dist/avatar-Bqohpa1o.cjs.map +0 -1
  307. package/dist/context-object-CP7HbDFQ.cjs +0 -2
  308. package/dist/date-range-CIn-HKuL.js +0 -637
  309. package/dist/date-range-CIn-HKuL.js.map +0 -1
  310. package/dist/date-range-Dff7Y8Ph.cjs +0 -139
  311. package/dist/date-range-Dff7Y8Ph.cjs.map +0 -1
  312. package/dist/delay-CLGKeX0n.cjs +0 -10
  313. package/dist/dialog-service-Di9NiBao.cjs +0 -2
  314. package/dist/dialog-service-noGCuxg1.js +0 -127
  315. package/dist/flow-CnJl1T1A.cjs +0 -2
  316. package/dist/form-DzfdidJO.cjs +0 -14
  317. package/dist/icon-button-DNvGlOPI.cjs +0 -69
  318. package/dist/input-CD59n3y-.cjs +0 -111
  319. package/dist/provide-BGGp1Iks.cjs +0 -2
  320. package/dist/radio-button-DDbyvXw1.js +0 -157
  321. package/dist/radio-button-dwmtJ2ef.cjs +0 -41
  322. package/dist/redispatch-event-roczetCU.cjs +0 -4
  323. package/dist/select-PrgXr6zf.cjs +0 -56
  324. package/dist/selector-hook-CyvD9WN9.cjs +0 -2
  325. package/dist/sheet-CNvW8vrn.cjs +0 -47
  326. package/dist/sheet-lcz-71nv.js +0 -146
  327. package/dist/table-BRQDbCA8.cjs +0 -65
  328. package/dist/tailwind.mixin-CPvz1Npj.cjs +0 -2
  329. package/dist/tailwind.mixin-DbsxfE0U.js +0 -43
  330. package/dist/tooltip-6a1_bSeD.cjs +0 -7
  331. package/dist/typewriter-BNTzu9jY.js +0 -436
  332. package/dist/typewriter-XTltzkLy.cjs +0 -21
@@ -1,18 +1,18 @@
1
1
  import { nothing as E, html as f, LitElement as k } from "lit";
2
2
  import { property as i, query as R, state as v, customElement as V } from "lit/decorators.js";
3
- import { ifDefined as h } from "lit/directives/if-defined.js";
3
+ import { ifDefined as u } from "lit/directives/if-defined.js";
4
4
  import { createRef as S, ref as C } from "lit/directives/ref.js";
5
5
  import { when as $ } from "lit/directives/when.js";
6
- import { fromEvent as d, map as x, takeUntil as m, distinctUntilChanged as w, filter as g } from "rxjs";
6
+ import { fromEvent as c, map as x, takeUntil as d, distinctUntilChanged as w, filter as g } from "rxjs";
7
7
  import "lit/directives/class-map.js";
8
8
  import "lit/directives/style-map.js";
9
- import { T as z } from "./tailwind.mixin-DbsxfE0U.js";
9
+ import { T as z } from "./tailwind.mixin-Ba46CZMW.js";
10
10
  import { c as b } from "./ripple-BumgqsDT.js";
11
- import { S as c } from "./theme.interface-C5Kj6WjD.js";
11
+ import { S as p } from "./theme.interface-C5Kj6WjD.js";
12
12
  const I = ":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}";
13
- var O = Object.defineProperty, A = Object.getOwnPropertyDescriptor, a = (t, e, r, u) => {
14
- for (var p, l = u > 1 ? void 0 : u ? A(e, r) : e, y = t.length - 1; y >= 0; y--) (p = t[y]) && (l = (u ? p(e, r, l) : p(l)) || l);
15
- return u && l && O(e, r, l), l;
13
+ var O = Object.defineProperty, A = Object.getOwnPropertyDescriptor, a = (t, e, n, h) => {
14
+ for (var m, l = h > 1 ? void 0 : h ? A(e, n) : e, y = t.length - 1; y >= 0; y--) (m = t[y]) && (l = (h ? m(e, n, l) : m(l)) || l);
15
+ return h && l && O(e, n, l), l;
16
16
  };
17
17
  let s = class extends z(I) {
18
18
  constructor() {
@@ -26,20 +26,17 @@ let s = class extends z(I) {
26
26
  this.id || (this.id = "sch-input-" + s._idCounter++), super.willUpdate(t);
27
27
  }
28
28
  get form() {
29
- var t;
30
- return ((t = this.internals) == null ? void 0 : t.form) ?? null;
29
+ return this.internals?.form ?? null;
31
30
  }
32
31
  updated(t) {
33
- var e;
34
- super.updated(t), t.has("value") && (this.value !== this.defaultValue && (this.dirty = !0), (e = this.internals) == null || e.setFormValue(this.value), this.validateInput()), t.has("error") && this.updateValidityState(), !this.hasUpdated && t.has("value") && (this.defaultValue = this.value);
32
+ super.updated(t), t.has("value") && (this.value !== this.defaultValue && (this.dirty = !0), this.internals?.setFormValue(this.value), this.validateInput()), t.has("error") && this.updateValidityState(), !this.hasUpdated && t.has("value") && (this.defaultValue = this.value);
35
33
  }
36
34
  connectedCallback() {
37
35
  super.connectedCallback(), this.defaultValue = this.value, this.setupFormIntegration(), this.setupExternalLabelAssociation();
38
36
  }
39
37
  setupFormIntegration() {
40
- var t;
41
- (t = this.internals) != null && t.form && (this.formResetObserver = new MutationObserver((e) => {
42
- for (const r of e) r.type === "attributes" && r.attributeName === "reset" && this.resetToDefault();
38
+ this.internals?.form && (this.formResetObserver = new MutationObserver((t) => {
39
+ for (const e of t) e.type === "attributes" && e.attributeName === "reset" && this.resetToDefault();
43
40
  }), this.formResetObserver.observe(this.internals.form, { attributes: !0, childList: !1, subtree: !1 }), this.internals.form.addEventListener("reset", () => {
44
41
  this.resetToDefault();
45
42
  }), this.internals.form.addEventListener("submit", () => {
@@ -83,24 +80,20 @@ let s = class extends z(I) {
83
80
  }
84
81
  }
85
82
  updateValidityState() {
86
- var t, e, r;
87
- this.error ? this.validationMessage ? (t = this.internals) == null || t.setValidity({ customError: !0 }, this.validationMessage, this.inputElement) : (e = this.internals) == null || e.setValidity({ customError: !0 }, "Invalid input", this.inputElement) : (r = this.internals) == null || r.setValidity({});
83
+ this.error ? this.validationMessage ? this.internals?.setValidity({ customError: !0 }, this.validationMessage, this.inputElement) : this.internals?.setValidity({ customError: !0 }, "Invalid input", this.inputElement) : this.internals?.setValidity({});
88
84
  }
89
85
  validateInput(t = !1) {
90
- var p, l;
91
86
  if (this.disabled) return;
92
- const e = this.shouldShowValidation(t), r = ((p = this.inputElement) == null ? void 0 : p.validity) ?? { customError: !1, valid: !0 }, u = !r.valid && !r.customError;
93
- e && u ? (this.error = !0, this.validationMessage = ((l = this.inputElement) == null ? void 0 : l.validationMessage) || "") : r.valid ? (this.error = !1, r.customError || (this.validationMessage = "")) : e || (this.error = !1), this.updateValidityState();
87
+ const e = this.shouldShowValidation(t), n = this.inputElement?.validity ?? { customError: !1, valid: !0 }, h = !n.valid && !n.customError;
88
+ e && h ? (this.error = !0, this.validationMessage = this.inputElement?.validationMessage || "") : n.valid ? (this.error = !1, n.customError || (this.validationMessage = "")) : e || (this.error = !1), this.updateValidityState();
94
89
  }
95
90
  checkValidity() {
96
- var e;
97
- const t = ((e = this.inputRef.value) == null ? void 0 : e.checkValidity()) ?? !0;
91
+ const t = this.inputRef.value?.checkValidity() ?? !0;
98
92
  return this.internals && !t ? (this.internals.checkValidity(), !1) : t;
99
93
  }
100
94
  reportValidity() {
101
- var e;
102
95
  this.touched = !0, this.submitted = !0;
103
- const t = ((e = this.inputRef.value) == null ? void 0 : e.reportValidity()) ?? !0;
96
+ const t = this.inputRef.value?.reportValidity() ?? !0;
104
97
  return this.validateInput(!0), this.internals && !t ? (this.internals.reportValidity(), !1) : t;
105
98
  }
106
99
  setCustomValidity(t) {
@@ -112,85 +105,75 @@ let s = class extends z(I) {
112
105
  }, 0), this.setupInputEvents(), this.setupFocusBlurEvents(), this.setupAutofillDetection(), this.setupEnterKeyEvents();
113
106
  }
114
107
  setupInputEvents() {
115
- d(this.inputElement, "input").pipe(x((t) => {
108
+ c(this.inputElement, "input").pipe(x((t) => {
116
109
  const e = t;
117
110
  return { value: t.target.value, inputType: e.inputType, data: e.data, isComposing: e.isComposing, originalEvent: t };
118
- }), m(this.disconnecting)).subscribe((t) => {
111
+ }), d(this.disconnecting)).subscribe((t) => {
119
112
  this.value = t.value, this.dirty = this.value !== this.defaultValue;
120
113
  const e = new CustomEvent("input", { detail: { value: t.value }, bubbles: !0, composed: !0 });
121
114
  Object.defineProperties(e, { inputType: { value: t.inputType }, data: { value: t.data }, isComposing: { value: t.isComposing } }), this.dispatchEvent(e), this.validateInput();
122
- }), d(this.inputElement, "change").pipe(x((t) => t.target.value), w(), m(this.disconnecting)).subscribe((t) => {
115
+ }), c(this.inputElement, "change").pipe(x((t) => t.target.value), w(), d(this.disconnecting)).subscribe((t) => {
123
116
  this.value = t, this.dirty = this.value !== this.defaultValue, this.dispatchEvent(new CustomEvent("change", { detail: { value: t }, bubbles: !0, composed: !0 })), this.validateInput();
124
117
  });
125
118
  }
126
119
  setupFocusBlurEvents() {
127
- d(this.inputElement, "focus").pipe(m(this.disconnecting)).subscribe((t) => {
120
+ c(this.inputElement, "focus").pipe(d(this.disconnecting)).subscribe((t) => {
128
121
  const e = new CustomEvent("focus", { bubbles: t.bubbles, cancelable: t.cancelable, composed: t.composed });
129
122
  Object.defineProperties(e, { relatedTarget: { value: t.relatedTarget } }), this.dispatchEvent(e);
130
- }), d(this.inputElement, "blur").pipe(m(this.disconnecting)).subscribe((t) => {
123
+ }), c(this.inputElement, "blur").pipe(d(this.disconnecting)).subscribe((t) => {
131
124
  this.touched = !0, this.disabled || this.validateInput();
132
125
  const e = new CustomEvent("blur", { bubbles: t.bubbles, cancelable: t.cancelable, composed: t.composed });
133
126
  Object.defineProperties(e, { relatedTarget: { value: t.relatedTarget } }), this.dispatchEvent(e);
134
127
  });
135
128
  }
136
129
  setupAutofillDetection() {
137
- d(this.inputElement, "animationstart").pipe(g((t) => t.animationName === "onAutoFillStart"), m(this.disconnecting)).subscribe((t) => {
130
+ c(this.inputElement, "animationstart").pipe(g((t) => t.animationName === "onAutoFillStart"), d(this.disconnecting)).subscribe((t) => {
138
131
  const { value: e } = t.target;
139
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 }));
140
- }), d(this.inputElement, "animationstart").pipe(g((t) => t.animationName === "onAutoFillCancel"), m(this.disconnecting)).subscribe(() => {
133
+ }), c(this.inputElement, "animationstart").pipe(g((t) => t.animationName === "onAutoFillCancel"), d(this.disconnecting)).subscribe(() => {
141
134
  this.isAutofilled = !1;
142
135
  });
143
136
  }
144
137
  setupEnterKeyEvents() {
145
- d(this.inputElement, "keyup").pipe(g((t) => t.key === "Enter"), m(this.disconnecting)).subscribe((t) => {
138
+ c(this.inputElement, "keyup").pipe(g((t) => t.key === "Enter"), d(this.disconnecting)).subscribe((t) => {
146
139
  const { value: e } = t.target;
147
140
  this.value = e, this.dirty = this.value !== this.defaultValue;
148
- const r = new CustomEvent("enter", { detail: { value: e }, bubbles: !0, composed: !0 });
149
- Object.defineProperties(r, { key: { value: "Enter" }, code: { value: "Enter" }, keyCode: { value: 13 }, which: { value: 13 } }), this.dispatchEvent(r);
141
+ const n = new CustomEvent("enter", { detail: { value: e }, bubbles: !0, composed: !0 });
142
+ Object.defineProperties(n, { key: { value: "Enter" }, code: { value: "Enter" }, keyCode: { value: 13 }, which: { value: 13 } }), this.dispatchEvent(n);
150
143
  });
151
144
  }
152
145
  select() {
153
- var t;
154
- return (t = this.inputRef.value) == null ? void 0 : t.select();
146
+ return this.inputRef.value?.select();
155
147
  }
156
148
  getValidity() {
157
- var t;
158
- return (t = this.inputRef.value) == null ? void 0 : t.validity;
149
+ return this.inputRef.value?.validity;
159
150
  }
160
- setSelectionRange(t, e, r) {
161
- var u;
162
- (u = this.inputRef.value) == null || u.setSelectionRange(t, e, r);
151
+ setSelectionRange(t, e, n) {
152
+ this.inputRef.value?.setSelectionRange(t, e, n);
163
153
  }
164
154
  get selectionStart() {
165
- var t;
166
- return ((t = this.inputRef.value) == null ? void 0 : t.selectionStart) ?? null;
155
+ return this.inputRef.value?.selectionStart ?? null;
167
156
  }
168
157
  get selectionEnd() {
169
- var t;
170
- return ((t = this.inputRef.value) == null ? void 0 : t.selectionEnd) ?? null;
158
+ return this.inputRef.value?.selectionEnd ?? null;
171
159
  }
172
160
  get selectionDirection() {
173
- var t;
174
- return ((t = this.inputRef.value) == null ? void 0 : t.selectionDirection) ?? null;
161
+ return this.inputRef.value?.selectionDirection ?? null;
175
162
  }
176
- setRangeText(t, e, r, u) {
177
- var p, l;
178
- e !== void 0 && r !== void 0 ? (p = this.inputRef.value) == null || p.setRangeText(t, e, r, u) : (l = this.inputRef.value) == null || l.setRangeText(t);
163
+ setRangeText(t, e, n, h) {
164
+ e !== void 0 && n !== void 0 ? this.inputRef.value?.setRangeText(t, e, n, h) : this.inputRef.value?.setRangeText(t);
179
165
  }
180
166
  focus(t) {
181
- var e;
182
- (e = this.inputRef.value) == null || e.focus(t), this.dispatchEvent(new Event("focus"));
167
+ this.inputRef.value?.focus(t), this.dispatchEvent(new Event("focus"));
183
168
  }
184
169
  click() {
185
- var t;
186
- (t = this.inputRef.value) == null || t.click(), this.dispatchEvent(new Event("click"));
170
+ this.inputRef.value?.click(), this.dispatchEvent(new Event("click"));
187
171
  }
188
172
  blur() {
189
- var t;
190
- (t = this.inputRef.value) == null || t.blur(), this.dispatchEvent(new Event("blur"));
173
+ this.inputRef.value?.blur(), this.dispatchEvent(new Event("blur"));
191
174
  }
192
175
  render() {
193
- const { height: t, padding: e, fontSize: r } = (() => {
176
+ const { height: t, padding: e, fontSize: n } = (() => {
194
177
  switch (this.size) {
195
178
  case "sm":
196
179
  return { height: "40px", padding: "0 8px", fontSize: "0.875rem" };
@@ -199,14 +182,14 @@ let s = class extends z(I) {
199
182
  default:
200
183
  return { height: "50px", padding: "0 16px", fontSize: "1rem" };
201
184
  }
202
- })(), u = { "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 }, p = { "opacity-40": this.disabled, "block mb-[4px]": !0, "text-sm": this.size === "sm", "text-base": this.size === "md", "text-lg": this.size === "lg" }, l = { height: t, padding: e, fontSize: r };
185
+ })(), h = { "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" }, l = { height: t, padding: e, fontSize: n };
203
186
  return f`
204
187
  ${$(this.label, () => f`
205
188
  <label
206
189
  for=${this.id}
207
190
  id="label-${this.id}"
208
- class=${this.classMap(p)}
209
- ${b({ color: this.error ? c.sys.color.error.default : c.sys.color.primary.default })}
191
+ class=${this.classMap(m)}
192
+ ${b({ color: this.error ? p.sys.color.error.default : p.sys.color.primary.default })}
210
193
  >
211
194
  <schmancy-typography type="label" token=${this.size === "sm" ? "sm" : this.size === "lg" ? "lg" : "md"}>
212
195
  ${this.label}
@@ -215,25 +198,25 @@ let s = class extends z(I) {
215
198
  `)}
216
199
 
217
200
  <input
218
- ${b({ bgColor: c.sys.color.surface.highest, color: c.sys.color.surface.on })}
201
+ ${b({ bgColor: p.sys.color.surface.highest, color: p.sys.color.surface.on })}
219
202
  ${C(this.inputRef)}
220
203
  id=${this.id}
221
204
  name=${this.name}
222
- class=${this.classMap(u)}
205
+ class=${this.classMap(h)}
223
206
  style=${this.styleMap(l)}
224
207
  .value=${this.value}
225
208
  .type=${this.type}
226
209
  .autocomplete=${this.autocomplete}
227
210
  .spellcheck=${this.spellcheck}
228
211
  placeholder=${this.placeholder}
229
- inputmode=${h(this.inputmode)}
230
- pattern=${h(this.pattern)}
231
- step=${h(this.step)}
232
- minlength=${h(this.minlength)}
233
- maxlength=${h(this.maxlength)}
234
- min=${h(this.min)}
235
- max=${h(this.max)}
236
- list=${h(this.list)}
212
+ inputmode=${u(this.inputmode)}
213
+ pattern=${u(this.pattern)}
214
+ step=${u(this.step)}
215
+ minlength=${u(this.minlength)}
216
+ maxlength=${u(this.maxlength)}
217
+ min=${u(this.min)}
218
+ max=${u(this.max)}
219
+ list=${u(this.list)}
237
220
  ?required=${this.required}
238
221
  ?disabled=${this.disabled}
239
222
  ?readonly=${this.readonly}
@@ -241,7 +224,7 @@ let s = class extends z(I) {
241
224
  aria-required=${this.required ? "true" : "false"}
242
225
  aria-labelledby=${this.label ? `label-${this.id}` : E}
243
226
  aria-describedby=${this.hint ? `hint-${this.id}` : E}
244
- aria-label=${h(this.label ? void 0 : this.placeholder || "Input")}
227
+ aria-label=${u(this.label ? void 0 : this.placeholder || "Input")}
245
228
  aria-autocomplete=${this.list ? "list" : "none"}
246
229
  />
247
230
 
@@ -249,7 +232,7 @@ let s = class extends z(I) {
249
232
  <div
250
233
  id="hint-${this.id}"
251
234
  class="${this.size === "sm" ? "pt-[1px] text-xs" : this.size === "lg" ? "pt-[3px] text-base" : "pt-[2px] text-sm"}"
252
- ${b({ color: this.error ? c.sys.color.error.default : c.sys.color.primary.default })}
235
+ ${b({ color: this.error ? p.sys.color.error.default : p.sys.color.primary.default })}
253
236
  >
254
237
  <schmancy-typography
255
238
  align="left"
@@ -264,11 +247,11 @@ let s = class extends z(I) {
264
247
  }
265
248
  };
266
249
  s._idCounter = 0, s.formAssociated = !0, s.shadowRootOptions = { ...k.shadowRootOptions, delegatesFocus: !0 }, a([i({ reflect: !0 })], s.prototype, "id", 2), a([i({ type: String })], s.prototype, "label", 2), a([i({ reflect: !0 })], s.prototype, "type", 2), a([i()], s.prototype, "name", 2), a([i()], s.prototype, "placeholder", 2), a([i({ type: String, reflect: !0 })], s.prototype, "value", 2), a([i({ type: String, reflect: !0 })], s.prototype, "pattern", 2), a([i({ type: Boolean, reflect: !0 })], s.prototype, "required", 2), a([i({ type: Boolean, reflect: !0 })], s.prototype, "disabled", 2), a([i({ type: Boolean, reflect: !0 })], s.prototype, "readonly", 2), a([i({ type: Boolean, reflect: !0 })], s.prototype, "clickable", 2), a([i({ type: Boolean, reflect: !0 })], s.prototype, "spellcheck", 2), a([i({ type: String, reflect: !0 })], s.prototype, "align", 2), a([i()], s.prototype, "inputmode", 2), a([i({ type: Number, reflect: !0 })], s.prototype, "minlength", 2), a([i({ type: Number })], s.prototype, "maxlength", 2), a([i()], s.prototype, "min", 2), a([i()], s.prototype, "max", 2), a([i({ type: Number, reflect: !0 })], s.prototype, "step", 2), a([i({ type: Boolean })], s.prototype, "autofocus", 2), a([i({ type: String, reflect: !0 })], s.prototype, "autocomplete", 2), a([i({ type: Number, reflect: !0 })], s.prototype, "tabIndex", 2), a([i()], s.prototype, "hint", 2), a([i({ type: Boolean, reflect: !0 })], s.prototype, "error", 2), a([i({ type: String, reflect: !0 })], s.prototype, "size", 2), a([i({ type: String })], s.prototype, "validateOn", 2), a([i({ type: String })], s.prototype, "list", 2), a([i({ type: String })], s.prototype, "validationMessage", 2), a([R("input")], s.prototype, "inputElement", 2), a([v()], s.prototype, "isAutofilled", 2), a([v()], s.prototype, "touched", 2), a([v()], s.prototype, "dirty", 2), a([v()], s.prototype, "submitted", 2), a([v()], s.prototype, "defaultValue", 2), s = a([V("sch-input")], s);
267
- var B = Object.defineProperty, M = Object.getOwnPropertyDescriptor, n = (t, e, r, u) => {
268
- for (var p, l = u > 1 ? void 0 : u ? M(e, r) : e, y = t.length - 1; y >= 0; y--) (p = t[y]) && (l = (u ? p(e, r, l) : p(l)) || l);
269
- return u && l && B(e, r, l), l;
250
+ var B = Object.defineProperty, M = Object.getOwnPropertyDescriptor, o = (t, e, n, h) => {
251
+ for (var m, l = h > 1 ? void 0 : h ? M(e, n) : e, y = t.length - 1; y >= 0; y--) (m = t[y]) && (l = (h ? m(e, n, l) : m(l)) || l);
252
+ return h && l && B(e, n, l), l;
270
253
  };
271
- let o = class extends z(I) {
254
+ let r = class extends z(I) {
272
255
  constructor() {
273
256
  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.inputRef = S(), "attachInternals" in this) try {
274
257
  this.internals = this.attachInternals();
@@ -277,60 +260,50 @@ let o = class extends z(I) {
277
260
  }
278
261
  }
279
262
  willUpdate(t) {
280
- this.id || (this.id = "schmancy-input-" + o._idCounter++), super.willUpdate(t);
263
+ this.id || (this.id = "schmancy-input-" + r._idCounter++), super.willUpdate(t);
281
264
  }
282
265
  get form() {
283
- var t;
284
- return ((t = this.internals) == null ? void 0 : t.form) ?? null;
266
+ return this.internals?.form ?? null;
285
267
  }
286
268
  updated(t) {
287
- var e, r, u;
288
- super.updated(t), t.has("value") && ((e = this.internals) == null || e.setFormValue(this.value)), t.has("error") && (this.error ? (r = this.internals) == null || r.setValidity({ customError: !0 }, "Invalid input", this.inputElement) : (u = this.internals) == null || u.setValidity({}));
269
+ super.updated(t), t.has("value") && this.internals?.setFormValue(this.value), t.has("error") && (this.error ? this.internals?.setValidity({ customError: !0 }, "Invalid input", this.inputElement) : this.internals?.setValidity({}));
289
270
  }
290
271
  checkValidity() {
291
- var t;
292
- return ((t = this.inputRef.value) == null ? void 0 : t.checkValidity()) ?? !0;
272
+ return this.inputRef.value?.checkValidity() ?? !0;
293
273
  }
294
274
  reportValidity() {
295
- var t;
296
- return ((t = this.inputRef.value) == null ? void 0 : t.reportValidity()) ?? !0;
275
+ return this.inputRef.value?.reportValidity() ?? !0;
297
276
  }
298
277
  setCustomValidity(t) {
299
- var e;
300
- (e = this.inputRef.value) == null || e.setCustomValidity(t);
278
+ this.inputRef.value?.setCustomValidity(t);
301
279
  }
302
280
  firstUpdated() {
303
- this.autofocus && this.focus(), d(this.inputElement, "input").pipe(x((t) => t.target.value), w(), m(this.disconnecting)).subscribe((t) => {
281
+ this.autofocus && this.focus(), c(this.inputElement, "input").pipe(x((t) => t.target.value), w(), d(this.disconnecting)).subscribe((t) => {
304
282
  this.value = t, this.dispatchEvent(new CustomEvent("input", { detail: { value: t }, bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent("change", { detail: { value: t }, bubbles: !0, composed: !0 }));
305
- }), d(this.inputElement, "change").pipe(x((t) => t.target.value), w(), m(this.disconnecting)).subscribe((t) => {
283
+ }), c(this.inputElement, "change").pipe(x((t) => t.target.value), w(), d(this.disconnecting)).subscribe((t) => {
306
284
  this.value = t, this.dispatchEvent(new CustomEvent("change", { detail: { value: t }, bubbles: !0, composed: !0 }));
307
- }), d(this.inputElement, "keyup").pipe(g((t) => t.key === "Enter"), m(this.disconnecting)).subscribe((t) => {
285
+ }), c(this.inputElement, "keyup").pipe(g((t) => t.key === "Enter"), d(this.disconnecting)).subscribe((t) => {
308
286
  const { value: e } = t.target;
309
287
  this.value = e, this.dispatchEvent(new CustomEvent("enter", { detail: { value: e }, bubbles: !0, composed: !0 }));
310
- }), d(this.inputElement, "animationstart").pipe(g((t) => t.animationName === "onAutoFillStart"), m(this.disconnecting)).subscribe((t) => {
288
+ }), c(this.inputElement, "animationstart").pipe(g((t) => t.animationName === "onAutoFillStart"), d(this.disconnecting)).subscribe((t) => {
311
289
  const { value: e } = t.target;
312
290
  this.value = e, this.dispatchEvent(new CustomEvent("change", { detail: { value: e }, bubbles: !0, composed: !0 }));
313
291
  });
314
292
  }
315
293
  select() {
316
- var t;
317
- return (t = this.inputRef.value) == null ? void 0 : t.select();
294
+ return this.inputRef.value?.select();
318
295
  }
319
296
  getValidity() {
320
- var t;
321
- return (t = this.inputRef.value) == null ? void 0 : t.validity;
297
+ return this.inputRef.value?.validity;
322
298
  }
323
299
  focus(t) {
324
- var e;
325
- (e = this.inputRef.value) == null || e.focus(t), this.dispatchEvent(new Event("focus"));
300
+ this.inputRef.value?.focus(t), this.dispatchEvent(new Event("focus"));
326
301
  }
327
302
  click() {
328
- var t;
329
- (t = this.inputRef.value) == null || t.click(), this.dispatchEvent(new Event("click"));
303
+ this.inputRef.value?.click(), this.dispatchEvent(new Event("click"));
330
304
  }
331
305
  blur() {
332
- var t;
333
- (t = this.inputRef.value) == null || t.blur(), this.dispatchEvent(new Event("blur"));
306
+ this.inputRef.value?.blur(), this.dispatchEvent(new Event("blur"));
334
307
  }
335
308
  render() {
336
309
  const t = { "w-full flex-1 h-[50px] rounded-[8px] border-0 px-[8px] sm:px-[12px] md:px-[16px]": !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" }, e = { "opacity-40": this.disabled, "block mb-[4px]": !0 };
@@ -340,14 +313,14 @@ let o = class extends z(I) {
340
313
  for=${this.id}
341
314
  id="label-${this.id}"
342
315
  class=${this.classMap(e)}
343
- ${b({ color: this.error ? c.sys.color.error.default : c.sys.color.primary.default })}
316
+ ${b({ color: this.error ? p.sys.color.error.default : p.sys.color.primary.default })}
344
317
  >
345
318
  <schmancy-typography type="label" token="lg">${this.label}</schmancy-typography>
346
319
  </label>
347
320
  `)}
348
321
 
349
322
  <input
350
- ${b({ bgColor: c.sys.color.surface.highest, color: c.sys.color.surface.on })}
323
+ ${b({ bgColor: p.sys.color.surface.highest, color: p.sys.color.surface.on })}
351
324
  ${C(this.inputRef)}
352
325
  id=${this.id}
353
326
  name=${this.name}
@@ -357,13 +330,13 @@ let o = class extends z(I) {
357
330
  .autocomplete=${this.autocomplete}
358
331
  .spellcheck=${this.spellcheck}
359
332
  placeholder=${this.placeholder}
360
- inputmode=${h(this.inputmode)}
361
- pattern=${h(this.pattern)}
362
- step=${h(this.step)}
363
- minlength=${h(this.minlength)}
364
- maxlength=${h(this.maxlength)}
365
- min=${h(this.min)}
366
- max=${h(this.max)}
333
+ inputmode=${u(this.inputmode)}
334
+ pattern=${u(this.pattern)}
335
+ step=${u(this.step)}
336
+ minlength=${u(this.minlength)}
337
+ maxlength=${u(this.maxlength)}
338
+ min=${u(this.min)}
339
+ max=${u(this.max)}
367
340
  ?required=${this.required}
368
341
  ?disabled=${this.disabled}
369
342
  ?readonly=${this.readonly}
@@ -371,14 +344,14 @@ let o = class extends z(I) {
371
344
  aria-required=${this.required ? "true" : "false"}
372
345
  aria-labelledby=${this.label ? `label-${this.id}` : E}
373
346
  aria-describedby=${this.hint ? `hint-${this.id}` : E}
374
- aria-label=${h(this.label ? void 0 : this.placeholder || "Input")}
347
+ aria-label=${u(this.label ? void 0 : this.placeholder || "Input")}
375
348
  />
376
349
 
377
350
  ${$(this.hint, () => f`
378
351
  <div
379
352
  id="hint-${this.id}"
380
353
  class="pt-[2px]"
381
- ${b({ color: this.error ? c.sys.color.error.default : c.sys.color.primary.default })}
354
+ ${b({ color: this.error ? p.sys.color.error.default : p.sys.color.primary.default })}
382
355
  >
383
356
  <schmancy-typography align="left" type="label"> ${this.hint} </schmancy-typography>
384
357
  </div>
@@ -386,5 +359,5 @@ let o = class extends z(I) {
386
359
  `;
387
360
  }
388
361
  };
389
- o._idCounter = 0, o.formAssociated = !0, o.shadowRootOptions = { ...k.shadowRootOptions, delegatesFocus: !0 }, n([i({ reflect: !0 })], o.prototype, "id", 2), n([i({ type: String })], o.prototype, "label", 2), n([i({ reflect: !0 })], o.prototype, "type", 2), n([i()], o.prototype, "name", 2), n([i()], o.prototype, "placeholder", 2), n([i({ type: String, reflect: !0 })], o.prototype, "value", 2), n([i({ type: String, reflect: !0 })], o.prototype, "pattern", 2), n([i({ type: Boolean, reflect: !0 })], o.prototype, "required", 2), n([i({ type: Boolean, reflect: !0 })], o.prototype, "disabled", 2), n([i({ type: Boolean, reflect: !0 })], o.prototype, "readonly", 2), n([i({ type: Boolean, reflect: !0 })], o.prototype, "clickable", 2), n([i({ type: Boolean, reflect: !0 })], o.prototype, "spellcheck", 2), n([i({ type: String, reflect: !0 })], o.prototype, "align", 2), n([i()], o.prototype, "inputmode", 2), n([i({ type: Number })], o.prototype, "minlength", 2), n([i({ type: Number })], o.prototype, "maxlength", 2), n([i()], o.prototype, "min", 2), n([i()], o.prototype, "max", 2), n([i({ type: Number, reflect: !0 })], o.prototype, "step", 2), n([i({ type: Boolean })], o.prototype, "autofocus", 2), n([i({ type: String, reflect: !0 })], o.prototype, "autocomplete", 2), n([i({ type: Number, reflect: !0 })], o.prototype, "tabIndex", 2), n([i()], o.prototype, "hint", 2), n([i({ type: Boolean, reflect: !0 })], o.prototype, "error", 2), n([R("input")], o.prototype, "inputElement", 2), o = n([V("schmancy-input")], o);
390
- //# sourceMappingURL=input-CpYu_aUV.js.map
362
+ r._idCounter = 0, r.formAssociated = !0, r.shadowRootOptions = { ...k.shadowRootOptions, delegatesFocus: !0 }, o([i({ reflect: !0 })], r.prototype, "id", 2), o([i({ type: String })], r.prototype, "label", 2), o([i({ reflect: !0 })], r.prototype, "type", 2), o([i()], r.prototype, "name", 2), o([i()], r.prototype, "placeholder", 2), o([i({ type: String, reflect: !0 })], r.prototype, "value", 2), o([i({ type: String, reflect: !0 })], r.prototype, "pattern", 2), o([i({ type: Boolean, reflect: !0 })], r.prototype, "required", 2), o([i({ type: Boolean, reflect: !0 })], r.prototype, "disabled", 2), o([i({ type: Boolean, reflect: !0 })], r.prototype, "readonly", 2), o([i({ type: Boolean, reflect: !0 })], r.prototype, "clickable", 2), o([i({ type: Boolean, reflect: !0 })], r.prototype, "spellcheck", 2), o([i({ type: String, reflect: !0 })], r.prototype, "align", 2), o([i()], r.prototype, "inputmode", 2), o([i({ type: Number })], r.prototype, "minlength", 2), o([i({ type: Number })], r.prototype, "maxlength", 2), o([i()], r.prototype, "min", 2), o([i()], r.prototype, "max", 2), o([i({ type: Number, reflect: !0 })], r.prototype, "step", 2), o([i({ type: Boolean })], r.prototype, "autofocus", 2), o([i({ type: String, reflect: !0 })], r.prototype, "autocomplete", 2), o([i({ type: Number, reflect: !0 })], r.prototype, "tabIndex", 2), o([i()], r.prototype, "hint", 2), o([i({ type: Boolean, reflect: !0 })], r.prototype, "error", 2), o([R("input")], r.prototype, "inputElement", 2), r = o([V("schmancy-input")], r);
363
+ //# sourceMappingURL=input-6XNB7MZP.js.map