@mhmo91/schmancy 0.5.44 → 0.5.45

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 (327) hide show
  1. package/dist/{animated-text-Dr32Ckh7.cjs → animated-text-2eNprXDV.cjs} +2 -2
  2. package/dist/{animated-text-Dr32Ckh7.cjs.map → animated-text-2eNprXDV.cjs.map} +1 -1
  3. package/dist/{animated-text-CPA937x-.js → animated-text-CCfSintu.js} +3 -3
  4. package/dist/{animated-text-CPA937x-.js.map → animated-text-CCfSintu.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-DAPQYHtN.cjs +12 -0
  9. package/dist/area.component-DAPQYHtN.cjs.map +1 -0
  10. package/dist/{area.component-CgAISzZ3.js → area.component-DUGxsL2-.js} +38 -38
  11. package/dist/area.component-DUGxsL2-.js.map +1 -0
  12. package/dist/area.js +1 -1
  13. package/dist/autocomplete-CbsmZ0p6.cjs +112 -0
  14. package/dist/autocomplete-CbsmZ0p6.cjs.map +1 -0
  15. package/dist/{autocomplete--0ZoSIp0.js → autocomplete-Dcw5go_X.js} +47 -46
  16. package/dist/autocomplete-Dcw5go_X.js.map +1 -0
  17. package/dist/autocomplete.cjs +1 -1
  18. package/dist/autocomplete.js +1 -1
  19. package/dist/{avatar-BixWcgH7.js → avatar-C6l64slz.js} +204 -195
  20. package/dist/avatar-C6l64slz.js.map +1 -0
  21. package/dist/{avatar-5cjrkZS5.cjs → avatar-wheGmG83.cjs} +39 -52
  22. package/dist/avatar-wheGmG83.cjs.map +1 -0
  23. package/dist/badge.cjs +1 -1
  24. package/dist/badge.js +1 -1
  25. package/dist/{boat-Bou0hRnM.js → boat-Ct95p20s.js} +3 -3
  26. package/dist/{boat-Bou0hRnM.js.map → boat-Ct95p20s.js.map} +1 -1
  27. package/dist/{boat-CkkEmZcE.cjs → boat-pwsR3UrD.cjs} +2 -2
  28. package/dist/{boat-CkkEmZcE.cjs.map → boat-pwsR3UrD.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 +1 -1
  37. package/dist/{checkbox-DODyS0zq.cjs → checkbox-BXpnd4MJ.cjs} +2 -2
  38. package/dist/{checkbox-DODyS0zq.cjs.map → checkbox-BXpnd4MJ.cjs.map} +1 -1
  39. package/dist/{checkbox-D8ZJSnVa.js → checkbox-DedHgVWe.js} +2 -2
  40. package/dist/{checkbox-D8ZJSnVa.js.map → checkbox-DedHgVWe.js.map} +1 -1
  41. package/dist/checkbox.cjs +1 -1
  42. package/dist/checkbox.js +1 -1
  43. package/dist/chips.cjs +1 -1
  44. package/dist/chips.js +2 -2
  45. package/dist/code-highlight.cjs +1 -1
  46. package/dist/code-highlight.js +1 -1
  47. package/dist/{code-preview-BZmBRwu-.cjs → code-preview-DC1nnjD6.cjs} +2 -2
  48. package/dist/{code-preview-BZmBRwu-.cjs.map → code-preview-DC1nnjD6.cjs.map} +1 -1
  49. package/dist/{code-preview-CTnFGeWr.js → code-preview-DmYqwM0J.js} +2 -2
  50. package/dist/{code-preview-CTnFGeWr.js.map → code-preview-DmYqwM0J.js.map} +1 -1
  51. package/dist/components.cjs +1 -1
  52. package/dist/components.js +1 -1
  53. package/dist/content-drawer.cjs +1 -1
  54. package/dist/content-drawer.js +1 -1
  55. package/dist/{date-range-CoETNfZb.cjs → date-range-B1l0Wnyd.cjs} +2 -2
  56. package/dist/{date-range-CoETNfZb.cjs.map → date-range-B1l0Wnyd.cjs.map} +1 -1
  57. package/dist/{date-range-ClsaySUj.js → date-range-D5kBOyG0.js} +3 -3
  58. package/dist/{date-range-ClsaySUj.js.map → date-range-D5kBOyG0.js.map} +1 -1
  59. package/dist/{date-range-inline-DANhDNYe.cjs → date-range-inline-BbTCdiL0.cjs} +2 -2
  60. package/dist/{date-range-inline-DANhDNYe.cjs.map → date-range-inline-BbTCdiL0.cjs.map} +1 -1
  61. package/dist/{date-range-inline-DGlKBtNK.js → date-range-inline-Curj100b.js} +3 -3
  62. package/dist/{date-range-inline-DGlKBtNK.js.map → date-range-inline-Curj100b.js.map} +1 -1
  63. package/dist/date-range-inline.cjs +1 -1
  64. package/dist/date-range-inline.js +1 -1
  65. package/dist/date-range.cjs +1 -1
  66. package/dist/date-range.js +1 -1
  67. package/dist/{delay-BYgsZZlo.js → delay-B8D9ePlX.js} +2 -2
  68. package/dist/{delay-BYgsZZlo.js.map → delay-B8D9ePlX.js.map} +1 -1
  69. package/dist/{delay-C_eK0GWj.cjs → delay-BR6cMb_F.cjs} +2 -2
  70. package/dist/{delay-C_eK0GWj.cjs.map → delay-BR6cMb_F.cjs.map} +1 -1
  71. package/dist/delay.cjs +1 -1
  72. package/dist/delay.js +1 -1
  73. package/dist/{details-YOyqdGM4.js → details-CpuplvIM.js} +2 -2
  74. package/dist/{details-YOyqdGM4.js.map → details-CpuplvIM.js.map} +1 -1
  75. package/dist/{details-CRLG7_Rx.cjs → details-DCzexjYw.cjs} +2 -2
  76. package/dist/{details-CRLG7_Rx.cjs.map → details-DCzexjYw.cjs.map} +1 -1
  77. package/dist/details.cjs +1 -1
  78. package/dist/details.js +1 -1
  79. package/dist/{dialog-content-Bm8humI-.cjs → dialog-content-DUnSEoaA.cjs} +2 -2
  80. package/dist/{dialog-content-Bm8humI-.cjs.map → dialog-content-DUnSEoaA.cjs.map} +1 -1
  81. package/dist/{dialog-content-CXshnL4t.js → dialog-content-wcZn95Gx.js} +3 -3
  82. package/dist/{dialog-content-CXshnL4t.js.map → dialog-content-wcZn95Gx.js.map} +1 -1
  83. package/dist/dialog.cjs +1 -1
  84. package/dist/dialog.js +1 -1
  85. package/dist/{divider-BD7cCM-N.js → divider-C4d0QNQU.js} +3 -3
  86. package/dist/{divider-BD7cCM-N.js.map → divider-C4d0QNQU.js.map} +1 -1
  87. package/dist/{divider-W9uJ8C3q.cjs → divider-nVB0kEMZ.cjs} +2 -2
  88. package/dist/{divider-W9uJ8C3q.cjs.map → divider-nVB0kEMZ.cjs.map} +1 -1
  89. package/dist/divider.cjs +1 -1
  90. package/dist/divider.js +1 -1
  91. package/dist/{dropdown-content-DnWgB8CR.cjs → dropdown-content-CNc79RjI.cjs} +2 -2
  92. package/dist/{dropdown-content-DnWgB8CR.cjs.map → dropdown-content-CNc79RjI.cjs.map} +1 -1
  93. package/dist/{dropdown-content-C7b_9CMw.js → dropdown-content-D2GCSD5Z.js} +3 -3
  94. package/dist/{dropdown-content-C7b_9CMw.js.map → dropdown-content-D2GCSD5Z.js.map} +1 -1
  95. package/dist/dropdown.cjs +1 -1
  96. package/dist/dropdown.js +1 -1
  97. package/dist/{email-recipients-CyIXLoSh.js → email-recipients-C-5ER5TU.js} +5 -5
  98. package/dist/{email-recipients-CyIXLoSh.js.map → email-recipients-C-5ER5TU.js.map} +1 -1
  99. package/dist/{email-recipients-whsZqIpA.cjs → email-recipients-DRxGI7gT.cjs} +2 -2
  100. package/dist/{email-recipients-whsZqIpA.cjs.map → email-recipients-DRxGI7gT.cjs.map} +1 -1
  101. package/dist/extra.cjs +1 -1
  102. package/dist/extra.js +1 -1
  103. package/dist/{flex-DvZKaAtN.js → flex-BeghKdy8.js} +2 -2
  104. package/dist/{flex-DvZKaAtN.js.map → flex-BeghKdy8.js.map} +1 -1
  105. package/dist/{flex-C0O9O1yV.cjs → flex-C66W_bVN.cjs} +2 -2
  106. package/dist/{flex-C0O9O1yV.cjs.map → flex-C66W_bVN.cjs.map} +1 -1
  107. package/dist/{form-D4AZek8y.cjs → form-BLnfpLCB.cjs} +2 -2
  108. package/dist/{form-D4AZek8y.cjs.map → form-BLnfpLCB.cjs.map} +1 -1
  109. package/dist/{form-BsI5Sk-R.js → form-CzSXaOL2.js} +2 -2
  110. package/dist/{form-BsI5Sk-R.js.map → form-CzSXaOL2.js.map} +1 -1
  111. package/dist/form.cjs +1 -1
  112. package/dist/form.js +1 -1
  113. package/dist/{formField.mixin-DfxR1FzZ.cjs → formField.mixin-DdQvbwbp.cjs} +2 -2
  114. package/dist/{formField.mixin-DfxR1FzZ.cjs.map → formField.mixin-DdQvbwbp.cjs.map} +1 -1
  115. package/dist/{formField.mixin-C_a5Hccx.js → formField.mixin-SU-0UQ6O.js} +2 -2
  116. package/dist/{formField.mixin-C_a5Hccx.js.map → formField.mixin-SU-0UQ6O.js.map} +1 -1
  117. package/dist/{icon-J11blFZq.cjs → icon-B38Atn5F.cjs} +2 -2
  118. package/dist/{icon-J11blFZq.cjs.map → icon-B38Atn5F.cjs.map} +1 -1
  119. package/dist/{icon-5LbOG-V0.js → icon-BAE9GvxI.js} +2 -2
  120. package/dist/{icon-5LbOG-V0.js.map → icon-BAE9GvxI.js.map} +1 -1
  121. package/dist/{icon-button-DjfEYUdj.cjs → icon-button-D24NUFs7.cjs} +2 -2
  122. package/dist/{icon-button-DjfEYUdj.cjs.map → icon-button-D24NUFs7.cjs.map} +1 -1
  123. package/dist/{icon-button-Cwm3vcDO.js → icon-button-gNZEaDU2.js} +3 -3
  124. package/dist/{icon-button-Cwm3vcDO.js.map → icon-button-gNZEaDU2.js.map} +1 -1
  125. package/dist/icons.cjs +1 -1
  126. package/dist/icons.js +1 -1
  127. package/dist/index.cjs +1 -1
  128. package/dist/index.js +49 -49
  129. package/dist/{input-DbzpwrUh.cjs → input-B-87Y5m2.cjs} +2 -2
  130. package/dist/{input-DbzpwrUh.cjs.map → input-B-87Y5m2.cjs.map} +1 -1
  131. package/dist/{input-DO5pS6fE.js → input-Db0akZJI.js} +3 -3
  132. package/dist/{input-DO5pS6fE.js.map → input-Db0akZJI.js.map} +1 -1
  133. package/dist/{input-chip-CXZTmfwT.js → input-chip-DT7Zln32.js} +2 -2
  134. package/dist/{input-chip-CXZTmfwT.js.map → input-chip-DT7Zln32.js.map} +1 -1
  135. package/dist/{input-chip-CBJxQ2MI.cjs → input-chip-Y6Umqn68.cjs} +2 -2
  136. package/dist/{input-chip-CBJxQ2MI.cjs.map → input-chip-Y6Umqn68.cjs.map} +1 -1
  137. package/dist/input.cjs +1 -1
  138. package/dist/input.js +1 -1
  139. package/dist/layout.cjs +1 -1
  140. package/dist/layout.js +1 -1
  141. package/dist/{list-C7wTsdkZ.cjs → list-Bx4nE-9X.cjs} +2 -2
  142. package/dist/{list-C7wTsdkZ.cjs.map → list-Bx4nE-9X.cjs.map} +1 -1
  143. package/dist/{list-Cbrv1Y7B.js → list-D5CL0Hmr.js} +2 -2
  144. package/dist/{list-Cbrv1Y7B.js.map → list-D5CL0Hmr.js.map} +1 -1
  145. package/dist/list.cjs +1 -1
  146. package/dist/list.js +1 -1
  147. package/dist/{litElement.mixin-DwXXrxwO.js → litElement.mixin-DLWHaMp5.js} +2 -2
  148. package/dist/{litElement.mixin-DwXXrxwO.js.map → litElement.mixin-DLWHaMp5.js.map} +1 -1
  149. package/dist/{litElement.mixin-Dlq4PNEh.cjs → litElement.mixin-vtpQghkf.cjs} +2 -2
  150. package/dist/{litElement.mixin-Dlq4PNEh.cjs.map → litElement.mixin-vtpQghkf.cjs.map} +1 -1
  151. package/dist/mailbox.cjs +1 -1
  152. package/dist/mailbox.js +1 -1
  153. package/dist/{map-6p1rwGq_.js → map-BgWSgSOf.js} +2 -2
  154. package/dist/{map-6p1rwGq_.js.map → map-BgWSgSOf.js.map} +1 -1
  155. package/dist/{map-B3Ond3EJ.cjs → map-ChhBWqG-.cjs} +2 -2
  156. package/dist/{map-B3Ond3EJ.cjs.map → map-ChhBWqG-.cjs.map} +1 -1
  157. package/dist/map.cjs +1 -1
  158. package/dist/map.js +1 -1
  159. package/dist/{media-8qL5J_9U.js → media-DnpRpbFQ.js} +2 -2
  160. package/dist/{media-8qL5J_9U.js.map → media-DnpRpbFQ.js.map} +1 -1
  161. package/dist/{media-urvTQuhG.cjs → media-hFrznC-7.cjs} +2 -2
  162. package/dist/{media-urvTQuhG.cjs.map → media-hFrznC-7.cjs.map} +1 -1
  163. package/dist/{menu-CAqcdA-t.cjs → menu-DkRVRYp4.cjs} +2 -2
  164. package/dist/{menu-CAqcdA-t.cjs.map → menu-DkRVRYp4.cjs.map} +1 -1
  165. package/dist/{menu-DqPjhh0F.js → menu-DqRauRjT.js} +3 -3
  166. package/dist/{menu-DqPjhh0F.js.map → menu-DqRauRjT.js.map} +1 -1
  167. package/dist/menu.cjs +1 -1
  168. package/dist/menu.js +1 -1
  169. package/dist/nav-drawer.cjs +1 -1
  170. package/dist/nav-drawer.js +1 -1
  171. package/dist/navigation-bar.cjs +1 -1
  172. package/dist/navigation-bar.js +1 -1
  173. package/dist/{navigation-rail-G9DFyu8b.cjs → navigation-rail-CBhirMNF.cjs} +3 -3
  174. package/dist/{navigation-rail-G9DFyu8b.cjs.map → navigation-rail-CBhirMNF.cjs.map} +1 -1
  175. package/dist/{navigation-rail-B1JZU-E_.js → navigation-rail-Ncy6rBEj.js} +4 -4
  176. package/dist/{navigation-rail-B1JZU-E_.js.map → navigation-rail-Ncy6rBEj.js.map} +1 -1
  177. package/dist/navigation-rail.cjs +1 -1
  178. package/dist/navigation-rail.js +1 -1
  179. package/dist/{notification-service-D2iAqL5y.cjs → notification-service-BcrHAzSN.cjs} +2 -2
  180. package/dist/{notification-service-D2iAqL5y.cjs.map → notification-service-BcrHAzSN.cjs.map} +1 -1
  181. package/dist/{notification-service-C2FCNL6K.js → notification-service-CRAcOFSD.js} +4 -4
  182. package/dist/{notification-service-C2FCNL6K.js.map → notification-service-CRAcOFSD.js.map} +1 -1
  183. package/dist/notification.cjs +1 -1
  184. package/dist/notification.js +2 -2
  185. package/dist/{notify-CGUpuJK_.cjs → notify-BZLGxTpL.cjs} +2 -2
  186. package/dist/{notify-CGUpuJK_.cjs.map → notify-BZLGxTpL.cjs.map} +1 -1
  187. package/dist/{notify-CXgvep0J.js → notify-zBmyDMjt.js} +2 -2
  188. package/dist/{notify-CXgvep0J.js.map → notify-zBmyDMjt.js.map} +1 -1
  189. package/dist/{option-CWqav-ae.js → option-BOs02M9F.js} +2 -2
  190. package/dist/{option-CWqav-ae.js.map → option-BOs02M9F.js.map} +1 -1
  191. package/dist/{option-D8qnpwBr.cjs → option-CJZFrYDI.cjs} +2 -2
  192. package/dist/{option-D8qnpwBr.cjs.map → option-CJZFrYDI.cjs.map} +1 -1
  193. package/dist/option.cjs +1 -1
  194. package/dist/option.js +1 -1
  195. package/dist/{payment-card-form-pQBAeXvc.cjs → payment-card-form-C3RKAyE-.cjs} +2 -2
  196. package/dist/{payment-card-form-pQBAeXvc.cjs.map → payment-card-form-C3RKAyE-.cjs.map} +1 -1
  197. package/dist/{payment-card-form-09YuBc3U.js → payment-card-form-S9DUk7kb.js} +3 -3
  198. package/dist/{payment-card-form-09YuBc3U.js.map → payment-card-form-S9DUk7kb.js.map} +1 -1
  199. package/dist/{progress-nWFc1Ixd.cjs → progress-C36hgIf5.cjs} +2 -2
  200. package/dist/{progress-nWFc1Ixd.cjs.map → progress-C36hgIf5.cjs.map} +1 -1
  201. package/dist/{progress-BLRwJ_un.js → progress-DtJc6jWJ.js} +2 -2
  202. package/dist/{progress-BLRwJ_un.js.map → progress-DtJc6jWJ.js.map} +1 -1
  203. package/dist/progress.cjs +1 -1
  204. package/dist/progress.js +1 -1
  205. package/dist/{radio-button-DIjkirPr.cjs → radio-button-BEoY5yRc.cjs} +2 -2
  206. package/dist/{radio-button-DIjkirPr.cjs.map → radio-button-BEoY5yRc.cjs.map} +1 -1
  207. package/dist/{radio-button-BC0Of2-G.js → radio-button-aKwgu1bt.js} +3 -3
  208. package/dist/{radio-button-BC0Of2-G.js.map → radio-button-aKwgu1bt.js.map} +1 -1
  209. package/dist/radio-group.cjs +1 -1
  210. package/dist/radio-group.js +1 -1
  211. package/dist/{schmancy-steps-container-Sf8RjF0N.js → schmancy-steps-container-D5sbskLl.js} +2 -2
  212. package/dist/{schmancy-steps-container-Sf8RjF0N.js.map → schmancy-steps-container-D5sbskLl.js.map} +1 -1
  213. package/dist/{schmancy-steps-container-B8B2ZnTB.cjs → schmancy-steps-container-DINAsJgP.cjs} +2 -2
  214. package/dist/{schmancy-steps-container-B8B2ZnTB.cjs.map → schmancy-steps-container-DINAsJgP.cjs.map} +1 -1
  215. package/dist/{select-C6QlML9m.js → select-Bq_CyEe1.js} +3 -3
  216. package/dist/{select-C6QlML9m.js.map → select-Bq_CyEe1.js.map} +1 -1
  217. package/dist/{select-CqlN3vWr.cjs → select-C0gf-GTX.cjs} +2 -2
  218. package/dist/{select-CqlN3vWr.cjs.map → select-C0gf-GTX.cjs.map} +1 -1
  219. package/dist/select.cjs +1 -1
  220. package/dist/select.js +1 -1
  221. package/dist/{sheet-Dxx7iH9V.js → sheet-PXddkPIR.js} +3 -3
  222. package/dist/{sheet-Dxx7iH9V.js.map → sheet-PXddkPIR.js.map} +1 -1
  223. package/dist/{sheet-D6yxukD7.cjs → sheet-vJ5lJw8A.cjs} +2 -2
  224. package/dist/{sheet-D6yxukD7.cjs.map → sheet-vJ5lJw8A.cjs.map} +1 -1
  225. package/dist/sheet.cjs +1 -1
  226. package/dist/sheet.js +1 -1
  227. package/dist/{slider-BIjiRBMB.js → slider-CSC7AOPU.js} +3 -3
  228. package/dist/{slider-BIjiRBMB.js.map → slider-CSC7AOPU.js.map} +1 -1
  229. package/dist/{slider-BGgXG44k.cjs → slider-In_OE4B9.cjs} +2 -2
  230. package/dist/{slider-BGgXG44k.cjs.map → slider-In_OE4B9.cjs.map} +1 -1
  231. package/dist/slider.cjs +1 -1
  232. package/dist/slider.js +1 -1
  233. package/dist/{spinner-D8IKqMrW.js → spinner-Db7i3EZh.js} +2 -2
  234. package/dist/{spinner-D8IKqMrW.js.map → spinner-Db7i3EZh.js.map} +1 -1
  235. package/dist/{spinner-CFx3p13n.cjs → spinner-DpIB845r.cjs} +2 -2
  236. package/dist/{spinner-CFx3p13n.cjs.map → spinner-DpIB845r.cjs.map} +1 -1
  237. package/dist/steps.cjs +1 -1
  238. package/dist/steps.js +1 -1
  239. package/dist/{suggestion-chip-DHpWcimf.js → suggestion-chip-CJygiEf_.js} +3 -3
  240. package/dist/{suggestion-chip-DHpWcimf.js.map → suggestion-chip-CJygiEf_.js.map} +1 -1
  241. package/dist/{suggestion-chip-KkPIwkYP.cjs → suggestion-chip-DgwbXrI1.cjs} +2 -2
  242. package/dist/{suggestion-chip-KkPIwkYP.cjs.map → suggestion-chip-DgwbXrI1.cjs.map} +1 -1
  243. package/dist/{surface-pMQpuZWM.cjs → surface-Do6Jvjgs.cjs} +2 -2
  244. package/dist/{surface-pMQpuZWM.cjs.map → surface-Do6Jvjgs.cjs.map} +1 -1
  245. package/dist/{surface-CkSAxbh2.js → surface-OK-98YMi.js} +2 -2
  246. package/dist/{surface-CkSAxbh2.js.map → surface-OK-98YMi.js.map} +1 -1
  247. package/dist/surface.cjs +1 -1
  248. package/dist/surface.js +1 -1
  249. package/dist/{table-CVHtS_w_.cjs → table-CJAjGdP2.cjs} +2 -2
  250. package/dist/{table-CVHtS_w_.cjs.map → table-CJAjGdP2.cjs.map} +1 -1
  251. package/dist/{table-BgQCOk5g.js → table-IX2oy6pR.js} +2 -2
  252. package/dist/{table-BgQCOk5g.js.map → table-IX2oy6pR.js.map} +1 -1
  253. package/dist/table.cjs +1 -1
  254. package/dist/table.js +1 -1
  255. package/dist/{tabs-compatibility-BCtEpyN5.js → tabs-compatibility-BcjBZAcx.js} +2 -2
  256. package/dist/{tabs-compatibility-BCtEpyN5.js.map → tabs-compatibility-BcjBZAcx.js.map} +1 -1
  257. package/dist/{tabs-compatibility-w2lmMs2h.cjs → tabs-compatibility-DRL9DJHu.cjs} +2 -2
  258. package/dist/{tabs-compatibility-w2lmMs2h.cjs.map → tabs-compatibility-DRL9DJHu.cjs.map} +1 -1
  259. package/dist/tabs.cjs +1 -1
  260. package/dist/tabs.js +1 -1
  261. package/dist/tailwind.mixin-CfBr6oca.cjs +2 -0
  262. package/dist/{tailwind.mixin-Bz_Bv8SX.cjs.map → tailwind.mixin-CfBr6oca.cjs.map} +1 -1
  263. package/dist/tailwind.mixin-Cx1vOdFr.js +64 -0
  264. package/dist/{tailwind.mixin-Be9DoonS.js.map → tailwind.mixin-Cx1vOdFr.js.map} +1 -1
  265. package/dist/teleport.cjs +1 -1
  266. package/dist/teleport.js +1 -1
  267. package/dist/{textarea-BRI0tufi.cjs → textarea-D6tLCvgH.cjs} +2 -2
  268. package/dist/{textarea-BRI0tufi.cjs.map → textarea-D6tLCvgH.cjs.map} +1 -1
  269. package/dist/{textarea-DBc8Uh7D.js → textarea-DOdMuK9D.js} +2 -2
  270. package/dist/{textarea-DBc8Uh7D.js.map → textarea-DOdMuK9D.js.map} +1 -1
  271. package/dist/textarea.cjs +1 -1
  272. package/dist/textarea.js +1 -1
  273. package/dist/{theme-button-DXCpzc5c.cjs → theme-button-BygpnNZP.cjs} +2 -2
  274. package/dist/{theme-button-DXCpzc5c.cjs.map → theme-button-BygpnNZP.cjs.map} +1 -1
  275. package/dist/{theme-button-DCYQYmF-.js → theme-button-Mtmrrq0s.js} +2 -2
  276. package/dist/{theme-button-DCYQYmF-.js.map → theme-button-Mtmrrq0s.js.map} +1 -1
  277. package/dist/theme-button.cjs +1 -1
  278. package/dist/theme-button.js +1 -1
  279. package/dist/{theme-controller-boat-HDnVrCW1.cjs → theme-controller-boat-6PcxsUUQ.cjs} +2 -2
  280. package/dist/{theme-controller-boat-HDnVrCW1.cjs.map → theme-controller-boat-6PcxsUUQ.cjs.map} +1 -1
  281. package/dist/{theme-controller-boat-C_6tVWSS.js → theme-controller-boat-CFWhF7oJ.js} +3 -3
  282. package/dist/{theme-controller-boat-C_6tVWSS.js.map → theme-controller-boat-CFWhF7oJ.js.map} +1 -1
  283. package/dist/theme.cjs +1 -1
  284. package/dist/theme.js +1 -1
  285. package/dist/{timezone-Atm5Dy-B.js → timezone-CZ3y_y_n.js} +3 -3
  286. package/dist/{timezone-Atm5Dy-B.js.map → timezone-CZ3y_y_n.js.map} +1 -1
  287. package/dist/{timezone-BQaIFLiV.cjs → timezone-GffBsJxM.cjs} +2 -2
  288. package/dist/{timezone-BQaIFLiV.cjs.map → timezone-GffBsJxM.cjs.map} +1 -1
  289. package/dist/{tooltip-C-PhMMvT.js → tooltip-BlwQ_fIF.js} +2 -2
  290. package/dist/{tooltip-C-PhMMvT.js.map → tooltip-BlwQ_fIF.js.map} +1 -1
  291. package/dist/{tooltip-SBsMu8ZQ.cjs → tooltip-PI0IE4wA.cjs} +2 -2
  292. package/dist/{tooltip-SBsMu8ZQ.cjs.map → tooltip-PI0IE4wA.cjs.map} +1 -1
  293. package/dist/tooltip.cjs +1 -1
  294. package/dist/tooltip.js +1 -1
  295. package/dist/{tree-BagJ6dD2.js → tree-Cum3Na-a.js} +2 -2
  296. package/dist/{tree-BagJ6dD2.js.map → tree-Cum3Na-a.js.map} +1 -1
  297. package/dist/{tree-j0lH3CZh.cjs → tree-Cxfl4yJv.cjs} +2 -2
  298. package/dist/{tree-j0lH3CZh.cjs.map → tree-Cxfl4yJv.cjs.map} +1 -1
  299. package/dist/tree.cjs +1 -1
  300. package/dist/tree.js +1 -1
  301. package/dist/{typewriter-BawsYtHa.cjs → typewriter-BaiAOEvZ.cjs} +2 -2
  302. package/dist/{typewriter-BawsYtHa.cjs.map → typewriter-BaiAOEvZ.cjs.map} +1 -1
  303. package/dist/{typewriter-BjiolWBJ.js → typewriter-DTcmDBnt.js} +4 -4
  304. package/dist/{typewriter-BjiolWBJ.js.map → typewriter-DTcmDBnt.js.map} +1 -1
  305. package/dist/typewriter.cjs +1 -1
  306. package/dist/typewriter.js +1 -1
  307. package/dist/{typography-CyDDUJ9J.js → typography-BLHV8e7O.js} +2 -2
  308. package/dist/{typography-CyDDUJ9J.js.map → typography-BLHV8e7O.js.map} +1 -1
  309. package/dist/{typography-Bk9jOEtx.cjs → typography-CtesPGRT.cjs} +2 -2
  310. package/dist/{typography-Bk9jOEtx.cjs.map → typography-CtesPGRT.cjs.map} +1 -1
  311. package/dist/typography.cjs +1 -1
  312. package/dist/typography.js +1 -1
  313. package/package.json +1 -1
  314. package/types/src/autocomplete/autocomplete.d.ts +1 -1
  315. package/types/src/content-drawer/drawer.d.ts +6 -0
  316. package/types/src/content-drawer/drawer.service.d.ts +12 -1
  317. package/types/src/content-drawer/main.d.ts +2 -2
  318. package/dist/area.component-C3uCk-c1.cjs +0 -12
  319. package/dist/area.component-C3uCk-c1.cjs.map +0 -1
  320. package/dist/area.component-CgAISzZ3.js.map +0 -1
  321. package/dist/autocomplete--0ZoSIp0.js.map +0 -1
  322. package/dist/autocomplete-CpCXamUl.cjs +0 -112
  323. package/dist/autocomplete-CpCXamUl.cjs.map +0 -1
  324. package/dist/avatar-5cjrkZS5.cjs.map +0 -1
  325. package/dist/avatar-BixWcgH7.js.map +0 -1
  326. package/dist/tailwind.mixin-Be9DoonS.js +0 -64
  327. package/dist/tailwind.mixin-Bz_Bv8SX.cjs +0 -2
@@ -1,70 +1,70 @@
1
- import { css as w, html as c, nothing as ft } from "lit";
2
- import { property as l, customElement as p, state as d, queryAssignedElements as gt, query as tt } from "lit/decorators.js";
3
- import { Subject as ot, merge as Q, fromEvent as h, startWith as Et, map as v, debounceTime as G, tap as D, distinctUntilChanged as et, takeUntil as m, from as dt, of as J, Observable as It, BehaviorSubject as vt, timer as zt, zip as pt, filter as wt, take as Mt, timeout as jt, bufferTime as Pt, concatMap as Wt, interval as Ht, throwIfEmpty as Bt } from "rxjs";
4
- import "./animated-text-CPA937x-.js";
5
- import { a as ut, F as Rt, H as Lt } from "./area.component-CgAISzZ3.js";
6
- import "./autocomplete--0ZoSIp0.js";
7
- import { tap as L, takeUntil as j, filter as V, throttleTime as Nt, map as xt, pairwise as Tt, distinctUntilChanged as At, take as qt } from "rxjs/operators";
1
+ import { css as w, html as c, nothing as bt } from "lit";
2
+ import { property as l, customElement as p, state as h, queryAssignedElements as ft, query as tt } from "lit/decorators.js";
3
+ import { Subject as ot, merge as Q, fromEvent as d, startWith as Ot, debounceTime as G, map as g, distinctUntilChanged as et, tap as E, takeUntil as m, from as ht, of as J, Observable as Dt, BehaviorSubject as gt, timer as It, zip as pt, filter as vt, take as Mt, timeout as zt, bufferTime as jt, concatMap as Pt, interval as Rt, throwIfEmpty as Wt } from "rxjs";
4
+ import "./animated-text-CCfSintu.js";
5
+ import { a as Ht, F as Lt, H as Bt } from "./area.component-DUGxsL2-.js";
6
+ import "./autocomplete-Dcw5go_X.js";
7
+ import { tap as B, takeUntil as j, filter as V, throttleTime as Tt, map as wt, pairwise as Nt, distinctUntilChanged as At, take as _t } from "rxjs/operators";
8
8
  import "lit/directives/class-map.js";
9
9
  import "lit/directives/style-map.js";
10
- import { T as Z } from "./tailwind.mixin-Be9DoonS.js";
11
- import { c as P, f as _t } from "./ripple-Cy-nvO8W.js";
10
+ import { T as Z } from "./tailwind.mixin-Cx1vOdFr.js";
11
+ import { c as P, f as qt } from "./ripple-Cy-nvO8W.js";
12
12
  import "lit/directives/guard.js";
13
- import "./boat-Bou0hRnM.js";
14
- import "./spinner-D8IKqMrW.js";
15
- import "./icon-button-Cwm3vcDO.js";
16
- import "./media-8qL5J_9U.js";
17
- import "./checkbox-D8ZJSnVa.js";
18
- import "./suggestion-chip-DHpWcimf.js";
19
- import "./input-chip-CXZTmfwT.js";
20
- import "./code-preview-CTnFGeWr.js";
21
- import "./payment-card-form-09YuBc3U.js";
22
- import { SchmancyEvents as y } from "./types.js";
23
- import { n as N, e as R } from "./provide-tcktw8xB.js";
24
- import { $ as W } from "./litElement.mixin-DwXXrxwO.js";
13
+ import "./boat-Ct95p20s.js";
14
+ import "./spinner-Db7i3EZh.js";
15
+ import "./icon-button-gNZEaDU2.js";
16
+ import "./media-DnpRpbFQ.js";
17
+ import "./checkbox-DedHgVWe.js";
18
+ import "./suggestion-chip-CJygiEf_.js";
19
+ import "./input-chip-DT7Zln32.js";
20
+ import "./code-preview-DmYqwM0J.js";
21
+ import "./payment-card-form-S9DUk7kb.js";
22
+ import { SchmancyEvents as v } from "./types.js";
23
+ import { n as T, e as L } from "./provide-tcktw8xB.js";
24
+ import { $ as R } from "./litElement.mixin-DLWHaMp5.js";
25
25
  import { c as u } from "./consume-5D1qfVWM.js";
26
- import "./date-range-ClsaySUj.js";
27
- import "./date-range-inline-DGlKBtNK.js";
28
- import "./delay-BYgsZZlo.js";
29
- import "./details-YOyqdGM4.js";
30
- import "./dialog-content-CXshnL4t.js";
26
+ import "./date-range-D5kBOyG0.js";
27
+ import "./date-range-inline-Curj100b.js";
28
+ import "./delay-B8D9ePlX.js";
29
+ import "./details-CpuplvIM.js";
30
+ import "./dialog-content-wcZn95Gx.js";
31
31
  import "./dialog-service-CyQzm5qE.js";
32
- import "./divider-BD7cCM-N.js";
33
- import "./dropdown-content-C7b_9CMw.js";
34
- import "./timezone-Atm5Dy-B.js";
35
- import "./form-BsI5Sk-R.js";
36
- import "./icon-5LbOG-V0.js";
37
- import "./input-DO5pS6fE.js";
38
- import "./flex-DvZKaAtN.js";
39
- import "./list-Cbrv1Y7B.js";
40
- import "./email-recipients-CyIXLoSh.js";
41
- import "./map-6p1rwGq_.js";
42
- import "./menu-DqPjhh0F.js";
32
+ import "./divider-C4d0QNQU.js";
33
+ import "./dropdown-content-D2GCSD5Z.js";
34
+ import "./timezone-CZ3y_y_n.js";
35
+ import "./form-CzSXaOL2.js";
36
+ import "./icon-BAE9GvxI.js";
37
+ import "./input-Db0akZJI.js";
38
+ import "./flex-BeghKdy8.js";
39
+ import "./list-D5CL0Hmr.js";
40
+ import "./email-recipients-C-5ER5TU.js";
41
+ import "./map-BgWSgSOf.js";
42
+ import "./menu-DqRauRjT.js";
43
43
  import { when as st } from "lit/directives/when.js";
44
- import "./navigation-rail-B1JZU-E_.js";
45
- import "./notification-service-C2FCNL6K.js";
46
- import "./option-CWqav-ae.js";
47
- import "./progress-BLRwJ_un.js";
48
- import "./radio-button-BC0Of2-G.js";
44
+ import "./navigation-rail-Ncy6rBEj.js";
45
+ import "./notification-service-CRAcOFSD.js";
46
+ import "./option-BOs02M9F.js";
47
+ import "./progress-DtJc6jWJ.js";
48
+ import "./radio-button-aKwgu1bt.js";
49
49
  import "./index-CW6PhEkx.js";
50
- import "./select-C6QlML9m.js";
51
- import "./sheet-Dxx7iH9V.js";
50
+ import "./select-Bq_CyEe1.js";
51
+ import "./sheet-PXddkPIR.js";
52
52
  import { s as it } from "./sheet.service-lXqUf6n5.js";
53
- import "./slider-BIjiRBMB.js";
54
- import "./schmancy-steps-container-Sf8RjF0N.js";
53
+ import "./slider-CSC7AOPU.js";
54
+ import "./schmancy-steps-container-D5sbskLl.js";
55
55
  import "./context-create-DCiujzV2.js";
56
- import "./surface-CkSAxbh2.js";
57
- import "./table-BgQCOk5g.js";
58
- import "./tabs-compatibility-BCtEpyN5.js";
59
- import "./textarea-DBc8Uh7D.js";
60
- import "./theme-controller-boat-C_6tVWSS.js";
61
- import "./theme-button-DCYQYmF-.js";
62
- import "./tooltip-C-PhMMvT.js";
63
- import "./tree-BagJ6dD2.js";
64
- import "./typewriter-BjiolWBJ.js";
65
- import "./typography-CyDDUJ9J.js";
56
+ import "./surface-OK-98YMi.js";
57
+ import "./table-IX2oy6pR.js";
58
+ import "./tabs-compatibility-BcjBZAcx.js";
59
+ import "./textarea-DOdMuK9D.js";
60
+ import "./theme-controller-boat-CFWhF7oJ.js";
61
+ import "./theme-button-Mtmrrq0s.js";
62
+ import "./tooltip-BlwQ_fIF.js";
63
+ import "./tree-Cum3Na-a.js";
64
+ import "./typewriter-DTcmDBnt.js";
65
+ import "./typography-BLHV8e7O.js";
66
66
  import { S as r } from "./theme.interface-BLfE5J_1.js";
67
- var Xt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, M = (t, e, s, o) => {
67
+ var Xt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, z = (t, e, s, o) => {
68
68
  for (var n, i = o > 1 ? void 0 : o ? Ut(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
69
69
  return o && i && Xt(e, s, i), i;
70
70
  };
@@ -157,46 +157,58 @@ let k = class extends Z(w`
157
157
  `;
158
158
  }
159
159
  };
160
- M([l({ type: String, reflect: !0 })], k.prototype, "color", 2), M([l({ type: String, reflect: !0 })], k.prototype, "size", 2), M([l({ type: String, reflect: !0 })], k.prototype, "shape", 2), M([l({ type: Boolean, reflect: !0 })], k.prototype, "outlined", 2), M([l({ type: String })], k.prototype, "icon", 2), M([l({ type: Boolean, reflect: !0 })], k.prototype, "pulse", 2), k = M([p("schmancy-badge")], k);
161
- let mt = class extends k {
160
+ z([l({ type: String, reflect: !0 })], k.prototype, "color", 2), z([l({ type: String, reflect: !0 })], k.prototype, "size", 2), z([l({ type: String, reflect: !0 })], k.prototype, "shape", 2), z([l({ type: Boolean, reflect: !0 })], k.prototype, "outlined", 2), z([l({ type: String })], k.prototype, "icon", 2), z([l({ type: Boolean, reflect: !0 })], k.prototype, "pulse", 2), k = z([p("schmancy-badge")], k);
161
+ let ut = class extends k {
162
162
  };
163
- mt = M([p("sch-badge")], mt);
164
- const Ds = new class {
163
+ ut = z([p("sch-badge")], ut);
164
+ const Es = new class {
165
165
  constructor() {
166
166
  this.$drawer = new ot(), this.lastComponent = null, this.$drawer.pipe().subscribe((t) => {
167
- t.action === "dismiss" ? t.ref.dispatchEvent(new CustomEvent(y.ContentDrawerToggle, { detail: { state: "close" }, bubbles: !0, composed: !0 })) : t.action === "render" ? (t.ref.dispatchEvent(new CustomEvent(y.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);
167
+ switch (t.action) {
168
+ case "dismiss":
169
+ this.dispatchToggleEvent(t.ref, "close");
170
+ break;
171
+ case "render":
172
+ this.dispatchToggleEvent(t.ref, "open"), this.dispatchRenderEvent(t.ref, t.component, t.title);
173
+ break;
174
+ case "push":
175
+ this.handlePush(t.ref, t.component, t.state, t.params, t.props);
176
+ }
168
177
  });
169
178
  }
179
+ dispatchToggleEvent(t, e) {
180
+ t.dispatchEvent(new CustomEvent(v.ContentDrawerToggle, { detail: { state: e }, bubbles: !0, composed: !0 }));
181
+ }
182
+ dispatchRenderEvent(t, e, s, o, n, i) {
183
+ t.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", { detail: { component: e, title: s, state: o, params: n, props: i }, bubbles: !0, composed: !0 }));
184
+ }
170
185
  dimiss(t) {
171
186
  this.$drawer.next({ action: "dismiss", ref: t });
172
187
  }
173
188
  render(t, e, s) {
174
189
  t.dispatchEvent(new CustomEvent("custom-event")), this.$drawer.next({ action: "render", ref: t, component: e, title: s });
175
190
  }
176
- async handlePush(t, e) {
177
- let s;
178
- if (typeof e == "string") s = document.createElement(e);
179
- else if (e instanceof HTMLElement) s = e;
180
- else {
181
- if (typeof e != "function") return;
182
- try {
183
- const o = await e();
184
- o && typeof o == "object" && "default" in o ? s = new o.default() : s = o instanceof HTMLElement ? o : new o();
185
- } catch {
186
- return;
187
- }
191
+ async handlePush(t, e, s, o, n) {
192
+ const i = await this.resolveComponent(e);
193
+ i && (this.lastComponent === i && "requestUpdate" in i && i.requestUpdate(), this.lastComponent = i, this.dispatchToggleEvent(t, "open"), this.dispatchRenderEvent(t, i, void 0, s, o, n));
194
+ }
195
+ async resolveComponent(t) {
196
+ if (typeof t == "string") return document.createElement(t);
197
+ if (t instanceof HTMLElement) return t;
198
+ if (typeof t == "function") try {
199
+ const e = await t();
200
+ return e && typeof e == "object" && "default" in e ? new e.default() : e instanceof HTMLElement ? e : new e();
201
+ } catch {
202
+ return null;
188
203
  }
189
- this.lastComponent === s && "requestUpdate" in s && s.requestUpdate(), this.lastComponent = s, t.dispatchEvent(new CustomEvent(y.ContentDrawerToggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })), t.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", { detail: { component: s }, bubbles: !0, composed: !0 }));
190
- }
191
- push(t) {
192
- this.$drawer.next({ action: "push", ref: window, component: t });
204
+ return null;
193
205
  }
194
- }(), rt = N("push"), $t = N("close"), Ct = N(Math.floor(Math.random() * Date.now()).toString()), nt = N("100%"), at = N({});
195
- var Kt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, H = (t, e, s, o) => {
206
+ }(), rt = T("push"), xt = T("close"), $t = T(Math.floor(Math.random() * Date.now()).toString()), nt = T("100%"), at = T({});
207
+ var Kt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, W = (t, e, s, o) => {
196
208
  for (var n, i = o > 1 ? void 0 : o ? Ft(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
197
209
  return o && i && Kt(e, s, i), i;
198
210
  };
199
- let O = class extends W(w`
211
+ let O = class extends R(w`
200
212
  :host {
201
213
  position: relative;
202
214
  inset: 0;
@@ -208,45 +220,49 @@ let O = class extends W(w`
208
220
  super(...arguments), this.minWidth = { main: 360, sheet: 576 }, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
209
221
  }
210
222
  firstUpdated() {
211
- Q(h(window, "resize"), h(window, y.ContentDrawerResize)).pipe(Et(!0), v(() => this.clientWidth ? this.clientWidth : window.innerWidth), v((t) => t >= this.minWidth.main + this.minWidth.sheet), G(100), D(() => {
212
- this.maxHeight = window.innerHeight - this.getOffsetTop(this) - 32 + "px", this.style.setProperty("max-height", this.maxHeight);
213
- }), et(), m(this.disconnecting)).subscribe((t) => {
214
- t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
215
- }), h(window, y.ContentDrawerToggle).pipe(D((t) => {
216
- t.stopPropagation();
217
- }), v((t) => t.detail.state), m(this.disconnecting)).subscribe((t) => {
223
+ this.setupResizeListener(), this.setupToggleListener(), this.setupRenderListener();
224
+ }
225
+ setupResizeListener() {
226
+ Q(d(window, "resize"), d(window, v.ContentDrawerResize)).pipe(Ot(!0), G(100), g(() => this.clientWidth || window.innerWidth), g((t) => t >= this.minWidth.main + this.minWidth.sheet), et(), E(() => this.updateMaxHeight()), m(this.disconnecting)).subscribe((t) => this.updateMode(t));
227
+ }
228
+ setupToggleListener() {
229
+ d(window, v.ContentDrawerToggle).pipe(E((t) => t.stopPropagation()), g((t) => t.detail.state), m(this.disconnecting)).subscribe((t) => {
218
230
  this.open = t;
219
- }), h(window, "schmancy-content-drawer-render").pipe(D((t) => {
220
- t.stopPropagation();
221
- }), v((t) => t.detail), m(this.disconnecting)).subscribe(({ component: t, title: e }) => {
222
- this.mode === "push" ? (ut.push({ area: this.schmancyContentDrawerID, component: "empty", historyStrategy: "silent" }), ut.push({ area: this.schmancyContentDrawerID, component: t, historyStrategy: "silent" })) : (this.mode = "overlay") && it.open({ component: t, uid: this.schmancyContentDrawerID, title: e });
223
231
  });
224
232
  }
233
+ setupRenderListener() {
234
+ d(window, "schmancy-content-drawer-render").pipe(E((t) => t.stopPropagation()), g((t) => t.detail), m(this.disconnecting)).subscribe((t) => this.handleRender(t));
235
+ }
236
+ updateMaxHeight() {
237
+ this.maxHeight = window.innerHeight - this.getOffsetTop(this) + "px", this.style.setProperty("max-height", this.maxHeight);
238
+ }
239
+ updateMode(t) {
240
+ t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
241
+ }
242
+ handleRender(t) {
243
+ this.mode === "push" ? Ht.push({ area: this.schmancyContentDrawerID, component: t.component, historyStrategy: "silent", state: t.state, params: t.params, props: t.props }) : this.mode === "overlay" && it.open({ component: t.component, uid: this.schmancyContentDrawerID, title: t.title });
244
+ }
225
245
  getOffsetTop(t) {
226
246
  let e = 0;
227
247
  for (; t; ) e += t.offsetTop, t = t.offsetParent;
228
248
  return e;
229
249
  }
230
250
  render() {
231
- return this.mode && this.open ? c`
232
- <schmancy-grid
233
- cols=${this.mode === "overlay" ? "1fr" : "auto 1fr"}
234
- rows="1fr"
235
- flow="col"
236
- justify="stretch"
237
- align="stretch"
238
- >
251
+ if (!this.mode || !this.open) return bt;
252
+ const t = ["grid h-full", "grid-flow-col auto-cols-max", "grid-rows-[1fr]", "justify-items-stretch items-stretch", this.mode === "overlay" ? "grid-cols-[1fr]" : "grid-cols-[auto_1fr]"].join(" ");
253
+ return c`
254
+ <div class=${t}>
239
255
  <slot></slot>
240
- </schmancy-grid>
241
- ` : ft;
256
+ </div>
257
+ `;
242
258
  }
243
259
  };
244
- H([R({ context: at })], O.prototype, "minWidth", 2), H([R({ context: $t }), l()], O.prototype, "open", 2), H([R({ context: rt }), d()], O.prototype, "mode", 2), H([R({ context: Ct })], O.prototype, "schmancyContentDrawerID", 2), H([R({ context: nt })], O.prototype, "maxHeight", 2), H([gt({ flatten: !0 })], O.prototype, "assignedElements", 2), O = H([p("schmancy-content-drawer")], O);
245
- var Yt = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, q = (t, e, s, o) => {
260
+ W([L({ context: at })], O.prototype, "minWidth", 2), W([L({ context: xt }), l()], O.prototype, "open", 2), W([L({ context: rt }), h()], O.prototype, "mode", 2), W([L({ context: $t })], O.prototype, "schmancyContentDrawerID", 2), W([L({ context: nt })], O.prototype, "maxHeight", 2), W([ft({ flatten: !0 })], O.prototype, "assignedElements", 2), O = W([p("schmancy-content-drawer")], O);
261
+ var Yt = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, _ = (t, e, s, o) => {
246
262
  for (var n, i = o > 1 ? void 0 : o ? Vt(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
247
263
  return o && i && Yt(e, s, i), i;
248
264
  };
249
- let T = class extends W(w`
265
+ let N = class extends R(w`
250
266
  :host {
251
267
  display: block;
252
268
  overflow: hidden;
@@ -256,35 +272,28 @@ let T = class extends W(w`
256
272
  super.connectedCallback(), this.minWidth ? this.drawerMinWidth.main = this.minWidth : this.minWidth = this.drawerMinWidth.main;
257
273
  }
258
274
  update(t) {
259
- super.update(t), t.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(y.ContentDrawerResize, { bubbles: !0, composed: !0 })));
275
+ super.update(t), t.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(v.ContentDrawerResize, { bubbles: !0, composed: !0 })));
260
276
  }
261
277
  render() {
262
- const t = { minWidth: `${this.minWidth}px`, maxHeight: this.maxHeight };
278
+ const t = { minWidth: `${this.minWidth}px`, maxHeight: this.maxHeight }, e = ["grid h-full relative overflow-scroll", "grid-flow-col auto-cols-max", "grid-rows-[1fr]", "items-stretch justify-items-stretch", this.mode === "push" ? "grid-cols-[auto_1fr]" : "grid-cols-[1fr]"].join(" ");
263
279
  return c`
264
280
  <section class="relative inset-0 h-full">
265
- <schmancy-grid
266
- class="h-full relative overflow-scroll"
267
- cols="${this.mode === "push" ? "auto 1fr" : "1fr"}"
268
- rows="1fr"
269
- flow="col"
270
- align="stretch"
271
- justify="stretch"
272
- >
281
+ <div class=${e}>
273
282
  <section style=${this.styleMap(t)}>
274
283
  <slot></slot>
275
284
  </section>
276
- </schmancy-grid>
285
+ </div>
277
286
  ${st(this.mode === "push", () => c` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
278
287
  </section>
279
288
  `;
280
289
  }
281
290
  };
282
- q([l({ type: Number })], T.prototype, "minWidth", 2), q([u({ context: at, subscribe: !0 })], T.prototype, "drawerMinWidth", 2), q([u({ context: rt, subscribe: !0 }), d()], T.prototype, "mode", 2), q([u({ context: nt, subscribe: !0 }), d()], T.prototype, "maxHeight", 2), T = q([p("schmancy-content-drawer-main")], T);
291
+ _([l({ type: Number })], N.prototype, "minWidth", 2), _([u({ context: at, subscribe: !0 })], N.prototype, "drawerMinWidth", 2), _([u({ context: rt, subscribe: !0 }), h()], N.prototype, "mode", 2), _([u({ context: nt, subscribe: !0 }), h()], N.prototype, "maxHeight", 2), N = _([p("schmancy-content-drawer-main")], N);
283
292
  var Gt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, x = (t, e, s, o) => {
284
293
  for (var n, i = o > 1 ? void 0 : o ? Jt(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
285
294
  return o && i && Gt(e, s, i), i;
286
295
  };
287
- let b = class extends W(w`
296
+ let y = class extends R(w`
288
297
  :host {
289
298
  overflow: scroll;
290
299
  }
@@ -293,19 +302,19 @@ let b = class extends W(w`
293
302
  super.connectedCallback(), this.minWidth ? this.drawerMinWidth.sheet = this.minWidth : this.minWidth = this.drawerMinWidth.sheet;
294
303
  }
295
304
  updated(t) {
296
- super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(y.ContentDrawerResize, { bubbles: !0, composed: !0 }))) : (t.has("state") || t.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (it.dismiss(this.schmancyContentDrawerID), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
305
+ super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(v.ContentDrawerResize, { bubbles: !0, composed: !0 }))) : (t.has("state") || t.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (it.dismiss(this.schmancyContentDrawerID), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
297
306
  }
298
307
  open() {
299
308
  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)" });
300
309
  }
301
310
  closeAll() {
302
- Q(dt(this.closeModalSheet()), dt(this.closeSheet())).pipe(m(this.disconnecting)).subscribe();
311
+ Q(ht(this.closeModalSheet()), ht(this.closeSheet())).pipe(m(this.disconnecting)).subscribe();
303
312
  }
304
313
  closeModalSheet() {
305
- return J(!0).pipe(D(() => it.dismiss(this.schmancyContentDrawerID)));
314
+ return J(!0).pipe(E(() => it.dismiss(this.schmancyContentDrawerID)));
306
315
  }
307
316
  closeSheet() {
308
- return new It((t) => {
317
+ return new Dt((t) => {
309
318
  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 = () => {
310
319
  this.sheet.style.display = "none", t.next(), t.complete();
311
320
  };
@@ -322,11 +331,11 @@ let b = class extends W(w`
322
331
  `;
323
332
  }
324
333
  };
325
- x([l({ type: Number })], b.prototype, "minWidth", 2), x([u({ context: rt, subscribe: !0 }), d()], b.prototype, "mode", 2), x([u({ context: $t, subscribe: !0 }), d()], b.prototype, "state", 2), x([u({ context: Ct })], b.prototype, "schmancyContentDrawerID", 2), x([tt("#sheet")], b.prototype, "sheet", 2), x([gt({ flatten: !0, slot: void 0 })], b.prototype, "defaultSlot", 2), x([u({ context: at, subscribe: !0 })], b.prototype, "drawerMinWidth", 2), x([u({ context: nt, subscribe: !0 }), d()], b.prototype, "maxHeight", 2), b = x([p("schmancy-content-drawer-sheet")], b);
334
+ x([l({ type: Number })], y.prototype, "minWidth", 2), x([u({ context: rt, subscribe: !0 }), h()], y.prototype, "mode", 2), x([u({ context: xt, subscribe: !0 }), h()], y.prototype, "state", 2), x([u({ context: $t })], y.prototype, "schmancyContentDrawerID", 2), x([tt("#sheet")], y.prototype, "sheet", 2), x([ft({ flatten: !0, slot: void 0 })], y.prototype, "defaultSlot", 2), x([u({ context: at, subscribe: !0 })], y.prototype, "drawerMinWidth", 2), x([u({ context: nt, subscribe: !0 }), h()], y.prototype, "maxHeight", 2), y = x([p("schmancy-content-drawer-sheet")], y);
326
335
  const Qt = new class {
327
336
  constructor() {
328
337
  this.$drawer = new ot(), this.$drawer.pipe(G(10)).subscribe((t) => {
329
- t.state ? window.dispatchEvent(new CustomEvent(y.NavDrawer_toggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })) : window.dispatchEvent(new CustomEvent(y.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
338
+ t.state ? window.dispatchEvent(new CustomEvent(v.NavDrawer_toggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })) : window.dispatchEvent(new CustomEvent(v.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
330
339
  });
331
340
  }
332
341
  open(t) {
@@ -335,12 +344,12 @@ const Qt = new class {
335
344
  close(t) {
336
345
  this.$drawer.next({ self: t, state: !1 });
337
346
  }
338
- }(), Os = Qt, lt = N("push"), ct = N("close");
347
+ }(), Os = Qt, lt = T("push"), ct = T("close");
339
348
  var Zt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, U = (t, e, s, o) => {
340
349
  for (var n, i = o > 1 ? void 0 : o ? te(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
341
350
  return o && i && Zt(e, s, i), i;
342
351
  };
343
- let _ = class extends Z(w`
352
+ let q = class extends Z(w`
344
353
  :host {
345
354
  display: block;
346
355
  }
@@ -356,7 +365,7 @@ let _ = class extends Z(w`
356
365
  <div class="${this.classMap(t)}">
357
366
  <schmancy-icon-button
358
367
  @click=${() => {
359
- this.dispatchEvent(new CustomEvent(y.NavDrawer_toggle, { detail: { state: this.sidebarOpen === "open" ? "close" : "open" }, bubbles: !0, composed: !0 }));
368
+ this.dispatchEvent(new CustomEvent(v.NavDrawer_toggle, { detail: { state: this.sidebarOpen === "open" ? "close" : "open" }, bubbles: !0, composed: !0 }));
360
369
  }}
361
370
  >
362
371
  ${st(this.sidebarOpen === "close", () => c`menu`, () => c`menu_open`)}
@@ -369,9 +378,9 @@ let _ = class extends Z(w`
369
378
  `;
370
379
  }
371
380
  };
372
- U([u({ context: lt, subscribe: !0 }), d()], _.prototype, "sidebarMode", 2), U([u({ context: ct, subscribe: !0 }), d()], _.prototype, "sidebarOpen", 2), U([l({ type: Boolean })], _.prototype, "toggler", 2), _ = U([p("schmancy-nav-drawer-appbar")], _);
381
+ U([u({ context: lt, subscribe: !0 }), h()], q.prototype, "sidebarMode", 2), U([u({ context: ct, subscribe: !0 }), h()], q.prototype, "sidebarOpen", 2), U([l({ type: Boolean })], q.prototype, "toggler", 2), q = U([p("schmancy-nav-drawer-appbar")], q);
373
382
  var ee = Object.getOwnPropertyDescriptor;
374
- let yt = class extends W(w`
383
+ let mt = class extends R(w`
375
384
  :host {
376
385
  display: block;
377
386
  position: relative;
@@ -380,7 +389,7 @@ let yt = class extends W(w`
380
389
  }
381
390
  `) {
382
391
  connectedCallback() {
383
- super.connectedCallback(), h(this, "scroll").pipe(m(this.disconnecting)).subscribe((t) => {
392
+ super.connectedCallback(), d(this, "scroll").pipe(m(this.disconnecting)).subscribe((t) => {
384
393
  this.parentElement.dispatchEvent(new CustomEvent("scroll", { detail: t, bubbles: !0, composed: !0 }));
385
394
  });
386
395
  }
@@ -388,15 +397,15 @@ let yt = class extends W(w`
388
397
  return c` <slot></slot> `;
389
398
  }
390
399
  };
391
- yt = ((t, e, s, o) => {
400
+ mt = ((t, e, s, o) => {
392
401
  for (var n, i = o > 1 ? void 0 : o ? ee(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = n(i) || i);
393
402
  return i;
394
- })([p("schmancy-nav-drawer-content")], yt);
403
+ })([p("schmancy-nav-drawer-content")], mt);
395
404
  var se = Object.defineProperty, ie = Object.getOwnPropertyDescriptor, A = (t, e, s, o) => {
396
405
  for (var n, i = o > 1 ? void 0 : o ? ie(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
397
406
  return o && i && se(e, s, i), i;
398
407
  };
399
- let g = class extends W(w`
408
+ let f = class extends R(w`
400
409
  :host {
401
410
  display: flex;
402
411
  flex-grow: 1;
@@ -413,19 +422,19 @@ let g = class extends W(w`
413
422
  super(...arguments), this.fullscreen = !1, this.breakpoint = "md", this._initialized = !1;
414
423
  }
415
424
  firstUpdated() {
416
- this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""), h(window, "resize").pipe(v((t) => t.target.innerWidth), v((t) => t >= g.BREAKPOINTS[this.breakpoint]), et(), G(100), m(this.disconnecting)).subscribe((t) => {
425
+ this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""), d(window, "resize").pipe(g((t) => t.target.innerWidth), g((t) => t >= f.BREAKPOINTS[this.breakpoint]), et(), G(100), m(this.disconnecting)).subscribe((t) => {
417
426
  t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
418
- }), h(window, "fullscreen").pipe(D((t) => {
427
+ }), d(window, "fullscreen").pipe(E((t) => {
419
428
  const e = t;
420
429
  this.fullscreen = e.detail;
421
- }), m(this.disconnecting)).subscribe(), h(window, y.NavDrawer_toggle).pipe(D((t) => {
430
+ }), m(this.disconnecting)).subscribe(), d(window, v.NavDrawer_toggle).pipe(E((t) => {
422
431
  t.stopPropagation();
423
- }), v((t) => t.detail.state), et(), m(this.disconnecting), G(10)).subscribe((t) => {
432
+ }), g((t) => t.detail.state), et(), m(this.disconnecting), G(10)).subscribe((t) => {
424
433
  this.mode === "push" && t === "close" || (this.open = t);
425
434
  });
426
435
  }
427
436
  updateState(t) {
428
- const e = t >= g.BREAKPOINTS[this.breakpoint];
437
+ const e = t >= f.BREAKPOINTS[this.breakpoint];
429
438
  this.mode = e ? "push" : "overlay", this.open = e ? "open" : "close";
430
439
  }
431
440
  render() {
@@ -436,20 +445,20 @@ let g = class extends W(w`
436
445
  flow="col"
437
446
  justify="stretch"
438
447
  align="stretch"
439
- ${_t()}
448
+ ${qt()}
440
449
  >
441
450
  <slot></slot>
442
451
  </schmancy-grid>
443
- ` : ft;
452
+ ` : bt;
444
453
  }
445
454
  };
446
- g.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 }, A([l({ type: Boolean })], g.prototype, "fullscreen", 2), A([l({ type: String, attribute: "breakpoint" })], g.prototype, "breakpoint", 2), A([R({ context: lt }), d()], g.prototype, "mode", 2), A([R({ context: ct }), l()], g.prototype, "open", 2), A([d()], g.prototype, "_initialized", 2), g = A([p("schmancy-nav-drawer")], g);
447
- var oe = Object.defineProperty, re = Object.getOwnPropertyDescriptor, B = (t, e, s, o) => {
455
+ f.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 }, A([l({ type: Boolean })], f.prototype, "fullscreen", 2), A([l({ type: String, attribute: "breakpoint" })], f.prototype, "breakpoint", 2), A([L({ context: lt }), h()], f.prototype, "mode", 2), A([L({ context: ct }), l()], f.prototype, "open", 2), A([h()], f.prototype, "_initialized", 2), f = A([p("schmancy-nav-drawer")], f);
456
+ var oe = Object.defineProperty, re = Object.getOwnPropertyDescriptor, H = (t, e, s, o) => {
448
457
  for (var n, i = o > 1 ? void 0 : o ? re(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
449
458
  return o && i && oe(e, s, i), i;
450
459
  };
451
460
  const K = "cubic-bezier(0.5, 0.01, 0.25, 1)";
452
- let E = class extends W() {
461
+ let D = class extends R() {
453
462
  constructor() {
454
463
  super(...arguments), this.width = "220px", this._initialized = !1;
455
464
  }
@@ -478,7 +487,7 @@ let E = class extends W() {
478
487
  };
479
488
  }
480
489
  handleOverlayClick() {
481
- window.dispatchEvent(new CustomEvent(y.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
490
+ window.dispatchEvent(new CustomEvent(v.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
482
491
  }
483
492
  render() {
484
493
  const t = { "p-2 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 };
@@ -499,7 +508,7 @@ let E = class extends W() {
499
508
  `;
500
509
  }
501
510
  };
502
- B([u({ context: lt, subscribe: !0 }), d()], E.prototype, "mode", 2), B([u({ context: ct, subscribe: !0 }), d()], E.prototype, "drawerState", 2), B([tt("#overlay")], E.prototype, "overlay", 2), B([tt("nav")], E.prototype, "nav", 2), B([l({ type: String })], E.prototype, "width", 2), B([d()], E.prototype, "_initialized", 2), E = B([p("schmancy-nav-drawer-navbar")], E);
511
+ H([u({ context: lt, subscribe: !0 }), h()], D.prototype, "mode", 2), H([u({ context: ct, subscribe: !0 }), h()], D.prototype, "drawerState", 2), H([tt("#overlay")], D.prototype, "overlay", 2), H([tt("nav")], D.prototype, "nav", 2), H([l({ type: String })], D.prototype, "width", 2), H([h()], D.prototype, "_initialized", 2), D = H([p("schmancy-nav-drawer-navbar")], D);
503
512
  var ne = Object.defineProperty, ae = Object.getOwnPropertyDescriptor, I = (t, e, s, o) => {
504
513
  for (var n, i = o > 1 ? void 0 : o ? ae(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
505
514
  return o && i && ne(e, s, i), i;
@@ -559,12 +568,12 @@ let $ = class extends Z(w`
559
568
  }
560
569
  `) {
561
570
  constructor() {
562
- super(...arguments), this.icon = "", this.label = "", this.badge = "", this.active$ = new vt(!1), this.disabled = !1, this.hideLabels = !1, this.ripples = [], this.addRippleEffect = (t) => {
571
+ super(...arguments), this.icon = "", this.label = "", this.badge = "", this.active$ = new gt(!1), this.disabled = !1, this.hideLabels = !1, this.ripples = [], this.addRippleEffect = (t) => {
563
572
  if (this.disabled) return;
564
573
  const e = this.shadowRoot?.querySelector(".w-16.h-8");
565
574
  if (e) {
566
575
  const s = e.getBoundingClientRect(), o = { x: t.clientX - s.left, y: t.clientY - s.top, id: Date.now() };
567
- this.ripples = [...this.ripples, o], zt(600).pipe(L(() => {
576
+ this.ripples = [...this.ripples, o], It(600).pipe(B(() => {
568
577
  this.ripples = this.ripples.filter((n) => n.id !== o.id);
569
578
  }), j(this.disconnecting)).subscribe();
570
579
  }
@@ -592,8 +601,8 @@ let $ = class extends Z(w`
592
601
  setupNavigationStream() {
593
602
  const t = this.shadowRoot?.querySelector("button");
594
603
  if (!t) return;
595
- const e = h(t, "click").pipe(V(() => !this.disabled)), s = h(t, "keydown").pipe(V(() => !this.disabled), V((o) => o.key === "Enter" || o.key === " "), L((o) => o.preventDefault()));
596
- Q(e, s).pipe(L(() => {
604
+ const e = d(t, "click").pipe(V(() => !this.disabled)), s = d(t, "keydown").pipe(V(() => !this.disabled), V((o) => o.key === "Enter" || o.key === " "), B((o) => o.preventDefault()));
605
+ Q(e, s).pipe(B(() => {
597
606
  this.dispatchEvent(new CustomEvent("bar-item-click", { detail: { icon: this.icon, label: this.label, active: this.active }, bubbles: !0, composed: !0 }));
598
607
  }), j(this.disconnecting)).subscribe();
599
608
  }
@@ -605,7 +614,7 @@ let $ = class extends Z(w`
605
614
  this.setupNavigationStream();
606
615
  }
607
616
  render() {
608
- const t = this.querySelector("[slot]") || this.textContent?.trim() && !this.label, e = this.badge ? this.formatBadge(this.badge) : "", s = e && e !== "0", o = this.querySelector('[slot="icon"]'), n = { "relative flex flex-col items-center justify-center": !0, "flex-1 min-w-[48px] max-w-[168px]": !0, "py-2 px-1 cursor-pointer": !this.disabled, "transition-all duration-200": !0, "hover:bg-surface-container-high": !this.disabled && !this.active, "cursor-not-allowed opacity-38": this.disabled, "outline-none": !0, "focus-visible:outline-2 focus-visible:outline-offset-2": !0 }, i = { "w-16 h-8 rounded-2xl": !0, "flex items-center justify-center": !0, "transition-all duration-200": !0, "bg-secondary-container": this.active, "group-hover:bg-surface-container-highest": !this.active && !this.disabled, "relative overflow-hidden": !0 }, a = { "absolute top-0 right-3": !0, "min-w-[6px] h-1.5": !s, "min-w-[16px] h-4": s, "rounded-full": !s, "rounded-lg": s, "flex items-center justify-center": s, "px-1": s, "transition-all duration-200": !0, "z-10": !0 }, Dt = this.active ? { color: r.sys.color.secondary.onContainer } : { color: r.sys.color.surface.onVariant }, Ot = { "--focus-color": r.sys.color.primary.default };
617
+ const t = this.querySelector("[slot]") || this.textContent?.trim() && !this.label, e = this.badge ? this.formatBadge(this.badge) : "", s = e && e !== "0", o = this.querySelector('[slot="icon"]'), n = { "relative flex flex-col items-center justify-center": !0, "flex-1 min-w-[48px] max-w-[168px]": !0, "py-2 px-1 cursor-pointer": !this.disabled, "transition-all duration-200": !0, "hover:bg-surface-container-high": !this.disabled && !this.active, "cursor-not-allowed opacity-38": this.disabled, "outline-none": !0, "focus-visible:outline-2 focus-visible:outline-offset-2": !0 }, i = { "w-16 h-8 rounded-2xl": !0, "flex items-center justify-center": !0, "transition-all duration-200": !0, "bg-secondary-container": this.active, "group-hover:bg-surface-container-highest": !this.active && !this.disabled, "relative overflow-hidden": !0 }, a = { "absolute top-0 right-3": !0, "min-w-[6px] h-1.5": !s, "min-w-[16px] h-4": s, "rounded-full": !s, "rounded-lg": s, "flex items-center justify-center": s, "px-1": s, "transition-all duration-200": !0, "z-10": !0 }, kt = this.active ? { color: r.sys.color.secondary.onContainer } : { color: r.sys.color.surface.onVariant }, Et = { "--focus-color": r.sys.color.primary.default };
609
618
  return c`
610
619
  <button
611
620
  type="button"
@@ -615,16 +624,16 @@ let $ = class extends Z(w`
615
624
  ?disabled=${this.disabled}
616
625
  aria-pressed=${this.active}
617
626
  aria-label=${this.label || "Navigation item"}
618
- style=${this.styleMap({ ...Ot, "outline-color": "var(--focus-color)" })}
619
- ${P(Dt)}
627
+ style=${this.styleMap({ ...Et, "outline-color": "var(--focus-color)" })}
628
+ ${P(kt)}
620
629
  >
621
630
  <!-- Icon with indicator background -->
622
631
  <div class=${this.classMap(i)}>
623
632
  <!-- Ripple effects -->
624
- ${this.ripples.map((ht) => c`
633
+ ${this.ripples.map((dt) => c`
625
634
  <span
626
635
  class="ripple-effect"
627
- style=${this.styleMap({ left: `${ht.x}px`, top: `${ht.y}px`, transform: "translate(-50%, -50%)" })}
636
+ style=${this.styleMap({ left: `${dt.x}px`, top: `${dt.y}px`, transform: "translate(-50%, -50%)" })}
628
637
  ></span>
629
638
  `)}
630
639
 
@@ -665,8 +674,8 @@ let $ = class extends Z(w`
665
674
  `;
666
675
  }
667
676
  };
668
- I([l({ type: String })], $.prototype, "icon", 2), I([l({ type: String })], $.prototype, "label", 2), I([l({ type: String })], $.prototype, "badge", 2), I([l({ type: Boolean, reflect: !0 })], $.prototype, "active", 1), I([l({ type: Boolean, reflect: !0 })], $.prototype, "disabled", 2), I([l({ type: Boolean, reflect: !0 })], $.prototype, "hideLabels", 2), I([d()], $.prototype, "ripples", 2), $ = I([p("schmancy-navigation-bar-item")], $);
669
- var le = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, z = (t, e, s, o) => {
677
+ I([l({ type: String })], $.prototype, "icon", 2), I([l({ type: String })], $.prototype, "label", 2), I([l({ type: String })], $.prototype, "badge", 2), I([l({ type: Boolean, reflect: !0 })], $.prototype, "active", 1), I([l({ type: Boolean, reflect: !0 })], $.prototype, "disabled", 2), I([l({ type: Boolean, reflect: !0 })], $.prototype, "hideLabels", 2), I([h()], $.prototype, "ripples", 2), $ = I([p("schmancy-navigation-bar-item")], $);
678
+ var le = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, M = (t, e, s, o) => {
670
679
  for (var n, i = o > 1 ? void 0 : o ? ce(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
671
680
  return o && i && le(e, s, i), i;
672
681
  };
@@ -698,7 +707,7 @@ let C = class extends Z(w`
698
707
  }
699
708
  `) {
700
709
  constructor() {
701
- super(...arguments), this.activeIndex$ = new vt(-1), this.hideLabels = !1, this.elevation = 2, this.hideOnScroll = !1, this.focusedIndex = -1, this.isHiddenByScroll = !1, this.isFullscreen = !1, this.SCROLL_THRESHOLD = 10, this.handleItemClick = (t) => {
710
+ super(...arguments), this.activeIndex$ = new gt(-1), this.hideLabels = !1, this.elevation = 2, this.hideOnScroll = !1, this.focusedIndex = -1, this.isHiddenByScroll = !1, this.isFullscreen = !1, this.SCROLL_THRESHOLD = 10, this.handleItemClick = (t) => {
702
711
  const e = this.getItems(), s = t.target, o = e.indexOf(s);
703
712
  if (o !== -1 && this.activeIndex !== o) {
704
713
  const n = this.activeIndex;
@@ -736,15 +745,15 @@ let C = class extends Z(w`
736
745
  return t ? t.assignedElements({ flatten: !0 }).filter((e) => e.tagName.toLowerCase() === "schmancy-navigation-bar-item") : [];
737
746
  }
738
747
  connectedCallback() {
739
- super.connectedCallback(), h(this, "bar-item-click").pipe(L((t) => this.handleItemClick(t)), j(this.disconnecting)).subscribe(), h(this, "keydown").pipe(L((t) => this.handleKeyDown(t)), j(this.disconnecting)).subscribe(), this.activeIndex$.pipe(j(this.disconnecting)).subscribe((t) => {
748
+ super.connectedCallback(), d(this, "bar-item-click").pipe(B((t) => this.handleItemClick(t)), j(this.disconnecting)).subscribe(), d(this, "keydown").pipe(B((t) => this.handleKeyDown(t)), j(this.disconnecting)).subscribe(), this.activeIndex$.pipe(j(this.disconnecting)).subscribe((t) => {
740
749
  this.updateActiveStates(t);
741
- }), h(window, "fullscreen").pipe(L((t) => {
750
+ }), d(window, "fullscreen").pipe(B((t) => {
742
751
  const e = t;
743
752
  this.isFullscreen = e.detail;
744
753
  }), j(this.disconnecting)).subscribe(), this.hideOnScroll && this.setupScrollListener(), this.updateItems();
745
754
  }
746
755
  setupScrollListener() {
747
- h(window, "scroll").pipe(Nt(100), xt(() => window.scrollY), Tt(), V(([t, e]) => Math.abs(e - t) > this.SCROLL_THRESHOLD), L(([t, e]) => {
756
+ d(window, "scroll").pipe(Tt(100), wt(() => window.scrollY), Nt(), V(([t, e]) => Math.abs(e - t) > this.SCROLL_THRESHOLD), B(([t, e]) => {
748
757
  const s = e < t;
749
758
  e > t && !this.isHiddenByScroll ? this.isHiddenByScroll = !0 : s && this.isHiddenByScroll && (this.isHiddenByScroll = !1), e <= this.SCROLL_THRESHOLD && (this.isHiddenByScroll = !1);
750
759
  }), j(this.disconnecting)).subscribe();
@@ -796,29 +805,29 @@ let C = class extends Z(w`
796
805
  `;
797
806
  }
798
807
  };
799
- z([l({ type: Number })], C.prototype, "activeIndex", 1), z([l({ type: Boolean, reflect: !0 })], C.prototype, "hideLabels", 2), z([l({ type: Number, reflect: !0 })], C.prototype, "elevation", 2), z([l({ type: Boolean, reflect: !0 })], C.prototype, "hideOnScroll", 2), z([d()], C.prototype, "focusedIndex", 2), z([d()], C.prototype, "isHiddenByScroll", 2), z([d()], C.prototype, "isFullscreen", 2), C = z([p("schmancy-navigation-bar")], C);
800
- const St = "whereAreYouRicky", kt = "hereMorty", F = new class {
808
+ M([l({ type: Number })], C.prototype, "activeIndex", 1), M([l({ type: Boolean, reflect: !0 })], C.prototype, "hideLabels", 2), M([l({ type: Number, reflect: !0 })], C.prototype, "elevation", 2), M([l({ type: Boolean, reflect: !0 })], C.prototype, "hideOnScroll", 2), M([h()], C.prototype, "focusedIndex", 2), M([h()], C.prototype, "isHiddenByScroll", 2), M([h()], C.prototype, "isFullscreen", 2), C = M([p("schmancy-navigation-bar")], C);
809
+ const Ct = "whereAreYouRicky", St = "hereMorty", F = new class {
801
810
  constructor() {
802
- this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new ot(), this.find = (t) => pt([h(window, kt).pipe(wt((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), v((e) => e.detail.component), Mt(1)), J(t).pipe(D(() => {
803
- window.dispatchEvent(new CustomEvent(St, { detail: { id: t.id, callerID: t.uuid } }));
804
- }))]).pipe(v(([e]) => e), jt(0)), this.flip = (t) => {
811
+ this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new ot(), this.find = (t) => pt([d(window, St).pipe(vt((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), g((e) => e.detail.component), Mt(1)), J(t).pipe(E(() => {
812
+ window.dispatchEvent(new CustomEvent(Ct, { detail: { id: t.id, callerID: t.uuid } }));
813
+ }))]).pipe(g(([e]) => e), zt(0)), this.flip = (t) => {
805
814
  const { from: e, to: s } = t, o = s.element.style.zIndex;
806
815
  s.element.style.transformOrigin = "top left", s.element.style.setProperty("visibility", "visible"), s.element.style.zIndex = "1000";
807
816
  const n = [{ transform: `translate(${e.rect.left - s.rect.left}px, ${e.rect.top - s.rect.top}px) scale(${e.rect.width / s.rect.width}, ${e.rect.height / s.rect.height})` }, { transform: "translate(0, 0) scale(1, 1)" }];
808
817
  s.element.animate(n, { duration: 250, delay: 10, easing: "cubic-bezier(0.455, 0.03, 0.515, 0.955)" }).onfinish = () => {
809
818
  s.element.style.zIndex = o, s.element.style.transformOrigin = "";
810
819
  };
811
- }, this.flipRequests.pipe(Pt(1), v((t) => t.map(({ from: e, to: s, host: o }, n) => ({ from: e, to: s, host: o, i: n }))), Wt((t) => pt(t.map((e) => J(this.flip(e)))))).subscribe();
820
+ }, this.flipRequests.pipe(jt(1), g((t) => t.map(({ from: e, to: s, host: o }, n) => ({ from: e, to: s, host: o, i: n }))), Pt((t) => pt(t.map((e) => J(this.flip(e)))))).subscribe();
812
821
  }
813
822
  }();
814
- function bt(t) {
815
- return Ht(50).pipe(xt(() => t.getBoundingClientRect()), At((e, s) => e.width === s.width && e.height === s.height && e.top === s.top && e.right === s.right && e.bottom === s.bottom && e.left === s.left), qt(1));
823
+ function yt(t) {
824
+ return Rt(50).pipe(wt(() => t.getBoundingClientRect()), At((e, s) => e.width === s.width && e.height === s.height && e.top === s.top && e.right === s.right && e.bottom === s.bottom && e.left === s.left), _t(1));
816
825
  }
817
- var he = Object.defineProperty, de = Object.getOwnPropertyDescriptor, Y = (t, e, s, o) => {
818
- for (var n, i = o > 1 ? void 0 : o ? de(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
819
- return o && i && he(e, s, i), i;
826
+ var de = Object.defineProperty, he = Object.getOwnPropertyDescriptor, Y = (t, e, s, o) => {
827
+ for (var n, i = o > 1 ? void 0 : o ? he(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
828
+ return o && i && de(e, s, i), i;
820
829
  };
821
- let X = class extends W(w``) {
830
+ let X = class extends R(w``) {
822
831
  constructor() {
823
832
  super(...arguments), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
824
833
  }
@@ -827,19 +836,19 @@ let X = class extends W(w``) {
827
836
  }
828
837
  connectedCallback() {
829
838
  if (this.id === void 0) throw new Error("id is required");
830
- super.connectedCallback(), Q(h(window, Rt).pipe(D({ next: () => {
831
- this.dispatchEvent(new CustomEvent(Lt, { detail: { component: this }, bubbles: !0, composed: !0 }));
832
- } })), h(window, St).pipe(D({ next: (t) => {
833
- t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(kt, { detail: { component: this }, bubbles: !0, composed: !0 }));
839
+ super.connectedCallback(), Q(d(window, Lt).pipe(E({ next: () => {
840
+ this.dispatchEvent(new CustomEvent(Bt, { detail: { component: this }, bubbles: !0, composed: !0 }));
841
+ } })), d(window, Ct).pipe(E({ next: (t) => {
842
+ t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(St, { detail: { component: this }, bubbles: !0, composed: !0 }));
834
843
  } }))).pipe(m(this.disconnecting)).subscribe();
835
844
  }
836
845
  async firstUpdated() {
837
- J(F.activeTeleportations.get(this.id)).pipe(wt((t) => !!t), m(this.disconnecting), Bt()).subscribe({ next: (t) => {
838
- this.style.setProperty("visibility", "hidden"), bt(this).pipe(m(this.disconnecting)).subscribe({ next: (e) => {
846
+ J(F.activeTeleportations.get(this.id)).pipe(vt((t) => !!t), m(this.disconnecting), Wt()).subscribe({ next: (t) => {
847
+ this.style.setProperty("visibility", "hidden"), yt(this).pipe(m(this.disconnecting)).subscribe({ next: (e) => {
839
848
  F.activeTeleportations.set(this.id, e), F.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
840
849
  } });
841
850
  }, error: () => {
842
- this.style.setProperty("visibility", "visible"), bt(this).pipe(m(this.disconnecting)).subscribe({ next: (t) => {
851
+ this.style.setProperty("visibility", "visible"), yt(this).pipe(m(this.disconnecting)).subscribe({ next: (t) => {
843
852
  F.activeTeleportations.set(this.id, t);
844
853
  } });
845
854
  }, complete: () => {
@@ -854,7 +863,7 @@ var pe = Object.defineProperty, ue = Object.getOwnPropertyDescriptor, S = (t, e,
854
863
  for (var n, i = o > 1 ? void 0 : o ? ue(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
855
864
  return o && i && pe(e, s, i), i;
856
865
  };
857
- let f = class extends W() {
866
+ let b = class extends R() {
858
867
  constructor() {
859
868
  super(...arguments), this.initials = "", this.src = "", this.icon = "", this.size = "md", this.color = "primary", this.shape = "circle", this.bordered = !1, this.status = "none";
860
869
  }
@@ -879,33 +888,33 @@ let f = class extends W() {
879
888
  `;
880
889
  }
881
890
  };
882
- S([l({ type: String })], f.prototype, "initials", 2), S([l({ type: String })], f.prototype, "src", 2), S([l({ type: String })], f.prototype, "icon", 2), S([l({ type: String })], f.prototype, "size", 2), S([l({ type: String })], f.prototype, "color", 2), S([l({ type: String })], f.prototype, "shape", 2), S([l({ type: Boolean })], f.prototype, "bordered", 2), S([l({ type: String })], f.prototype, "status", 2), f = S([p("schmancy-avatar")], f);
891
+ S([l({ type: String })], b.prototype, "initials", 2), S([l({ type: String })], b.prototype, "src", 2), S([l({ type: String })], b.prototype, "icon", 2), S([l({ type: String })], b.prototype, "size", 2), S([l({ type: String })], b.prototype, "color", 2), S([l({ type: String })], b.prototype, "shape", 2), S([l({ type: Boolean })], b.prototype, "bordered", 2), S([l({ type: String })], b.prototype, "status", 2), b = S([p("schmancy-avatar")], b);
883
892
  export {
884
893
  Os as $,
885
- kt as H,
894
+ St as H,
886
895
  k as S,
887
- St as W,
888
- mt as a,
896
+ Ct as W,
897
+ ut as a,
889
898
  rt as b,
890
- $t as c,
891
- Ct as d,
899
+ xt as c,
900
+ $t as d,
892
901
  nt as e,
893
902
  at as f,
894
903
  O as g,
895
- T as h,
896
- b as i,
904
+ N as h,
905
+ y as i,
897
906
  Qt as j,
898
- _ as k,
899
- yt as l,
907
+ q as k,
908
+ mt as l,
900
909
  lt as m,
901
910
  ct as n,
902
- g as o,
903
- E as p,
911
+ f as o,
912
+ D as p,
904
913
  $ as q,
905
914
  C as r,
906
- Ds as s,
915
+ Es as s,
907
916
  X as t,
908
917
  F as u,
909
- f as v
918
+ b as v
910
919
  };
911
- //# sourceMappingURL=avatar-BixWcgH7.js.map
920
+ //# sourceMappingURL=avatar-C6l64slz.js.map