@mhmo91/schmancy 0.5.44 → 0.5.46

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