@mhmo91/schmancy 0.4.77 → 0.4.79

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 (316) hide show
  1. package/ai/content-drawer.md +59 -26
  2. package/ai/icons.md +222 -121
  3. package/ai/spinner.md +165 -0
  4. package/dist/ai/content-drawer.md +59 -26
  5. package/dist/ai/icons.md +222 -121
  6. package/dist/ai/spinner.md +165 -0
  7. package/dist/{animated-text-CTMDHCbw.js → animated-text-DF5iHL66.js} +3 -3
  8. package/dist/{animated-text-CTMDHCbw.js.map → animated-text-DF5iHL66.js.map} +1 -1
  9. package/dist/{animated-text-yAIb26ld.cjs → animated-text-Ra7G35tz.cjs} +2 -2
  10. package/dist/{animated-text-yAIb26ld.cjs.map → animated-text-Ra7G35tz.cjs.map} +1 -1
  11. package/dist/animated-text.cjs +1 -1
  12. package/dist/animated-text.js +1 -1
  13. package/dist/area.cjs +1 -1
  14. package/dist/area.js +1 -1
  15. package/dist/{autocomplete-BYiDoFG_.cjs → autocomplete-0qgkJELR.cjs} +2 -2
  16. package/dist/{autocomplete-BYiDoFG_.cjs.map → autocomplete-0qgkJELR.cjs.map} +1 -1
  17. package/dist/{autocomplete-m-nEVE3h.js → autocomplete-DNTo7fHJ.js} +3 -3
  18. package/dist/{autocomplete-m-nEVE3h.js.map → autocomplete-DNTo7fHJ.js.map} +1 -1
  19. package/dist/autocomplete.cjs +1 -1
  20. package/dist/autocomplete.js +1 -1
  21. package/dist/{avatar-nxVn--Oo.js → avatar-CokwBO2O.js} +190 -172
  22. package/dist/avatar-CokwBO2O.js.map +1 -0
  23. package/dist/{avatar-DjCNlJz6.cjs → avatar-Cxu7EOku.cjs} +20 -20
  24. package/dist/avatar-Cxu7EOku.cjs.map +1 -0
  25. package/dist/badge.cjs +1 -1
  26. package/dist/badge.js +1 -1
  27. package/dist/{boat-sl3amQ3s.js → boat-BEjCaneK.js} +2 -2
  28. package/dist/{boat-sl3amQ3s.js.map → boat-BEjCaneK.js.map} +1 -1
  29. package/dist/{boat-_ZRYkQQZ.cjs → boat-CsmB4RXa.cjs} +2 -2
  30. package/dist/{boat-_ZRYkQQZ.cjs.map → boat-CsmB4RXa.cjs.map} +1 -1
  31. package/dist/boat.cjs +1 -1
  32. package/dist/boat.js +1 -1
  33. package/dist/busy.cjs +1 -1
  34. package/dist/busy.js +1 -1
  35. package/dist/button.cjs +1 -1
  36. package/dist/button.js +1 -1
  37. package/dist/card.cjs +1 -1
  38. package/dist/card.js +1 -1
  39. package/dist/{checkbox-HdmRM2Vg.cjs → checkbox-D6bUTeG8.cjs} +2 -2
  40. package/dist/{checkbox-HdmRM2Vg.cjs.map → checkbox-D6bUTeG8.cjs.map} +1 -1
  41. package/dist/{checkbox-zTyMywpJ.js → checkbox-k9tWSA4E.js} +2 -2
  42. package/dist/{checkbox-zTyMywpJ.js.map → checkbox-k9tWSA4E.js.map} +1 -1
  43. package/dist/checkbox.cjs +1 -1
  44. package/dist/checkbox.js +1 -1
  45. package/dist/{chips-DDDu8hh9.cjs → chips-CtbapOaS.cjs} +2 -2
  46. package/dist/{chips-DDDu8hh9.cjs.map → chips-CtbapOaS.cjs.map} +1 -1
  47. package/dist/{chips-DAkLLDRf.js → chips-DO6f95nV.js} +3 -3
  48. package/dist/{chips-DAkLLDRf.js.map → chips-DO6f95nV.js.map} +1 -1
  49. package/dist/chips.cjs +1 -1
  50. package/dist/chips.js +1 -1
  51. package/dist/code-highlight.cjs +1 -1
  52. package/dist/code-highlight.js +1 -1
  53. package/dist/{code-preview-BxO04VVx.cjs → code-preview-DGkqHYdn.cjs} +2 -2
  54. package/dist/{code-preview-BxO04VVx.cjs.map → code-preview-DGkqHYdn.cjs.map} +1 -1
  55. package/dist/{code-preview-DH3koGm9.js → code-preview-djAAzZxj.js} +2 -2
  56. package/dist/{code-preview-DH3koGm9.js.map → code-preview-djAAzZxj.js.map} +1 -1
  57. package/dist/components.cjs +1 -1
  58. package/dist/components.js +1 -1
  59. package/dist/content-drawer.cjs +1 -1
  60. package/dist/content-drawer.js +1 -1
  61. package/dist/{date-range-sfDUF7dG.js → date-range-CHJqdE9Y.js} +3 -3
  62. package/dist/{date-range-sfDUF7dG.js.map → date-range-CHJqdE9Y.js.map} +1 -1
  63. package/dist/{date-range-TJXLY7Yx.cjs → date-range-Dfw7LxKv.cjs} +2 -2
  64. package/dist/{date-range-TJXLY7Yx.cjs.map → date-range-Dfw7LxKv.cjs.map} +1 -1
  65. package/dist/{date-range-inline-BSqXKZ3-.cjs → date-range-inline-CBOrdNiP.cjs} +2 -2
  66. package/dist/{date-range-inline-BSqXKZ3-.cjs.map → date-range-inline-CBOrdNiP.cjs.map} +1 -1
  67. package/dist/{date-range-inline-CUb59TOM.js → date-range-inline-dlZb5tJg.js} +3 -3
  68. package/dist/{date-range-inline-CUb59TOM.js.map → date-range-inline-dlZb5tJg.js.map} +1 -1
  69. package/dist/date-range-inline.cjs +1 -1
  70. package/dist/date-range-inline.js +1 -1
  71. package/dist/date-range.cjs +1 -1
  72. package/dist/date-range.js +1 -1
  73. package/dist/{delay-CHpGPLLr.js → delay-BP5SfQRo.js} +2 -2
  74. package/dist/{delay-CHpGPLLr.js.map → delay-BP5SfQRo.js.map} +1 -1
  75. package/dist/{delay-CbXOIuAd.cjs → delay-DFB3_NEH.cjs} +2 -2
  76. package/dist/{delay-CbXOIuAd.cjs.map → delay-DFB3_NEH.cjs.map} +1 -1
  77. package/dist/delay.cjs +1 -1
  78. package/dist/delay.js +1 -1
  79. package/dist/{details-Cf7zosIT.js → details-Bd0PJpSd.js} +15 -14
  80. package/dist/details-Bd0PJpSd.js.map +1 -0
  81. package/dist/{details-D6yYIQaE.cjs → details-Cv8AMues.cjs} +7 -7
  82. package/dist/details-Cv8AMues.cjs.map +1 -0
  83. package/dist/details.cjs +1 -1
  84. package/dist/details.js +1 -1
  85. package/dist/{dialog-content-BabnHd-t.js → dialog-content-8smVbEth.js} +3 -3
  86. package/dist/{dialog-content-BabnHd-t.js.map → dialog-content-8smVbEth.js.map} +1 -1
  87. package/dist/{dialog-content-BkK0XT-T.cjs → dialog-content-CURTuo8R.cjs} +2 -2
  88. package/dist/{dialog-content-BkK0XT-T.cjs.map → dialog-content-CURTuo8R.cjs.map} +1 -1
  89. package/dist/dialog.cjs +1 -1
  90. package/dist/dialog.js +1 -1
  91. package/dist/{divider-CQ9PTETp.cjs → divider-CVomKpEr.cjs} +2 -2
  92. package/dist/{divider-CQ9PTETp.cjs.map → divider-CVomKpEr.cjs.map} +1 -1
  93. package/dist/{divider-DyNmX5oP.js → divider-DnyRwbTs.js} +3 -3
  94. package/dist/{divider-DyNmX5oP.js.map → divider-DnyRwbTs.js.map} +1 -1
  95. package/dist/divider.cjs +1 -1
  96. package/dist/divider.js +1 -1
  97. package/dist/{dropdown-content-1g76XIVT.js → dropdown-content-B1tXM7Vp.js} +3 -3
  98. package/dist/{dropdown-content-1g76XIVT.js.map → dropdown-content-B1tXM7Vp.js.map} +1 -1
  99. package/dist/{dropdown-content-DwiI2xi1.cjs → dropdown-content-lZcMgCym.cjs} +2 -2
  100. package/dist/{dropdown-content-DwiI2xi1.cjs.map → dropdown-content-lZcMgCym.cjs.map} +1 -1
  101. package/dist/dropdown.cjs +1 -1
  102. package/dist/dropdown.js +1 -1
  103. package/dist/{email-recipients-BJsjr6H6.js → email-recipients-CQNYpvG7.js} +5 -5
  104. package/dist/{email-recipients-BJsjr6H6.js.map → email-recipients-CQNYpvG7.js.map} +1 -1
  105. package/dist/{email-recipients-BiPVR8Hi.cjs → email-recipients-D2bcyJAi.cjs} +2 -2
  106. package/dist/{email-recipients-BiPVR8Hi.cjs.map → email-recipients-D2bcyJAi.cjs.map} +1 -1
  107. package/dist/extra.cjs +1 -1
  108. package/dist/extra.js +1 -1
  109. package/dist/{flex-0kVSQTqk.js → flex-CQzrxgEP.js} +2 -2
  110. package/dist/{flex-0kVSQTqk.js.map → flex-CQzrxgEP.js.map} +1 -1
  111. package/dist/{flex-CYToPu65.cjs → flex-CbGwzfNX.cjs} +2 -2
  112. package/dist/{flex-CYToPu65.cjs.map → flex-CbGwzfNX.cjs.map} +1 -1
  113. package/dist/{form-BTIOJob0.cjs → form-Cid9N-2B.cjs} +2 -2
  114. package/dist/{form-BTIOJob0.cjs.map → form-Cid9N-2B.cjs.map} +1 -1
  115. package/dist/{form-CzSHXlhh.js → form-DcKKSUWi.js} +2 -2
  116. package/dist/{form-CzSHXlhh.js.map → form-DcKKSUWi.js.map} +1 -1
  117. package/dist/form.cjs +1 -1
  118. package/dist/form.js +1 -1
  119. package/dist/{formField.mixin-D3pQ9LTE.js → formField.mixin-C5U1Rh5p.js} +2 -2
  120. package/dist/{formField.mixin-D3pQ9LTE.js.map → formField.mixin-C5U1Rh5p.js.map} +1 -1
  121. package/dist/{formField.mixin-BE8yyY7E.cjs → formField.mixin-DtuGCitn.cjs} +2 -2
  122. package/dist/{formField.mixin-BE8yyY7E.cjs.map → formField.mixin-DtuGCitn.cjs.map} +1 -1
  123. package/dist/{icon-DxLigT_B.cjs → icon-7uflQBUI.cjs} +2 -2
  124. package/dist/{icon-DxLigT_B.cjs.map → icon-7uflQBUI.cjs.map} +1 -1
  125. package/dist/{icon-CB8zMasU.js → icon-DF5RpNTK.js} +2 -2
  126. package/dist/{icon-CB8zMasU.js.map → icon-DF5RpNTK.js.map} +1 -1
  127. package/dist/{icon-button-n_1iOQGQ.js → icon-button-Bol0a-v7.js} +3 -3
  128. package/dist/{icon-button-n_1iOQGQ.js.map → icon-button-Bol0a-v7.js.map} +1 -1
  129. package/dist/{icon-button-B6sa3c9D.cjs → icon-button-D41ID2Fc.cjs} +2 -2
  130. package/dist/{icon-button-B6sa3c9D.cjs.map → icon-button-D41ID2Fc.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 +47 -47
  135. package/dist/{input-FXEREBl6.cjs → input-CcwnttG1.cjs} +2 -2
  136. package/dist/{input-FXEREBl6.cjs.map → input-CcwnttG1.cjs.map} +1 -1
  137. package/dist/{input-BAJnPVSv.js → input-ClFADkhf.js} +3 -3
  138. package/dist/{input-BAJnPVSv.js.map → input-ClFADkhf.js.map} +1 -1
  139. package/dist/input.cjs +1 -1
  140. package/dist/input.js +1 -1
  141. package/dist/layout.cjs +1 -1
  142. package/dist/layout.js +1 -1
  143. package/dist/{list-TbB9Rpwx.cjs → list-BAjh6Ucg.cjs} +2 -2
  144. package/dist/{list-TbB9Rpwx.cjs.map → list-BAjh6Ucg.cjs.map} +1 -1
  145. package/dist/{list-ZeNhyo74.js → list-CIFl0wDX.js} +2 -2
  146. package/dist/{list-ZeNhyo74.js.map → list-CIFl0wDX.js.map} +1 -1
  147. package/dist/list.cjs +1 -1
  148. package/dist/list.js +1 -1
  149. package/dist/{litElement.mixin-DVZiIRUa.js → litElement.mixin-Cs2vwcM4.js} +2 -2
  150. package/dist/{litElement.mixin-DVZiIRUa.js.map → litElement.mixin-Cs2vwcM4.js.map} +1 -1
  151. package/dist/{litElement.mixin-N4BRrCeD.cjs → litElement.mixin-DiSo_YRo.cjs} +2 -2
  152. package/dist/{litElement.mixin-N4BRrCeD.cjs.map → litElement.mixin-DiSo_YRo.cjs.map} +1 -1
  153. package/dist/mailbox.cjs +1 -1
  154. package/dist/mailbox.js +1 -1
  155. package/dist/{map-ck5dlHEW.js → map-DRXTbpex.js} +2 -2
  156. package/dist/{map-ck5dlHEW.js.map → map-DRXTbpex.js.map} +1 -1
  157. package/dist/{map-DW4GhKaH.cjs → map-wFoHnuTE.cjs} +2 -2
  158. package/dist/{map-DW4GhKaH.cjs.map → map-wFoHnuTE.cjs.map} +1 -1
  159. package/dist/map.cjs +1 -1
  160. package/dist/map.js +1 -1
  161. package/dist/{media-C9Qy2mql.cjs → media-DMXDyK_t.cjs} +2 -2
  162. package/dist/{media-C9Qy2mql.cjs.map → media-DMXDyK_t.cjs.map} +1 -1
  163. package/dist/{media-CunGFwol.js → media-DdD4d518.js} +2 -2
  164. package/dist/{media-CunGFwol.js.map → media-DdD4d518.js.map} +1 -1
  165. package/dist/{menu-BkTWAEeh.cjs → menu-D6djF8D7.cjs} +2 -2
  166. package/dist/{menu-BkTWAEeh.cjs.map → menu-D6djF8D7.cjs.map} +1 -1
  167. package/dist/{menu-Cja83sLd.js → menu-vSrpyy8w.js} +3 -3
  168. package/dist/{menu-Cja83sLd.js.map → menu-vSrpyy8w.js.map} +1 -1
  169. package/dist/menu.cjs +1 -1
  170. package/dist/menu.js +1 -1
  171. package/dist/nav-drawer.cjs +1 -1
  172. package/dist/nav-drawer.js +1 -1
  173. package/dist/{notification-service-CKHPaK_C.js → notification-service-C5f9YdPY.js} +4 -4
  174. package/dist/{notification-service-CKHPaK_C.js.map → notification-service-C5f9YdPY.js.map} +1 -1
  175. package/dist/{notification-service-BB7pBlG6.cjs → notification-service-CnVFGj74.cjs} +2 -2
  176. package/dist/{notification-service-BB7pBlG6.cjs.map → notification-service-CnVFGj74.cjs.map} +1 -1
  177. package/dist/notification.cjs +1 -1
  178. package/dist/notification.js +2 -2
  179. package/dist/{notify-DNNTtvHN.js → notify-CuQyUgsU.js} +2 -2
  180. package/dist/{notify-DNNTtvHN.js.map → notify-CuQyUgsU.js.map} +1 -1
  181. package/dist/{notify-CxMMHOyT.cjs → notify-DtUM_vBe.cjs} +2 -2
  182. package/dist/{notify-CxMMHOyT.cjs.map → notify-DtUM_vBe.cjs.map} +1 -1
  183. package/dist/{option-BsvqJpe9.js → option-CMyac-XQ.js} +2 -2
  184. package/dist/{option-BsvqJpe9.js.map → option-CMyac-XQ.js.map} +1 -1
  185. package/dist/{option-BWzNpqSh.cjs → option-D22bslGV.cjs} +2 -2
  186. package/dist/{option-BWzNpqSh.cjs.map → option-D22bslGV.cjs.map} +1 -1
  187. package/dist/option.cjs +1 -1
  188. package/dist/option.js +1 -1
  189. package/dist/{payment-card-form-C0Rck0tO.js → payment-card-form-C2rSfNUB.js} +3 -3
  190. package/dist/{payment-card-form-C0Rck0tO.js.map → payment-card-form-C2rSfNUB.js.map} +1 -1
  191. package/dist/{payment-card-form-Q8jzlprZ.cjs → payment-card-form-CIo6Jvh4.cjs} +2 -2
  192. package/dist/{payment-card-form-Q8jzlprZ.cjs.map → payment-card-form-CIo6Jvh4.cjs.map} +1 -1
  193. package/dist/{progress-CtoQKQub.cjs → progress-Cz6acdfO.cjs} +2 -2
  194. package/dist/{progress-CtoQKQub.cjs.map → progress-Cz6acdfO.cjs.map} +1 -1
  195. package/dist/{progress-CG2bQVP8.js → progress-CzZkkBKS.js} +2 -2
  196. package/dist/{progress-CG2bQVP8.js.map → progress-CzZkkBKS.js.map} +1 -1
  197. package/dist/progress.cjs +1 -1
  198. package/dist/progress.js +1 -1
  199. package/dist/{radio-button-BSUgktLD.js → radio-button-CvhN1gWj.js} +3 -3
  200. package/dist/{radio-button-BSUgktLD.js.map → radio-button-CvhN1gWj.js.map} +1 -1
  201. package/dist/{radio-button-DnvjanKu.cjs → radio-button-XTjTthrJ.cjs} +2 -2
  202. package/dist/{radio-button-DnvjanKu.cjs.map → radio-button-XTjTthrJ.cjs.map} +1 -1
  203. package/dist/radio-group.cjs +1 -1
  204. package/dist/radio-group.js +1 -1
  205. package/dist/{route.component-YXwO_9vn.cjs → route.component-BMRfUQ9O.cjs} +2 -2
  206. package/dist/{route.component-YXwO_9vn.cjs.map → route.component-BMRfUQ9O.cjs.map} +1 -1
  207. package/dist/{route.component-BJEghY9L.js → route.component-D2BflZS9.js} +3 -3
  208. package/dist/{route.component-BJEghY9L.js.map → route.component-D2BflZS9.js.map} +1 -1
  209. package/dist/{schmancy-steps-container-BJdjcjfb.cjs → schmancy-steps-container-CDj0iFPm.cjs} +2 -2
  210. package/dist/{schmancy-steps-container-BJdjcjfb.cjs.map → schmancy-steps-container-CDj0iFPm.cjs.map} +1 -1
  211. package/dist/{schmancy-steps-container-DLoPUodd.js → schmancy-steps-container-DJdcHEVs.js} +2 -2
  212. package/dist/{schmancy-steps-container-DLoPUodd.js.map → schmancy-steps-container-DJdcHEVs.js.map} +1 -1
  213. package/dist/{select-t2FXt_pa.cjs → select-BZuUqcqv.cjs} +2 -2
  214. package/dist/{select-t2FXt_pa.cjs.map → select-BZuUqcqv.cjs.map} +1 -1
  215. package/dist/{select-DagDNtvt.js → select-BnLSAqtO.js} +3 -3
  216. package/dist/{select-DagDNtvt.js.map → select-BnLSAqtO.js.map} +1 -1
  217. package/dist/select.cjs +1 -1
  218. package/dist/select.js +1 -1
  219. package/dist/{sheet-mPwoKv2g.cjs → sheet-CSp5quAX.cjs} +2 -2
  220. package/dist/{sheet-mPwoKv2g.cjs.map → sheet-CSp5quAX.cjs.map} +1 -1
  221. package/dist/{sheet-CRVVJZ0R.js → sheet-CcKYre1L.js} +3 -3
  222. package/dist/{sheet-CRVVJZ0R.js.map → sheet-CcKYre1L.js.map} +1 -1
  223. package/dist/sheet.cjs +1 -1
  224. package/dist/sheet.js +1 -1
  225. package/dist/{slider-pBPJS7W9.cjs → slider-CPJ-4yg4.cjs} +2 -2
  226. package/dist/{slider-pBPJS7W9.cjs.map → slider-CPJ-4yg4.cjs.map} +1 -1
  227. package/dist/{slider-B3F6JkFf.js → slider-D36miB_e.js} +3 -3
  228. package/dist/{slider-B3F6JkFf.js.map → slider-D36miB_e.js.map} +1 -1
  229. package/dist/slider.cjs +1 -1
  230. package/dist/slider.js +1 -1
  231. package/dist/{spinner-DA_-O-xo.js → spinner-1vMz2pLZ.js} +2 -2
  232. package/dist/{spinner-DA_-O-xo.js.map → spinner-1vMz2pLZ.js.map} +1 -1
  233. package/dist/{spinner-BRpfKS5O.cjs → spinner-uKeW1jVr.cjs} +2 -2
  234. package/dist/{spinner-BRpfKS5O.cjs.map → spinner-uKeW1jVr.cjs.map} +1 -1
  235. package/dist/steps.cjs +1 -1
  236. package/dist/steps.js +1 -1
  237. package/dist/{surface-diIElnDd.cjs → surface-DCAyIw6O.cjs} +2 -2
  238. package/dist/{surface-diIElnDd.cjs.map → surface-DCAyIw6O.cjs.map} +1 -1
  239. package/dist/{surface-Dwl538cH.js → surface-DWRvqMeW.js} +2 -2
  240. package/dist/{surface-Dwl538cH.js.map → surface-DWRvqMeW.js.map} +1 -1
  241. package/dist/surface.cjs +1 -1
  242. package/dist/surface.js +1 -1
  243. package/dist/{table-BgKKtRLd.js → table-BYOOIwQ3.js} +2 -2
  244. package/dist/{table-BgKKtRLd.js.map → table-BYOOIwQ3.js.map} +1 -1
  245. package/dist/{table-Bov9UEcb.cjs → table-N5w5txc8.cjs} +2 -2
  246. package/dist/{table-Bov9UEcb.cjs.map → table-N5w5txc8.cjs.map} +1 -1
  247. package/dist/table.cjs +1 -1
  248. package/dist/table.js +1 -1
  249. package/dist/{tabs-compatibility-CPvOBfor.js → tabs-compatibility-BQZ_4rKO.js} +2 -2
  250. package/dist/{tabs-compatibility-CPvOBfor.js.map → tabs-compatibility-BQZ_4rKO.js.map} +1 -1
  251. package/dist/{tabs-compatibility-D5yIfQ_k.cjs → tabs-compatibility-B_0MOHRx.cjs} +2 -2
  252. package/dist/{tabs-compatibility-D5yIfQ_k.cjs.map → tabs-compatibility-B_0MOHRx.cjs.map} +1 -1
  253. package/dist/tabs.cjs +1 -1
  254. package/dist/tabs.js +1 -1
  255. package/dist/tailwind.mixin-BPLAZH0W.cjs +2 -0
  256. package/dist/{tailwind.mixin-2zZHkoOm.cjs.map → tailwind.mixin-BPLAZH0W.cjs.map} +1 -1
  257. package/dist/tailwind.mixin-NLG6hsRk.js +43 -0
  258. package/dist/{tailwind.mixin-DbE6WE_l.js.map → tailwind.mixin-NLG6hsRk.js.map} +1 -1
  259. package/dist/teleport.cjs +1 -1
  260. package/dist/teleport.js +1 -1
  261. package/dist/{textarea-CNEv2Aoz.js → textarea-B-BvDcvC.js} +2 -2
  262. package/dist/{textarea-CNEv2Aoz.js.map → textarea-B-BvDcvC.js.map} +1 -1
  263. package/dist/{textarea-CswyRsoR.cjs → textarea-CfO-1Q7I.cjs} +2 -2
  264. package/dist/{textarea-CswyRsoR.cjs.map → textarea-CfO-1Q7I.cjs.map} +1 -1
  265. package/dist/textarea.cjs +1 -1
  266. package/dist/textarea.js +1 -1
  267. package/dist/{theme-button-CRcXeIw5.js → theme-button-O8T2P7bp.js} +2 -2
  268. package/dist/{theme-button-CRcXeIw5.js.map → theme-button-O8T2P7bp.js.map} +1 -1
  269. package/dist/{theme-button-DPmEDF3P.cjs → theme-button-QgQtIkNO.cjs} +2 -2
  270. package/dist/{theme-button-DPmEDF3P.cjs.map → theme-button-QgQtIkNO.cjs.map} +1 -1
  271. package/dist/theme-button.cjs +1 -1
  272. package/dist/theme-button.js +1 -1
  273. package/dist/theme.cjs +1 -1
  274. package/dist/{theme.component-CamQBQHp.cjs → theme.component--fI9PP4Y.cjs} +2 -2
  275. package/dist/{theme.component-CamQBQHp.cjs.map → theme.component--fI9PP4Y.cjs.map} +1 -1
  276. package/dist/{theme.component-v5kO9gkQ.js → theme.component-z0OFbxq8.js} +2 -2
  277. package/dist/{theme.component-v5kO9gkQ.js.map → theme.component-z0OFbxq8.js.map} +1 -1
  278. package/dist/theme.js +1 -1
  279. package/dist/{timezone-Bk4IctLE.cjs → timezone-C8PYHpA5.cjs} +2 -2
  280. package/dist/{timezone-Bk4IctLE.cjs.map → timezone-C8PYHpA5.cjs.map} +1 -1
  281. package/dist/{timezone-Yo9Sdd5R.js → timezone-CeadXobB.js} +3 -3
  282. package/dist/{timezone-Yo9Sdd5R.js.map → timezone-CeadXobB.js.map} +1 -1
  283. package/dist/{tooltip-ZJEAlZUQ.js → tooltip-DUuT16gi.js} +2 -2
  284. package/dist/{tooltip-ZJEAlZUQ.js.map → tooltip-DUuT16gi.js.map} +1 -1
  285. package/dist/{tooltip-B-yn_OSS.cjs → tooltip-DxkXzv_5.cjs} +2 -2
  286. package/dist/{tooltip-B-yn_OSS.cjs.map → tooltip-DxkXzv_5.cjs.map} +1 -1
  287. package/dist/tooltip.cjs +1 -1
  288. package/dist/tooltip.js +1 -1
  289. package/dist/{tree-CxBWy_Vp.cjs → tree-DD_zsKhj.cjs} +2 -2
  290. package/dist/{tree-CxBWy_Vp.cjs.map → tree-DD_zsKhj.cjs.map} +1 -1
  291. package/dist/{tree-BV-2ElOU.js → tree-YKMOXZkK.js} +2 -2
  292. package/dist/{tree-BV-2ElOU.js.map → tree-YKMOXZkK.js.map} +1 -1
  293. package/dist/tree.cjs +1 -1
  294. package/dist/tree.js +1 -1
  295. package/dist/{typewriter-C-mf2RVj.cjs → typewriter-BZQFLCSO.cjs} +2 -2
  296. package/dist/{typewriter-C-mf2RVj.cjs.map → typewriter-BZQFLCSO.cjs.map} +1 -1
  297. package/dist/{typewriter-Bsn8eoJW.js → typewriter-D0ocrgfy.js} +4 -4
  298. package/dist/{typewriter-Bsn8eoJW.js.map → typewriter-D0ocrgfy.js.map} +1 -1
  299. package/dist/typewriter.cjs +1 -1
  300. package/dist/typewriter.js +1 -1
  301. package/dist/{typography-B5Y21osS.js → typography-B813cueV.js} +2 -2
  302. package/dist/{typography-B5Y21osS.js.map → typography-B813cueV.js.map} +1 -1
  303. package/dist/{typography-pyk5TJHO.cjs → typography-C6a_0J8h.cjs} +2 -2
  304. package/dist/{typography-pyk5TJHO.cjs.map → typography-C6a_0J8h.cjs.map} +1 -1
  305. package/dist/typography.cjs +1 -1
  306. package/dist/typography.js +1 -1
  307. package/package.json +1 -1
  308. package/types/src/content-drawer/drawer.d.ts +1 -1
  309. package/types/src/content-drawer/drawer.service.d.ts +20 -0
  310. package/types/src/content-drawer/index.d.ts +1 -1
  311. package/dist/avatar-DjCNlJz6.cjs.map +0 -1
  312. package/dist/avatar-nxVn--Oo.js.map +0 -1
  313. package/dist/details-Cf7zosIT.js.map +0 -1
  314. package/dist/details-D6yYIQaE.cjs.map +0 -1
  315. package/dist/tailwind.mixin-2zZHkoOm.cjs +0 -2
  316. package/dist/tailwind.mixin-DbE6WE_l.js +0 -43
@@ -1,71 +1,71 @@
1
- import { css as z, html as c, nothing as lt } from "lit";
1
+ import { css as O, html as c, nothing as lt } from "lit";
2
2
  import { property as l, customElement as y, state as d, queryAssignedElements as ct, query as F } from "lit/decorators.js";
3
- import { Subject as G, merge as J, fromEvent as f, startWith as bt, map as v, debounceTime as q, tap as O, distinctUntilChanged as K, takeUntil as p, from as st, of as B, Observable as gt, zip as rt, filter as dt, take as ft, timeout as vt, bufferTime as wt, concatMap as xt, interval as $t, throwIfEmpty as Ct } from "rxjs";
4
- import "./animated-text-CTMDHCbw.js";
5
- import { b as it, F as St, H as Dt } from "./route.component-BJEghY9L.js";
6
- import "./autocomplete-m-nEVE3h.js";
3
+ import { Subject as V, merge as G, fromEvent as f, startWith as bt, map as v, debounceTime as R, tap as D, distinctUntilChanged as K, takeUntil as m, from as st, of as U, Observable as gt, zip as it, filter as dt, take as ft, timeout as vt, bufferTime as wt, concatMap as xt, interval as $t, throwIfEmpty as Ct } from "rxjs";
4
+ import "./animated-text-DF5iHL66.js";
5
+ import { b as rt, F as St, H as Et } from "./route.component-D2BflZS9.js";
6
+ import "./autocomplete-DNTo7fHJ.js";
7
7
  import "lit/directives/class-map.js";
8
8
  import "lit/directives/style-map.js";
9
- import { T as ht } from "./tailwind.mixin-DbE6WE_l.js";
10
- import { c as U, f as Ot } from "./ripple-BumgqsDT.js";
11
- import "./boat-sl3amQ3s.js";
12
- import "./spinner-DA_-O-xo.js";
13
- import "./icon-button-n_1iOQGQ.js";
14
- import "./media-CunGFwol.js";
15
- import "./checkbox-zTyMywpJ.js";
16
- import "./chips-DAkLLDRf.js";
17
- import "./code-preview-DH3koGm9.js";
18
- import "./payment-card-form-C0Rck0tO.js";
19
- import { SchmancyEvents as m } from "./types.js";
20
- import { n as j, e as M } from "./provide-tcktw8xB.js";
21
- import { $ as E } from "./litElement.mixin-DVZiIRUa.js";
9
+ import { T as ht } from "./tailwind.mixin-NLG6hsRk.js";
10
+ import { c as B, f as Dt } from "./ripple-BumgqsDT.js";
11
+ import "./boat-BEjCaneK.js";
12
+ import "./spinner-1vMz2pLZ.js";
13
+ import "./icon-button-Bol0a-v7.js";
14
+ import "./media-DdD4d518.js";
15
+ import "./checkbox-k9tWSA4E.js";
16
+ import "./chips-DO6f95nV.js";
17
+ import "./code-preview-djAAzZxj.js";
18
+ import "./payment-card-form-C2rSfNUB.js";
19
+ import { SchmancyEvents as p } from "./types.js";
20
+ import { n as j, e as W } from "./provide-tcktw8xB.js";
21
+ import { $ as z } from "./litElement.mixin-Cs2vwcM4.js";
22
22
  import { c as h } from "./consume-5D1qfVWM.js";
23
- import "./date-range-sfDUF7dG.js";
24
- import "./date-range-inline-CUb59TOM.js";
25
- import "./delay-CHpGPLLr.js";
26
- import "./details-Cf7zosIT.js";
27
- import "./dialog-content-BabnHd-t.js";
23
+ import "./date-range-CHJqdE9Y.js";
24
+ import "./date-range-inline-dlZb5tJg.js";
25
+ import "./delay-BP5SfQRo.js";
26
+ import "./details-Bd0PJpSd.js";
27
+ import "./dialog-content-8smVbEth.js";
28
28
  import "./dialog-service-DwhuICgc.js";
29
- import "./divider-DyNmX5oP.js";
30
- import "./dropdown-content-1g76XIVT.js";
31
- import "./timezone-Yo9Sdd5R.js";
32
- import "./form-CzSHXlhh.js";
33
- import "./icon-CB8zMasU.js";
34
- import "./input-BAJnPVSv.js";
35
- import "./flex-0kVSQTqk.js";
36
- import "./list-ZeNhyo74.js";
37
- import "./email-recipients-BJsjr6H6.js";
38
- import "./map-ck5dlHEW.js";
39
- import "./menu-Cja83sLd.js";
40
- import { when as Y } from "lit/directives/when.js";
41
- import "./notification-service-CKHPaK_C.js";
42
- import "./option-BsvqJpe9.js";
43
- import "./progress-CG2bQVP8.js";
44
- import "./radio-button-BSUgktLD.js";
29
+ import "./divider-DnyRwbTs.js";
30
+ import "./dropdown-content-B1tXM7Vp.js";
31
+ import "./timezone-CeadXobB.js";
32
+ import "./form-DcKKSUWi.js";
33
+ import "./icon-DF5RpNTK.js";
34
+ import "./input-ClFADkhf.js";
35
+ import "./flex-CQzrxgEP.js";
36
+ import "./list-CIFl0wDX.js";
37
+ import "./email-recipients-CQNYpvG7.js";
38
+ import "./map-DRXTbpex.js";
39
+ import "./menu-vSrpyy8w.js";
40
+ import { when as L } from "lit/directives/when.js";
41
+ import "./notification-service-C5f9YdPY.js";
42
+ import "./option-CMyac-XQ.js";
43
+ import "./progress-CzZkkBKS.js";
44
+ import "./radio-button-CvhN1gWj.js";
45
45
  import "./index-CW6PhEkx.js";
46
- import "./select-DagDNtvt.js";
47
- import "./sheet-CRVVJZ0R.js";
48
- import { s as V } from "./sheet.service-lXqUf6n5.js";
49
- import "./slider-B3F6JkFf.js";
50
- import "./schmancy-steps-container-DLoPUodd.js";
46
+ import "./select-BnLSAqtO.js";
47
+ import "./sheet-CcKYre1L.js";
48
+ import { s as Y } from "./sheet.service-lXqUf6n5.js";
49
+ import "./slider-D36miB_e.js";
50
+ import "./schmancy-steps-container-DJdcHEVs.js";
51
51
  import "./context-object-u5gBaozZ.js";
52
- import { map as zt, distinctUntilChanged as Et, take as kt } from "rxjs/operators";
53
- import "./surface-Dwl538cH.js";
54
- import "./table-BgKKtRLd.js";
55
- import "./tabs-compatibility-CPvOBfor.js";
56
- import "./textarea-CNEv2Aoz.js";
57
- import "./theme.component-v5kO9gkQ.js";
58
- import "./theme-button-CRcXeIw5.js";
59
- import "./tooltip-ZJEAlZUQ.js";
60
- import "./tree-BV-2ElOU.js";
61
- import "./typewriter-Bsn8eoJW.js";
62
- import "./typography-B5Y21osS.js";
63
- import { S as i } from "./theme.interface-C5Kj6WjD.js";
64
- var Wt = Object.defineProperty, Mt = Object.getOwnPropertyDescriptor, D = (t, e, r, o) => {
65
- for (var n, s = o > 1 ? void 0 : o ? Mt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
66
- return o && s && Wt(e, r, s), s;
52
+ import { map as Ot, distinctUntilChanged as zt, take as kt } from "rxjs/operators";
53
+ import "./surface-DWRvqMeW.js";
54
+ import "./table-BYOOIwQ3.js";
55
+ import "./tabs-compatibility-BQZ_4rKO.js";
56
+ import "./textarea-B-BvDcvC.js";
57
+ import "./theme.component-z0OFbxq8.js";
58
+ import "./theme-button-O8T2P7bp.js";
59
+ import "./tooltip-DUuT16gi.js";
60
+ import "./tree-YKMOXZkK.js";
61
+ import "./typewriter-D0ocrgfy.js";
62
+ import "./typography-B813cueV.js";
63
+ import { S as o } from "./theme.interface-C5Kj6WjD.js";
64
+ var Mt = Object.defineProperty, Wt = Object.getOwnPropertyDescriptor, E = (t, e, i, r) => {
65
+ for (var n, s = r > 1 ? void 0 : r ? Wt(e, i) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, i, s) : n(s)) || s);
66
+ return r && s && Mt(e, i, s), s;
67
67
  };
68
- let $ = class extends ht(z`
68
+ let $ = class extends ht(O`
69
69
  :host {
70
70
  display: inline-flex;
71
71
  }
@@ -174,22 +174,22 @@ let $ = class extends ht(z`
174
174
  return this.size === "lg" && (t.letterSpacing = "0.03em", t.fontWeight = "500"), this.size === "sm" && (t.letterSpacing = "0.02em"), t;
175
175
  }
176
176
  getColorStyles() {
177
- return { primary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${i.sys.color.primary.container} 92%, ${i.sys.color.primary.default} 8%)`, text: this.outlined ? i.sys.color.primary.default : i.sys.color.primary.onContainer, border: this.outlined ? `color-mix(in srgb, ${i.sys.color.primary.default} 90%, ${i.sys.color.surface.highest} 10%)` : void 0 }, secondary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${i.sys.color.secondary.container} 95%, ${i.sys.color.secondary.default} 5%)`, text: this.outlined ? i.sys.color.secondary.default : i.sys.color.secondary.onContainer, border: this.outlined ? `color-mix(in srgb, ${i.sys.color.secondary.default} 85%, ${i.sys.color.surface.highest} 15%)` : void 0 }, tertiary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${i.sys.color.tertiary.container} 94%, ${i.sys.color.tertiary.default} 6%)`, text: this.outlined ? i.sys.color.tertiary.default : i.sys.color.tertiary.onContainer, border: this.outlined ? `color-mix(in srgb, ${i.sys.color.tertiary.default} 88%, ${i.sys.color.surface.highest} 12%)` : void 0 }, success: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${i.sys.color.success.container} 90%, ${i.sys.color.success.default} 10%)`, text: this.outlined ? i.sys.color.success.default : i.sys.color.success.onContainer, border: this.outlined ? `color-mix(in srgb, ${i.sys.color.success.default} 85%, ${i.sys.color.surface.bright} 15%)` : void 0 }, warning: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${i.sys.color.tertiary.container} 85%, ${i.sys.color.tertiary.default} 15%)`, text: this.outlined ? i.sys.color.tertiary.default : i.sys.color.tertiary.onContainer, border: this.outlined ? `color-mix(in srgb, ${i.sys.color.tertiary.default} 90%, ${i.sys.color.surface.highest} 10%)` : void 0 }, error: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${i.sys.color.error.container} 92%, ${i.sys.color.error.default} 8%)`, text: this.outlined ? i.sys.color.error.default : i.sys.color.error.onContainer, border: this.outlined ? `color-mix(in srgb, ${i.sys.color.error.default} 88%, ${i.sys.color.surface.bright} 12%)` : void 0 }, neutral: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${i.sys.color.surface.high} 95%, ${i.sys.color.outline} 5%)`, text: this.outlined ? `color-mix(in srgb, ${i.sys.color.surface.on} 95%, ${i.sys.color.surface.default} 5%)` : i.sys.color.surface.on, border: this.outlined ? `color-mix(in srgb, ${i.sys.color.outline} 85%, ${i.sys.color.surface.highest} 15%)` : void 0 } }[this.color];
177
+ return { primary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.primary.container} 92%, ${o.sys.color.primary.default} 8%)`, text: this.outlined ? o.sys.color.primary.default : o.sys.color.primary.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.primary.default} 90%, ${o.sys.color.surface.highest} 10%)` : void 0 }, secondary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.secondary.container} 95%, ${o.sys.color.secondary.default} 5%)`, text: this.outlined ? o.sys.color.secondary.default : o.sys.color.secondary.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.secondary.default} 85%, ${o.sys.color.surface.highest} 15%)` : void 0 }, tertiary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.tertiary.container} 94%, ${o.sys.color.tertiary.default} 6%)`, text: this.outlined ? o.sys.color.tertiary.default : o.sys.color.tertiary.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.tertiary.default} 88%, ${o.sys.color.surface.highest} 12%)` : void 0 }, success: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.success.container} 90%, ${o.sys.color.success.default} 10%)`, text: this.outlined ? o.sys.color.success.default : o.sys.color.success.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.success.default} 85%, ${o.sys.color.surface.bright} 15%)` : void 0 }, warning: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.tertiary.container} 85%, ${o.sys.color.tertiary.default} 15%)`, text: this.outlined ? o.sys.color.tertiary.default : o.sys.color.tertiary.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.tertiary.default} 90%, ${o.sys.color.surface.highest} 10%)` : void 0 }, error: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.error.container} 92%, ${o.sys.color.error.default} 8%)`, text: this.outlined ? o.sys.color.error.default : o.sys.color.error.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.error.default} 88%, ${o.sys.color.surface.bright} 12%)` : void 0 }, neutral: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.surface.high} 95%, ${o.sys.color.outline} 5%)`, text: this.outlined ? `color-mix(in srgb, ${o.sys.color.surface.on} 95%, ${o.sys.color.surface.default} 5%)` : o.sys.color.surface.on, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.outline} 85%, ${o.sys.color.surface.highest} 15%)` : void 0 } }[this.color];
178
178
  }
179
179
  render() {
180
- const t = this.getSizeClasses(), e = this.getShapeClasses(), r = this.getColorStyles(), o = this.getIconSize(), n = this.getExoticStyles(), s = { "inline-flex items-center justify-center font-medium": !0, [t]: !0, [e]: !0, "animate-pulse": this.pulse, "border border-solid": this.outlined, "shadow-sm": !this.outlined && this.size === "sm", shadow: !this.outlined && this.size === "md", "shadow-md": !this.outlined && this.size === "lg" }, a = { borderColor: r.border, transition: "all 0.2s ease", ...this.outlined ? { backdropFilter: "blur(4px)", borderWidth: "1px" } : {}, ...this.size !== "lg" || this.outlined ? {} : { boxShadow: "0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.1)" }, ...n };
180
+ const t = this.getSizeClasses(), e = this.getShapeClasses(), i = this.getColorStyles(), r = this.getIconSize(), n = this.getExoticStyles(), s = { "inline-flex items-center justify-center font-medium": !0, [t]: !0, [e]: !0, "animate-pulse": this.pulse, "border border-solid": this.outlined, "shadow-sm": !this.outlined && this.size === "sm", shadow: !this.outlined && this.size === "md", "shadow-md": !this.outlined && this.size === "lg" }, a = { borderColor: i.border, transition: "all 0.2s ease", ...this.outlined ? { backdropFilter: "blur(4px)", borderWidth: "1px" } : {}, ...this.size !== "lg" || this.outlined ? {} : { boxShadow: "0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.1)" }, ...n };
181
181
  return c`
182
182
  <div
183
183
  part="badge"
184
184
  class="${this.classMap(s)}"
185
185
  style="${this.styleMap(a)}"
186
- ${U({ bgColor: r.bg, color: r.text })}
186
+ ${B({ bgColor: i.bg, color: i.text })}
187
187
  >
188
188
  <!-- Icon slot or named icon -->
189
189
  <slot name="icon">
190
190
  ${this.icon ? c`
191
191
  <div part="icon" class="icon-container flex-shrink-0 flex items-center justify-center">
192
- <schmancy-icon .size=${o} class="flex items-center">${this.icon}</schmancy-icon>
192
+ <schmancy-icon .size=${r} class="flex items-center">${this.icon}</schmancy-icon>
193
193
  </div>
194
194
  ` : ""}
195
195
  </slot>
@@ -202,28 +202,46 @@ let $ = class extends ht(z`
202
202
  `;
203
203
  }
204
204
  };
205
- D([l({ type: String, reflect: !0 })], $.prototype, "color", 2), D([l({ type: String, reflect: !0 })], $.prototype, "size", 2), D([l({ type: String, reflect: !0 })], $.prototype, "shape", 2), D([l({ type: Boolean, reflect: !0 })], $.prototype, "outlined", 2), D([l({ type: String })], $.prototype, "icon", 2), D([l({ type: Boolean, reflect: !0 })], $.prototype, "pulse", 2), $ = D([y("schmancy-badge")], $);
205
+ E([l({ type: String, reflect: !0 })], $.prototype, "color", 2), E([l({ type: String, reflect: !0 })], $.prototype, "size", 2), E([l({ type: String, reflect: !0 })], $.prototype, "shape", 2), E([l({ type: Boolean, reflect: !0 })], $.prototype, "outlined", 2), E([l({ type: String })], $.prototype, "icon", 2), E([l({ type: Boolean, reflect: !0 })], $.prototype, "pulse", 2), $ = E([y("schmancy-badge")], $);
206
206
  let ot = class extends $ {
207
207
  };
208
- ot = D([y("sch-badge")], ot);
208
+ ot = E([y("sch-badge")], ot);
209
209
  const os = new class {
210
210
  constructor() {
211
- this.$drawer = new G(), this.$drawer.pipe().subscribe((t) => {
212
- t.action === "dismiss" ? t.ref.dispatchEvent(new CustomEvent(m.ContentDrawerToggle, { detail: { state: "close" }, bubbles: !0, composed: !0 })) : t.action === "render" && (t.ref.dispatchEvent(new CustomEvent(m.ContentDrawerToggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })), t.ref.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", { detail: { component: t.component, title: t.title }, bubbles: !0, composed: !0 })));
211
+ this.$drawer = new V(), this.lastComponent = null, this.$drawer.pipe().subscribe((t) => {
212
+ t.action === "dismiss" ? t.ref.dispatchEvent(new CustomEvent(p.ContentDrawerToggle, { detail: { state: "close" }, bubbles: !0, composed: !0 })) : t.action === "render" ? (t.ref.dispatchEvent(new CustomEvent(p.ContentDrawerToggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })), t.ref.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", { detail: { component: t.component, title: t.title }, bubbles: !0, composed: !0 }))) : t.action === "push" && this.handlePush(t.ref, t.component);
213
213
  });
214
214
  }
215
215
  dimiss(t) {
216
216
  this.$drawer.next({ action: "dismiss", ref: t });
217
217
  }
218
- render(t, e, r) {
219
- t.dispatchEvent(new CustomEvent("custom-event")), this.$drawer.next({ action: "render", ref: t, component: e, title: r });
218
+ render(t, e, i) {
219
+ t.dispatchEvent(new CustomEvent("custom-event")), this.$drawer.next({ action: "render", ref: t, component: e, title: i });
220
+ }
221
+ async handlePush(t, e) {
222
+ let i;
223
+ if (typeof e == "string") i = document.createElement(e);
224
+ else if (e instanceof HTMLElement) i = e;
225
+ else {
226
+ if (typeof e != "function") return;
227
+ try {
228
+ const r = await e();
229
+ r && typeof r == "object" && "default" in r ? i = new r.default() : i = r instanceof HTMLElement ? r : new r();
230
+ } catch {
231
+ return;
232
+ }
233
+ }
234
+ this.lastComponent === i && "requestUpdate" in i && i.requestUpdate(), this.lastComponent = i, t.dispatchEvent(new CustomEvent(p.ContentDrawerToggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })), t.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", { detail: { component: i }, bubbles: !0, composed: !0 }));
235
+ }
236
+ push(t) {
237
+ this.$drawer.next({ action: "push", ref: window, component: t });
220
238
  }
221
- }(), L = j("push"), pt = j("close"), mt = j(Math.floor(Math.random() * Date.now()).toString()), Q = j("100%"), Z = j({});
222
- var jt = Object.defineProperty, Pt = Object.getOwnPropertyDescriptor, k = (t, e, r, o) => {
223
- for (var n, s = o > 1 ? void 0 : o ? Pt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
224
- return o && s && jt(e, r, s), s;
239
+ }(), J = j("push"), pt = j("close"), mt = j(Math.floor(Math.random() * Date.now()).toString()), Q = j("100%"), Z = j({});
240
+ var jt = Object.defineProperty, Pt = Object.getOwnPropertyDescriptor, k = (t, e, i, r) => {
241
+ for (var n, s = r > 1 ? void 0 : r ? Pt(e, i) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, i, s) : n(s)) || s);
242
+ return r && s && jt(e, i, s), s;
225
243
  };
226
- let C = class extends E(z`
244
+ let C = class extends z(O`
227
245
  :host {
228
246
  position: relative;
229
247
  inset: 0;
@@ -235,18 +253,18 @@ let C = class extends E(z`
235
253
  super(...arguments), this.minWidth = { main: 360, sheet: 576 }, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
236
254
  }
237
255
  firstUpdated() {
238
- J(f(window, "resize"), f(window, m.ContentDrawerResize)).pipe(bt(!0), v(() => this.clientWidth ? this.clientWidth : window.innerWidth), v((t) => t >= this.minWidth.main + this.minWidth.sheet), q(100), O(() => {
256
+ G(f(window, "resize"), f(window, p.ContentDrawerResize)).pipe(bt(!0), v(() => this.clientWidth ? this.clientWidth : window.innerWidth), v((t) => t >= this.minWidth.main + this.minWidth.sheet), R(100), D(() => {
239
257
  this.maxHeight = window.innerHeight - this.getOffsetTop(this) - 32 + "px", this.style.setProperty("max-height", this.maxHeight);
240
- }), K(), p(this.disconnecting)).subscribe((t) => {
258
+ }), K(), m(this.disconnecting)).subscribe((t) => {
241
259
  t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
242
- }), f(window, m.ContentDrawerToggle).pipe(O((t) => {
260
+ }), f(window, p.ContentDrawerToggle).pipe(D((t) => {
243
261
  t.stopPropagation();
244
- }), v((t) => t.detail.state), p(this.disconnecting)).subscribe((t) => {
262
+ }), v((t) => t.detail.state), m(this.disconnecting)).subscribe((t) => {
245
263
  this.open = t;
246
- }), f(window, "schmancy-content-drawer-render").pipe(O((t) => {
264
+ }), f(window, "schmancy-content-drawer-render").pipe(D((t) => {
247
265
  t.stopPropagation();
248
- }), v((t) => t.detail), p(this.disconnecting)).subscribe(({ component: t, title: e }) => {
249
- this.mode === "push" ? (it.push({ area: this.schmancyContentDrawerID, component: "empty", historyStrategy: "silent" }), it.push({ area: this.schmancyContentDrawerID, component: t, historyStrategy: "silent" })) : (this.mode = "overlay") && V.open({ component: t, uid: this.schmancyContentDrawerID, title: e });
266
+ }), v((t) => t.detail), m(this.disconnecting)).subscribe(({ component: t, title: e }) => {
267
+ this.mode === "push" ? (rt.push({ area: this.schmancyContentDrawerID, component: "empty", historyStrategy: "silent" }), rt.push({ area: this.schmancyContentDrawerID, component: t, historyStrategy: "silent" })) : (this.mode = "overlay") && Y.open({ component: t, uid: this.schmancyContentDrawerID, title: e });
250
268
  });
251
269
  }
252
270
  getOffsetTop(t) {
@@ -268,12 +286,12 @@ let C = class extends E(z`
268
286
  ` : lt;
269
287
  }
270
288
  };
271
- k([M({ context: Z })], C.prototype, "minWidth", 2), k([M({ context: pt }), l()], C.prototype, "open", 2), k([M({ context: L }), d()], C.prototype, "mode", 2), k([M({ context: mt })], C.prototype, "schmancyContentDrawerID", 2), k([M({ context: Q })], C.prototype, "maxHeight", 2), k([ct({ flatten: !0 })], C.prototype, "assignedElements", 2), C = k([y("schmancy-content-drawer")], C);
272
- var It = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, N = (t, e, r, o) => {
273
- for (var n, s = o > 1 ? void 0 : o ? Nt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
274
- return o && s && It(e, r, s), s;
289
+ k([W({ context: Z })], C.prototype, "minWidth", 2), k([W({ context: pt }), l()], C.prototype, "open", 2), k([W({ context: J }), d()], C.prototype, "mode", 2), k([W({ context: mt })], C.prototype, "schmancyContentDrawerID", 2), k([W({ context: Q })], C.prototype, "maxHeight", 2), k([ct({ flatten: !0 })], C.prototype, "assignedElements", 2), C = k([y("schmancy-content-drawer")], C);
290
+ var It = Object.defineProperty, Tt = Object.getOwnPropertyDescriptor, T = (t, e, i, r) => {
291
+ for (var n, s = r > 1 ? void 0 : r ? Tt(e, i) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, i, s) : n(s)) || s);
292
+ return r && s && It(e, i, s), s;
275
293
  };
276
- let P = class extends E(z`
294
+ let P = class extends z(O`
277
295
  :host {
278
296
  display: block;
279
297
  overflow: hidden;
@@ -283,7 +301,7 @@ let P = class extends E(z`
283
301
  super.connectedCallback(), this.minWidth ? this.drawerMinWidth.main = this.minWidth : this.minWidth = this.drawerMinWidth.main;
284
302
  }
285
303
  update(t) {
286
- super.update(t), t.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(m.ContentDrawerResize, { bubbles: !0, composed: !0 })));
304
+ super.update(t), t.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(p.ContentDrawerResize, { bubbles: !0, composed: !0 })));
287
305
  }
288
306
  render() {
289
307
  const t = { minWidth: `${this.minWidth}px`, maxHeight: this.maxHeight };
@@ -301,17 +319,17 @@ let P = class extends E(z`
301
319
  <slot></slot>
302
320
  </section>
303
321
  </schmancy-grid>
304
- ${Y(this.mode === "push", () => c` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
322
+ ${L(this.mode === "push", () => c` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
305
323
  </section>
306
324
  `;
307
325
  }
308
326
  };
309
- N([l({ type: Number })], P.prototype, "minWidth", 2), N([h({ context: Z, subscribe: !0 })], P.prototype, "drawerMinWidth", 2), N([h({ context: L, subscribe: !0 }), d()], P.prototype, "mode", 2), N([h({ context: Q, subscribe: !0 }), d()], P.prototype, "maxHeight", 2), P = N([y("schmancy-content-drawer-main")], P);
310
- var _t = Object.defineProperty, Tt = Object.getOwnPropertyDescriptor, w = (t, e, r, o) => {
311
- for (var n, s = o > 1 ? void 0 : o ? Tt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
312
- return o && s && _t(e, r, s), s;
327
+ T([l({ type: Number })], P.prototype, "minWidth", 2), T([h({ context: Z, subscribe: !0 })], P.prototype, "drawerMinWidth", 2), T([h({ context: J, subscribe: !0 }), d()], P.prototype, "mode", 2), T([h({ context: Q, subscribe: !0 }), d()], P.prototype, "maxHeight", 2), P = T([y("schmancy-content-drawer-main")], P);
328
+ var Nt = Object.defineProperty, _t = Object.getOwnPropertyDescriptor, w = (t, e, i, r) => {
329
+ for (var n, s = r > 1 ? void 0 : r ? _t(e, i) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, i, s) : n(s)) || s);
330
+ return r && s && Nt(e, i, s), s;
313
331
  };
314
- let u = class extends E(z`
332
+ let u = class extends z(O`
315
333
  :host {
316
334
  overflow: scroll;
317
335
  }
@@ -320,16 +338,16 @@ let u = class extends E(z`
320
338
  super.connectedCallback(), this.minWidth ? this.drawerMinWidth.sheet = this.minWidth : this.minWidth = this.drawerMinWidth.sheet;
321
339
  }
322
340
  updated(t) {
323
- super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(m.ContentDrawerResize, { bubbles: !0, composed: !0 }))) : (t.has("state") || t.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (V.dismiss(this.schmancyContentDrawerID), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
341
+ super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(p.ContentDrawerResize, { bubbles: !0, composed: !0 }))) : (t.has("state") || t.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (Y.dismiss(this.schmancyContentDrawerID), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
324
342
  }
325
343
  open() {
326
344
  this.mode === "overlay" ? this.sheet.style.position = "fixed" : this.sheet.style.position = "relative", this.sheet.style.display = "block", this.sheet.animate([{ opacity: 0, transform: "translateX(100%)" }, { opacity: 1, transform: "translateX(0%)" }], { duration: 500, easing: "cubic-bezier(0.5, 0.01, 0.25, 1)" });
327
345
  }
328
346
  closeAll() {
329
- J(st(this.closeModalSheet()), st(this.closeSheet())).pipe(p(this.disconnecting)).subscribe();
347
+ G(st(this.closeModalSheet()), st(this.closeSheet())).pipe(m(this.disconnecting)).subscribe();
330
348
  }
331
349
  closeModalSheet() {
332
- return B(!0).pipe(O(() => V.dismiss(this.schmancyContentDrawerID)));
350
+ return U(!0).pipe(D(() => Y.dismiss(this.schmancyContentDrawerID)));
333
351
  }
334
352
  closeSheet() {
335
353
  return new gt((t) => {
@@ -349,11 +367,11 @@ let u = class extends E(z`
349
367
  `;
350
368
  }
351
369
  };
352
- w([l({ type: Number })], u.prototype, "minWidth", 2), w([h({ context: L, subscribe: !0 }), d()], u.prototype, "mode", 2), w([h({ context: pt, subscribe: !0 }), d()], u.prototype, "state", 2), w([h({ context: mt })], u.prototype, "schmancyContentDrawerID", 2), w([F("#sheet")], u.prototype, "sheet", 2), w([ct({ flatten: !0, slot: void 0 })], u.prototype, "defaultSlot", 2), w([h({ context: Z, subscribe: !0 })], u.prototype, "drawerMinWidth", 2), w([h({ context: Q, subscribe: !0 }), d()], u.prototype, "maxHeight", 2), u = w([y("schmancy-content-drawer-sheet")], u);
370
+ w([l({ type: Number })], u.prototype, "minWidth", 2), w([h({ context: J, subscribe: !0 }), d()], u.prototype, "mode", 2), w([h({ context: pt, subscribe: !0 }), d()], u.prototype, "state", 2), w([h({ context: mt })], u.prototype, "schmancyContentDrawerID", 2), w([F("#sheet")], u.prototype, "sheet", 2), w([ct({ flatten: !0, slot: void 0 })], u.prototype, "defaultSlot", 2), w([h({ context: Z, subscribe: !0 })], u.prototype, "drawerMinWidth", 2), w([h({ context: Q, subscribe: !0 }), d()], u.prototype, "maxHeight", 2), u = w([y("schmancy-content-drawer-sheet")], u);
353
371
  const Xt = new class {
354
372
  constructor() {
355
- this.$drawer = new G(), this.$drawer.pipe(q(10)).subscribe((t) => {
356
- t.state ? window.dispatchEvent(new CustomEvent(m.NavDrawer_toggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })) : window.dispatchEvent(new CustomEvent(m.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
373
+ this.$drawer = new V(), this.$drawer.pipe(R(10)).subscribe((t) => {
374
+ t.state ? window.dispatchEvent(new CustomEvent(p.NavDrawer_toggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })) : window.dispatchEvent(new CustomEvent(p.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
357
375
  });
358
376
  }
359
377
  open(t) {
@@ -363,11 +381,11 @@ const Xt = new class {
363
381
  this.$drawer.next({ self: t, state: !1 });
364
382
  }
365
383
  }(), ns = Xt, tt = j("push"), et = j("close");
366
- var At = Object.defineProperty, Ht = Object.getOwnPropertyDescriptor, X = (t, e, r, o) => {
367
- for (var n, s = o > 1 ? void 0 : o ? Ht(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
368
- return o && s && At(e, r, s), s;
384
+ var Ht = Object.defineProperty, At = Object.getOwnPropertyDescriptor, X = (t, e, i, r) => {
385
+ for (var n, s = r > 1 ? void 0 : r ? At(e, i) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, i, s) : n(s)) || s);
386
+ return r && s && Ht(e, i, s), s;
369
387
  };
370
- let _ = class extends ht(z`
388
+ let N = class extends ht(O`
371
389
  :host {
372
390
  display: block;
373
391
  }
@@ -379,14 +397,14 @@ let _ = class extends ht(z`
379
397
  const t = { "block left-3 z-50": this.sidebarMode === "overlay", hidden: this.sidebarMode === "push" }, e = { "block z-50": !0, "grid gap-2 items-center": !0, "grid-cols-[auto_1fr]": this.sidebarMode === "overlay" && this.toggler, "grid-cols-1": !(this.sidebarMode === "overlay" && this.toggler) };
380
398
  return c`
381
399
  <div class=${this.classMap(e)}>
382
- ${Y(this.sidebarMode === "overlay" && this.toggler, () => c`<slot name="toggler">
400
+ ${L(this.sidebarMode === "overlay" && this.toggler, () => c`<slot name="toggler">
383
401
  <div class="${this.classMap(t)}">
384
402
  <schmancy-icon-button
385
403
  @click=${() => {
386
- this.dispatchEvent(new CustomEvent(m.NavDrawer_toggle, { detail: { state: this.sidebarOpen === "open" ? "close" : "open" }, bubbles: !0, composed: !0 }));
404
+ this.dispatchEvent(new CustomEvent(p.NavDrawer_toggle, { detail: { state: this.sidebarOpen === "open" ? "close" : "open" }, bubbles: !0, composed: !0 }));
387
405
  }}
388
406
  >
389
- ${Y(this.sidebarOpen === "close", () => c`menu`, () => c`menu_open`)}
407
+ ${L(this.sidebarOpen === "close", () => c`menu`, () => c`menu_open`)}
390
408
  </schmancy-icon-button>
391
409
  </div>
392
410
  </slot>`)}
@@ -396,9 +414,9 @@ let _ = class extends ht(z`
396
414
  `;
397
415
  }
398
416
  };
399
- X([h({ context: tt, subscribe: !0 }), d()], _.prototype, "sidebarMode", 2), X([h({ context: et, subscribe: !0 }), d()], _.prototype, "sidebarOpen", 2), X([l({ type: Boolean })], _.prototype, "toggler", 2), _ = X([y("schmancy-nav-drawer-appbar")], _);
400
- var Rt = Object.getOwnPropertyDescriptor;
401
- let nt = class extends E(z`
417
+ X([h({ context: tt, subscribe: !0 }), d()], N.prototype, "sidebarMode", 2), X([h({ context: et, subscribe: !0 }), d()], N.prototype, "sidebarOpen", 2), X([l({ type: Boolean })], N.prototype, "toggler", 2), N = X([y("schmancy-nav-drawer-appbar")], N);
418
+ var qt = Object.getOwnPropertyDescriptor;
419
+ let nt = class extends z(O`
402
420
  :host {
403
421
  display: block;
404
422
  position: relative;
@@ -407,7 +425,7 @@ let nt = class extends E(z`
407
425
  }
408
426
  `) {
409
427
  connectedCallback() {
410
- super.connectedCallback(), f(this, "scroll").pipe(p(this.disconnecting)).subscribe((t) => {
428
+ super.connectedCallback(), f(this, "scroll").pipe(m(this.disconnecting)).subscribe((t) => {
411
429
  this.parentElement.dispatchEvent(new CustomEvent("scroll", { detail: t, bubbles: !0, composed: !0 }));
412
430
  });
413
431
  }
@@ -415,15 +433,15 @@ let nt = class extends E(z`
415
433
  return c` <slot></slot> `;
416
434
  }
417
435
  };
418
- nt = ((t, e, r, o) => {
419
- for (var n, s = o > 1 ? void 0 : o ? Rt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = n(s) || s);
436
+ nt = ((t, e, i, r) => {
437
+ for (var n, s = r > 1 ? void 0 : r ? qt(e, i) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = n(s) || s);
420
438
  return s;
421
439
  })([y("schmancy-nav-drawer-content")], nt);
422
- var qt = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, I = (t, e, r, o) => {
423
- for (var n, s = o > 1 ? void 0 : o ? Bt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
424
- return o && s && qt(e, r, s), s;
440
+ var Rt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, I = (t, e, i, r) => {
441
+ for (var n, s = r > 1 ? void 0 : r ? Ut(e, i) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, i, s) : n(s)) || s);
442
+ return r && s && Rt(e, i, s), s;
425
443
  };
426
- let g = class extends E(z`
444
+ let g = class extends z(O`
427
445
  :host {
428
446
  display: flex;
429
447
  flex-grow: 1;
@@ -440,11 +458,11 @@ let g = class extends E(z`
440
458
  super(...arguments), this.fullscreen = !1, this.breakpoint = "md", this._initialized = !1;
441
459
  }
442
460
  firstUpdated() {
443
- this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""), f(window, "resize").pipe(v((t) => t.target.innerWidth), v((t) => t >= g.BREAKPOINTS[this.breakpoint]), K(), q(100), p(this.disconnecting)).subscribe((t) => {
461
+ this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""), f(window, "resize").pipe(v((t) => t.target.innerWidth), v((t) => t >= g.BREAKPOINTS[this.breakpoint]), K(), R(100), m(this.disconnecting)).subscribe((t) => {
444
462
  t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
445
- }), f(window, m.NavDrawer_toggle).pipe(O((t) => {
463
+ }), f(window, p.NavDrawer_toggle).pipe(D((t) => {
446
464
  t.stopPropagation();
447
- }), v((t) => t.detail.state), K(), p(this.disconnecting), q(10)).subscribe((t) => {
465
+ }), v((t) => t.detail.state), K(), m(this.disconnecting), R(10)).subscribe((t) => {
448
466
  this.mode === "push" && t === "close" || (this.open = t);
449
467
  });
450
468
  }
@@ -460,20 +478,20 @@ let g = class extends E(z`
460
478
  flow="col"
461
479
  justify="stretch"
462
480
  align="stretch"
463
- ${Ot()}
481
+ ${Dt()}
464
482
  >
465
483
  <slot></slot>
466
484
  </schmancy-grid>
467
485
  ` : lt;
468
486
  }
469
487
  };
470
- g.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 }, I([l({ type: Boolean })], g.prototype, "fullscreen", 2), I([l({ type: String, attribute: "breakpoint" })], g.prototype, "breakpoint", 2), I([M({ context: tt }), d()], g.prototype, "mode", 2), I([M({ context: et }), l()], g.prototype, "open", 2), I([d()], g.prototype, "_initialized", 2), g = I([y("schmancy-nav-drawer")], g);
471
- var Ut = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, W = (t, e, r, o) => {
472
- for (var n, s = o > 1 ? void 0 : o ? Ft(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
473
- return o && s && Ut(e, r, s), s;
488
+ g.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 }, I([l({ type: Boolean })], g.prototype, "fullscreen", 2), I([l({ type: String, attribute: "breakpoint" })], g.prototype, "breakpoint", 2), I([W({ context: tt }), d()], g.prototype, "mode", 2), I([W({ context: et }), l()], g.prototype, "open", 2), I([d()], g.prototype, "_initialized", 2), g = I([y("schmancy-nav-drawer")], g);
489
+ var Bt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, M = (t, e, i, r) => {
490
+ for (var n, s = r > 1 ? void 0 : r ? Ft(e, i) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, i, s) : n(s)) || s);
491
+ return r && s && Bt(e, i, s), s;
474
492
  };
475
- const A = "cubic-bezier(0.5, 0.01, 0.25, 1)";
476
- let S = class extends E() {
493
+ const H = "cubic-bezier(0.5, 0.01, 0.25, 1)";
494
+ let S = class extends z() {
477
495
  constructor() {
478
496
  super(...arguments), this.width = "320px", this._initialized = !1;
479
497
  }
@@ -484,25 +502,25 @@ let S = class extends E() {
484
502
  this._initialized && (t.has("drawerState") || t.has("mode")) && (this.mode === "overlay" ? this.drawerState === "open" ? this.nav.style.transform !== "translateX(0)" && (this.openOverlay(), this.showNavDrawer()) : this.drawerState === "close" && this.nav.style.transform !== "translateX(-100%)" && (this.hideNavDrawer(), this.closeOverlay()) : this.mode === "push" && (this.nav.style.transform !== "translateX(0)" && this.showNavDrawer(), this.overlay.style.display !== "none" && this.closeOverlay()));
485
503
  }
486
504
  openOverlay() {
487
- this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: 0.4 }], { duration: 200, easing: A, fill: "forwards" });
505
+ this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: 0.4 }], { duration: 200, easing: H, fill: "forwards" });
488
506
  }
489
507
  closeOverlay() {
490
- this.overlay.animate([{ opacity: 0.4 }, { opacity: 0 }], { duration: 150, easing: A, fill: "forwards" }).onfinish = () => {
508
+ this.overlay.animate([{ opacity: 0.4 }, { opacity: 0 }], { duration: 150, easing: H, fill: "forwards" }).onfinish = () => {
491
509
  this.overlay.style.display = "none";
492
510
  };
493
511
  }
494
512
  showNavDrawer() {
495
- this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], { duration: 200, easing: A, fill: "forwards" }).onfinish = () => {
513
+ this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], { duration: 200, easing: H, fill: "forwards" }).onfinish = () => {
496
514
  this.nav.style.transform = "translateX(0)";
497
515
  };
498
516
  }
499
517
  hideNavDrawer() {
500
- this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], { duration: 200, easing: A, fill: "forwards" }).onfinish = () => {
518
+ this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], { duration: 200, easing: H, fill: "forwards" }).onfinish = () => {
501
519
  this.nav.style.transform = "translateX(-100%)";
502
520
  };
503
521
  }
504
522
  handleOverlayClick() {
505
- window.dispatchEvent(new CustomEvent(m.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
523
+ window.dispatchEvent(new CustomEvent(p.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
506
524
  }
507
525
  render() {
508
526
  const t = { "p-[16px] max-w-[360px] w-fit h-full overflow-auto": !0, block: this.mode === "push", "fixed inset-0 z-50": this.mode === "overlay" }, e = { width: this.width };
@@ -510,42 +528,42 @@ let S = class extends E() {
510
528
  <nav
511
529
  style=${this.styleMap(e)}
512
530
  class="${this.classMap({ ...t })}"
513
- ${U({ bgColor: i.sys.color.surface.container })}
531
+ ${B({ bgColor: o.sys.color.surface.container })}
514
532
  >
515
533
  <slot></slot>
516
534
  </nav>
517
535
  <div
518
536
  id="overlay"
519
- ${U({ bgColor: i.sys.color.scrim })}
537
+ ${B({ bgColor: o.sys.color.scrim })}
520
538
  @click=${this.handleOverlayClick}
521
539
  class="${this.classMap({ "fixed inset-0 z-49 hidden": !0 })}"
522
540
  ></div>
523
541
  `;
524
542
  }
525
543
  };
526
- W([h({ context: tt, subscribe: !0 }), d()], S.prototype, "mode", 2), W([h({ context: et, subscribe: !0 }), d()], S.prototype, "drawerState", 2), W([F("#overlay")], S.prototype, "overlay", 2), W([F("nav")], S.prototype, "nav", 2), W([l({ type: String })], S.prototype, "width", 2), W([d()], S.prototype, "_initialized", 2), S = W([y("schmancy-nav-drawer-navbar")], S);
527
- const yt = "whereAreYouRicky", ut = "hereMorty", H = new class {
544
+ M([h({ context: tt, subscribe: !0 }), d()], S.prototype, "mode", 2), M([h({ context: et, subscribe: !0 }), d()], S.prototype, "drawerState", 2), M([F("#overlay")], S.prototype, "overlay", 2), M([F("nav")], S.prototype, "nav", 2), M([l({ type: String })], S.prototype, "width", 2), M([d()], S.prototype, "_initialized", 2), S = M([y("schmancy-nav-drawer-navbar")], S);
545
+ const yt = "whereAreYouRicky", ut = "hereMorty", A = new class {
528
546
  constructor() {
529
- this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new G(), this.find = (t) => rt([f(window, ut).pipe(dt((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), v((e) => e.detail.component), ft(1)), B(t).pipe(O(() => {
547
+ this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new V(), this.find = (t) => it([f(window, ut).pipe(dt((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), v((e) => e.detail.component), ft(1)), U(t).pipe(D(() => {
530
548
  window.dispatchEvent(new CustomEvent(yt, { detail: { id: t.id, callerID: t.uuid } }));
531
549
  }))]).pipe(v(([e]) => e), vt(0)), this.flip = (t) => {
532
- const { from: e, to: r } = t, o = r.element.style.zIndex;
533
- r.element.style.transformOrigin = "top left", r.element.style.setProperty("visibility", "visible"), r.element.style.zIndex = "1000";
534
- const n = [{ transform: `translate(${e.rect.left - r.rect.left}px, ${e.rect.top - r.rect.top}px) scale(${e.rect.width / r.rect.width}, ${e.rect.height / r.rect.height})` }, { transform: "translate(0, 0) scale(1, 1)" }];
535
- r.element.animate(n, { duration: 250, delay: 10, easing: "cubic-bezier(0.455, 0.03, 0.515, 0.955)" }).onfinish = () => {
536
- r.element.style.zIndex = o, r.element.style.transformOrigin = "";
550
+ const { from: e, to: i } = t, r = i.element.style.zIndex;
551
+ i.element.style.transformOrigin = "top left", i.element.style.setProperty("visibility", "visible"), i.element.style.zIndex = "1000";
552
+ const n = [{ transform: `translate(${e.rect.left - i.rect.left}px, ${e.rect.top - i.rect.top}px) scale(${e.rect.width / i.rect.width}, ${e.rect.height / i.rect.height})` }, { transform: "translate(0, 0) scale(1, 1)" }];
553
+ i.element.animate(n, { duration: 250, delay: 10, easing: "cubic-bezier(0.455, 0.03, 0.515, 0.955)" }).onfinish = () => {
554
+ i.element.style.zIndex = r, i.element.style.transformOrigin = "";
537
555
  };
538
- }, this.flipRequests.pipe(wt(1), v((t) => t.map(({ from: e, to: r, host: o }, n) => ({ from: e, to: r, host: o, i: n }))), xt((t) => rt(t.map((e) => B(this.flip(e)))))).subscribe();
556
+ }, this.flipRequests.pipe(wt(1), v((t) => t.map(({ from: e, to: i, host: r }, n) => ({ from: e, to: i, host: r, i: n }))), xt((t) => it(t.map((e) => U(this.flip(e)))))).subscribe();
539
557
  }
540
558
  }();
541
559
  function at(t) {
542
- return $t(50).pipe(zt(() => t.getBoundingClientRect()), Et((e, r) => e.width === r.width && e.height === r.height && e.top === r.top && e.right === r.right && e.bottom === r.bottom && e.left === r.left), kt(1));
560
+ return $t(50).pipe(Ot(() => t.getBoundingClientRect()), zt((e, i) => e.width === i.width && e.height === i.height && e.top === i.top && e.right === i.right && e.bottom === i.bottom && e.left === i.left), kt(1));
543
561
  }
544
- var Kt = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor, R = (t, e, r, o) => {
545
- for (var n, s = o > 1 ? void 0 : o ? Yt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
546
- return o && s && Kt(e, r, s), s;
562
+ var Kt = Object.defineProperty, Lt = Object.getOwnPropertyDescriptor, q = (t, e, i, r) => {
563
+ for (var n, s = r > 1 ? void 0 : r ? Lt(e, i) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, i, s) : n(s)) || s);
564
+ return r && s && Kt(e, i, s), s;
547
565
  };
548
- let T = class extends E(z``) {
566
+ let _ = class extends z(O``) {
549
567
  constructor() {
550
568
  super(...arguments), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
551
569
  }
@@ -554,20 +572,20 @@ let T = class extends E(z``) {
554
572
  }
555
573
  connectedCallback() {
556
574
  if (this.id === void 0) throw new Error("id is required");
557
- super.connectedCallback(), J(f(window, St).pipe(O({ next: () => {
558
- this.dispatchEvent(new CustomEvent(Dt, { detail: { component: this }, bubbles: !0, composed: !0 }));
559
- } })), f(window, yt).pipe(O({ next: (t) => {
575
+ super.connectedCallback(), G(f(window, St).pipe(D({ next: () => {
576
+ this.dispatchEvent(new CustomEvent(Et, { detail: { component: this }, bubbles: !0, composed: !0 }));
577
+ } })), f(window, yt).pipe(D({ next: (t) => {
560
578
  t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(ut, { detail: { component: this }, bubbles: !0, composed: !0 }));
561
- } }))).pipe(p(this.disconnecting)).subscribe();
579
+ } }))).pipe(m(this.disconnecting)).subscribe();
562
580
  }
563
581
  async firstUpdated() {
564
- B(H.activeTeleportations.get(this.id)).pipe(dt((t) => !!t), p(this.disconnecting), Ct()).subscribe({ next: (t) => {
565
- this.style.setProperty("visibility", "hidden"), at(this).pipe(p(this.disconnecting)).subscribe({ next: (e) => {
566
- H.activeTeleportations.set(this.id, e), H.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
582
+ U(A.activeTeleportations.get(this.id)).pipe(dt((t) => !!t), m(this.disconnecting), Ct()).subscribe({ next: (t) => {
583
+ this.style.setProperty("visibility", "hidden"), at(this).pipe(m(this.disconnecting)).subscribe({ next: (e) => {
584
+ A.activeTeleportations.set(this.id, e), A.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
567
585
  } });
568
586
  }, error: () => {
569
- this.style.setProperty("visibility", "visible"), at(this).pipe(p(this.disconnecting)).subscribe({ next: (t) => {
570
- H.activeTeleportations.set(this.id, t);
587
+ this.style.setProperty("visibility", "visible"), at(this).pipe(m(this.disconnecting)).subscribe({ next: (t) => {
588
+ A.activeTeleportations.set(this.id, t);
571
589
  } });
572
590
  }, complete: () => {
573
591
  } });
@@ -576,31 +594,31 @@ let T = class extends E(z``) {
576
594
  return c`<slot></slot>`;
577
595
  }
578
596
  };
579
- R([l({ type: Number, reflect: !0 })], T.prototype, "uuid", 2), R([l({ type: String })], T.prototype, "id", 2), R([l({ type: Number })], T.prototype, "delay", 2), T = R([y("schmancy-teleport")], T);
580
- var Vt = Object.defineProperty, Gt = Object.getOwnPropertyDescriptor, x = (t, e, r, o) => {
581
- for (var n, s = o > 1 ? void 0 : o ? Gt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
582
- return o && s && Vt(e, r, s), s;
597
+ q([l({ type: Number, reflect: !0 })], _.prototype, "uuid", 2), q([l({ type: String })], _.prototype, "id", 2), q([l({ type: Number })], _.prototype, "delay", 2), _ = q([y("schmancy-teleport")], _);
598
+ var Yt = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, x = (t, e, i, r) => {
599
+ for (var n, s = r > 1 ? void 0 : r ? Vt(e, i) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, i, s) : n(s)) || s);
600
+ return r && s && Yt(e, i, s), s;
583
601
  };
584
- let b = class extends E() {
602
+ let b = class extends z() {
585
603
  constructor() {
586
604
  super(...arguments), this.initials = "", this.src = "", this.icon = "", this.size = "md", this.color = "primary", this.shape = "circle", this.bordered = !1, this.status = "none";
587
605
  }
588
606
  render() {
589
607
  let t;
590
608
  t = this.src ? c`<img class="w-full h-full object-cover" src="${this.src}" alt="Avatar" />` : this.initials ? c`<span class="text-center font-medium">${this.initials.substring(0, 2).toUpperCase()}</span>` : this.icon ? c`<schmancy-icon>${this.icon}</schmancy-icon>` : c`<schmancy-icon>person</schmancy-icon>`;
591
- const e = { "relative flex items-center justify-center overflow-hidden": !0, [{ xs: "w-6 h-6 text-xs", sm: "w-8 h-8 text-sm", md: "w-10 h-10 text-base", lg: "w-12 h-12 text-lg", xl: "w-16 h-16 text-xl" }[this.size]]: !0, [{ circle: "rounded-full", square: "rounded-md" }[this.shape]]: !0, "border-2 border-surface-container": this.bordered }, r = this.getColorAttributes();
609
+ const e = { "relative flex items-center justify-center overflow-hidden": !0, [{ xs: "w-6 h-6 text-xs", sm: "w-8 h-8 text-sm", md: "w-10 h-10 text-base", lg: "w-12 h-12 text-lg", xl: "w-16 h-16 text-xl" }[this.size]]: !0, [{ circle: "rounded-full", square: "rounded-md" }[this.shape]]: !0, "border-2 border-surface-container": this.bordered }, i = this.getColorAttributes();
592
610
  return c`
593
- <div class="${this.classMap(e)}" ${r}>
611
+ <div class="${this.classMap(e)}" ${i}>
594
612
  ${t} ${this.status !== "none" ? this.renderStatusIndicator() : ""}
595
613
  </div>
596
614
  `;
597
615
  }
598
616
  getColorAttributes() {
599
- const t = { primary: { bgColor: i.sys.color.primary.container, color: i.sys.color.primary.onContainer }, secondary: { bgColor: i.sys.color.secondary.container, color: i.sys.color.secondary.onContainer }, tertiary: { bgColor: i.sys.color.tertiary.container, color: i.sys.color.tertiary.onContainer }, success: { bgColor: i.sys.color.success.container, color: i.sys.color.success.onContainer }, error: { bgColor: i.sys.color.error.container, color: i.sys.color.error.onContainer }, neutral: { bgColor: i.sys.color.surface.container, color: i.sys.color.surface.on } };
600
- return U(t[this.color]);
617
+ const t = { primary: { bgColor: o.sys.color.primary.container, color: o.sys.color.primary.onContainer }, secondary: { bgColor: o.sys.color.secondary.container, color: o.sys.color.secondary.onContainer }, tertiary: { bgColor: o.sys.color.tertiary.container, color: o.sys.color.tertiary.onContainer }, success: { bgColor: o.sys.color.success.container, color: o.sys.color.success.onContainer }, error: { bgColor: o.sys.color.error.container, color: o.sys.color.error.onContainer }, neutral: { bgColor: o.sys.color.surface.container, color: o.sys.color.surface.on } };
618
+ return B(t[this.color]);
601
619
  }
602
620
  renderStatusIndicator() {
603
- const t = { online: i.sys.color.success.default, offline: i.sys.color.surface.onVariant, busy: i.sys.color.error.default, away: i.sys.color.tertiary.default }, e = { "absolute bottom-0 right-0 rounded-full border-2 border-surface-default": !0, [{ xs: "w-1.5 h-1.5", sm: "w-2 h-2", md: "w-2.5 h-2.5", lg: "w-3 h-3", xl: "w-4 h-4" }[this.size]]: !0 };
621
+ const t = { online: o.sys.color.success.default, offline: o.sys.color.surface.onVariant, busy: o.sys.color.error.default, away: o.sys.color.tertiary.default }, e = { "absolute bottom-0 right-0 rounded-full border-2 border-surface-default": !0, [{ xs: "w-1.5 h-1.5", sm: "w-2 h-2", md: "w-2.5 h-2.5", lg: "w-3 h-3", xl: "w-4 h-4" }[this.size]]: !0 };
604
622
  return c`
605
623
  <div class="${this.classMap(e)}" style="background-color: ${t[this.status]};"></div>
606
624
  `;
@@ -613,7 +631,7 @@ export {
613
631
  $ as S,
614
632
  yt as W,
615
633
  ot as a,
616
- L as b,
634
+ J as b,
617
635
  pt as c,
618
636
  mt as d,
619
637
  Q as e,
@@ -622,15 +640,15 @@ export {
622
640
  P as h,
623
641
  u as i,
624
642
  Xt as j,
625
- _ as k,
643
+ N as k,
626
644
  nt as l,
627
645
  tt as m,
628
646
  et as n,
629
647
  g as o,
630
648
  S as p,
631
- T as q,
649
+ _ as q,
632
650
  b as r,
633
651
  os as s,
634
- H as t
652
+ A as t
635
653
  };
636
- //# sourceMappingURL=avatar-nxVn--Oo.js.map
654
+ //# sourceMappingURL=avatar-CokwBO2O.js.map