@mhmo91/schmancy 0.5.17 → 0.5.19

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 (337) hide show
  1. package/ai/details.md +12 -0
  2. package/ai/navigation-bar-item.md +247 -0
  3. package/ai/navigation-bar.md +163 -0
  4. package/dist/ai/details.md +12 -0
  5. package/dist/ai/navigation-bar-item.md +247 -0
  6. package/dist/ai/navigation-bar.md +163 -0
  7. package/dist/{animated-text-CVggbrzP.js → animated-text-DbBKOAWI.js} +3 -3
  8. package/dist/{animated-text-CVggbrzP.js.map → animated-text-DbBKOAWI.js.map} +1 -1
  9. package/dist/{animated-text-_cmV8a54.cjs → animated-text-L4rVnRqB.cjs} +2 -2
  10. package/dist/{animated-text-_cmV8a54.cjs.map → animated-text-L4rVnRqB.cjs.map} +1 -1
  11. package/dist/animated-text.cjs +1 -1
  12. package/dist/animated-text.js +1 -1
  13. package/dist/area.cjs +1 -1
  14. package/dist/{area.component-jZXEnoq-.cjs → area.component-DsBt1CIM.cjs} +2 -2
  15. package/dist/{area.component-jZXEnoq-.cjs.map → area.component-DsBt1CIM.cjs.map} +1 -1
  16. package/dist/{area.component-O_qgo7Up.js → area.component-eV-v6J5C.js} +3 -3
  17. package/dist/{area.component-O_qgo7Up.js.map → area.component-eV-v6J5C.js.map} +1 -1
  18. package/dist/area.js +1 -1
  19. package/dist/{autocomplete-B-7raIta.js → autocomplete-CTQ6eqYl.js} +4 -4
  20. package/dist/{autocomplete-B-7raIta.js.map → autocomplete-CTQ6eqYl.js.map} +1 -1
  21. package/dist/{autocomplete-B_r234CD.cjs → autocomplete-DnX6sEMg.cjs} +2 -2
  22. package/dist/{autocomplete-B_r234CD.cjs.map → autocomplete-DnX6sEMg.cjs.map} +1 -1
  23. package/dist/autocomplete.cjs +1 -1
  24. package/dist/autocomplete.js +1 -1
  25. package/dist/avatar-BAaUCxc-.js +895 -0
  26. package/dist/avatar-BAaUCxc-.js.map +1 -0
  27. package/dist/avatar-DwqCiKOy.cjs +303 -0
  28. package/dist/avatar-DwqCiKOy.cjs.map +1 -0
  29. package/dist/badge.cjs +1 -1
  30. package/dist/badge.js +1 -1
  31. package/dist/{boat-2qtEaUeN.cjs → boat-BbF0BpAl.cjs} +2 -2
  32. package/dist/{boat-2qtEaUeN.cjs.map → boat-BbF0BpAl.cjs.map} +1 -1
  33. package/dist/{boat-C1UVL3oV.js → boat-CQyUVpLW.js} +2 -2
  34. package/dist/{boat-C1UVL3oV.js.map → boat-CQyUVpLW.js.map} +1 -1
  35. package/dist/boat.cjs +1 -1
  36. package/dist/boat.js +1 -1
  37. package/dist/busy.cjs +1 -1
  38. package/dist/busy.js +1 -1
  39. package/dist/button.cjs +1 -1
  40. package/dist/button.js +1 -1
  41. package/dist/card.cjs +1 -1
  42. package/dist/card.js +1 -1
  43. package/dist/{checkbox-BishJeD7.js → checkbox-7annHqhF.js} +2 -2
  44. package/dist/{checkbox-BishJeD7.js.map → checkbox-7annHqhF.js.map} +1 -1
  45. package/dist/{checkbox-C_Mho5IS.cjs → checkbox-CI4CDpoS.cjs} +2 -2
  46. package/dist/{checkbox-C_Mho5IS.cjs.map → checkbox-CI4CDpoS.cjs.map} +1 -1
  47. package/dist/checkbox.cjs +1 -1
  48. package/dist/checkbox.js +1 -1
  49. package/dist/chips.cjs +1 -1
  50. package/dist/chips.js +2 -2
  51. package/dist/code-highlight.cjs +1 -1
  52. package/dist/code-highlight.js +1 -1
  53. package/dist/{code-preview-BGJ6Q1V8.js → code-preview-Y783aZ7J.js} +133 -123
  54. package/dist/{code-preview-BGJ6Q1V8.js.map → code-preview-Y783aZ7J.js.map} +1 -1
  55. package/dist/{code-preview-B6i7Kbhk.cjs → code-preview-zE_SbNNO.cjs} +67 -57
  56. package/dist/{code-preview-B6i7Kbhk.cjs.map → code-preview-zE_SbNNO.cjs.map} +1 -1
  57. package/dist/components.cjs +1 -1
  58. package/dist/components.js +1 -1
  59. package/dist/content-drawer.cjs +1 -1
  60. package/dist/content-drawer.js +1 -1
  61. package/dist/{date-range-Bqv5hphM.cjs → date-range-Bh2x7nlc.cjs} +2 -2
  62. package/dist/{date-range-Bqv5hphM.cjs.map → date-range-Bh2x7nlc.cjs.map} +1 -1
  63. package/dist/{date-range-DrPsXxr8.js → date-range-BtFn7iGs.js} +3 -3
  64. package/dist/{date-range-DrPsXxr8.js.map → date-range-BtFn7iGs.js.map} +1 -1
  65. package/dist/{date-range-inline-BYu21efD.js → date-range-inline-BnGPY5ZY.js} +3 -3
  66. package/dist/{date-range-inline-BYu21efD.js.map → date-range-inline-BnGPY5ZY.js.map} +1 -1
  67. package/dist/{date-range-inline-DsBWzDSL.cjs → date-range-inline-C_6N7yca.cjs} +2 -2
  68. package/dist/{date-range-inline-DsBWzDSL.cjs.map → date-range-inline-C_6N7yca.cjs.map} +1 -1
  69. package/dist/date-range-inline.cjs +1 -1
  70. package/dist/date-range-inline.js +1 -1
  71. package/dist/date-range.cjs +1 -1
  72. package/dist/date-range.js +1 -1
  73. package/dist/{delay-qmcNJXnv.js → delay-DafLdRaR.js} +2 -2
  74. package/dist/{delay-qmcNJXnv.js.map → delay-DafLdRaR.js.map} +1 -1
  75. package/dist/{delay-t64VcUWO.cjs → delay-DgBkfK3a.cjs} +2 -2
  76. package/dist/{delay-t64VcUWO.cjs.map → delay-DgBkfK3a.cjs.map} +1 -1
  77. package/dist/delay.cjs +1 -1
  78. package/dist/delay.js +1 -1
  79. package/dist/details-89R5QI1S.js +228 -0
  80. package/dist/details-89R5QI1S.js.map +1 -0
  81. package/dist/details-DpodqE31.cjs +161 -0
  82. package/dist/details-DpodqE31.cjs.map +1 -0
  83. package/dist/details.cjs +1 -1
  84. package/dist/details.js +1 -1
  85. package/dist/{dialog-content-CD0C4VSa.js → dialog-content-CGt4hZZn.js} +3 -3
  86. package/dist/{dialog-content-CD0C4VSa.js.map → dialog-content-CGt4hZZn.js.map} +1 -1
  87. package/dist/{dialog-content-CzfmE_A3.cjs → dialog-content-S6k16Le_.cjs} +2 -2
  88. package/dist/{dialog-content-CzfmE_A3.cjs.map → dialog-content-S6k16Le_.cjs.map} +1 -1
  89. package/dist/dialog.cjs +1 -1
  90. package/dist/dialog.js +1 -1
  91. package/dist/{divider-CZRdHTyy.cjs → divider-CUFy4oEY.cjs} +2 -2
  92. package/dist/{divider-CZRdHTyy.cjs.map → divider-CUFy4oEY.cjs.map} +1 -1
  93. package/dist/{divider-iHf2FakN.js → divider-dTggJNS0.js} +3 -3
  94. package/dist/{divider-iHf2FakN.js.map → divider-dTggJNS0.js.map} +1 -1
  95. package/dist/divider.cjs +1 -1
  96. package/dist/divider.js +1 -1
  97. package/dist/{dropdown-content--T-3dDKx.js → dropdown-content-Bty4mF1A.js} +3 -3
  98. package/dist/{dropdown-content--T-3dDKx.js.map → dropdown-content-Bty4mF1A.js.map} +1 -1
  99. package/dist/{dropdown-content-DpRKwEWr.cjs → dropdown-content-D7dvNRRR.cjs} +2 -2
  100. package/dist/{dropdown-content-DpRKwEWr.cjs.map → dropdown-content-D7dvNRRR.cjs.map} +1 -1
  101. package/dist/dropdown.cjs +1 -1
  102. package/dist/dropdown.js +1 -1
  103. package/dist/{email-recipients-B_FrKVNa.cjs → email-recipients-DKDl1Qlt.cjs} +2 -2
  104. package/dist/{email-recipients-B_FrKVNa.cjs.map → email-recipients-DKDl1Qlt.cjs.map} +1 -1
  105. package/dist/{email-recipients-CyEihZq4.js → email-recipients-Tb0UBtjf.js} +5 -5
  106. package/dist/{email-recipients-CyEihZq4.js.map → email-recipients-Tb0UBtjf.js.map} +1 -1
  107. package/dist/extra.cjs +1 -1
  108. package/dist/extra.js +1 -1
  109. package/dist/{flex-C7Ni7BpJ.js → flex-CYF9ejQL.js} +2 -2
  110. package/dist/{flex-C7Ni7BpJ.js.map → flex-CYF9ejQL.js.map} +1 -1
  111. package/dist/{flex-CwloHehr.cjs → flex-zkXsvBw6.cjs} +2 -2
  112. package/dist/{flex-CwloHehr.cjs.map → flex-zkXsvBw6.cjs.map} +1 -1
  113. package/dist/{form-5zP1PzNH.cjs → form-D-CgyzE3.cjs} +2 -2
  114. package/dist/{form-5zP1PzNH.cjs.map → form-D-CgyzE3.cjs.map} +1 -1
  115. package/dist/{form-B4Knfx3e.js → form-DdQgacXw.js} +2 -2
  116. package/dist/{form-B4Knfx3e.js.map → form-DdQgacXw.js.map} +1 -1
  117. package/dist/form.cjs +1 -1
  118. package/dist/form.js +1 -1
  119. package/dist/{formField.mixin-C6PdFxB5.cjs → formField.mixin-C7xna5S7.cjs} +2 -2
  120. package/dist/{formField.mixin-C6PdFxB5.cjs.map → formField.mixin-C7xna5S7.cjs.map} +1 -1
  121. package/dist/{formField.mixin-CmBfrPeP.js → formField.mixin-Cc6iv6e6.js} +2 -2
  122. package/dist/{formField.mixin-CmBfrPeP.js.map → formField.mixin-Cc6iv6e6.js.map} +1 -1
  123. package/dist/{icon-BZfElKOt.cjs → icon-CFM5r0Fm.cjs} +2 -2
  124. package/dist/{icon-BZfElKOt.cjs.map → icon-CFM5r0Fm.cjs.map} +1 -1
  125. package/dist/{icon-BYTCLcj1.js → icon-CYqOQBoE.js} +2 -2
  126. package/dist/{icon-BYTCLcj1.js.map → icon-CYqOQBoE.js.map} +1 -1
  127. package/dist/{icon-button-BGmO1xQ_.js → icon-button-BSCcuC7U.js} +3 -3
  128. package/dist/{icon-button-BGmO1xQ_.js.map → icon-button-BSCcuC7U.js.map} +1 -1
  129. package/dist/{icon-button-lsh418d9.cjs → icon-button-Bf_dCRHx.cjs} +2 -2
  130. package/dist/{icon-button-lsh418d9.cjs.map → icon-button-Bf_dCRHx.cjs.map} +1 -1
  131. package/dist/icons.cjs +1 -1
  132. package/dist/icons.js +1 -1
  133. package/dist/index.cjs +1 -1
  134. package/dist/index.js +212 -210
  135. package/dist/{input-DyCM2nCl.js → input-CNs7L8A9.js} +3 -3
  136. package/dist/{input-DyCM2nCl.js.map → input-CNs7L8A9.js.map} +1 -1
  137. package/dist/{input-ZJ-BU9e1.cjs → input-D9B5aydv.cjs} +2 -2
  138. package/dist/{input-ZJ-BU9e1.cjs.map → input-D9B5aydv.cjs.map} +1 -1
  139. package/dist/{input-chip-CMgjp1k0.cjs → input-chip-Bu8DLVMh.cjs} +2 -2
  140. package/dist/{input-chip-CMgjp1k0.cjs.map → input-chip-Bu8DLVMh.cjs.map} +1 -1
  141. package/dist/{input-chip-DOM6N_gX.js → input-chip-CPNF4szF.js} +2 -2
  142. package/dist/{input-chip-DOM6N_gX.js.map → input-chip-CPNF4szF.js.map} +1 -1
  143. package/dist/input.cjs +1 -1
  144. package/dist/input.js +1 -1
  145. package/dist/layout.cjs +1 -1
  146. package/dist/layout.js +1 -1
  147. package/dist/{list-DWDUFk2P.js → list-Cp-TE18p.js} +2 -2
  148. package/dist/{list-DWDUFk2P.js.map → list-Cp-TE18p.js.map} +1 -1
  149. package/dist/{list-BMNuVDlx.cjs → list-Ds8oKtEs.cjs} +2 -2
  150. package/dist/{list-BMNuVDlx.cjs.map → list-Ds8oKtEs.cjs.map} +1 -1
  151. package/dist/list.cjs +1 -1
  152. package/dist/list.js +1 -1
  153. package/dist/{litElement.mixin-BbA24Ql0.js → litElement.mixin-7HEBIRUp.js} +2 -2
  154. package/dist/{litElement.mixin-BbA24Ql0.js.map → litElement.mixin-7HEBIRUp.js.map} +1 -1
  155. package/dist/{litElement.mixin-Z7A21PTu.cjs → litElement.mixin-DIoywlzp.cjs} +2 -2
  156. package/dist/{litElement.mixin-Z7A21PTu.cjs.map → litElement.mixin-DIoywlzp.cjs.map} +1 -1
  157. package/dist/mailbox.cjs +1 -1
  158. package/dist/mailbox.js +1 -1
  159. package/dist/{map-hhOSUXIi.js → map-CaTzsyI7.js} +2 -2
  160. package/dist/{map-hhOSUXIi.js.map → map-CaTzsyI7.js.map} +1 -1
  161. package/dist/{map-mYS0TKHR.cjs → map-DRCyozDz.cjs} +2 -2
  162. package/dist/{map-mYS0TKHR.cjs.map → map-DRCyozDz.cjs.map} +1 -1
  163. package/dist/map.cjs +1 -1
  164. package/dist/map.js +1 -1
  165. package/dist/{media-C2_iIXcU.cjs → media-DdzYh2k5.cjs} +2 -2
  166. package/dist/{media-C2_iIXcU.cjs.map → media-DdzYh2k5.cjs.map} +1 -1
  167. package/dist/{media-TexiZ5xw.js → media-Xr5pO0WU.js} +2 -2
  168. package/dist/{media-TexiZ5xw.js.map → media-Xr5pO0WU.js.map} +1 -1
  169. package/dist/{menu-DUvL0VTM.js → menu-C-Lvh3cn.js} +3 -3
  170. package/dist/{menu-DUvL0VTM.js.map → menu-C-Lvh3cn.js.map} +1 -1
  171. package/dist/{menu-D14UObVy.cjs → menu-S_OxKAxt.cjs} +2 -2
  172. package/dist/{menu-D14UObVy.cjs.map → menu-S_OxKAxt.cjs.map} +1 -1
  173. package/dist/menu.cjs +1 -1
  174. package/dist/menu.js +1 -1
  175. package/dist/nav-drawer.cjs +1 -1
  176. package/dist/nav-drawer.js +1 -1
  177. package/dist/navigation-bar.cjs +2 -0
  178. package/dist/navigation-bar.cjs.map +1 -0
  179. package/dist/navigation-bar.js +6 -0
  180. package/dist/navigation-bar.js.map +1 -0
  181. package/dist/{navigation-rail-item-B6Q-5odq.cjs → navigation-rail-item-CCuC37Dx.cjs} +2 -2
  182. package/dist/{navigation-rail-item-B6Q-5odq.cjs.map → navigation-rail-item-CCuC37Dx.cjs.map} +1 -1
  183. package/dist/{navigation-rail-item-BtgIFYdN.js → navigation-rail-item-CZKWN1Ki.js} +2 -2
  184. package/dist/{navigation-rail-item-BtgIFYdN.js.map → navigation-rail-item-CZKWN1Ki.js.map} +1 -1
  185. package/dist/navigation-rail.cjs +1 -1
  186. package/dist/navigation-rail.js +1 -1
  187. package/dist/{notification-service-BnWgv-Jg.js → notification-service-36m9Setj.js} +4 -4
  188. package/dist/{notification-service-BnWgv-Jg.js.map → notification-service-36m9Setj.js.map} +1 -1
  189. package/dist/{notification-service-XpmtMRuA.cjs → notification-service-Bi9hRE33.cjs} +2 -2
  190. package/dist/{notification-service-XpmtMRuA.cjs.map → notification-service-Bi9hRE33.cjs.map} +1 -1
  191. package/dist/notification.cjs +1 -1
  192. package/dist/notification.js +2 -2
  193. package/dist/{notify-Cebat7bS.cjs → notify-BLdA7aAa.cjs} +2 -2
  194. package/dist/{notify-Cebat7bS.cjs.map → notify-BLdA7aAa.cjs.map} +1 -1
  195. package/dist/{notify-CXAAgh5c.js → notify-BcimHn85.js} +2 -2
  196. package/dist/{notify-CXAAgh5c.js.map → notify-BcimHn85.js.map} +1 -1
  197. package/dist/{option-0KBLqH87.cjs → option-C9QLuFcY.cjs} +2 -2
  198. package/dist/{option-0KBLqH87.cjs.map → option-C9QLuFcY.cjs.map} +1 -1
  199. package/dist/{option-C_ZdANCE.js → option-DwEBerwR.js} +2 -2
  200. package/dist/{option-C_ZdANCE.js.map → option-DwEBerwR.js.map} +1 -1
  201. package/dist/option.cjs +1 -1
  202. package/dist/option.js +1 -1
  203. package/dist/{payment-card-form-B2471X9c.js → payment-card-form-B1uZ9JUa.js} +3 -3
  204. package/dist/{payment-card-form-B2471X9c.js.map → payment-card-form-B1uZ9JUa.js.map} +1 -1
  205. package/dist/{payment-card-form-BXw4yQfa.cjs → payment-card-form-DGdRK0yK.cjs} +2 -2
  206. package/dist/{payment-card-form-BXw4yQfa.cjs.map → payment-card-form-DGdRK0yK.cjs.map} +1 -1
  207. package/dist/{progress-XxF6aSkN.js → progress-B3hQmGMa.js} +2 -2
  208. package/dist/{progress-XxF6aSkN.js.map → progress-B3hQmGMa.js.map} +1 -1
  209. package/dist/{progress-BoP5Csie.cjs → progress-DQwzTPYM.cjs} +2 -2
  210. package/dist/{progress-BoP5Csie.cjs.map → progress-DQwzTPYM.cjs.map} +1 -1
  211. package/dist/progress.cjs +1 -1
  212. package/dist/progress.js +1 -1
  213. package/dist/{radio-button-CXCejG_D.cjs → radio-button-CJhEZw8n.cjs} +2 -2
  214. package/dist/{radio-button-CXCejG_D.cjs.map → radio-button-CJhEZw8n.cjs.map} +1 -1
  215. package/dist/{radio-button-V2Hov0hR.js → radio-button-DDE3kwPV.js} +3 -3
  216. package/dist/{radio-button-V2Hov0hR.js.map → radio-button-DDE3kwPV.js.map} +1 -1
  217. package/dist/radio-group.cjs +1 -1
  218. package/dist/radio-group.js +1 -1
  219. package/dist/{schmancy-steps-container-2wYMvDWE.js → schmancy-steps-container-Bk6YDDXz.js} +2 -2
  220. package/dist/{schmancy-steps-container-2wYMvDWE.js.map → schmancy-steps-container-Bk6YDDXz.js.map} +1 -1
  221. package/dist/{schmancy-steps-container-DUnUOt02.cjs → schmancy-steps-container-COzUZD-d.cjs} +2 -2
  222. package/dist/{schmancy-steps-container-DUnUOt02.cjs.map → schmancy-steps-container-COzUZD-d.cjs.map} +1 -1
  223. package/dist/{select-C3q_bpUE.js → select-BKkGETee.js} +3 -3
  224. package/dist/{select-C3q_bpUE.js.map → select-BKkGETee.js.map} +1 -1
  225. package/dist/{select-C-N7iN8o.cjs → select-Cc96IjOA.cjs} +2 -2
  226. package/dist/{select-C-N7iN8o.cjs.map → select-Cc96IjOA.cjs.map} +1 -1
  227. package/dist/select.cjs +1 -1
  228. package/dist/select.js +1 -1
  229. package/dist/{sheet-D6M6KiS2.cjs → sheet-_3iJjzla.cjs} +2 -2
  230. package/dist/{sheet-D6M6KiS2.cjs.map → sheet-_3iJjzla.cjs.map} +1 -1
  231. package/dist/{sheet-CRHpI74-.js → sheet-_Nwjk8tC.js} +3 -3
  232. package/dist/{sheet-CRHpI74-.js.map → sheet-_Nwjk8tC.js.map} +1 -1
  233. package/dist/sheet.cjs +1 -1
  234. package/dist/sheet.js +1 -1
  235. package/dist/{slider-D68ew2fL.js → slider-BawxkW-m.js} +3 -3
  236. package/dist/{slider-D68ew2fL.js.map → slider-BawxkW-m.js.map} +1 -1
  237. package/dist/{slider-iR39cfzw.cjs → slider-CvoNTGfb.cjs} +2 -2
  238. package/dist/{slider-iR39cfzw.cjs.map → slider-CvoNTGfb.cjs.map} +1 -1
  239. package/dist/slider.cjs +1 -1
  240. package/dist/slider.js +1 -1
  241. package/dist/{spinner-DoJREhKd.js → spinner-BSaeqgVi.js} +2 -2
  242. package/dist/{spinner-DoJREhKd.js.map → spinner-BSaeqgVi.js.map} +1 -1
  243. package/dist/{spinner-CtrfCFwg.cjs → spinner-CreHceHO.cjs} +2 -2
  244. package/dist/{spinner-CtrfCFwg.cjs.map → spinner-CreHceHO.cjs.map} +1 -1
  245. package/dist/steps.cjs +1 -1
  246. package/dist/steps.js +1 -1
  247. package/dist/{suggestion-chip-DB9MwObb.js → suggestion-chip-Ca9HEISE.js} +3 -3
  248. package/dist/{suggestion-chip-DB9MwObb.js.map → suggestion-chip-Ca9HEISE.js.map} +1 -1
  249. package/dist/{suggestion-chip-peYMYDhW.cjs → suggestion-chip-DgR-hY9P.cjs} +2 -2
  250. package/dist/{suggestion-chip-peYMYDhW.cjs.map → suggestion-chip-DgR-hY9P.cjs.map} +1 -1
  251. package/dist/{surface-dA3H91vM.js → surface-DssJvvqY.js} +2 -2
  252. package/dist/{surface-dA3H91vM.js.map → surface-DssJvvqY.js.map} +1 -1
  253. package/dist/{surface-CKZ-BRjP.cjs → surface-FlpARbmi.cjs} +2 -2
  254. package/dist/{surface-CKZ-BRjP.cjs.map → surface-FlpARbmi.cjs.map} +1 -1
  255. package/dist/surface.cjs +1 -1
  256. package/dist/surface.js +1 -1
  257. package/dist/{table-BrI5XDFr.cjs → table-DbGq1vlq.cjs} +2 -2
  258. package/dist/{table-BrI5XDFr.cjs.map → table-DbGq1vlq.cjs.map} +1 -1
  259. package/dist/{table-Dnafn9o8.js → table-DcgdSj1D.js} +2 -2
  260. package/dist/{table-Dnafn9o8.js.map → table-DcgdSj1D.js.map} +1 -1
  261. package/dist/table.cjs +1 -1
  262. package/dist/table.js +1 -1
  263. package/dist/{tabs-compatibility-B-mduLVm.cjs → tabs-compatibility-Lffxgw0G.cjs} +2 -2
  264. package/dist/{tabs-compatibility-B-mduLVm.cjs.map → tabs-compatibility-Lffxgw0G.cjs.map} +1 -1
  265. package/dist/{tabs-compatibility-BGq80aD1.js → tabs-compatibility-yIZW7NeR.js} +2 -2
  266. package/dist/{tabs-compatibility-BGq80aD1.js.map → tabs-compatibility-yIZW7NeR.js.map} +1 -1
  267. package/dist/tabs.cjs +1 -1
  268. package/dist/tabs.js +1 -1
  269. package/dist/tailwind.mixin-Dj-xh5c5.js +43 -0
  270. package/dist/{tailwind.mixin-mrbxk0Dc.js.map → tailwind.mixin-Dj-xh5c5.js.map} +1 -1
  271. package/dist/tailwind.mixin-Dwm4EWu8.cjs +2 -0
  272. package/dist/{tailwind.mixin-DbwoWKIJ.cjs.map → tailwind.mixin-Dwm4EWu8.cjs.map} +1 -1
  273. package/dist/teleport.cjs +1 -1
  274. package/dist/teleport.js +1 -1
  275. package/dist/{textarea-cwKg8TZg.js → textarea-BQ94zdoX.js} +2 -2
  276. package/dist/{textarea-cwKg8TZg.js.map → textarea-BQ94zdoX.js.map} +1 -1
  277. package/dist/{textarea-DfdfkgK2.cjs → textarea-CwYuTsPD.cjs} +2 -2
  278. package/dist/{textarea-DfdfkgK2.cjs.map → textarea-CwYuTsPD.cjs.map} +1 -1
  279. package/dist/textarea.cjs +1 -1
  280. package/dist/textarea.js +1 -1
  281. package/dist/{theme-button-pxUVg5zg.js → theme-button-CKt6f6kw.js} +2 -2
  282. package/dist/{theme-button-pxUVg5zg.js.map → theme-button-CKt6f6kw.js.map} +1 -1
  283. package/dist/{theme-button-mKwL1F5q.cjs → theme-button-CvJH2BwY.cjs} +2 -2
  284. package/dist/{theme-button-mKwL1F5q.cjs.map → theme-button-CvJH2BwY.cjs.map} +1 -1
  285. package/dist/theme-button.cjs +1 -1
  286. package/dist/theme-button.js +1 -1
  287. package/dist/theme.cjs +1 -1
  288. package/dist/{theme.component-D33lgU15.js → theme.component-DcPhAbxK.js} +2 -2
  289. package/dist/{theme.component-D33lgU15.js.map → theme.component-DcPhAbxK.js.map} +1 -1
  290. package/dist/{theme.component-BPnDtVam.cjs → theme.component-DhaisaKD.cjs} +2 -2
  291. package/dist/{theme.component-BPnDtVam.cjs.map → theme.component-DhaisaKD.cjs.map} +1 -1
  292. package/dist/theme.js +1 -1
  293. package/dist/{timezone-rlLAZj3d.cjs → timezone-D7Ufhjog.cjs} +2 -2
  294. package/dist/{timezone-rlLAZj3d.cjs.map → timezone-D7Ufhjog.cjs.map} +1 -1
  295. package/dist/{timezone-DLT-JgjX.js → timezone-ikqEpkrq.js} +3 -3
  296. package/dist/{timezone-DLT-JgjX.js.map → timezone-ikqEpkrq.js.map} +1 -1
  297. package/dist/{tooltip-C4gyp-xi.cjs → tooltip-Cod-ciP6.cjs} +2 -2
  298. package/dist/{tooltip-C4gyp-xi.cjs.map → tooltip-Cod-ciP6.cjs.map} +1 -1
  299. package/dist/{tooltip-CzEA1FXd.js → tooltip-DQeBYmkT.js} +2 -2
  300. package/dist/{tooltip-CzEA1FXd.js.map → tooltip-DQeBYmkT.js.map} +1 -1
  301. package/dist/tooltip.cjs +1 -1
  302. package/dist/tooltip.js +1 -1
  303. package/dist/{tree-Bcn4wetg.js → tree-BL71j34m.js} +2 -2
  304. package/dist/{tree-Bcn4wetg.js.map → tree-BL71j34m.js.map} +1 -1
  305. package/dist/{tree-bOCqq8yl.cjs → tree-DNJ-QNmK.cjs} +2 -2
  306. package/dist/{tree-bOCqq8yl.cjs.map → tree-DNJ-QNmK.cjs.map} +1 -1
  307. package/dist/tree.cjs +1 -1
  308. package/dist/tree.js +1 -1
  309. package/dist/{typewriter-CkH2Lv-D.cjs → typewriter-HY8FFj0-.cjs} +2 -2
  310. package/dist/{typewriter-CkH2Lv-D.cjs.map → typewriter-HY8FFj0-.cjs.map} +1 -1
  311. package/dist/{typewriter-BPRohBBv.js → typewriter-KPl30p8k.js} +4 -4
  312. package/dist/{typewriter-BPRohBBv.js.map → typewriter-KPl30p8k.js.map} +1 -1
  313. package/dist/typewriter.cjs +1 -1
  314. package/dist/typewriter.js +1 -1
  315. package/dist/{typography-DuMWoGnQ.js → typography-D5Mf_MlW.js} +2 -2
  316. package/dist/{typography-DuMWoGnQ.js.map → typography-D5Mf_MlW.js.map} +1 -1
  317. package/dist/{typography-DVxUQ43e.cjs → typography-eyw2Cqu6.cjs} +2 -2
  318. package/dist/{typography-DVxUQ43e.cjs.map → typography-eyw2Cqu6.cjs.map} +1 -1
  319. package/dist/typography.cjs +1 -1
  320. package/dist/typography.js +1 -1
  321. package/package.json +1 -1
  322. package/types/src/code-highlight/code-highlight.d.ts +1 -1
  323. package/types/src/details/details.d.ts +22 -2
  324. package/types/src/index.d.ts +1 -0
  325. package/types/src/navigation-bar/index.d.ts +2 -0
  326. package/types/src/navigation-bar/navigation-bar-item.d.ts +94 -0
  327. package/types/src/navigation-bar/navigation-bar.d.ts +93 -0
  328. package/dist/avatar-BvJePwYH.cjs +0 -157
  329. package/dist/avatar-BvJePwYH.cjs.map +0 -1
  330. package/dist/avatar-LXeXDzxD.js +0 -609
  331. package/dist/avatar-LXeXDzxD.js.map +0 -1
  332. package/dist/details-BsbZKBMM.cjs +0 -69
  333. package/dist/details-BsbZKBMM.cjs.map +0 -1
  334. package/dist/details-L1JbUOOa.js +0 -95
  335. package/dist/details-L1JbUOOa.js.map +0 -1
  336. package/dist/tailwind.mixin-DbwoWKIJ.cjs +0 -2
  337. package/dist/tailwind.mixin-mrbxk0Dc.js +0 -43
@@ -0,0 +1,895 @@
1
+ import { css as w, html as c, nothing as ft } from "lit";
2
+ import { property as l, customElement as p, state as h, queryAssignedElements as gt, query as tt } from "lit/decorators.js";
3
+ import { Subject as ot, merge as Q, fromEvent as d, startWith as Ot, map as v, debounceTime as G, tap as z, distinctUntilChanged as et, takeUntil as y, 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 Lt } from "rxjs";
4
+ import "./animated-text-DbBKOAWI.js";
5
+ import { a as ut, F as At, H as Rt } from "./area.component-eV-v6J5C.js";
6
+ import "./autocomplete-CTQ6eqYl.js";
7
+ import "lit/directives/class-map.js";
8
+ import "lit/directives/style-map.js";
9
+ import { T as Z } from "./tailwind.mixin-Dj-xh5c5.js";
10
+ import { c as M, f as Nt } from "./ripple-Cy-nvO8W.js";
11
+ import "lit/directives/guard.js";
12
+ import "./boat-CQyUVpLW.js";
13
+ import "./spinner-BSaeqgVi.js";
14
+ import "./icon-button-BSCcuC7U.js";
15
+ import "./media-Xr5pO0WU.js";
16
+ import "./checkbox-7annHqhF.js";
17
+ import "./suggestion-chip-Ca9HEISE.js";
18
+ import "./input-chip-CPNF4szF.js";
19
+ import "./code-preview-Y783aZ7J.js";
20
+ import "./payment-card-form-B1uZ9JUa.js";
21
+ import { SchmancyEvents as m } from "./types.js";
22
+ import { n as A, e as L } from "./provide-tcktw8xB.js";
23
+ import { $ as j } from "./litElement.mixin-7HEBIRUp.js";
24
+ import { c as u } from "./consume-5D1qfVWM.js";
25
+ import "./date-range-BtFn7iGs.js";
26
+ import "./date-range-inline-BnGPY5ZY.js";
27
+ import "./delay-DafLdRaR.js";
28
+ import "./details-89R5QI1S.js";
29
+ import "./dialog-content-CGt4hZZn.js";
30
+ import "./dialog-service-CyQzm5qE.js";
31
+ import "./divider-dTggJNS0.js";
32
+ import "./dropdown-content-Bty4mF1A.js";
33
+ import "./timezone-ikqEpkrq.js";
34
+ import "./form-DdQgacXw.js";
35
+ import "./icon-CYqOQBoE.js";
36
+ import "./input-CNs7L8A9.js";
37
+ import "./flex-CYF9ejQL.js";
38
+ import "./list-Cp-TE18p.js";
39
+ import "./email-recipients-Tb0UBtjf.js";
40
+ import "./map-CaTzsyI7.js";
41
+ import "./menu-C-Lvh3cn.js";
42
+ import { when as st } from "lit/directives/when.js";
43
+ import "./navigation-rail-item-CZKWN1Ki.js";
44
+ import "./notification-service-36m9Setj.js";
45
+ import "./option-DwEBerwR.js";
46
+ import "./progress-B3hQmGMa.js";
47
+ import "./radio-button-DDE3kwPV.js";
48
+ import "./index-CW6PhEkx.js";
49
+ import "./select-BKkGETee.js";
50
+ import "./sheet-_Nwjk8tC.js";
51
+ import { s as it } from "./sheet.service-lXqUf6n5.js";
52
+ import "./slider-BawxkW-m.js";
53
+ import "./schmancy-steps-container-Bk6YDDXz.js";
54
+ import "./context-object-u5gBaozZ.js";
55
+ import { tap as F, takeUntil as B, filter as V, throttleTime as qt, map as xt, pairwise as Tt, distinctUntilChanged as _t, take as Bt } from "rxjs/operators";
56
+ import "./surface-DssJvvqY.js";
57
+ import "./table-DcgdSj1D.js";
58
+ import "./tabs-compatibility-yIZW7NeR.js";
59
+ import "./textarea-BQ94zdoX.js";
60
+ import "./theme.component-DcPhAbxK.js";
61
+ import "./theme-button-CKt6f6kw.js";
62
+ import "./tooltip-DQeBYmkT.js";
63
+ import "./tree-BL71j34m.js";
64
+ import "./typewriter-KPl30p8k.js";
65
+ import "./typography-D5Mf_MlW.js";
66
+ import { S as r } from "./theme.interface-C5Kj6WjD.js";
67
+ var Xt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, I = (t, e, s, o) => {
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
+ return o && i && Xt(e, s, i), i;
70
+ };
71
+ let S = class extends Z(w`
72
+ :host {
73
+ display: inline-flex;
74
+ }
75
+
76
+ /* Enhanced pulse animation for better attention-getting */
77
+ @keyframes elegant-pulse {
78
+ 0%, 100% {
79
+ opacity: 1;
80
+ }
81
+ 50% {
82
+ opacity: 0.85;
83
+ }
84
+ }
85
+
86
+ .animate-pulse {
87
+ animation: elegant-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
88
+ }
89
+ `) {
90
+ constructor() {
91
+ super(...arguments), this.color = "primary", this.size = "md", this.shape = "pill", this.outlined = !1, this.icon = "", this.pulse = !1;
92
+ }
93
+ getSizeClasses() {
94
+ switch (this.size) {
95
+ case "xs":
96
+ return "text-xs py-0.75 px-1.5 gap-0.5 leading-none";
97
+ case "sm":
98
+ return "text-xs py-1.5 px-2.5 gap-0.5 tracking-wide leading-none";
99
+ case "lg":
100
+ return "text-base py-2 px-4 gap-1 tracking-wide";
101
+ default:
102
+ return "text-sm py-1.5 px-3 gap-0.5";
103
+ }
104
+ }
105
+ getShapeClasses() {
106
+ switch (this.shape) {
107
+ case "square":
108
+ return "rounded";
109
+ case "rounded":
110
+ return "rounded-md";
111
+ default:
112
+ return "rounded-full";
113
+ }
114
+ }
115
+ getIconSize() {
116
+ switch (this.size) {
117
+ case "xs":
118
+ return "11px";
119
+ case "sm":
120
+ return "13px";
121
+ case "lg":
122
+ return "18px";
123
+ default:
124
+ return "15px";
125
+ }
126
+ }
127
+ getExoticStyles() {
128
+ const t = {};
129
+ return this.size === "lg" && (t.letterSpacing = "0.03em", t.fontWeight = "500"), this.size === "sm" && (t.letterSpacing = "0.02em"), t;
130
+ }
131
+ getColorStyles() {
132
+ return { primary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${r.sys.color.primary.container} 92%, ${r.sys.color.primary.default} 8%)`, text: this.outlined ? r.sys.color.primary.default : r.sys.color.primary.onContainer, border: this.outlined ? `color-mix(in srgb, ${r.sys.color.primary.default} 90%, ${r.sys.color.surface.highest} 10%)` : void 0 }, secondary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${r.sys.color.secondary.container} 95%, ${r.sys.color.secondary.default} 5%)`, text: this.outlined ? r.sys.color.secondary.default : r.sys.color.secondary.onContainer, border: this.outlined ? `color-mix(in srgb, ${r.sys.color.secondary.default} 85%, ${r.sys.color.surface.highest} 15%)` : void 0 }, tertiary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${r.sys.color.tertiary.container} 94%, ${r.sys.color.tertiary.default} 6%)`, text: this.outlined ? r.sys.color.tertiary.default : r.sys.color.tertiary.onContainer, border: this.outlined ? `color-mix(in srgb, ${r.sys.color.tertiary.default} 88%, ${r.sys.color.surface.highest} 12%)` : void 0 }, success: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${r.sys.color.success.container} 90%, ${r.sys.color.success.default} 10%)`, text: this.outlined ? r.sys.color.success.default : r.sys.color.success.onContainer, border: this.outlined ? `color-mix(in srgb, ${r.sys.color.success.default} 85%, ${r.sys.color.surface.bright} 15%)` : void 0 }, warning: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${r.sys.color.tertiary.container} 85%, ${r.sys.color.tertiary.default} 15%)`, text: this.outlined ? r.sys.color.tertiary.default : r.sys.color.tertiary.onContainer, border: this.outlined ? `color-mix(in srgb, ${r.sys.color.tertiary.default} 90%, ${r.sys.color.surface.highest} 10%)` : void 0 }, error: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${r.sys.color.error.container} 92%, ${r.sys.color.error.default} 8%)`, text: this.outlined ? r.sys.color.error.default : r.sys.color.error.onContainer, border: this.outlined ? `color-mix(in srgb, ${r.sys.color.error.default} 88%, ${r.sys.color.surface.bright} 12%)` : void 0 }, neutral: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${r.sys.color.surface.high} 95%, ${r.sys.color.outline} 5%)`, text: this.outlined ? `color-mix(in srgb, ${r.sys.color.surface.on} 95%, ${r.sys.color.surface.default} 5%)` : r.sys.color.surface.on, border: this.outlined ? `color-mix(in srgb, ${r.sys.color.outline} 85%, ${r.sys.color.surface.highest} 15%)` : void 0 } }[this.color];
133
+ }
134
+ render() {
135
+ const t = this.getSizeClasses(), e = this.getShapeClasses(), s = this.getColorStyles(), o = this.getIconSize(), n = this.getExoticStyles(), i = { "inline-flex items-center justify-center font-medium": !0, "transition-all duration-200 ease-in-out": !0, [t]: !0, [e]: !0, "animate-pulse": this.pulse, "border border-solid": this.outlined, "shadow-sm": !this.outlined && this.size === "sm", shadow: !this.outlined && this.size === "md", "shadow-md": !this.outlined && this.size === "lg", "hover:brightness-95 hover:-translate-y-px": this.outlined, "hover:brightness-[0.98]": !this.outlined }, a = { borderColor: s.border, ...this.outlined ? { backdropFilter: "blur(4px)" } : {}, ...this.size !== "lg" || this.outlined ? {} : { boxShadow: "0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.1)" }, ...n };
136
+ return c`
137
+ <div
138
+ part="badge"
139
+ class="${this.classMap(i)}"
140
+ style="${this.styleMap(a)}"
141
+ ${M({ bgColor: s.bg, color: s.text })}
142
+ >
143
+ <!-- Icon slot or named icon -->
144
+ <slot name="icon">
145
+ ${this.icon ? c`
146
+ <div part="icon" class="flex-shrink-0 flex items-center justify-center leading-none">
147
+ <schmancy-icon .size=${o} class="flex items-center justify-center">${this.icon}</schmancy-icon>
148
+ </div>
149
+ ` : ""}
150
+ </slot>
151
+
152
+ <!-- Content with proper spacing from icon -->
153
+ <div part="content" class="flex items-center leading-none tracking-[0.01em] ${this.icon ? "ml-[0.38em]" : ""}">
154
+ <slot></slot>
155
+ </div>
156
+ </div>
157
+ `;
158
+ }
159
+ };
160
+ I([l({ type: String, reflect: !0 })], S.prototype, "color", 2), I([l({ type: String, reflect: !0 })], S.prototype, "size", 2), I([l({ type: String, reflect: !0 })], S.prototype, "shape", 2), I([l({ type: Boolean, reflect: !0 })], S.prototype, "outlined", 2), I([l({ type: String })], S.prototype, "icon", 2), I([l({ type: Boolean, reflect: !0 })], S.prototype, "pulse", 2), S = I([p("schmancy-badge")], S);
161
+ let mt = class extends S {
162
+ };
163
+ mt = I([p("sch-badge")], mt);
164
+ const Ds = new class {
165
+ constructor() {
166
+ this.$drawer = new ot(), this.lastComponent = null, this.$drawer.pipe().subscribe((t) => {
167
+ t.action === "dismiss" ? t.ref.dispatchEvent(new CustomEvent(m.ContentDrawerToggle, { detail: { state: "close" }, bubbles: !0, composed: !0 })) : t.action === "render" ? (t.ref.dispatchEvent(new CustomEvent(m.ContentDrawerToggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })), t.ref.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", { detail: { component: t.component, title: t.title }, bubbles: !0, composed: !0 }))) : t.action === "push" && this.handlePush(t.ref, t.component);
168
+ });
169
+ }
170
+ dimiss(t) {
171
+ this.$drawer.next({ action: "dismiss", ref: t });
172
+ }
173
+ render(t, e, s) {
174
+ t.dispatchEvent(new CustomEvent("custom-event")), this.$drawer.next({ action: "render", ref: t, component: e, title: s });
175
+ }
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
+ }
188
+ }
189
+ this.lastComponent === s && "requestUpdate" in s && s.requestUpdate(), this.lastComponent = s, t.dispatchEvent(new CustomEvent(m.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 });
193
+ }
194
+ }(), rt = A("push"), $t = A("close"), Ct = A(Math.floor(Math.random() * Date.now()).toString()), nt = A("100%"), at = A({});
195
+ var Kt = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor, P = (t, e, s, o) => {
196
+ for (var n, i = o > 1 ? void 0 : o ? Yt(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
197
+ return o && i && Kt(e, s, i), i;
198
+ };
199
+ let k = class extends j(w`
200
+ :host {
201
+ position: relative;
202
+ inset: 0;
203
+ display: block;
204
+ overflow: hidden;
205
+ }
206
+ `) {
207
+ constructor() {
208
+ super(...arguments), this.minWidth = { main: 360, sheet: 576 }, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
209
+ }
210
+ firstUpdated() {
211
+ Q(d(window, "resize"), d(window, m.ContentDrawerResize)).pipe(Ot(!0), v(() => this.clientWidth ? this.clientWidth : window.innerWidth), v((t) => t >= this.minWidth.main + this.minWidth.sheet), G(100), z(() => {
212
+ this.maxHeight = window.innerHeight - this.getOffsetTop(this) - 32 + "px", this.style.setProperty("max-height", this.maxHeight);
213
+ }), et(), y(this.disconnecting)).subscribe((t) => {
214
+ t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
215
+ }), d(window, m.ContentDrawerToggle).pipe(z((t) => {
216
+ t.stopPropagation();
217
+ }), v((t) => t.detail.state), y(this.disconnecting)).subscribe((t) => {
218
+ this.open = t;
219
+ }), d(window, "schmancy-content-drawer-render").pipe(z((t) => {
220
+ t.stopPropagation();
221
+ }), v((t) => t.detail), y(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
+ });
224
+ }
225
+ getOffsetTop(t) {
226
+ let e = 0;
227
+ for (; t; ) e += t.offsetTop, t = t.offsetParent;
228
+ return e;
229
+ }
230
+ 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
+ >
239
+ <slot></slot>
240
+ </schmancy-grid>
241
+ ` : ft;
242
+ }
243
+ };
244
+ P([L({ context: at })], k.prototype, "minWidth", 2), P([L({ context: $t }), l()], k.prototype, "open", 2), P([L({ context: rt }), h()], k.prototype, "mode", 2), P([L({ context: Ct })], k.prototype, "schmancyContentDrawerID", 2), P([L({ context: nt })], k.prototype, "maxHeight", 2), P([gt({ flatten: !0 })], k.prototype, "assignedElements", 2), k = P([p("schmancy-content-drawer")], k);
245
+ var Ft = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, q = (t, e, s, o) => {
246
+ 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
+ return o && i && Ft(e, s, i), i;
248
+ };
249
+ let R = class extends j(w`
250
+ :host {
251
+ display: block;
252
+ overflow: hidden;
253
+ }
254
+ `) {
255
+ connectedCallback() {
256
+ super.connectedCallback(), this.minWidth ? this.drawerMinWidth.main = this.minWidth : this.minWidth = this.drawerMinWidth.main;
257
+ }
258
+ update(t) {
259
+ super.update(t), t.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(m.ContentDrawerResize, { bubbles: !0, composed: !0 })));
260
+ }
261
+ render() {
262
+ const t = { minWidth: `${this.minWidth}px`, maxHeight: this.maxHeight };
263
+ return c`
264
+ <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
+ >
273
+ <section style=${this.styleMap(t)}>
274
+ <slot></slot>
275
+ </section>
276
+ </schmancy-grid>
277
+ ${st(this.mode === "push", () => c` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
278
+ </section>
279
+ `;
280
+ }
281
+ };
282
+ q([l({ type: Number })], R.prototype, "minWidth", 2), q([u({ context: at, subscribe: !0 })], R.prototype, "drawerMinWidth", 2), q([u({ context: rt, subscribe: !0 }), h()], R.prototype, "mode", 2), q([u({ context: nt, subscribe: !0 }), h()], R.prototype, "maxHeight", 2), R = q([p("schmancy-content-drawer-main")], R);
283
+ var Gt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, x = (t, e, s, o) => {
284
+ 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
+ return o && i && Gt(e, s, i), i;
286
+ };
287
+ let b = class extends j(w`
288
+ :host {
289
+ overflow: scroll;
290
+ }
291
+ `) {
292
+ connectedCallback() {
293
+ super.connectedCallback(), this.minWidth ? this.drawerMinWidth.sheet = this.minWidth : this.minWidth = this.drawerMinWidth.sheet;
294
+ }
295
+ updated(t) {
296
+ super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(m.ContentDrawerResize, { bubbles: !0, composed: !0 }))) : (t.has("state") || t.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (it.dismiss(this.schmancyContentDrawerID), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
297
+ }
298
+ open() {
299
+ 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
+ }
301
+ closeAll() {
302
+ Q(dt(this.closeModalSheet()), dt(this.closeSheet())).pipe(y(this.disconnecting)).subscribe();
303
+ }
304
+ closeModalSheet() {
305
+ return J(!0).pipe(z(() => it.dismiss(this.schmancyContentDrawerID)));
306
+ }
307
+ closeSheet() {
308
+ return new It((t) => {
309
+ 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
+ this.sheet.style.display = "none", t.next(), t.complete();
311
+ };
312
+ });
313
+ }
314
+ render() {
315
+ const t = { block: this.mode === "push", "absolute z-50": this.mode === "overlay", "opacity-1": this.mode === "overlay" && this.state === "open" }, e = { minWidth: `${this.minWidth}px`, maxHeight: this.maxHeight };
316
+ return c`
317
+ <section id="sheet" class="${this.classMap(t)}" style=${this.styleMap(e)}>
318
+ <schmancy-area name="${this.schmancyContentDrawerID}">
319
+ <slot name="placeholder"></slot>
320
+ </schmancy-area>
321
+ </section>
322
+ `;
323
+ }
324
+ };
325
+ x([l({ type: Number })], b.prototype, "minWidth", 2), x([u({ context: rt, subscribe: !0 }), h()], b.prototype, "mode", 2), x([u({ context: $t, subscribe: !0 }), h()], 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 }), h()], b.prototype, "maxHeight", 2), b = x([p("schmancy-content-drawer-sheet")], b);
326
+ const Qt = new class {
327
+ constructor() {
328
+ this.$drawer = new ot(), this.$drawer.pipe(G(10)).subscribe((t) => {
329
+ t.state ? window.dispatchEvent(new CustomEvent(m.NavDrawer_toggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })) : window.dispatchEvent(new CustomEvent(m.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
330
+ });
331
+ }
332
+ open(t) {
333
+ this.$drawer.next({ self: t, state: !0 });
334
+ }
335
+ close(t) {
336
+ this.$drawer.next({ self: t, state: !1 });
337
+ }
338
+ }(), Es = Qt, lt = A("push"), ct = A("close");
339
+ var Zt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, X = (t, e, s, o) => {
340
+ 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
+ return o && i && Zt(e, s, i), i;
342
+ };
343
+ let T = class extends Z(w`
344
+ :host {
345
+ display: block;
346
+ }
347
+ `) {
348
+ constructor() {
349
+ super(...arguments), this.toggler = !0;
350
+ }
351
+ render() {
352
+ const t = { "block left-3 z-50": this.sidebarMode === "overlay", hidden: this.sidebarMode === "push" }, e = { "block z-50": !0, "grid gap-2 items-center": !0, "grid-cols-[auto_1fr]": this.sidebarMode === "overlay" && this.toggler, "grid-cols-1": !(this.sidebarMode === "overlay" && this.toggler) };
353
+ return c`
354
+ <div class=${this.classMap(e)}>
355
+ ${st(this.sidebarMode === "overlay" && this.toggler, () => c`<slot name="toggler">
356
+ <div class="${this.classMap(t)}">
357
+ <schmancy-icon-button
358
+ @click=${() => {
359
+ this.dispatchEvent(new CustomEvent(m.NavDrawer_toggle, { detail: { state: this.sidebarOpen === "open" ? "close" : "open" }, bubbles: !0, composed: !0 }));
360
+ }}
361
+ >
362
+ ${st(this.sidebarOpen === "close", () => c`menu`, () => c`menu_open`)}
363
+ </schmancy-icon-button>
364
+ </div>
365
+ </slot>`)}
366
+
367
+ <slot> </slot>
368
+ </div>
369
+ `;
370
+ }
371
+ };
372
+ X([u({ context: lt, subscribe: !0 }), h()], T.prototype, "sidebarMode", 2), X([u({ context: ct, subscribe: !0 }), h()], T.prototype, "sidebarOpen", 2), X([l({ type: Boolean })], T.prototype, "toggler", 2), T = X([p("schmancy-nav-drawer-appbar")], T);
373
+ var ee = Object.getOwnPropertyDescriptor;
374
+ let yt = class extends j(w`
375
+ :host {
376
+ display: block;
377
+ position: relative;
378
+ inset: 0;
379
+ overflow-y: auto;
380
+ }
381
+ `) {
382
+ connectedCallback() {
383
+ super.connectedCallback(), d(this, "scroll").pipe(y(this.disconnecting)).subscribe((t) => {
384
+ this.parentElement.dispatchEvent(new CustomEvent("scroll", { detail: t, bubbles: !0, composed: !0 }));
385
+ });
386
+ }
387
+ render() {
388
+ return c` <slot></slot> `;
389
+ }
390
+ };
391
+ yt = ((t, e, s, o) => {
392
+ 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
+ return i;
394
+ })([p("schmancy-nav-drawer-content")], yt);
395
+ var se = Object.defineProperty, ie = Object.getOwnPropertyDescriptor, N = (t, e, s, o) => {
396
+ 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
+ return o && i && se(e, s, i), i;
398
+ };
399
+ let g = class extends j(w`
400
+ :host {
401
+ display: flex;
402
+ flex-grow: 1;
403
+ overflow: hidden;
404
+ /* Initially hide the component until it’s ready */
405
+ visibility: hidden;
406
+ }
407
+ /* Once the component is ready, remove the hidden style */
408
+ :host([data-ready]) {
409
+ visibility: visible;
410
+ }
411
+ `) {
412
+ constructor() {
413
+ super(...arguments), this.fullscreen = !1, this.breakpoint = "md", this._initialized = !1;
414
+ }
415
+ firstUpdated() {
416
+ this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""), d(window, "resize").pipe(v((t) => t.target.innerWidth), v((t) => t >= g.BREAKPOINTS[this.breakpoint]), et(), G(100), y(this.disconnecting)).subscribe((t) => {
417
+ t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
418
+ }), d(window, m.NavDrawer_toggle).pipe(z((t) => {
419
+ t.stopPropagation();
420
+ }), v((t) => t.detail.state), et(), y(this.disconnecting), G(10)).subscribe((t) => {
421
+ this.mode === "push" && t === "close" || (this.open = t);
422
+ });
423
+ }
424
+ updateState(t) {
425
+ const e = t >= g.BREAKPOINTS[this.breakpoint];
426
+ this.mode = e ? "push" : "overlay", this.open = e ? "open" : "close";
427
+ }
428
+ render() {
429
+ return this._initialized ? c`
430
+ <schmancy-grid
431
+ cols=${this.fullscreen ? "1fr" : "auto 1fr"}
432
+ rows="1fr"
433
+ flow="col"
434
+ justify="stretch"
435
+ align="stretch"
436
+ ${Nt()}
437
+ >
438
+ <slot></slot>
439
+ </schmancy-grid>
440
+ ` : ft;
441
+ }
442
+ };
443
+ g.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 }, N([l({ type: Boolean })], g.prototype, "fullscreen", 2), N([l({ type: String, attribute: "breakpoint" })], g.prototype, "breakpoint", 2), N([L({ context: lt }), h()], g.prototype, "mode", 2), N([L({ context: ct }), l()], g.prototype, "open", 2), N([h()], g.prototype, "_initialized", 2), g = N([p("schmancy-nav-drawer")], g);
444
+ var oe = Object.defineProperty, re = Object.getOwnPropertyDescriptor, W = (t, e, s, o) => {
445
+ 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);
446
+ return o && i && oe(e, s, i), i;
447
+ };
448
+ const U = "cubic-bezier(0.5, 0.01, 0.25, 1)";
449
+ let D = class extends j() {
450
+ constructor() {
451
+ super(...arguments), this.width = "220px", this._initialized = !1;
452
+ }
453
+ firstUpdated() {
454
+ this.mode === "overlay" ? this.drawerState === "close" ? (this.nav.style.transform = "translateX(-100%)", this.overlay.style.display = "none") : this.drawerState === "open" && (this.nav.style.transform = "translateX(0)", this.overlay.style.display = "block", this.overlay.style.opacity = "0.4") : this.mode === "push" && (this.nav.style.transform = "translateX(0)", this.overlay.style.display = "none"), this._initialized = !0;
455
+ }
456
+ updated(t) {
457
+ this._initialized && (t.has("drawerState") || t.has("mode")) && (this.mode === "overlay" ? this.drawerState === "open" ? this.nav.style.transform !== "translateX(0)" && (this.openOverlay(), this.showNavDrawer()) : this.drawerState === "close" && this.nav.style.transform !== "translateX(-100%)" && (this.hideNavDrawer(), this.closeOverlay()) : this.mode === "push" && (this.nav.style.transform !== "translateX(0)" && this.showNavDrawer(), this.overlay.style.display !== "none" && this.closeOverlay()));
458
+ }
459
+ openOverlay() {
460
+ this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: 0.4 }], { duration: 200, easing: U, fill: "forwards" });
461
+ }
462
+ closeOverlay() {
463
+ this.overlay.animate([{ opacity: 0.4 }, { opacity: 0 }], { duration: 150, easing: U, fill: "forwards" }).onfinish = () => {
464
+ this.overlay.style.display = "none";
465
+ };
466
+ }
467
+ showNavDrawer() {
468
+ this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], { duration: 200, easing: U, fill: "forwards" }).onfinish = () => {
469
+ this.nav.style.transform = "translateX(0)";
470
+ };
471
+ }
472
+ hideNavDrawer() {
473
+ this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], { duration: 200, easing: U, fill: "forwards" }).onfinish = () => {
474
+ this.nav.style.transform = "translateX(-100%)";
475
+ };
476
+ }
477
+ handleOverlayClick() {
478
+ window.dispatchEvent(new CustomEvent(m.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
479
+ }
480
+ render() {
481
+ 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 };
482
+ return c`
483
+ <nav
484
+ style=${this.styleMap(e)}
485
+ class="${this.classMap({ ...t })}"
486
+ ${M({ bgColor: r.sys.color.surface.container })}
487
+ >
488
+ <slot></slot>
489
+ </nav>
490
+ <div
491
+ id="overlay"
492
+ ${M({ bgColor: r.sys.color.scrim })}
493
+ @click=${this.handleOverlayClick}
494
+ class="${this.classMap({ "fixed inset-0 z-49 hidden": !0 })}"
495
+ ></div>
496
+ `;
497
+ }
498
+ };
499
+ W([u({ context: lt, subscribe: !0 }), h()], D.prototype, "mode", 2), W([u({ context: ct, subscribe: !0 }), h()], D.prototype, "drawerState", 2), W([tt("#overlay")], D.prototype, "overlay", 2), W([tt("nav")], D.prototype, "nav", 2), W([l({ type: String })], D.prototype, "width", 2), W([h()], D.prototype, "_initialized", 2), D = W([p("schmancy-nav-drawer-navbar")], D);
500
+ var ne = Object.defineProperty, ae = Object.getOwnPropertyDescriptor, E = (t, e, s, o) => {
501
+ 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);
502
+ return o && i && ne(e, s, i), i;
503
+ };
504
+ let $ = class extends Z(w`
505
+ :host {
506
+ display: flex;
507
+ flex: 1;
508
+ min-width: 48px;
509
+ max-width: 168px;
510
+ user-select: none;
511
+ -webkit-tap-highlight-color: transparent;
512
+ }
513
+
514
+ :host([disabled]) {
515
+ pointer-events: none;
516
+ }
517
+
518
+ button {
519
+ font-family: inherit;
520
+ border: none;
521
+ background: none;
522
+ width: 100%;
523
+ padding: 0;
524
+ margin: 0;
525
+ text-align: center;
526
+ color: inherit;
527
+ }
528
+
529
+ button:focus {
530
+ outline: none;
531
+ }
532
+
533
+ button:focus-visible {
534
+ outline: 2px solid var(--focus-color);
535
+ outline-offset: 2px;
536
+ border-radius: 8px;
537
+ }
538
+
539
+ /* Ripple animation */
540
+ @keyframes ripple {
541
+ to {
542
+ transform: scale(4);
543
+ opacity: 0;
544
+ }
545
+ }
546
+
547
+ .ripple-effect {
548
+ position: absolute;
549
+ border-radius: 50%;
550
+ width: 20px;
551
+ height: 20px;
552
+ background-color: currentColor;
553
+ opacity: 0.25;
554
+ animation: ripple 0.6s ease-out;
555
+ pointer-events: none;
556
+ }
557
+ `) {
558
+ constructor() {
559
+ super(...arguments), this.icon = "", this.label = "", this.badge = "", this.active$ = new vt(!1), this.disabled = !1, this.hideLabels = !1, this.ripples = [], this.addRippleEffect = (t) => {
560
+ if (this.disabled) return;
561
+ const e = this.shadowRoot?.querySelector(".w-16.h-8");
562
+ if (e) {
563
+ const s = e.getBoundingClientRect(), o = { x: t.clientX - s.left, y: t.clientY - s.top, id: Date.now() };
564
+ this.ripples = [...this.ripples, o], zt(600).pipe(F(() => {
565
+ this.ripples = this.ripples.filter((n) => n.id !== o.id);
566
+ }), B(this.disconnecting)).subscribe();
567
+ }
568
+ }, this.handleClick = (t) => {
569
+ if (this.disabled) return t.preventDefault(), void t.stopPropagation();
570
+ this.addRippleEffect(t);
571
+ }, this.handleKeyDown = (t) => {
572
+ this.disabled || t.key !== "Enter" && t.key !== " " || t.preventDefault();
573
+ };
574
+ }
575
+ get active() {
576
+ return this.active$.value;
577
+ }
578
+ set active(t) {
579
+ this.active$.next(t);
580
+ }
581
+ setActive(t) {
582
+ this.active = t;
583
+ }
584
+ connectedCallback() {
585
+ super.connectedCallback(), this.active$.pipe(B(this.disconnecting)).subscribe(() => {
586
+ this.requestUpdate();
587
+ }), this.setupNavigationStream();
588
+ }
589
+ setupNavigationStream() {
590
+ const t = this.shadowRoot?.querySelector("button");
591
+ if (!t) return;
592
+ const e = d(t, "click").pipe(V(() => !this.disabled)), s = d(t, "keydown").pipe(V(() => !this.disabled), V((o) => o.key === "Enter" || o.key === " "), F((o) => o.preventDefault()));
593
+ Q(e, s).pipe(F(() => {
594
+ this.dispatchEvent(new CustomEvent("bar-item-click", { detail: { icon: this.icon, label: this.label, active: this.active }, bubbles: !0, composed: !0 }));
595
+ }), B(this.disconnecting)).subscribe();
596
+ }
597
+ formatBadge(t) {
598
+ const e = Number(t);
599
+ return isNaN(e) ? t.slice(0, 3) : e > 99 ? "99+" : String(e);
600
+ }
601
+ firstUpdated() {
602
+ this.setupNavigationStream();
603
+ }
604
+ render() {
605
+ 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 }, Et = { "--focus-color": r.sys.color.primary.default };
606
+ return c`
607
+ <button
608
+ type="button"
609
+ class=${this.classMap(n)}
610
+ @click=${this.handleClick}
611
+ @keydown=${this.handleKeyDown}
612
+ ?disabled=${this.disabled}
613
+ aria-pressed=${this.active}
614
+ aria-label=${this.label || "Navigation item"}
615
+ style=${this.styleMap({ ...Et, "outline-color": "var(--focus-color)" })}
616
+ ${M(Dt)}
617
+ >
618
+ <!-- Icon with indicator background -->
619
+ <div class=${this.classMap(i)}>
620
+ <!-- Ripple effects -->
621
+ ${this.ripples.map((ht) => c`
622
+ <span
623
+ class="ripple-effect"
624
+ style=${this.styleMap({ left: `${ht.x}px`, top: `${ht.y}px`, transform: "translate(-50%, -50%)" })}
625
+ ></span>
626
+ `)}
627
+
628
+ ${o ? c`<slot name="icon"></slot>` : this.icon ? c`
629
+ <schmancy-icon
630
+ .fill=${this.active ? 1 : 0}
631
+ class="relative z-10 flex items-center justify-center transition-all duration-200"
632
+ style="--schmancy-icon-size: 24px;"
633
+ aria-hidden="true"
634
+ >
635
+ ${this.icon}
636
+ </schmancy-icon>
637
+ ` : t ? c`<slot></slot>` : ""}
638
+ </div>
639
+
640
+ <!-- Label below icon -->
641
+ ${!this.hideLabels && this.label ? c`
642
+ <span class=${this.classMap({ "text-xs font-medium leading-4 mt-1": !0, "text-center max-w-full": !0, "overflow-hidden text-ellipsis whitespace-nowrap": !0, "transition-all duration-200": !0 })}>${this.label}</span>
643
+ ` : ""}
644
+
645
+ <!-- Badge -->
646
+ ${s ? c`
647
+ <span
648
+ class=${this.classMap(a)}
649
+ aria-label="${e} notifications"
650
+ ${M({ bgColor: r.sys.color.error.default, color: r.sys.color.error.on })}
651
+ >
652
+ <span class="text-[10px] font-medium leading-none">${e}</span>
653
+ </span>
654
+ ` : this.badge ? c`
655
+ <span
656
+ class=${this.classMap(a)}
657
+ aria-label="Has notifications"
658
+ ${M({ bgColor: r.sys.color.error.default })}
659
+ ></span>
660
+ ` : ""}
661
+ </button>
662
+ `;
663
+ }
664
+ };
665
+ E([l({ type: String })], $.prototype, "icon", 2), E([l({ type: String })], $.prototype, "label", 2), E([l({ type: String })], $.prototype, "badge", 2), E([l({ type: Boolean, reflect: !0 })], $.prototype, "active", 1), E([l({ type: Boolean, reflect: !0 })], $.prototype, "disabled", 2), E([l({ type: Boolean, reflect: !0 })], $.prototype, "hideLabels", 2), E([h()], $.prototype, "ripples", 2), $ = E([p("schmancy-navigation-bar-item")], $);
666
+ var le = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, H = (t, e, s, o) => {
667
+ 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);
668
+ return o && i && le(e, s, i), i;
669
+ };
670
+ let O = class extends Z(w`
671
+ :host {
672
+ display: block;
673
+ position: fixed;
674
+ bottom: 0;
675
+ left: 0;
676
+ right: 0;
677
+ z-index: 10;
678
+ transition: transform 0.3s ease-in-out;
679
+ }
680
+
681
+ :host([hide-on-scroll]) {
682
+ transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
683
+ }
684
+
685
+ /* Support 3-7 items with equal distribution */
686
+ ::slotted(schmancy-navigation-bar-item) {
687
+ flex: 1;
688
+ max-width: 168px; /* Prevent items from being too wide */
689
+ }
690
+
691
+ /* Accessibility focus indicators */
692
+ :host(:focus-within) {
693
+ outline: 2px solid var(--schmancy-sys-color-primary);
694
+ outline-offset: -2px;
695
+ }
696
+ `) {
697
+ constructor() {
698
+ super(...arguments), this.activeIndex$ = new vt(-1), this.hideLabels = !1, this.elevation = 2, this.hideOnScroll = !1, this.focusedIndex = -1, this.isHidden = !1, this.SCROLL_THRESHOLD = 10, this.handleItemClick = (t) => {
699
+ const e = this.querySelectorAll("schmancy-navigation-bar-item"), s = t.target, o = Array.from(e).indexOf(s);
700
+ if (o !== -1 && this.activeIndex !== o) {
701
+ const n = this.activeIndex;
702
+ this.activeIndex = o, this.dispatchEvent(new CustomEvent("navigation-change", { detail: { oldIndex: n, newIndex: o, item: s }, bubbles: !0, composed: !0 }));
703
+ }
704
+ }, this.handleKeyDown = (t) => {
705
+ const e = Array.from(this.querySelectorAll("schmancy-navigation-bar-item")), s = this.focusedIndex === -1 ? this.activeIndex : this.focusedIndex;
706
+ switch (t.key) {
707
+ case "ArrowLeft":
708
+ t.preventDefault(), s > 0 && this.focusItem(s - 1);
709
+ break;
710
+ case "ArrowRight":
711
+ t.preventDefault(), s < e.length - 1 && this.focusItem(s + 1);
712
+ break;
713
+ case "Home":
714
+ t.preventDefault(), this.focusItem(0);
715
+ break;
716
+ case "End":
717
+ t.preventDefault(), this.focusItem(e.length - 1);
718
+ break;
719
+ case "Enter":
720
+ case " ":
721
+ t.preventDefault(), this.focusedIndex !== -1 && e[this.focusedIndex]?.click();
722
+ }
723
+ };
724
+ }
725
+ get activeIndex() {
726
+ return this.activeIndex$.value;
727
+ }
728
+ set activeIndex(t) {
729
+ this.activeIndex$.next(t);
730
+ }
731
+ connectedCallback() {
732
+ super.connectedCallback(), this.addEventListener("bar-item-click", this.handleItemClick), this.addEventListener("keydown", this.handleKeyDown), this.activeIndex$.pipe(B(this.disconnecting)).subscribe((t) => {
733
+ this.updateActiveStates(t);
734
+ }), this.hideOnScroll && this.setupScrollListener(), this.updateItems();
735
+ }
736
+ setupScrollListener() {
737
+ d(window, "scroll").pipe(qt(100), xt(() => window.scrollY), Tt(), V(([t, e]) => Math.abs(e - t) > this.SCROLL_THRESHOLD), F(([t, e]) => {
738
+ const s = e < t;
739
+ e > t && !this.isHidden ? this.isHidden = !0 : s && this.isHidden && (this.isHidden = !1), e <= this.SCROLL_THRESHOLD && (this.isHidden = !1);
740
+ }), B(this.disconnecting)).subscribe();
741
+ }
742
+ disconnectedCallback() {
743
+ this.removeEventListener("bar-item-click", this.handleItemClick), this.removeEventListener("keydown", this.handleKeyDown), super.disconnectedCallback();
744
+ }
745
+ focusItem(t) {
746
+ const e = this.querySelectorAll("schmancy-navigation-bar-item");
747
+ e[t] && (this.focusedIndex = t, e[t].focus());
748
+ }
749
+ updateItems() {
750
+ const t = this.shadowRoot?.querySelector("slot");
751
+ if (t) {
752
+ const e = () => {
753
+ this.updateActiveStates(this.activeIndex);
754
+ };
755
+ t.addEventListener("slotchange", e), e();
756
+ }
757
+ }
758
+ updateActiveStates(t) {
759
+ this.querySelectorAll("schmancy-navigation-bar-item").forEach((e, s) => {
760
+ const o = e;
761
+ o.setActive ? o.setActive(s === t) : o.active = s === t, o.hideLabels = this.hideLabels, e.tabIndex = s === t ? 0 : -1;
762
+ });
763
+ }
764
+ updated(t) {
765
+ super.updated(t), t.has("hideLabels") && this.updateActiveStates(this.activeIndex), t.has("hideOnScroll") && (this.hideOnScroll && !t.get("hideOnScroll") ? this.setupScrollListener() : this.hideOnScroll || (this.isHidden = !1));
766
+ }
767
+ render() {
768
+ const t = { "h-20": !0, "fixed bottom-0 left-0 right-0": !0, "flex items-center justify-around": !0, "px-2 py-3 box-border": !0, "transition-all duration-200 ease-in-out": !0, "shadow-none": this.elevation === 0, "shadow-sm": this.elevation === 1, "shadow-md": this.elevation === 2, "shadow-lg": this.elevation === 3, "shadow-xl": this.elevation === 4, "shadow-2xl": this.elevation === 5 }, e = this.isHidden ? "translateY(100%)" : "translateY(0)";
769
+ return c`
770
+ <nav
771
+ class=${this.classMap(t)}
772
+ role="navigation"
773
+ aria-label="Main navigation"
774
+ aria-hidden=${this.isHidden}
775
+ style="transform: ${e};"
776
+ ${M({ bgColor: r.sys.color.surface.container, color: r.sys.color.surface.on })}
777
+ >
778
+ <slot></slot>
779
+ </nav>
780
+ `;
781
+ }
782
+ };
783
+ H([l({ type: Number })], O.prototype, "activeIndex", 1), H([l({ type: Boolean, reflect: !0 })], O.prototype, "hideLabels", 2), H([l({ type: Number, reflect: !0 })], O.prototype, "elevation", 2), H([l({ type: Boolean, reflect: !0 })], O.prototype, "hideOnScroll", 2), H([h()], O.prototype, "focusedIndex", 2), H([h()], O.prototype, "isHidden", 2), O = H([p("schmancy-navigation-bar")], O);
784
+ const St = "whereAreYouRicky", kt = "hereMorty", K = new class {
785
+ constructor() {
786
+ this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new ot(), this.find = (t) => pt([d(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(z(() => {
787
+ window.dispatchEvent(new CustomEvent(St, { detail: { id: t.id, callerID: t.uuid } }));
788
+ }))]).pipe(v(([e]) => e), jt(0)), this.flip = (t) => {
789
+ const { from: e, to: s } = t, o = s.element.style.zIndex;
790
+ s.element.style.transformOrigin = "top left", s.element.style.setProperty("visibility", "visible"), s.element.style.zIndex = "1000";
791
+ 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)" }];
792
+ s.element.animate(n, { duration: 250, delay: 10, easing: "cubic-bezier(0.455, 0.03, 0.515, 0.955)" }).onfinish = () => {
793
+ s.element.style.zIndex = o, s.element.style.transformOrigin = "";
794
+ };
795
+ }, 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();
796
+ }
797
+ }();
798
+ function bt(t) {
799
+ return Ht(50).pipe(xt(() => t.getBoundingClientRect()), _t((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), Bt(1));
800
+ }
801
+ var he = Object.defineProperty, de = Object.getOwnPropertyDescriptor, Y = (t, e, s, o) => {
802
+ 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);
803
+ return o && i && he(e, s, i), i;
804
+ };
805
+ let _ = class extends j(w``) {
806
+ constructor() {
807
+ super(...arguments), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
808
+ }
809
+ get _slottedChildren() {
810
+ return this.shadowRoot.querySelector("slot").assignedElements({ flatten: !0 });
811
+ }
812
+ connectedCallback() {
813
+ if (this.id === void 0) throw new Error("id is required");
814
+ super.connectedCallback(), Q(d(window, At).pipe(z({ next: () => {
815
+ this.dispatchEvent(new CustomEvent(Rt, { detail: { component: this }, bubbles: !0, composed: !0 }));
816
+ } })), d(window, St).pipe(z({ next: (t) => {
817
+ t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(kt, { detail: { component: this }, bubbles: !0, composed: !0 }));
818
+ } }))).pipe(y(this.disconnecting)).subscribe();
819
+ }
820
+ async firstUpdated() {
821
+ J(K.activeTeleportations.get(this.id)).pipe(wt((t) => !!t), y(this.disconnecting), Lt()).subscribe({ next: (t) => {
822
+ this.style.setProperty("visibility", "hidden"), bt(this).pipe(y(this.disconnecting)).subscribe({ next: (e) => {
823
+ K.activeTeleportations.set(this.id, e), K.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
824
+ } });
825
+ }, error: () => {
826
+ this.style.setProperty("visibility", "visible"), bt(this).pipe(y(this.disconnecting)).subscribe({ next: (t) => {
827
+ K.activeTeleportations.set(this.id, t);
828
+ } });
829
+ }, complete: () => {
830
+ } });
831
+ }
832
+ render() {
833
+ return c`<slot></slot>`;
834
+ }
835
+ };
836
+ Y([l({ type: Number, reflect: !0 })], _.prototype, "uuid", 2), Y([l({ type: String })], _.prototype, "id", 2), Y([l({ type: Number })], _.prototype, "delay", 2), _ = Y([p("schmancy-teleport")], _);
837
+ var pe = Object.defineProperty, ue = Object.getOwnPropertyDescriptor, C = (t, e, s, o) => {
838
+ 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);
839
+ return o && i && pe(e, s, i), i;
840
+ };
841
+ let f = class extends j() {
842
+ constructor() {
843
+ super(...arguments), this.initials = "", this.src = "", this.icon = "", this.size = "md", this.color = "primary", this.shape = "circle", this.bordered = !1, this.status = "none";
844
+ }
845
+ render() {
846
+ let t;
847
+ t = this.src ? c`<img class="w-full h-full object-cover" src="${this.src}" alt="Avatar" />` : this.initials ? c`<span class="text-center font-medium">${this.initials.substring(0, 2).toUpperCase()}</span>` : this.icon ? c`<schmancy-icon>${this.icon}</schmancy-icon>` : c`<schmancy-icon>person</schmancy-icon>`;
848
+ const e = { "relative flex items-center justify-center overflow-hidden": !0, [{ xs: "w-6 h-6 text-xs", sm: "w-8 h-8 text-sm", md: "w-10 h-10 text-base", lg: "w-12 h-12 text-lg", xl: "w-16 h-16 text-xl" }[this.size]]: !0, [{ circle: "rounded-full", square: "rounded-md" }[this.shape]]: !0, "border-2 border-surface-container": this.bordered }, s = this.getColorAttributes();
849
+ return c`
850
+ <div class="${this.classMap(e)}" ${s}>
851
+ ${t} ${this.status !== "none" ? this.renderStatusIndicator() : ""}
852
+ </div>
853
+ `;
854
+ }
855
+ getColorAttributes() {
856
+ const t = { primary: { bgColor: r.sys.color.primary.container, color: r.sys.color.primary.onContainer }, secondary: { bgColor: r.sys.color.secondary.container, color: r.sys.color.secondary.onContainer }, tertiary: { bgColor: r.sys.color.tertiary.container, color: r.sys.color.tertiary.onContainer }, success: { bgColor: r.sys.color.success.container, color: r.sys.color.success.onContainer }, error: { bgColor: r.sys.color.error.container, color: r.sys.color.error.onContainer }, neutral: { bgColor: r.sys.color.surface.container, color: r.sys.color.surface.on } };
857
+ return M(t[this.color]);
858
+ }
859
+ renderStatusIndicator() {
860
+ const t = { online: r.sys.color.success.default, offline: r.sys.color.surface.onVariant, busy: r.sys.color.error.default, away: r.sys.color.tertiary.default }, e = { "absolute bottom-0 right-0 rounded-full border-2 border-surface-default": !0, [{ xs: "w-1.5 h-1.5", sm: "w-2 h-2", md: "w-2.5 h-2.5", lg: "w-3 h-3", xl: "w-4 h-4" }[this.size]]: !0 };
861
+ return c`
862
+ <div class="${this.classMap(e)}" style="background-color: ${t[this.status]};"></div>
863
+ `;
864
+ }
865
+ };
866
+ C([l({ type: String })], f.prototype, "initials", 2), C([l({ type: String })], f.prototype, "src", 2), C([l({ type: String })], f.prototype, "icon", 2), C([l({ type: String })], f.prototype, "size", 2), C([l({ type: String })], f.prototype, "color", 2), C([l({ type: String })], f.prototype, "shape", 2), C([l({ type: Boolean })], f.prototype, "bordered", 2), C([l({ type: String })], f.prototype, "status", 2), f = C([p("schmancy-avatar")], f);
867
+ export {
868
+ Es as $,
869
+ kt as H,
870
+ S,
871
+ St as W,
872
+ mt as a,
873
+ rt as b,
874
+ $t as c,
875
+ Ct as d,
876
+ nt as e,
877
+ at as f,
878
+ k as g,
879
+ R as h,
880
+ b as i,
881
+ Qt as j,
882
+ T as k,
883
+ yt as l,
884
+ lt as m,
885
+ ct as n,
886
+ g as o,
887
+ D as p,
888
+ $ as q,
889
+ O as r,
890
+ Ds as s,
891
+ _ as t,
892
+ K as u,
893
+ f as v
894
+ };
895
+ //# sourceMappingURL=avatar-BAaUCxc-.js.map