@mhmo91/schmancy 0.4.2 → 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 (276) hide show
  1. package/dist/{animated-text-C_ISIdDY.cjs → animated-text-5NJFGbRC.cjs} +2 -2
  2. package/dist/{animated-text-C_ISIdDY.cjs.map → animated-text-5NJFGbRC.cjs.map} +1 -1
  3. package/dist/{animated-text-DE4jCzlq.js → animated-text-C63wwL5H.js} +3 -3
  4. package/dist/{animated-text-DE4jCzlq.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-Bvd_wwUW.cjs → area.component-B78lu4GT.cjs} +2 -2
  9. package/dist/{area.component-Bvd_wwUW.cjs.map → area.component-B78lu4GT.cjs.map} +1 -1
  10. package/dist/{area.component-DQKc0WXK.js → area.component-mDv3w12S.js} +3 -3
  11. package/dist/{area.component-DQKc0WXK.js.map → area.component-mDv3w12S.js.map} +1 -1
  12. package/dist/area.js +1 -1
  13. package/dist/{autocomplete-ytqc1f_C.js → autocomplete-BLtChct9.js} +3 -3
  14. package/dist/{autocomplete-ytqc1f_C.js.map → autocomplete-BLtChct9.js.map} +1 -1
  15. package/dist/{autocomplete-D_XhT92l.cjs → autocomplete-JjaB0OPh.cjs} +2 -2
  16. package/dist/{autocomplete-D_XhT92l.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-m6kOcWq2.js → avatar-WaHuf8DW.js} +203 -320
  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-BeW5NYdz.js → boat-BTnwHy3K.js} +2 -2
  26. package/dist/{boat-BeW5NYdz.js.map → boat-BTnwHy3K.js.map} +1 -1
  27. package/dist/{boat-DigCNXsd.cjs → boat-RjFQ6YHH.cjs} +2 -2
  28. package/dist/{boat-DigCNXsd.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-CFqvhybv.cjs → checkbox-BdCbMFh6.cjs} +2 -2
  38. package/dist/{checkbox-CFqvhybv.cjs.map → checkbox-BdCbMFh6.cjs.map} +1 -1
  39. package/dist/{checkbox-DSEvvPj1.js → checkbox-C6B9Iii2.js} +6 -6
  40. package/dist/{checkbox-DSEvvPj1.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-DCKLuDxP.js → chips-CLKkNCVv.js} +3 -3
  44. package/dist/{chips-DCKLuDxP.js.map → chips-CLKkNCVv.js.map} +1 -1
  45. package/dist/{chips-MCF53PoG.cjs → chips-eAdPw08P.cjs} +2 -2
  46. package/dist/{chips-MCF53PoG.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-CKlT4zjF.js → circular-progress-C246y_3U.js} +3 -3
  50. package/dist/{circular-progress-CKlT4zjF.js.map → circular-progress-C246y_3U.js.map} +1 -1
  51. package/dist/{circular-progress-CF0ow_gn.cjs → circular-progress-E9riM09J.cjs} +2 -2
  52. package/dist/{circular-progress-CF0ow_gn.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-Cj_qRKC9.cjs → code-preview-Cw3eINAz.cjs} +2 -2
  58. package/dist/{code-preview-Cj_qRKC9.cjs.map → code-preview-Cw3eINAz.cjs.map} +1 -1
  59. package/dist/{code-preview-CuDOLS91.js → code-preview-CxDOJhpM.js} +2 -2
  60. package/dist/{code-preview-CuDOLS91.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/content-drawer.cjs +1 -1
  64. package/dist/content-drawer.js +1 -1
  65. package/dist/date-range-CYMv_xG-.cjs +121 -0
  66. package/dist/date-range-CYMv_xG-.cjs.map +1 -0
  67. package/dist/{date-range-CmeAQ5QS.js → date-range-DStUXYx-.js} +230 -270
  68. package/dist/date-range-DStUXYx-.js.map +1 -0
  69. package/dist/date-range.cjs +1 -1
  70. package/dist/date-range.js +1 -1
  71. package/dist/{delay-pKHFTza9.js → delay-1MUDagyy.js} +2 -2
  72. package/dist/{delay-pKHFTza9.js.map → delay-1MUDagyy.js.map} +1 -1
  73. package/dist/{delay-40MKpcZU.cjs → delay-DkQ3ZZuE.cjs} +2 -2
  74. package/dist/{delay-40MKpcZU.cjs.map → delay-DkQ3ZZuE.cjs.map} +1 -1
  75. package/dist/delay.cjs +1 -1
  76. package/dist/delay.js +1 -1
  77. package/dist/{dialog-content-B_fVl8nu.js → dialog-content-CXBx9Bmp.js} +3 -3
  78. package/dist/{dialog-content-B_fVl8nu.js.map → dialog-content-CXBx9Bmp.js.map} +1 -1
  79. package/dist/{dialog-content-CkjibvSc.cjs → dialog-content-CjgsxN8I.cjs} +2 -2
  80. package/dist/{dialog-content-CkjibvSc.cjs.map → dialog-content-CjgsxN8I.cjs.map} +1 -1
  81. package/dist/dialog.cjs +1 -1
  82. package/dist/dialog.js +1 -1
  83. package/dist/{divider-njFvOEz7.js → divider-GhXZhIur.js} +3 -3
  84. package/dist/{divider-njFvOEz7.js.map → divider-GhXZhIur.js.map} +1 -1
  85. package/dist/{divider-BDgmQ4VQ.cjs → divider-OSlBVpO-.cjs} +2 -2
  86. package/dist/{divider-BDgmQ4VQ.cjs.map → divider-OSlBVpO-.cjs.map} +1 -1
  87. package/dist/divider.cjs +1 -1
  88. package/dist/divider.js +1 -1
  89. package/dist/{dropdown-content-C4o6Y70E.js → dropdown-content-BcGSsDWz.js} +3 -3
  90. package/dist/{dropdown-content-C4o6Y70E.js.map → dropdown-content-BcGSsDWz.js.map} +1 -1
  91. package/dist/{dropdown-content-CwEBCQTd.cjs → dropdown-content-Cd1O_kVO.cjs} +2 -2
  92. package/dist/{dropdown-content-CwEBCQTd.cjs.map → dropdown-content-Cd1O_kVO.cjs.map} +1 -1
  93. package/dist/dropdown.cjs +1 -1
  94. package/dist/dropdown.js +1 -1
  95. package/dist/extra.cjs +1 -1
  96. package/dist/extra.js +1 -1
  97. package/dist/{flex-CbKzMNEV.js → flex-BftnODFE.js} +2 -2
  98. package/dist/{flex-CbKzMNEV.js.map → flex-BftnODFE.js.map} +1 -1
  99. package/dist/{flex-_h7Zh750.cjs → flex-DyHrvDQU.cjs} +2 -2
  100. package/dist/{flex-_h7Zh750.cjs.map → flex-DyHrvDQU.cjs.map} +1 -1
  101. package/dist/{form-eXTuXutS.js → form-2QZDF5pF.js} +2 -2
  102. package/dist/{form-eXTuXutS.js.map → form-2QZDF5pF.js.map} +1 -1
  103. package/dist/{form-gg5B6Dla.cjs → form-B0stbhfQ.cjs} +2 -2
  104. package/dist/{form-gg5B6Dla.cjs.map → form-B0stbhfQ.cjs.map} +1 -1
  105. package/dist/form.cjs +1 -1
  106. package/dist/form.js +1 -1
  107. package/dist/{icon-as6C4b0_.js → icon-DWdq9YQM.js} +2 -2
  108. package/dist/{icon-as6C4b0_.js.map → icon-DWdq9YQM.js.map} +1 -1
  109. package/dist/{icon-lc9iKCzt.cjs → icon-JitLog9X.cjs} +2 -2
  110. package/dist/{icon-lc9iKCzt.cjs.map → icon-JitLog9X.cjs.map} +1 -1
  111. package/dist/{icon-button-eM7fkcaa.js → icon-button-BMkYjAl1.js} +3 -3
  112. package/dist/{icon-button-eM7fkcaa.js.map → icon-button-BMkYjAl1.js.map} +1 -1
  113. package/dist/{icon-button-D5te6MSD.cjs → icon-button-em1NSoxk.cjs} +2 -2
  114. package/dist/{icon-button-D5te6MSD.cjs.map → icon-button-em1NSoxk.cjs.map} +1 -1
  115. package/dist/icons.cjs +1 -1
  116. package/dist/icons.js +1 -1
  117. package/dist/index.cjs +1 -1
  118. package/dist/index.js +167 -162
  119. package/dist/index.js.map +1 -1
  120. package/dist/{input-C1JcUy_t.js → input-6XNB7MZP.js} +2 -2
  121. package/dist/{input-C1JcUy_t.js.map → input-6XNB7MZP.js.map} +1 -1
  122. package/dist/{input-KfFWcQk8.cjs → input-BlpSg5js.cjs} +2 -2
  123. package/dist/{input-KfFWcQk8.cjs.map → input-BlpSg5js.cjs.map} +1 -1
  124. package/dist/input.cjs +1 -1
  125. package/dist/input.js +1 -1
  126. package/dist/layout.cjs +1 -1
  127. package/dist/layout.js +1 -1
  128. package/dist/{list-Cn2oKOHN.js → list-BxLFi3dU.js} +2 -2
  129. package/dist/{list-Cn2oKOHN.js.map → list-BxLFi3dU.js.map} +1 -1
  130. package/dist/{list-CZlCptFt.cjs → list-CmbK_JyT.cjs} +2 -2
  131. package/dist/{list-CZlCptFt.cjs.map → list-CmbK_JyT.cjs.map} +1 -1
  132. package/dist/list.cjs +1 -1
  133. package/dist/list.js +1 -1
  134. package/dist/{litElement.mixin-CUhEpTgZ.js → litElement.mixin-BC40ZfGG.js} +2 -2
  135. package/dist/{litElement.mixin-CUhEpTgZ.js.map → litElement.mixin-BC40ZfGG.js.map} +1 -1
  136. package/dist/{litElement.mixin-BFfWKABY.cjs → litElement.mixin-BDMVhBpu.cjs} +2 -2
  137. package/dist/{litElement.mixin-BFfWKABY.cjs.map → litElement.mixin-BDMVhBpu.cjs.map} +1 -1
  138. package/dist/media-DR_teeoc.js +185 -0
  139. package/dist/media-DR_teeoc.js.map +1 -0
  140. package/dist/media-DSVZ83aB.cjs +128 -0
  141. package/dist/media-DSVZ83aB.cjs.map +1 -0
  142. package/dist/{menu--0VMi_rl.js → menu-CwKx1goz.js} +3 -3
  143. package/dist/{menu--0VMi_rl.js.map → menu-CwKx1goz.js.map} +1 -1
  144. package/dist/{menu-ChUQMNtl.cjs → menu-DRwYeROH.cjs} +2 -2
  145. package/dist/{menu-ChUQMNtl.cjs.map → menu-DRwYeROH.cjs.map} +1 -1
  146. package/dist/menu.cjs +1 -1
  147. package/dist/menu.js +1 -1
  148. package/dist/nav-drawer.cjs +1 -1
  149. package/dist/nav-drawer.js +1 -1
  150. package/dist/{notification-service-Bick5tKQ.cjs → notification-service-C6Bv3f71.cjs} +2 -2
  151. package/dist/{notification-service-Bick5tKQ.cjs.map → notification-service-C6Bv3f71.cjs.map} +1 -1
  152. package/dist/{notification-service-BSp9bz1i.js → notification-service-ufUrNaq3.js} +3 -3
  153. package/dist/{notification-service-BSp9bz1i.js.map → notification-service-ufUrNaq3.js.map} +1 -1
  154. package/dist/notification.cjs +1 -1
  155. package/dist/notification.js +1 -1
  156. package/dist/{option-BBH03Xsg.js → option-CayvURH3.js} +2 -2
  157. package/dist/{option-BBH03Xsg.js.map → option-CayvURH3.js.map} +1 -1
  158. package/dist/{option-C_1a_vzI.cjs → option-Dt7pNR-a.cjs} +2 -2
  159. package/dist/{option-C_1a_vzI.cjs.map → option-Dt7pNR-a.cjs.map} +1 -1
  160. package/dist/option.cjs +1 -1
  161. package/dist/option.js +1 -1
  162. package/dist/{payment-card-form-DgkNJsE1.js → payment-card-form-DPf41TU3.js} +3 -3
  163. package/dist/{payment-card-form-DgkNJsE1.js.map → payment-card-form-DPf41TU3.js.map} +1 -1
  164. package/dist/{payment-card-form-DDhg71fA.cjs → payment-card-form-xKlOCP9C.cjs} +2 -2
  165. package/dist/{payment-card-form-DDhg71fA.cjs.map → payment-card-form-xKlOCP9C.cjs.map} +1 -1
  166. package/dist/{radio-button-CCsCtUkU.cjs → radio-button-BWJLsF3d.cjs} +2 -2
  167. package/dist/{radio-button-CCsCtUkU.cjs.map → radio-button-BWJLsF3d.cjs.map} +1 -1
  168. package/dist/{radio-button-Cuo-ybx9.js → radio-button-DouFDjcL.js} +2 -2
  169. package/dist/{radio-button-Cuo-ybx9.js.map → radio-button-DouFDjcL.js.map} +1 -1
  170. package/dist/radio-group.cjs +1 -1
  171. package/dist/radio-group.js +1 -1
  172. package/dist/{schmancy-steps-container-CqsMA2he.cjs → schmancy-steps-container-3-Bd627o.cjs} +2 -2
  173. package/dist/{schmancy-steps-container-CqsMA2he.cjs.map → schmancy-steps-container-3-Bd627o.cjs.map} +1 -1
  174. package/dist/{schmancy-steps-container-CmGuY9sB.js → schmancy-steps-container-CWBj3izf.js} +2 -2
  175. package/dist/{schmancy-steps-container-CmGuY9sB.js.map → schmancy-steps-container-CWBj3izf.js.map} +1 -1
  176. package/dist/{select-ChxNr4a9.js → select-BjZUTKHm.js} +3 -3
  177. package/dist/{select-ChxNr4a9.js.map → select-BjZUTKHm.js.map} +1 -1
  178. package/dist/{select-fZ2PlQ_3.cjs → select-Bv_TZZ-v.cjs} +2 -2
  179. package/dist/{select-fZ2PlQ_3.cjs.map → select-Bv_TZZ-v.cjs.map} +1 -1
  180. package/dist/select.cjs +1 -1
  181. package/dist/select.js +1 -1
  182. package/dist/{sheet-2FAz4r9B.js → sheet-D8SmGguy.js} +4 -4
  183. package/dist/{sheet-2FAz4r9B.js.map → sheet-D8SmGguy.js.map} +1 -1
  184. package/dist/{sheet-CaUlNTdn.cjs → sheet-tx2jWxVd.cjs} +2 -2
  185. package/dist/{sheet-CaUlNTdn.cjs.map → sheet-tx2jWxVd.cjs.map} +1 -1
  186. package/dist/sheet.cjs +1 -1
  187. package/dist/sheet.js +2 -2
  188. package/dist/{slider-CHlXZvPb.cjs → slider-Bo-4a-Ss.cjs} +2 -2
  189. package/dist/{slider-CHlXZvPb.cjs.map → slider-Bo-4a-Ss.cjs.map} +1 -1
  190. package/dist/{slider-DU3_sk4c.js → slider-ytiEVvLJ.js} +3 -3
  191. package/dist/{slider-DU3_sk4c.js.map → slider-ytiEVvLJ.js.map} +1 -1
  192. package/dist/slider.cjs +1 -1
  193. package/dist/slider.js +1 -1
  194. package/dist/{spinner-RvzzGIF-.js → spinner-BuH3Wf-1.js} +3 -3
  195. package/dist/{spinner-RvzzGIF-.js.map → spinner-BuH3Wf-1.js.map} +1 -1
  196. package/dist/{spinner-D064VAQ0.cjs → spinner-RIkASBZt.cjs} +2 -2
  197. package/dist/{spinner-D064VAQ0.cjs.map → spinner-RIkASBZt.cjs.map} +1 -1
  198. package/dist/steps.cjs +1 -1
  199. package/dist/steps.js +1 -1
  200. package/dist/{surface-s7dL8dsr.js → surface-Bkj3lZLo.js} +2 -2
  201. package/dist/{surface-s7dL8dsr.js.map → surface-Bkj3lZLo.js.map} +1 -1
  202. package/dist/{surface-B3UkH65j.cjs → surface-D-2akvnF.cjs} +2 -2
  203. package/dist/{surface-B3UkH65j.cjs.map → surface-D-2akvnF.cjs.map} +1 -1
  204. package/dist/surface.cjs +1 -1
  205. package/dist/surface.js +1 -1
  206. package/dist/{table-DzYvbr4k.js → table-BNUCQw-a.js} +2 -2
  207. package/dist/{table-DzYvbr4k.js.map → table-BNUCQw-a.js.map} +1 -1
  208. package/dist/{table-BrbO5sO5.cjs → table-BpeeUiM1.cjs} +2 -2
  209. package/dist/{table-BrbO5sO5.cjs.map → table-BpeeUiM1.cjs.map} +1 -1
  210. package/dist/table.cjs +1 -1
  211. package/dist/table.js +1 -1
  212. package/dist/{tabs-compatibility-CGG-7f7V.cjs → tabs-compatibility-CIQWnzk8.cjs} +2 -2
  213. package/dist/{tabs-compatibility-CGG-7f7V.cjs.map → tabs-compatibility-CIQWnzk8.cjs.map} +1 -1
  214. package/dist/{tabs-compatibility-vhn4Kp7N.js → tabs-compatibility-c-iBrBOK.js} +7 -7
  215. package/dist/{tabs-compatibility-vhn4Kp7N.js.map → tabs-compatibility-c-iBrBOK.js.map} +1 -1
  216. package/dist/tabs.cjs +1 -1
  217. package/dist/tabs.js +1 -1
  218. package/dist/{tailwind.mixin-t3Yj_Xbu.js → tailwind.mixin-Ba46CZMW.js} +4 -4
  219. package/dist/{tailwind.mixin-t3Yj_Xbu.js.map → tailwind.mixin-Ba46CZMW.js.map} +1 -1
  220. package/dist/{tailwind.mixin-CgPd8dM4.cjs → tailwind.mixin-DJWjTKPc.cjs} +2 -2
  221. package/dist/{tailwind.mixin-CgPd8dM4.cjs.map → tailwind.mixin-DJWjTKPc.cjs.map} +1 -1
  222. package/dist/teleport.cjs +1 -1
  223. package/dist/teleport.js +1 -1
  224. package/dist/{textarea-BqzHPEaR.cjs → textarea-DL-qgeME.cjs} +2 -2
  225. package/dist/{textarea-BqzHPEaR.cjs.map → textarea-DL-qgeME.cjs.map} +1 -1
  226. package/dist/{textarea-DB4ma3Yk.js → textarea-jbhUeEzu.js} +2 -2
  227. package/dist/{textarea-DB4ma3Yk.js.map → textarea-jbhUeEzu.js.map} +1 -1
  228. package/dist/textarea.cjs +1 -1
  229. package/dist/textarea.js +1 -1
  230. package/dist/{theme-button-X1T0K-rT.cjs → theme-button-BcRuHUSa.cjs} +2 -2
  231. package/dist/{theme-button-X1T0K-rT.cjs.map → theme-button-BcRuHUSa.cjs.map} +1 -1
  232. package/dist/{theme-button-DiugvNq0.js → theme-button-CBJXLV0Z.js} +2 -2
  233. package/dist/{theme-button-DiugvNq0.js.map → theme-button-CBJXLV0Z.js.map} +1 -1
  234. package/dist/theme-button.cjs +1 -1
  235. package/dist/theme-button.js +1 -1
  236. package/dist/theme.cjs +1 -1
  237. package/dist/{theme.component-DGfwQDsP.js → theme.component-DC3WGfcn.js} +19 -19
  238. package/dist/{theme.component-DGfwQDsP.js.map → theme.component-DC3WGfcn.js.map} +1 -1
  239. package/dist/{theme.component-GbvYp0sg.cjs → theme.component-DFALHVCM.cjs} +2 -2
  240. package/dist/{theme.component-GbvYp0sg.cjs.map → theme.component-DFALHVCM.cjs.map} +1 -1
  241. package/dist/theme.js +1 -1
  242. package/dist/{timezone-pKGsUkVR.js → timezone-CDz5qI2Z.js} +3 -3
  243. package/dist/{timezone-pKGsUkVR.js.map → timezone-CDz5qI2Z.js.map} +1 -1
  244. package/dist/{timezone-Bp8z4kRR.cjs → timezone-IrGPq2tl.cjs} +2 -2
  245. package/dist/{timezone-Bp8z4kRR.cjs.map → timezone-IrGPq2tl.cjs.map} +1 -1
  246. package/dist/{tooltip-OGPdu-15.js → tooltip-BaX2Qoi8.js} +2 -2
  247. package/dist/{tooltip-OGPdu-15.js.map → tooltip-BaX2Qoi8.js.map} +1 -1
  248. package/dist/{tooltip-DO_tqLiU.cjs → tooltip-VUFi4Gjt.cjs} +2 -2
  249. package/dist/{tooltip-DO_tqLiU.cjs.map → tooltip-VUFi4Gjt.cjs.map} +1 -1
  250. package/dist/tooltip.cjs +1 -1
  251. package/dist/tooltip.js +1 -1
  252. package/dist/{tree-Cj9dq4FW.cjs → tree-Bz6GjWwf.cjs} +2 -2
  253. package/dist/{tree-Cj9dq4FW.cjs.map → tree-Bz6GjWwf.cjs.map} +1 -1
  254. package/dist/{tree-BLnyRUxk.js → tree-DGUU6cQI.js} +2 -2
  255. package/dist/{tree-BLnyRUxk.js.map → tree-DGUU6cQI.js.map} +1 -1
  256. package/dist/tree.cjs +1 -1
  257. package/dist/tree.js +1 -1
  258. package/dist/{typewriter-CLh00Uvc.cjs → typewriter-9XKXLbKA.cjs} +2 -2
  259. package/dist/{typewriter-CLh00Uvc.cjs.map → typewriter-9XKXLbKA.cjs.map} +1 -1
  260. package/dist/{typewriter-P4fs9-rU.js → typewriter-BdQEQLOW.js} +4 -4
  261. package/dist/{typewriter-P4fs9-rU.js.map → typewriter-BdQEQLOW.js.map} +1 -1
  262. package/dist/typewriter.cjs +1 -1
  263. package/dist/typewriter.js +1 -1
  264. package/dist/{typography-BouLjmvn.js → typography-B1KbZvto.js} +2 -2
  265. package/dist/{typography-BouLjmvn.js.map → typography-B1KbZvto.js.map} +1 -1
  266. package/dist/{typography-BOogKO97.cjs → typography-RGPsRMJw.cjs} +2 -2
  267. package/dist/{typography-BOogKO97.cjs.map → typography-RGPsRMJw.cjs.map} +1 -1
  268. package/dist/typography.cjs +1 -1
  269. package/dist/typography.js +1 -1
  270. package/package.json +1 -1
  271. package/dist/avatar-DkBLxCT2.cjs +0 -281
  272. package/dist/avatar-DkBLxCT2.cjs.map +0 -1
  273. package/dist/avatar-m6kOcWq2.js.map +0 -1
  274. package/dist/date-range-B2f1eXz0.cjs +0 -139
  275. package/dist/date-range-B2f1eXz0.cjs.map +0 -1
  276. package/dist/date-range-CmeAQ5QS.js.map +0 -1
@@ -1,65 +1,66 @@
1
- import { css as u, html as l, nothing as mt } from "lit";
2
- import { property as c, customElement as h, state as d, queryAssignedElements as ut, query as J } from "lit/decorators.js";
3
- import { Subject as tt, merge as et, fromEvent as v, startWith as xt, tap as C, map as w, debounceTime as V, distinctUntilChanged as L, takeUntil as y, from as at, of as F, Observable as $t, zip as ct, filter as bt, take as Ct, timeout as Ot, bufferTime as St, concatMap as Dt, interval as kt, throwIfEmpty as zt } from "rxjs";
4
- import "./animated-text-DE4jCzlq.js";
5
- import { a as lt, F as Et, H as jt } from "./area.component-DQKc0WXK.js";
6
- import "./autocomplete-ytqc1f_C.js";
1
+ import { css as O, html as c, nothing as at } from "lit";
2
+ import { property as l, customElement as v, state as d, queryAssignedElements as lt, query as F } from "lit/decorators.js";
3
+ import { Subject as G, merge as J, fromEvent as g, startWith as ut, tap as $, map as f, debounceTime as q, distinctUntilChanged as K, takeUntil as p, from as st, of as B, Observable as bt, zip as rt, filter as ct, take as gt, timeout as ft, bufferTime as vt, concatMap as wt, interval as xt, throwIfEmpty as $t } from "rxjs";
4
+ import "./animated-text-C63wwL5H.js";
5
+ import { a as it, F as Ct, H as St } from "./area.component-mDv3w12S.js";
6
+ import "./autocomplete-BLtChct9.js";
7
7
  import "lit/directives/class-map.js";
8
8
  import "lit/directives/style-map.js";
9
- import { T } from "./tailwind.mixin-t3Yj_Xbu.js";
10
- import { c as W, f as Mt } from "./ripple-BumgqsDT.js";
11
- import "./boat-BeW5NYdz.js";
12
- import "./spinner-RvzzGIF-.js";
13
- import "./icon-button-eM7fkcaa.js";
14
- import { S as i } from "./theme.interface-C5Kj6WjD.js";
15
- import "./checkbox-DSEvvPj1.js";
16
- import "./chips-DCKLuDxP.js";
17
- import "./circular-progress-CKlT4zjF.js";
18
- import "./code-preview-CuDOLS91.js";
19
- import "./payment-card-form-DgkNJsE1.js";
9
+ import { T as dt } from "./tailwind.mixin-Ba46CZMW.js";
10
+ import { c as U, f as Dt } from "./ripple-BumgqsDT.js";
11
+ import "./boat-BTnwHy3K.js";
12
+ import "./spinner-BuH3Wf-1.js";
13
+ import "./icon-button-BMkYjAl1.js";
14
+ import "./media-DR_teeoc.js";
15
+ import "./checkbox-C6B9Iii2.js";
16
+ import "./chips-CLKkNCVv.js";
17
+ import "./circular-progress-C246y_3U.js";
18
+ import "./code-preview-CxDOJhpM.js";
19
+ import "./payment-card-form-DPf41TU3.js";
20
20
  import { SchmancyEvents as m } from "./types.js";
21
- import { n as P, e as M } from "./provide-tcktw8xB.js";
22
- import { $ as k } from "./litElement.mixin-CUhEpTgZ.js";
23
- import { c as p } from "./consume-5D1qfVWM.js";
24
- import "./date-range-CmeAQ5QS.js";
25
- import "./delay-pKHFTza9.js";
26
- import "./dialog-content-B_fVl8nu.js";
21
+ import { n as j, e as M } from "./provide-tcktw8xB.js";
22
+ import { $ as z } from "./litElement.mixin-BC40ZfGG.js";
23
+ import { c as h } from "./consume-5D1qfVWM.js";
24
+ import "./date-range-DStUXYx-.js";
25
+ import "./delay-1MUDagyy.js";
26
+ import "./dialog-content-CXBx9Bmp.js";
27
27
  import "./dialog-service-CnjZCTMj.js";
28
- import "./divider-njFvOEz7.js";
29
- import "./dropdown-content-C4o6Y70E.js";
30
- import "./timezone-pKGsUkVR.js";
31
- import "./form-eXTuXutS.js";
32
- import "./icon-as6C4b0_.js";
33
- import "./input-C1JcUy_t.js";
34
- import "./flex-CbKzMNEV.js";
35
- import "./list-Cn2oKOHN.js";
36
- import "./menu--0VMi_rl.js";
37
- import { when as Q } from "lit/directives/when.js";
38
- import "./notification-service-BSp9bz1i.js";
39
- import "./option-BBH03Xsg.js";
40
- import "./radio-button-Cuo-ybx9.js";
28
+ import "./divider-GhXZhIur.js";
29
+ import "./dropdown-content-BcGSsDWz.js";
30
+ import "./timezone-CDz5qI2Z.js";
31
+ import "./form-2QZDF5pF.js";
32
+ import "./icon-DWdq9YQM.js";
33
+ import "./input-6XNB7MZP.js";
34
+ import "./flex-BftnODFE.js";
35
+ import "./list-BxLFi3dU.js";
36
+ import "./menu-CwKx1goz.js";
37
+ import { when as Y } from "lit/directives/when.js";
38
+ import "./notification-service-ufUrNaq3.js";
39
+ import "./option-CayvURH3.js";
40
+ import "./radio-button-DouFDjcL.js";
41
41
  import "./index-CuY8m6ta.js";
42
- import "./select-ChxNr4a9.js";
43
- import "./sheet-2FAz4r9B.js";
44
- import { s as Z } from "./theme.component-DGfwQDsP.js";
45
- import "./slider-DU3_sk4c.js";
46
- import "./schmancy-steps-container-CmGuY9sB.js";
42
+ import "./select-BjZUTKHm.js";
43
+ import "./sheet-D8SmGguy.js";
44
+ import { s as V } from "./theme.component-DC3WGfcn.js";
45
+ import "./slider-ytiEVvLJ.js";
46
+ import "./schmancy-steps-container-CWBj3izf.js";
47
47
  import "./context-object-CDDP4bTk.js";
48
- import { map as Wt, distinctUntilChanged as Pt, take as It } from "rxjs/operators";
49
- import "./surface-s7dL8dsr.js";
50
- import "./table-DzYvbr4k.js";
51
- import "./tabs-compatibility-vhn4Kp7N.js";
52
- import "./textarea-DB4ma3Yk.js";
53
- import "./theme-button-DiugvNq0.js";
54
- import "./tooltip-OGPdu-15.js";
55
- import "./tree-BLnyRUxk.js";
56
- import "./typewriter-P4fs9-rU.js";
57
- import "./typography-BouLjmvn.js";
58
- var Nt = Object.defineProperty, Tt = Object.getOwnPropertyDescriptor, z = (t, e, o, r) => {
59
- for (var n, s = r > 1 ? void 0 : r ? Tt(e, o) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, o, s) : n(s)) || s);
60
- return r && s && Nt(e, o, s), s;
48
+ import { map as Ot, distinctUntilChanged as zt, take as Et } from "rxjs/operators";
49
+ import "./surface-Bkj3lZLo.js";
50
+ import "./table-BNUCQw-a.js";
51
+ import "./tabs-compatibility-c-iBrBOK.js";
52
+ import "./textarea-jbhUeEzu.js";
53
+ import "./theme-button-CBJXLV0Z.js";
54
+ import "./tooltip-BaX2Qoi8.js";
55
+ import "./tree-DGUU6cQI.js";
56
+ import "./typewriter-BdQEQLOW.js";
57
+ import "./typography-B1KbZvto.js";
58
+ import { S as i } from "./theme.interface-C5Kj6WjD.js";
59
+ var kt = Object.defineProperty, Wt = Object.getOwnPropertyDescriptor, E = (t, e, r, o) => {
60
+ for (var n, s = o > 1 ? void 0 : o ? Wt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
61
+ return o && s && kt(e, r, s), s;
61
62
  };
62
- let O = class extends T(u`
63
+ let C = class extends dt(O`
63
64
  :host {
64
65
  display: inline-flex;
65
66
  }
@@ -171,19 +172,19 @@ let O = class extends T(u`
171
172
  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];
172
173
  }
173
174
  render() {
174
- const t = this.getSizeClasses(), e = this.getShapeClasses(), o = 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: o.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 };
175
- return l`
175
+ 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 };
176
+ return c`
176
177
  <div
177
178
  part="badge"
178
179
  class="${this.classMap(s)}"
179
180
  style="${this.styleMap(a)}"
180
- ${W({ bgColor: o.bg, color: o.text })}
181
+ ${U({ bgColor: r.bg, color: r.text })}
181
182
  >
182
183
  <!-- Icon slot or named icon -->
183
184
  <slot name="icon">
184
- ${this.icon ? l`
185
+ ${this.icon ? c`
185
186
  <div part="icon" class="icon-container flex-shrink-0 flex items-center justify-center">
186
- <schmancy-icon .size=${r} class="flex items-center">${this.icon}</schmancy-icon>
187
+ <schmancy-icon .size=${o} class="flex items-center">${this.icon}</schmancy-icon>
187
188
  </div>
188
189
  ` : ""}
189
190
  </slot>
@@ -196,143 +197,25 @@ let O = class extends T(u`
196
197
  `;
197
198
  }
198
199
  };
199
- z([c({ type: String, reflect: !0 })], O.prototype, "color", 2), z([c({ type: String, reflect: !0 })], O.prototype, "size", 2), z([c({ type: String, reflect: !0 })], O.prototype, "shape", 2), z([c({ type: Boolean, reflect: !0 })], O.prototype, "outlined", 2), z([c({ type: String })], O.prototype, "icon", 2), z([c({ type: Boolean, reflect: !0 })], O.prototype, "pulse", 2), O = z([h("sch-badge")], O);
200
- var Xt = Object.getOwnPropertyDescriptor;
201
- let ht = class extends T(u`
202
- :host {
203
- display: block;
204
- }
205
- `) {
206
- render() {
207
- return l` <section class="pb-4 px-4"><slot> </slot></section> `;
208
- }
209
- };
210
- ht = ((t, e, o, r) => {
211
- for (var n, s = r > 1 ? void 0 : r ? Xt(e, o) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = n(s) || s);
212
- return s;
213
- })([h("schmancy-card-action")], ht);
214
- var _t = Object.defineProperty, At = Object.getOwnPropertyDescriptor, Y = (t, e, o, r) => {
215
- for (var n, s = r > 1 ? void 0 : r ? At(e, o) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, o, s) : n(s)) || s);
216
- return r && s && _t(e, o, s), s;
217
- };
218
- let H = class extends T(u`:host{
219
- display: block;
220
- position: relative;
221
- inset: 0;
222
- border-radius: 0.375rem; /* rounded-md */
223
- }
224
- :host([type="elevated"]) {
225
- background-color: var(--schmancy-sys-color-surface-low);
226
- box-shadow: var(--schmancy-sys-elevation-1);
227
- }
228
- :host([type="elevated"]:hover) {
229
- box-shadow: var(--schmancy-sys-elevation-2);
230
- }
231
- :host([type="filled"]) {
232
- background-color: var(--schmancy-sys-color-surface-highest);
233
- }
234
- :host([type="filled"]:hover) {
235
- box-shadow: var(--schmancy-sys-elevation-1);
236
- }
237
- :host([type="outlined"]) {
238
- background-color: var(--schmancy-sys-color-surface-default);
239
- border: 1px solid var(--schmancy-sys-color-outlineVariant);
240
- }
241
- :host([type="outlined"]:hover) {
242
- box-shadow: var(--schmancy-sys-elevation-1);
243
- }
244
- :host([elevation="1"]) {
245
- box-shadow: var(--schmancy-sys-elevation-1);
246
- }
247
- :host([elevation="2"]) {
248
- box-shadow: var(--schmancy-sys-elevation-2);
249
- }
250
- :host([elevation="3"]) {
251
- box-shadow: var(--schmancy-sys-elevation-3);
252
- }
253
- :host([elevation="4"]) {
254
- box-shadow: var(--schmancy-sys-elevation-4);
255
- }
256
- :host([elevation="5"]) {
257
- box-shadow: var(--schmancy-sys-elevation-5);
258
- }`) {
259
- constructor() {
260
- super(...arguments), this.type = "elevated", this.elevation = 0;
261
- }
262
- render() {
263
- return l`<slot></slot>`;
264
- }
265
- };
266
- Y([c()], H.prototype, "type", 2), Y([c({ type: Number })], H.prototype, "elevation", 2), H = Y([h("schmancy-card")], H);
267
- var Ht = Object.getOwnPropertyDescriptor;
268
- let dt = class extends T() {
269
- render() {
270
- const t = i.sys.color.surface.on, e = i.sys.color.surface.onVariant;
271
- return l`<schmancy-grid gap="md" class="${this.classMap({ "px-[16px] py-[24px]": !0 })}">
272
- <schmancy-grid gap="xs">
273
- <schmancy-typography
274
- ${W({ color: t })}
275
- type="body"
276
- token="lg"
277
- ><slot name="headline"> </slot
278
- ></schmancy-typography>
279
- <schmancy-typography
280
- ${W({ color: e })}
281
- type="body"
282
- ><slot name="subhead"></slot>
283
- </schmancy-typography>
284
- </schmancy-grid>
285
- <schmancy-typography
286
- type="body"
287
- ${W({ color: e })}
288
- >
289
- <slot></slot>
290
- </schmancy-typography>
291
- </schmancy-grid>`;
292
- }
293
- };
294
- dt = ((t, e, o, r) => {
295
- for (var n, s = r > 1 ? void 0 : r ? Ht(e, o) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = n(s) || s);
296
- return s;
297
- })([h("schmancy-card-content")], dt);
298
- var Rt = Object.defineProperty, qt = Object.getOwnPropertyDescriptor, G = (t, e, o, r) => {
299
- for (var n, s = r > 1 ? void 0 : r ? qt(e, o) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, o, s) : n(s)) || s);
300
- return r && s && Rt(e, o, s), s;
301
- };
302
- let R = class extends T(u`
303
- :host {
304
- display: block;
305
- }
306
- `) {
200
+ E([l({ type: String, reflect: !0 })], C.prototype, "color", 2), E([l({ type: String, reflect: !0 })], C.prototype, "size", 2), E([l({ type: String, reflect: !0 })], C.prototype, "shape", 2), E([l({ type: Boolean, reflect: !0 })], C.prototype, "outlined", 2), E([l({ type: String })], C.prototype, "icon", 2), E([l({ type: Boolean, reflect: !0 })], C.prototype, "pulse", 2), C = E([v("sch-badge")], C);
201
+ const Ze = new class {
307
202
  constructor() {
308
- super(...arguments), this.src = "", this.fit = "contain";
309
- }
310
- render() {
311
- const t = { "object-center": !0, "object-contain": this.fit === "contain", "object-cover w-full": this.fit === "cover", "object-fill": this.fit === "fill", "object-none": this.fit === "none", "object-scale-down": this.fit === "scale-down" };
312
- return l`<schmancy-grid align="stretch" justify="stretch" gap="md">
313
- <img src="${this.src}" style=${this.styleMap({ height: "200px" })} class="${this.classMap(t)}" />
314
- </schmancy-grid>`;
315
- }
316
- };
317
- G([c({ type: String, reflect: !0 })], R.prototype, "src", 2), G([c({ type: String })], R.prototype, "fit", 2), R = G([h("schmancy-card-media")], R);
318
- const hs = new class {
319
- constructor() {
320
- this.$drawer = new tt(), this.$drawer.pipe().subscribe((t) => {
203
+ this.$drawer = new G(), this.$drawer.pipe().subscribe((t) => {
321
204
  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 })));
322
205
  });
323
206
  }
324
207
  dimiss(t) {
325
208
  this.$drawer.next({ action: "dismiss", ref: t });
326
209
  }
327
- render(t, e, o) {
328
- t.dispatchEvent(new CustomEvent("custom-event")), this.$drawer.next({ action: "render", ref: t, component: e, title: o });
210
+ render(t, e, r) {
211
+ t.dispatchEvent(new CustomEvent("custom-event")), this.$drawer.next({ action: "render", ref: t, component: e, title: r });
329
212
  }
330
- }(), st = P("push"), gt = P("close"), ft = P(Math.floor(Math.random() * Date.now()).toString()), ot = P("100%"), rt = P({});
331
- var Bt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, E = (t, e, o, r) => {
332
- for (var n, s = r > 1 ? void 0 : r ? Ut(e, o) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, o, s) : n(s)) || s);
333
- return r && s && Bt(e, o, s), s;
213
+ }(), L = j("push"), ht = j("close"), pt = j(Math.floor(Math.random() * Date.now()).toString()), Q = j("100%"), Z = j({});
214
+ var Mt = Object.defineProperty, jt = Object.getOwnPropertyDescriptor, k = (t, e, r, o) => {
215
+ for (var n, s = o > 1 ? void 0 : o ? jt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
216
+ return o && s && Mt(e, r, s), s;
334
217
  };
335
- let S = class extends k(u`
218
+ let S = class extends z(O`
336
219
  :host {
337
220
  position: relative;
338
221
  inset: 0;
@@ -344,19 +227,19 @@ let S = class extends k(u`
344
227
  super(...arguments), this.minWidth = { main: 360, sheet: 576 }, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
345
228
  }
346
229
  firstUpdated() {
347
- et(v(window, "resize"), v(window, m.ContentDrawerResize)).pipe(xt(!0), C(() => {
348
- }), w(() => this.clientWidth ? this.clientWidth : window.innerWidth), w((t) => t >= this.minWidth.main + this.minWidth.sheet), V(100), C(() => {
230
+ J(g(window, "resize"), g(window, m.ContentDrawerResize)).pipe(ut(!0), $(() => {
231
+ }), f(() => this.clientWidth ? this.clientWidth : window.innerWidth), f((t) => t >= this.minWidth.main + this.minWidth.sheet), q(100), $(() => {
349
232
  this.maxHeight = window.innerHeight - this.getOffsetTop(this) - 32 + "px", this.style.setProperty("max-height", this.maxHeight);
350
- }), L(), y(this.disconnecting)).subscribe((t) => {
233
+ }), K(), p(this.disconnecting)).subscribe((t) => {
351
234
  t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
352
- }), v(window, m.ContentDrawerToggle).pipe(C((t) => {
235
+ }), g(window, m.ContentDrawerToggle).pipe($((t) => {
353
236
  t.stopPropagation();
354
- }), w((t) => t.detail.state), y(this.disconnecting)).subscribe((t) => {
237
+ }), f((t) => t.detail.state), p(this.disconnecting)).subscribe((t) => {
355
238
  this.open = t;
356
- }), v(window, "schmancy-content-drawer-render").pipe(C((t) => {
239
+ }), g(window, "schmancy-content-drawer-render").pipe($((t) => {
357
240
  t.stopPropagation();
358
- }), w((t) => t.detail), y(this.disconnecting)).subscribe(({ component: t, title: e }) => {
359
- this.mode === "push" ? (lt.push({ area: this.schmancyContentDrawerID, component: "empty", historyStrategy: "silent" }), lt.push({ area: this.schmancyContentDrawerID, component: t, historyStrategy: "silent" })) : (this.mode = "overlay") && Z.open({ component: t, uid: this.schmancyContentDrawerID, title: e });
241
+ }), f((t) => t.detail), p(this.disconnecting)).subscribe(({ component: t, title: e }) => {
242
+ 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 });
360
243
  });
361
244
  }
362
245
  getOffsetTop(t) {
@@ -365,7 +248,7 @@ let S = class extends k(u`
365
248
  return e;
366
249
  }
367
250
  render() {
368
- return this.mode && this.open ? l`
251
+ return this.mode && this.open ? c`
369
252
  <schmancy-grid
370
253
  cols=${this.mode === "overlay" ? "1fr" : "auto 1fr"}
371
254
  rows="1fr"
@@ -375,15 +258,15 @@ let S = class extends k(u`
375
258
  >
376
259
  <slot></slot>
377
260
  </schmancy-grid>
378
- ` : mt;
261
+ ` : at;
379
262
  }
380
263
  };
381
- E([M({ context: rt })], S.prototype, "minWidth", 2), E([M({ context: gt }), c()], S.prototype, "open", 2), E([M({ context: st }), d()], S.prototype, "mode", 2), E([M({ context: ft })], S.prototype, "schmancyContentDrawerID", 2), E([M({ context: ot })], S.prototype, "maxHeight", 2), E([ut({ flatten: !0 })], S.prototype, "assignedElements", 2), S = E([h("schmancy-content-drawer")], S);
382
- var Kt = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, X = (t, e, o, r) => {
383
- for (var n, s = r > 1 ? void 0 : r ? Vt(e, o) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, o, s) : n(s)) || s);
384
- return r && s && Kt(e, o, s), s;
264
+ k([M({ context: Z })], S.prototype, "minWidth", 2), k([M({ context: ht }), l()], S.prototype, "open", 2), k([M({ context: L }), d()], S.prototype, "mode", 2), k([M({ context: pt })], S.prototype, "schmancyContentDrawerID", 2), k([M({ context: Q })], S.prototype, "maxHeight", 2), k([lt({ flatten: !0 })], S.prototype, "assignedElements", 2), S = k([v("schmancy-content-drawer")], S);
265
+ var Pt = Object.defineProperty, It = Object.getOwnPropertyDescriptor, N = (t, e, r, o) => {
266
+ for (var n, s = o > 1 ? void 0 : o ? It(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
267
+ return o && s && Pt(e, r, s), s;
385
268
  };
386
- let I = class extends k(u`
269
+ let P = class extends z(O`
387
270
  :host {
388
271
  display: block;
389
272
  overflow: hidden;
@@ -397,7 +280,7 @@ let I = class extends k(u`
397
280
  }
398
281
  render() {
399
282
  const t = { minWidth: `${this.minWidth}px`, maxHeight: this.maxHeight };
400
- return l`
283
+ return c`
401
284
  <section class="relative inset-0 h-full">
402
285
  <schmancy-grid
403
286
  class="h-full relative overflow-scroll"
@@ -411,17 +294,17 @@ let I = class extends k(u`
411
294
  <slot></slot>
412
295
  </section>
413
296
  </schmancy-grid>
414
- ${Q(this.mode === "push", () => l` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
297
+ ${Y(this.mode === "push", () => c` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
415
298
  </section>
416
299
  `;
417
300
  }
418
301
  };
419
- X([c({ type: Number })], I.prototype, "minWidth", 2), X([p({ context: rt, subscribe: !0 })], I.prototype, "drawerMinWidth", 2), X([p({ context: st, subscribe: !0 }), d()], I.prototype, "mode", 2), X([p({ context: ot, subscribe: !0 }), d()], I.prototype, "maxHeight", 2), I = X([h("schmancy-content-drawer-main")], I);
420
- var Ft = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor, x = (t, e, o, r) => {
421
- for (var n, s = r > 1 ? void 0 : r ? Yt(e, o) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, o, s) : n(s)) || s);
422
- return r && s && Ft(e, o, s), s;
302
+ 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([v("schmancy-content-drawer-main")], P);
303
+ var Nt = Object.defineProperty, Tt = Object.getOwnPropertyDescriptor, w = (t, e, r, o) => {
304
+ 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);
305
+ return o && s && Nt(e, r, s), s;
423
306
  };
424
- let b = class extends k(u`
307
+ let y = class extends z(O`
425
308
  :host {
426
309
  overflow: scroll;
427
310
  }
@@ -430,19 +313,19 @@ let b = class extends k(u`
430
313
  super.connectedCallback(), this.minWidth ? this.drawerMinWidth.sheet = this.minWidth : this.minWidth = this.drawerMinWidth.sheet;
431
314
  }
432
315
  updated(t) {
433
- 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" && (Z.dismiss(this.schmancyContentDrawerID), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
316
+ 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()));
434
317
  }
435
318
  open() {
436
319
  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)" });
437
320
  }
438
321
  closeAll() {
439
- et(at(this.closeModalSheet()), at(this.closeSheet())).pipe(y(this.disconnecting)).subscribe();
322
+ J(st(this.closeModalSheet()), st(this.closeSheet())).pipe(p(this.disconnecting)).subscribe();
440
323
  }
441
324
  closeModalSheet() {
442
- return F(!0).pipe(C(() => Z.dismiss(this.schmancyContentDrawerID)));
325
+ return B(!0).pipe($(() => V.dismiss(this.schmancyContentDrawerID)));
443
326
  }
444
327
  closeSheet() {
445
- return new $t((t) => {
328
+ return new bt((t) => {
446
329
  this.sheet.animate([{ opacity: 1, transform: "translateX(0%)" }, { opacity: 1, transform: "translateX(100%)" }], { duration: 500, easing: "cubic-bezier(0.5, 0.01, 0.25, 1)" }).onfinish = () => {
447
330
  this.sheet.style.display = "none", t.next(), t.complete();
448
331
  };
@@ -450,7 +333,7 @@ let b = class extends k(u`
450
333
  }
451
334
  render() {
452
335
  const t = { block: this.mode === "push", "absolute z-50": this.mode === "overlay", "opacity-1": this.mode === "overlay" && this.state === "open" }, e = { minWidth: `${this.minWidth}px`, maxHeight: this.maxHeight };
453
- return l`
336
+ return c`
454
337
  <section id="sheet" class="${this.classMap(t)}" style=${this.styleMap(e)}>
455
338
  <schmancy-area name="${this.schmancyContentDrawerID}">
456
339
  <slot name="placeholder"></slot>
@@ -459,10 +342,10 @@ let b = class extends k(u`
459
342
  `;
460
343
  }
461
344
  };
462
- x([c({ type: Number })], b.prototype, "minWidth", 2), x([p({ context: st, subscribe: !0 }), d()], b.prototype, "mode", 2), x([p({ context: gt, subscribe: !0 }), d()], b.prototype, "state", 2), x([p({ context: ft })], b.prototype, "schmancyContentDrawerID", 2), x([J("#sheet")], b.prototype, "sheet", 2), x([ut({ flatten: !0, slot: void 0 })], b.prototype, "defaultSlot", 2), x([p({ context: rt, subscribe: !0 })], b.prototype, "drawerMinWidth", 2), x([p({ context: ot, subscribe: !0 }), d()], b.prototype, "maxHeight", 2), b = x([h("schmancy-content-drawer-sheet")], b);
463
- const Gt = new class {
345
+ w([l({ type: Number })], y.prototype, "minWidth", 2), w([h({ context: L, subscribe: !0 }), d()], y.prototype, "mode", 2), w([h({ context: ht, subscribe: !0 }), d()], y.prototype, "state", 2), w([h({ context: pt })], y.prototype, "schmancyContentDrawerID", 2), w([F("#sheet")], y.prototype, "sheet", 2), w([lt({ flatten: !0, slot: void 0 })], y.prototype, "defaultSlot", 2), w([h({ context: Z, subscribe: !0 })], y.prototype, "drawerMinWidth", 2), w([h({ context: Q, subscribe: !0 }), d()], y.prototype, "maxHeight", 2), y = w([v("schmancy-content-drawer-sheet")], y);
346
+ const Xt = new class {
464
347
  constructor() {
465
- this.$drawer = new tt(), this.$drawer.pipe(V(10)).subscribe((t) => {
348
+ this.$drawer = new G(), this.$drawer.pipe(q(10)).subscribe((t) => {
466
349
  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 }));
467
350
  });
468
351
  }
@@ -472,12 +355,12 @@ const Gt = new class {
472
355
  close(t) {
473
356
  this.$drawer.next({ self: t, state: !1 });
474
357
  }
475
- }(), ds = Gt, it = P("push"), nt = P("close");
476
- var Jt = Object.defineProperty, Lt = Object.getOwnPropertyDescriptor, q = (t, e, o, r) => {
477
- for (var n, s = r > 1 ? void 0 : r ? Lt(e, o) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, o, s) : n(s)) || s);
478
- return r && s && Jt(e, o, s), s;
358
+ }(), ts = Xt, tt = j("push"), et = j("close");
359
+ var _t = Object.defineProperty, At = Object.getOwnPropertyDescriptor, _ = (t, e, r, o) => {
360
+ for (var n, s = o > 1 ? void 0 : o ? At(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
361
+ return o && s && _t(e, r, s), s;
479
362
  };
480
- let _ = class extends T(u`
363
+ let T = class extends dt(O`
481
364
  :host {
482
365
  display: block;
483
366
  }
@@ -487,7 +370,7 @@ let _ = class extends T(u`
487
370
  }
488
371
  render() {
489
372
  const t = { "block left-3 z-50": this.sidebarMode === "overlay", hidden: this.sidebarMode === "push" };
490
- return l`
373
+ return c`
491
374
  <schmancy-grid
492
375
  cols=${this.sidebarMode === "overlay" && this.toggler ? "auto 1fr" : "1fr"}
493
376
  flow="col"
@@ -495,14 +378,14 @@ let _ = class extends T(u`
495
378
  gap="sm"
496
379
  align="center"
497
380
  >
498
- ${Q(this.sidebarMode === "overlay" && this.toggler, () => l`<slot name="toggler">
381
+ ${Y(this.sidebarMode === "overlay" && this.toggler, () => c`<slot name="toggler">
499
382
  <div class="${this.classMap(t)}">
500
383
  <schmancy-icon-button
501
384
  @click=${() => {
502
385
  this.dispatchEvent(new CustomEvent(m.NavDrawer_toggle, { detail: { state: this.sidebarOpen === "open" ? "close" : "open" }, bubbles: !0, composed: !0 }));
503
386
  }}
504
387
  >
505
- ${Q(this.sidebarOpen === "close", () => l`menu`, () => l`menu_open`)}
388
+ ${Y(this.sidebarOpen === "close", () => c`menu`, () => c`menu_open`)}
506
389
  </schmancy-icon-button>
507
390
  </div>
508
391
  </slot>`)}
@@ -512,9 +395,9 @@ let _ = class extends T(u`
512
395
  `;
513
396
  }
514
397
  };
515
- q([p({ context: it, subscribe: !0 }), d()], _.prototype, "sidebarMode", 2), q([p({ context: nt, subscribe: !0 }), d()], _.prototype, "sidebarOpen", 2), q([c({ type: Boolean })], _.prototype, "toggler", 2), _ = q([h("schmancy-nav-drawer-appbar")], _);
516
- var Qt = Object.getOwnPropertyDescriptor;
517
- let pt = class extends k(u`
398
+ _([h({ context: tt, subscribe: !0 }), d()], T.prototype, "sidebarMode", 2), _([h({ context: et, subscribe: !0 }), d()], T.prototype, "sidebarOpen", 2), _([l({ type: Boolean })], T.prototype, "toggler", 2), T = _([v("schmancy-nav-drawer-appbar")], T);
399
+ var Ht = Object.getOwnPropertyDescriptor;
400
+ let ot = class extends z(O`
518
401
  :host {
519
402
  display: block;
520
403
  position: relative;
@@ -523,23 +406,23 @@ let pt = class extends k(u`
523
406
  }
524
407
  `) {
525
408
  connectedCallback() {
526
- super.connectedCallback(), v(this, "scroll").pipe(y(this.disconnecting)).subscribe((t) => {
409
+ super.connectedCallback(), g(this, "scroll").pipe(p(this.disconnecting)).subscribe((t) => {
527
410
  this.parentElement.dispatchEvent(new CustomEvent("scroll", { detail: t, bubbles: !0, composed: !0 }));
528
411
  });
529
412
  }
530
413
  render() {
531
- return l` <slot></slot> `;
414
+ return c` <slot></slot> `;
532
415
  }
533
416
  };
534
- pt = ((t, e, o, r) => {
535
- for (var n, s = r > 1 ? void 0 : r ? Qt(e, o) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = n(s) || s);
417
+ ot = ((t, e, r, o) => {
418
+ for (var n, s = o > 1 ? void 0 : o ? Ht(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = n(s) || s);
536
419
  return s;
537
- })([h("schmancy-nav-drawer-content")], pt);
538
- var Zt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, N = (t, e, o, r) => {
539
- for (var n, s = r > 1 ? void 0 : r ? te(e, o) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, o, s) : n(s)) || s);
540
- return r && s && Zt(e, o, s), s;
420
+ })([v("schmancy-nav-drawer-content")], ot);
421
+ var Rt = Object.defineProperty, qt = Object.getOwnPropertyDescriptor, I = (t, e, r, o) => {
422
+ for (var n, s = o > 1 ? void 0 : o ? qt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
423
+ return o && s && Rt(e, r, s), s;
541
424
  };
542
- let f = class extends k(u`
425
+ let b = class extends z(O`
543
426
  :host {
544
427
  display: flex;
545
428
  flex-grow: 1;
@@ -556,40 +439,40 @@ let f = class extends k(u`
556
439
  super(...arguments), this.fullscreen = !1, this.breakpoint = "md", this._initialized = !1;
557
440
  }
558
441
  firstUpdated() {
559
- this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""), v(window, "resize").pipe(w((t) => t.target.innerWidth), w((t) => t >= f.BREAKPOINTS[this.breakpoint]), L(), V(100), y(this.disconnecting)).subscribe((t) => {
442
+ this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""), g(window, "resize").pipe(f((t) => t.target.innerWidth), f((t) => t >= b.BREAKPOINTS[this.breakpoint]), K(), q(100), p(this.disconnecting)).subscribe((t) => {
560
443
  t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
561
- }), v(window, m.NavDrawer_toggle).pipe(C((t) => {
444
+ }), g(window, m.NavDrawer_toggle).pipe($((t) => {
562
445
  t.stopPropagation();
563
- }), w((t) => t.detail.state), L(), y(this.disconnecting), V(10)).subscribe((t) => {
446
+ }), f((t) => t.detail.state), K(), p(this.disconnecting), q(10)).subscribe((t) => {
564
447
  this.mode === "push" && t === "close" || (this.open = t);
565
448
  });
566
449
  }
567
450
  updateState(t) {
568
- const e = t >= f.BREAKPOINTS[this.breakpoint];
451
+ const e = t >= b.BREAKPOINTS[this.breakpoint];
569
452
  this.mode = e ? "push" : "overlay", this.open = e ? "open" : "close";
570
453
  }
571
454
  render() {
572
- return this._initialized ? l`
455
+ return this._initialized ? c`
573
456
  <schmancy-grid
574
457
  cols=${this.fullscreen ? "1fr" : "auto 1fr"}
575
458
  rows="1fr"
576
459
  flow="col"
577
460
  justify="stretch"
578
461
  align="stretch"
579
- ${Mt()}
462
+ ${Dt()}
580
463
  >
581
464
  <slot></slot>
582
465
  </schmancy-grid>
583
- ` : mt;
466
+ ` : at;
584
467
  }
585
468
  };
586
- f.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 }, N([c({ type: Boolean })], f.prototype, "fullscreen", 2), N([c({ type: String, attribute: "breakpoint" })], f.prototype, "breakpoint", 2), N([M({ context: it }), d()], f.prototype, "mode", 2), N([M({ context: nt }), c()], f.prototype, "open", 2), N([d()], f.prototype, "_initialized", 2), f = N([h("schmancy-nav-drawer")], f);
587
- var ee = Object.defineProperty, se = Object.getOwnPropertyDescriptor, j = (t, e, o, r) => {
588
- for (var n, s = r > 1 ? void 0 : r ? se(e, o) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, o, s) : n(s)) || s);
589
- return r && s && ee(e, o, s), s;
469
+ b.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 }, I([l({ type: Boolean })], b.prototype, "fullscreen", 2), I([l({ type: String, attribute: "breakpoint" })], b.prototype, "breakpoint", 2), I([M({ context: tt }), d()], b.prototype, "mode", 2), I([M({ context: et }), l()], b.prototype, "open", 2), I([d()], b.prototype, "_initialized", 2), b = I([v("schmancy-nav-drawer")], b);
470
+ var Bt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, W = (t, e, r, o) => {
471
+ for (var n, s = o > 1 ? void 0 : o ? Ut(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
472
+ return o && s && Bt(e, r, s), s;
590
473
  };
591
- const B = "cubic-bezier(0.5, 0.01, 0.25, 1)";
592
- let D = class extends k() {
474
+ const A = "cubic-bezier(0.5, 0.01, 0.25, 1)";
475
+ let D = class extends z() {
593
476
  constructor() {
594
477
  super(...arguments), this.width = "320px", this._initialized = !1;
595
478
  }
@@ -600,20 +483,20 @@ let D = class extends k() {
600
483
  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()));
601
484
  }
602
485
  openOverlay() {
603
- this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: 0.4 }], { duration: 200, easing: B, fill: "forwards" });
486
+ this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: 0.4 }], { duration: 200, easing: A, fill: "forwards" });
604
487
  }
605
488
  closeOverlay() {
606
- this.overlay.animate([{ opacity: 0.4 }, { opacity: 0 }], { duration: 150, easing: B, fill: "forwards" }).onfinish = () => {
489
+ this.overlay.animate([{ opacity: 0.4 }, { opacity: 0 }], { duration: 150, easing: A, fill: "forwards" }).onfinish = () => {
607
490
  this.overlay.style.display = "none";
608
491
  };
609
492
  }
610
493
  showNavDrawer() {
611
- this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], { duration: 200, easing: B, fill: "forwards" }).onfinish = () => {
494
+ this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], { duration: 200, easing: A, fill: "forwards" }).onfinish = () => {
612
495
  this.nav.style.transform = "translateX(0)";
613
496
  };
614
497
  }
615
498
  hideNavDrawer() {
616
- this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], { duration: 200, easing: B, fill: "forwards" }).onfinish = () => {
499
+ this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], { duration: 200, easing: A, fill: "forwards" }).onfinish = () => {
617
500
  this.nav.style.transform = "translateX(-100%)";
618
501
  };
619
502
  }
@@ -622,46 +505,46 @@ let D = class extends k() {
622
505
  }
623
506
  render() {
624
507
  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 };
625
- return l`
508
+ return c`
626
509
  <nav
627
510
  style=${this.styleMap(e)}
628
511
  class="${this.classMap({ ...t })}"
629
- ${W({ bgColor: i.sys.color.surface.container })}
512
+ ${U({ bgColor: i.sys.color.surface.container })}
630
513
  >
631
514
  <slot></slot>
632
515
  </nav>
633
516
  <div
634
517
  id="overlay"
635
- ${W({ bgColor: i.sys.color.scrim })}
518
+ ${U({ bgColor: i.sys.color.scrim })}
636
519
  @click=${this.handleOverlayClick}
637
520
  class="${this.classMap({ "fixed inset-0 z-49 hidden": !0 })}"
638
521
  ></div>
639
522
  `;
640
523
  }
641
524
  };
642
- j([p({ context: it, subscribe: !0 }), d()], D.prototype, "mode", 2), j([p({ context: nt, subscribe: !0 }), d()], D.prototype, "drawerState", 2), j([J("#overlay")], D.prototype, "overlay", 2), j([J("nav")], D.prototype, "nav", 2), j([c({ type: String })], D.prototype, "width", 2), j([d()], D.prototype, "_initialized", 2), D = j([h("schmancy-nav-drawer-navbar")], D);
643
- const vt = "whereAreYouRicky", wt = "hereMorty", U = new class {
525
+ W([h({ context: tt, subscribe: !0 }), d()], D.prototype, "mode", 2), W([h({ context: et, subscribe: !0 }), d()], D.prototype, "drawerState", 2), W([F("#overlay")], D.prototype, "overlay", 2), W([F("nav")], D.prototype, "nav", 2), W([l({ type: String })], D.prototype, "width", 2), W([d()], D.prototype, "_initialized", 2), D = W([v("schmancy-nav-drawer-navbar")], D);
526
+ const mt = "whereAreYouRicky", yt = "hereMorty", H = new class {
644
527
  constructor() {
645
- this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new tt(), this.find = (t) => ct([v(window, wt).pipe(bt((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), w((e) => e.detail.component), Ct(1)), F(t).pipe(C(() => {
646
- window.dispatchEvent(new CustomEvent(vt, { detail: { id: t.id, callerID: t.uuid } }));
647
- }))]).pipe(w(([e]) => e), Ot(0)), this.flip = (t) => {
648
- const { from: e, to: o } = t, r = o.element.style.zIndex;
649
- o.element.style.transformOrigin = "top left", o.element.style.setProperty("visibility", "visible"), o.element.style.zIndex = "1000";
650
- const n = [{ transform: `translate(${e.rect.left - o.rect.left}px, ${e.rect.top - o.rect.top}px) scale(${e.rect.width / o.rect.width}, ${e.rect.height / o.rect.height})` }, { transform: "translate(0, 0) scale(1, 1)" }];
651
- o.element.animate(n, { duration: 250, delay: 10, easing: "cubic-bezier(0.455, 0.03, 0.515, 0.955)" }).onfinish = () => {
652
- o.element.style.zIndex = r, o.element.style.transformOrigin = "";
528
+ this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new G(), this.find = (t) => rt([g(window, yt).pipe(ct((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), f((e) => e.detail.component), gt(1)), B(t).pipe($(() => {
529
+ window.dispatchEvent(new CustomEvent(mt, { detail: { id: t.id, callerID: t.uuid } }));
530
+ }))]).pipe(f(([e]) => e), ft(0)), this.flip = (t) => {
531
+ const { from: e, to: r } = t, o = r.element.style.zIndex;
532
+ r.element.style.transformOrigin = "top left", r.element.style.setProperty("visibility", "visible"), r.element.style.zIndex = "1000";
533
+ 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)" }];
534
+ r.element.animate(n, { duration: 250, delay: 10, easing: "cubic-bezier(0.455, 0.03, 0.515, 0.955)" }).onfinish = () => {
535
+ r.element.style.zIndex = o, r.element.style.transformOrigin = "";
653
536
  };
654
- }, this.flipRequests.pipe(St(1), w((t) => t.map(({ from: e, to: o, host: r }, n) => ({ from: e, to: o, host: r, i: n }))), Dt((t) => ct(t.map((e) => F(this.flip(e)))))).subscribe();
537
+ }, this.flipRequests.pipe(vt(1), f((t) => t.map(({ from: e, to: r, host: o }, n) => ({ from: e, to: r, host: o, i: n }))), wt((t) => rt(t.map((e) => B(this.flip(e)))))).subscribe();
655
538
  }
656
539
  }();
657
- function yt(t) {
658
- return kt(50).pipe(Wt(() => t.getBoundingClientRect()), Pt((e, o) => e.width === o.width && e.height === o.height && e.top === o.top && e.right === o.right && e.bottom === o.bottom && e.left === o.left), It(1));
540
+ function nt(t) {
541
+ return xt(50).pipe(Ot(() => t.getBoundingClientRect()), zt((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), Et(1));
659
542
  }
660
- var oe = Object.defineProperty, re = Object.getOwnPropertyDescriptor, K = (t, e, o, r) => {
661
- for (var n, s = r > 1 ? void 0 : r ? re(e, o) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, o, s) : n(s)) || s);
662
- return r && s && oe(e, o, s), s;
543
+ var Ft = Object.defineProperty, Kt = Object.getOwnPropertyDescriptor, R = (t, e, r, o) => {
544
+ for (var n, s = o > 1 ? void 0 : o ? Kt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
545
+ return o && s && Ft(e, r, s), s;
663
546
  };
664
- let A = class extends k(u``) {
547
+ let X = class extends z(O``) {
665
548
  constructor() {
666
549
  super(...arguments), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
667
550
  }
@@ -670,82 +553,82 @@ let A = class extends k(u``) {
670
553
  }
671
554
  connectedCallback() {
672
555
  if (this.id === void 0) throw new Error("id is required");
673
- super.connectedCallback(), et(v(window, Et).pipe(C({ next: () => {
674
- this.dispatchEvent(new CustomEvent(jt, { detail: { component: this }, bubbles: !0, composed: !0 }));
675
- } })), v(window, vt).pipe(C({ next: (t) => {
676
- t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(wt, { detail: { component: this }, bubbles: !0, composed: !0 }));
677
- } }))).pipe(y(this.disconnecting)).subscribe();
556
+ super.connectedCallback(), J(g(window, Ct).pipe($({ next: () => {
557
+ this.dispatchEvent(new CustomEvent(St, { detail: { component: this }, bubbles: !0, composed: !0 }));
558
+ } })), g(window, mt).pipe($({ next: (t) => {
559
+ t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(yt, { detail: { component: this }, bubbles: !0, composed: !0 }));
560
+ } }))).pipe(p(this.disconnecting)).subscribe();
678
561
  }
679
562
  async firstUpdated() {
680
- F(U.activeTeleportations.get(this.id)).pipe(bt((t) => !!t), y(this.disconnecting), zt()).subscribe({ next: (t) => {
681
- this.style.setProperty("visibility", "hidden"), yt(this).pipe(y(this.disconnecting)).subscribe({ next: (e) => {
682
- U.activeTeleportations.set(this.id, e), U.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
563
+ B(H.activeTeleportations.get(this.id)).pipe(ct((t) => !!t), p(this.disconnecting), $t()).subscribe({ next: (t) => {
564
+ this.style.setProperty("visibility", "hidden"), nt(this).pipe(p(this.disconnecting)).subscribe({ next: (e) => {
565
+ H.activeTeleportations.set(this.id, e), H.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
683
566
  } });
684
567
  }, error: () => {
685
- this.style.setProperty("visibility", "visible"), yt(this).pipe(y(this.disconnecting)).subscribe({ next: (t) => {
686
- U.activeTeleportations.set(this.id, t);
568
+ this.style.setProperty("visibility", "visible"), nt(this).pipe(p(this.disconnecting)).subscribe({ next: (t) => {
569
+ H.activeTeleportations.set(this.id, t);
687
570
  } });
688
571
  }, complete: () => {
689
572
  } });
690
573
  }
691
574
  render() {
692
- return l`<slot></slot>`;
575
+ return c`<slot></slot>`;
693
576
  }
694
577
  };
695
- K([c({ type: Number, reflect: !0 })], A.prototype, "uuid", 2), K([c({ type: String })], A.prototype, "id", 2), K([c({ type: Number })], A.prototype, "delay", 2), A = K([h("schmancy-teleport")], A);
696
- var ie = Object.defineProperty, ne = Object.getOwnPropertyDescriptor, $ = (t, e, o, r) => {
697
- for (var n, s = r > 1 ? void 0 : r ? ne(e, o) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (r ? n(e, o, s) : n(s)) || s);
698
- return r && s && ie(e, o, s), s;
578
+ R([l({ type: Number, reflect: !0 })], X.prototype, "uuid", 2), R([l({ type: String })], X.prototype, "id", 2), R([l({ type: Number })], X.prototype, "delay", 2), X = R([v("schmancy-teleport")], X);
579
+ var Yt = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, x = (t, e, r, o) => {
580
+ for (var n, s = o > 1 ? void 0 : o ? Vt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (o ? n(e, r, s) : n(s)) || s);
581
+ return o && s && Yt(e, r, s), s;
699
582
  };
700
- let g = class extends k() {
583
+ let u = class extends z() {
701
584
  constructor() {
702
585
  super(...arguments), this.initials = "", this.src = "", this.icon = "", this.size = "md", this.color = "primary", this.shape = "circle", this.bordered = !1, this.status = "none";
703
586
  }
704
587
  render() {
705
588
  let t;
706
- t = this.src ? l`<img class="w-full h-full object-cover" src="${this.src}" alt="Avatar" />` : this.initials ? l`<span class="text-center font-medium">${this.initials.substring(0, 2).toUpperCase()}</span>` : this.icon ? l`<schmancy-icon>${this.icon}</schmancy-icon>` : l`<schmancy-icon>person</schmancy-icon>`;
707
- 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 }, o = this.getColorAttributes();
708
- return l`
709
- <div class="${this.classMap(e)}" ${o}>
589
+ 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>`;
590
+ 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();
591
+ return c`
592
+ <div class="${this.classMap(e)}" ${r}>
710
593
  ${t} ${this.status !== "none" ? this.renderStatusIndicator() : ""}
711
594
  </div>
712
595
  `;
713
596
  }
714
597
  getColorAttributes() {
715
598
  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 } };
716
- return W(t[this.color]);
599
+ return U(t[this.color]);
717
600
  }
718
601
  renderStatusIndicator() {
719
602
  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 };
720
- return l`
603
+ return c`
721
604
  <div class="${this.classMap(e)}" style="background-color: ${t[this.status]};"></div>
722
605
  `;
723
606
  }
724
607
  };
725
- $([c({ type: String })], g.prototype, "initials", 2), $([c({ type: String })], g.prototype, "src", 2), $([c({ type: String })], g.prototype, "icon", 2), $([c({ type: String })], g.prototype, "size", 2), $([c({ type: String })], g.prototype, "color", 2), $([c({ type: String })], g.prototype, "shape", 2), $([c({ type: Boolean })], g.prototype, "bordered", 2), $([c({ type: String })], g.prototype, "status", 2), g = $([h("schmancy-avatar")], g);
608
+ x([l({ type: String })], u.prototype, "initials", 2), x([l({ type: String })], u.prototype, "src", 2), x([l({ type: String })], u.prototype, "icon", 2), x([l({ type: String })], u.prototype, "size", 2), x([l({ type: String })], u.prototype, "color", 2), x([l({ type: String })], u.prototype, "shape", 2), x([l({ type: Boolean })], u.prototype, "bordered", 2), x([l({ type: String })], u.prototype, "status", 2), u = x([v("schmancy-avatar")], u);
726
609
  export {
727
- ds as $,
728
- wt as H,
729
- O as S,
730
- vt as W,
731
- st as a,
732
- gt as b,
733
- ft as c,
734
- ot as d,
735
- rt as e,
610
+ ts as $,
611
+ yt as H,
612
+ C as S,
613
+ mt as W,
614
+ L as a,
615
+ ht as b,
616
+ pt as c,
617
+ Q as d,
618
+ Z as e,
736
619
  S as f,
737
- I as g,
738
- b as h,
739
- Gt as i,
740
- _ as j,
741
- pt as k,
742
- it as l,
743
- nt as m,
744
- f as n,
620
+ P as g,
621
+ y as h,
622
+ Xt as i,
623
+ T as j,
624
+ ot as k,
625
+ tt as l,
626
+ et as m,
627
+ b as n,
745
628
  D as o,
746
- A as p,
747
- g as q,
748
- hs as s,
749
- U as t
629
+ X as p,
630
+ u as q,
631
+ Ze as s,
632
+ H as t
750
633
  };
751
- //# sourceMappingURL=avatar-m6kOcWq2.js.map
634
+ //# sourceMappingURL=avatar-WaHuf8DW.js.map