@mhmo91/schmancy 0.10.26 → 0.10.28

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 (394) hide show
  1. package/custom-elements.json +14 -18
  2. package/dist/agent/overlay.confirm-body-BZoUgkdK.js +4574 -0
  3. package/dist/agent/overlay.confirm-body-BZoUgkdK.js.map +1 -0
  4. package/dist/agent/schmancy.agent.js +3121 -4893
  5. package/dist/agent/schmancy.agent.js.map +1 -1
  6. package/dist/agent/schmancy.manifest.json +68 -24
  7. package/dist/{area-DkvO_oiO.cjs → area-BSVOYQDA.cjs} +1 -1
  8. package/dist/{area-DkvO_oiO.cjs.map → area-BSVOYQDA.cjs.map} +1 -1
  9. package/dist/{area-fC1_kvAW.js → area-C_Yvjmad.js} +1 -1
  10. package/dist/{area-fC1_kvAW.js.map → area-C_Yvjmad.js.map} +1 -1
  11. package/dist/area.cjs +1 -1
  12. package/dist/area.js +1 -1
  13. package/dist/{autocomplete-Aa2IstyX.cjs → autocomplete-B50VXUzw.cjs} +1 -1
  14. package/dist/{autocomplete-Aa2IstyX.cjs.map → autocomplete-B50VXUzw.cjs.map} +1 -1
  15. package/dist/{autocomplete-Hb-C11a3.js → autocomplete-C6I1mfOT.js} +2 -2
  16. package/dist/{autocomplete-Hb-C11a3.js.map → autocomplete-C6I1mfOT.js.map} +1 -1
  17. package/dist/autocomplete.cjs +1 -1
  18. package/dist/autocomplete.js +1 -1
  19. package/dist/avatar.cjs +2 -2
  20. package/dist/avatar.js +3 -3
  21. package/dist/badge.cjs +1 -1
  22. package/dist/badge.js +1 -1
  23. package/dist/{boat-BW6aRcdY.js → boat-C94QZ4Zt.js} +1 -1
  24. package/dist/{boat-BW6aRcdY.js.map → boat-C94QZ4Zt.js.map} +1 -1
  25. package/dist/{boat-BEq-AHmL.cjs → boat-DVQBNkk5.cjs} +1 -1
  26. package/dist/{boat-BEq-AHmL.cjs.map → boat-DVQBNkk5.cjs.map} +1 -1
  27. package/dist/boat.cjs +1 -1
  28. package/dist/boat.js +1 -1
  29. package/dist/breadcrumb.cjs +1 -1
  30. package/dist/breadcrumb.js +1 -1
  31. package/dist/{busy-D-ucQFSB.js → busy--bNb42rM.js} +1 -1
  32. package/dist/{busy-D-ucQFSB.js.map → busy--bNb42rM.js.map} +1 -1
  33. package/dist/{busy-CKpIblIO.cjs → busy-DuxFvEkY.cjs} +1 -1
  34. package/dist/{busy-CKpIblIO.cjs.map → busy-DuxFvEkY.cjs.map} +1 -1
  35. package/dist/busy.cjs +1 -1
  36. package/dist/busy.js +1 -1
  37. package/dist/{button-BU-X0a0S.js → button-B7b9L_h5.js} +26 -187
  38. package/dist/button-B7b9L_h5.js.map +1 -0
  39. package/dist/{button-HzLpB3NP.cjs → button-DAFZ5A4O.cjs} +2 -60
  40. package/dist/button-DAFZ5A4O.cjs.map +1 -0
  41. package/dist/button.cjs +59 -1
  42. package/dist/button.cjs.map +1 -0
  43. package/dist/button.js +170 -2
  44. package/dist/button.js.map +1 -0
  45. package/dist/{card-CcrUlgd3.cjs → card-DZPd24Sn.cjs} +1 -1
  46. package/dist/{card-CcrUlgd3.cjs.map → card-DZPd24Sn.cjs.map} +1 -1
  47. package/dist/{card-ueXBeJ6q.js → card-ixzxOW-Q.js} +1 -1
  48. package/dist/{card-ueXBeJ6q.js.map → card-ixzxOW-Q.js.map} +1 -1
  49. package/dist/card.cjs +1 -1
  50. package/dist/card.js +1 -1
  51. package/dist/{checkbox-qsp-I5C6.cjs → checkbox-Bi_Fm2mf.cjs} +1 -1
  52. package/dist/{checkbox-qsp-I5C6.cjs.map → checkbox-Bi_Fm2mf.cjs.map} +1 -1
  53. package/dist/{checkbox-CW1kk4Tu.js → checkbox-DdGpepTh.js} +1 -1
  54. package/dist/{checkbox-CW1kk4Tu.js.map → checkbox-DdGpepTh.js.map} +1 -1
  55. package/dist/checkbox.cjs +1 -1
  56. package/dist/checkbox.js +1 -1
  57. package/dist/{chips-C_F6-gfe.js → chips-DLTynyVB.js} +3 -3
  58. package/dist/{chips-C_F6-gfe.js.map → chips-DLTynyVB.js.map} +1 -1
  59. package/dist/{chips-Dluk6RV4.cjs → chips-DWQMZErr.cjs} +1 -1
  60. package/dist/{chips-Dluk6RV4.cjs.map → chips-DWQMZErr.cjs.map} +1 -1
  61. package/dist/chips.cjs +1 -1
  62. package/dist/chips.js +2 -2
  63. package/dist/connectivity.cjs +1 -1
  64. package/dist/connectivity.js +1 -1
  65. package/dist/content-drawer.cjs +1 -1
  66. package/dist/content-drawer.js +1 -1
  67. package/dist/{date-range-ASZ8h_Il.js → date-range-CJ6MiTpF.js} +90 -82
  68. package/dist/date-range-CJ6MiTpF.js.map +1 -0
  69. package/dist/{date-range-BFOqXAI2.cjs → date-range-DQpmMJH-.cjs} +6 -1
  70. package/dist/date-range-DQpmMJH-.cjs.map +1 -0
  71. package/dist/{date-range-inline-DHrgolLn.js → date-range-inline-Ho3CENTh.js} +1 -1
  72. package/dist/{date-range-inline-DHrgolLn.js.map → date-range-inline-Ho3CENTh.js.map} +1 -1
  73. package/dist/{date-range-inline-BNmNOpL0.cjs → date-range-inline-nPWIs-3C.cjs} +1 -1
  74. package/dist/{date-range-inline-BNmNOpL0.cjs.map → date-range-inline-nPWIs-3C.cjs.map} +1 -1
  75. package/dist/date-range-inline.cjs +1 -1
  76. package/dist/date-range-inline.js +1 -1
  77. package/dist/date-range.cjs +1 -1
  78. package/dist/date-range.js +1 -1
  79. package/dist/delay.cjs +1 -1
  80. package/dist/delay.js +2 -2
  81. package/dist/{details-Bx9c4XQR.cjs → details-BnRWMZdt.cjs} +1 -1
  82. package/dist/{details-Bx9c4XQR.cjs.map → details-BnRWMZdt.cjs.map} +1 -1
  83. package/dist/{details-B9RgRw6c.js → details-CcMTvYo7.js} +2 -2
  84. package/dist/{details-B9RgRw6c.js.map → details-CcMTvYo7.js.map} +1 -1
  85. package/dist/details.cjs +1 -1
  86. package/dist/details.js +1 -1
  87. package/dist/{directives-Dq0zi2KR.cjs → directives-BkSqmLBV.cjs} +11 -11
  88. package/dist/directives-BkSqmLBV.cjs.map +1 -0
  89. package/dist/{directives-sWKTEJDb.js → directives-DgPbz0lQ.js} +116 -153
  90. package/dist/directives-DgPbz0lQ.js.map +1 -0
  91. package/dist/directives.cjs +1 -1
  92. package/dist/directives.js +7 -6
  93. package/dist/discovery.cjs +1 -1
  94. package/dist/discovery.js +1 -1
  95. package/dist/{discovery.service-CVDXO9rH.cjs.map → discovery.service-CIa3Eeuk.cjs.map} +1 -1
  96. package/dist/{discovery.service-COmbHaoI.js.map → discovery.service-DZFxtRwW.js.map} +1 -1
  97. package/dist/{divider-DH0BvTOv.cjs → divider-C6yJSL1c.cjs} +1 -1
  98. package/dist/{divider-DH0BvTOv.cjs.map → divider-C6yJSL1c.cjs.map} +1 -1
  99. package/dist/{divider-C7BtzDcK.js → divider-CZCj0ioH.js} +1 -1
  100. package/dist/{divider-C7BtzDcK.js.map → divider-CZCj0ioH.js.map} +1 -1
  101. package/dist/divider.cjs +1 -1
  102. package/dist/divider.js +1 -1
  103. package/dist/dropdown.cjs +1 -1
  104. package/dist/dropdown.js +1 -1
  105. package/dist/{expand-DcMx9dHY.js → expand-Cc6ogXsR.js} +2 -2
  106. package/dist/{expand-DcMx9dHY.js.map → expand-Cc6ogXsR.js.map} +1 -1
  107. package/dist/{expand-CPMF44eL.cjs → expand-D4EhwOYh.cjs} +1 -1
  108. package/dist/{expand-CPMF44eL.cjs.map → expand-D4EhwOYh.cjs.map} +1 -1
  109. package/dist/expand.cjs +1 -1
  110. package/dist/expand.js +1 -1
  111. package/dist/{float-CgBN4H3g.cjs → float-B8EPc_OG.cjs} +1 -1
  112. package/dist/{float-CgBN4H3g.cjs.map → float-B8EPc_OG.cjs.map} +1 -1
  113. package/dist/{float-DkUw5TN4.js → float-BvI3HTtB.js} +1 -1
  114. package/dist/{float-DkUw5TN4.js.map → float-BvI3HTtB.js.map} +1 -1
  115. package/dist/float.cjs +1 -1
  116. package/dist/float.js +1 -1
  117. package/dist/{form-kSgJf_h4.js → form-FtYtZScl.js} +8 -8
  118. package/dist/{form-kSgJf_h4.js.map → form-FtYtZScl.js.map} +1 -1
  119. package/dist/form-SHg5FLsd.cjs +42 -0
  120. package/dist/{form-DxApnyVx.cjs.map → form-SHg5FLsd.cjs.map} +1 -1
  121. package/dist/form.cjs +1 -1
  122. package/dist/form.js +6 -6
  123. package/dist/gravity-6pL6CfIr.cjs +1 -0
  124. package/dist/gravity-6pL6CfIr.cjs.map +1 -0
  125. package/dist/gravity-sVK3zGBF.js +46 -0
  126. package/dist/gravity-sVK3zGBF.js.map +1 -0
  127. package/dist/handover/agent-runtime-followups.md +1 -1
  128. package/dist/handover/agent-runtime-v1.md +3 -3
  129. package/dist/{hashContent-Dgmzc32o.js.map → hashContent-BqU6v1Xr.js.map} +1 -1
  130. package/dist/{hashContent-Dh1VzIAb.cjs.map → hashContent-iRZJJWtE.cjs.map} +1 -1
  131. package/dist/{icons-DsfpmrVO.js → icon-B1eZr2ZL.js} +1 -1
  132. package/dist/icon-B1eZr2ZL.js.map +1 -0
  133. package/dist/{icons-3F1nQAn_.cjs → icon-CgIXAvKI.cjs} +1 -1
  134. package/dist/{icons-DsfpmrVO.js.map → icon-CgIXAvKI.cjs.map} +1 -1
  135. package/dist/icons.cjs +1 -1
  136. package/dist/icons.js +1 -1
  137. package/dist/{iframe-sTXBw6zB.cjs → iframe-BO3BpRLH.cjs} +1 -1
  138. package/dist/{iframe-sTXBw6zB.cjs.map → iframe-BO3BpRLH.cjs.map} +1 -1
  139. package/dist/{iframe-KrV4Cak-.js → iframe-CmpAZc61.js} +1 -1
  140. package/dist/{iframe-KrV4Cak-.js.map → iframe-CmpAZc61.js.map} +1 -1
  141. package/dist/iframe.cjs +1 -1
  142. package/dist/iframe.js +1 -1
  143. package/dist/index.cjs +1 -1
  144. package/dist/index.js +49 -47
  145. package/dist/{input-DMoggdSN.cjs → input-5YL2oUBr.cjs} +1 -1
  146. package/dist/{input-DMoggdSN.cjs.map → input-5YL2oUBr.cjs.map} +1 -1
  147. package/dist/{input-zj3eaZM_.js → input-_Hft9vov.js} +1 -1
  148. package/dist/{input-zj3eaZM_.js.map → input-_Hft9vov.js.map} +1 -1
  149. package/dist/{input-chip-DHbfUatc.js → input-chip-BNTojQT6.js} +1 -1
  150. package/dist/{input-chip-DHbfUatc.js.map → input-chip-BNTojQT6.js.map} +1 -1
  151. package/dist/{input-chip-B1iNQW2m.cjs → input-chip-DKMNpcED.cjs} +1 -1
  152. package/dist/{input-chip-B1iNQW2m.cjs.map → input-chip-DKMNpcED.cjs.map} +1 -1
  153. package/dist/input.cjs +1 -1
  154. package/dist/input.js +1 -1
  155. package/dist/json.cjs +1 -1
  156. package/dist/json.js +2 -2
  157. package/dist/kbd.cjs +1 -1
  158. package/dist/kbd.js +1 -1
  159. package/dist/layout.cjs +1 -1
  160. package/dist/layout.js +1 -1
  161. package/dist/{lightbox-CAcXlJlv.js → lightbox-CKlYcnHV.js} +1 -1
  162. package/dist/{lightbox-CAcXlJlv.js.map → lightbox-CKlYcnHV.js.map} +1 -1
  163. package/dist/{lightbox-86F2RgXy.cjs → lightbox-t4dvb8_A.cjs} +1 -1
  164. package/dist/{lightbox-86F2RgXy.cjs.map → lightbox-t4dvb8_A.cjs.map} +1 -1
  165. package/dist/lightbox.cjs +1 -1
  166. package/dist/lightbox.js +1 -1
  167. package/dist/{list-CUbI0RM6.cjs → list-21mWtDKg.cjs} +4 -4
  168. package/dist/list-21mWtDKg.cjs.map +1 -0
  169. package/dist/{list-BIjJ6T1c.js → list-B6QhxgRJ.js} +4 -7
  170. package/dist/list-B6QhxgRJ.js.map +1 -0
  171. package/dist/list.cjs +1 -1
  172. package/dist/list.js +1 -1
  173. package/dist/{magnetic-mHXl54Z8.js.map → magnetic-B2VKNfDu.js.map} +1 -1
  174. package/dist/{magnetic-D-ph029G.cjs.map → magnetic-MQ3HMHJi.cjs.map} +1 -1
  175. package/dist/{menu-CtFcvxgU.js → menu-C5qcgMnw.js} +3 -3
  176. package/dist/{menu-CtFcvxgU.js.map → menu-C5qcgMnw.js.map} +1 -1
  177. package/dist/{menu-DGMrjR_a.cjs → menu-Cuxt5K4Y.cjs} +2 -2
  178. package/dist/{menu-DGMrjR_a.cjs.map → menu-Cuxt5K4Y.cjs.map} +1 -1
  179. package/dist/menu.cjs +1 -1
  180. package/dist/menu.js +1 -1
  181. package/dist/mixins-8dT5j6CS.js +627 -0
  182. package/dist/mixins-8dT5j6CS.js.map +1 -0
  183. package/dist/mixins-BF3Vj8_c.cjs +242 -0
  184. package/dist/mixins-BF3Vj8_c.cjs.map +1 -0
  185. package/dist/mixins.cjs +1 -1
  186. package/dist/mixins.js +1 -1
  187. package/dist/nav-drawer.cjs +1 -1
  188. package/dist/nav-drawer.js +1 -1
  189. package/dist/navigation-bar.cjs +1 -1
  190. package/dist/navigation-bar.js +1 -1
  191. package/dist/navigation-rail.cjs +7 -5
  192. package/dist/navigation-rail.cjs.map +1 -1
  193. package/dist/navigation-rail.js +52 -38
  194. package/dist/navigation-rail.js.map +1 -1
  195. package/dist/notification-CDKBKh63.js +243 -0
  196. package/dist/notification-CDKBKh63.js.map +1 -0
  197. package/dist/notification-CcNoBFEJ.cjs +24 -0
  198. package/dist/notification-CcNoBFEJ.cjs.map +1 -0
  199. package/dist/notification.cjs +1 -1
  200. package/dist/notification.js +1 -1
  201. package/dist/{option-C3UyYQi_.js → option-BWfmDJvm.js} +1 -1
  202. package/dist/{option-C3UyYQi_.js.map → option-BWfmDJvm.js.map} +1 -1
  203. package/dist/{option-DJ3R-2Wn.cjs → option-DejeqOad.cjs} +1 -1
  204. package/dist/{option-DJ3R-2Wn.cjs.map → option-DejeqOad.cjs.map} +1 -1
  205. package/dist/option.cjs +1 -1
  206. package/dist/option.js +1 -1
  207. package/dist/{overlay-D1hFkcFA.js → overlay-D3c_NY18.js} +214 -265
  208. package/dist/overlay-D3c_NY18.js.map +1 -0
  209. package/dist/overlay-Dv2utO4C.cjs +43 -0
  210. package/dist/overlay-Dv2utO4C.cjs.map +1 -0
  211. package/dist/overlay.cjs +1 -1
  212. package/dist/overlay.confirm-body-B2ntyquG.cjs +79 -0
  213. package/dist/overlay.confirm-body-B2ntyquG.cjs.map +1 -0
  214. package/dist/overlay.confirm-body-B_v0ivkn.js +159 -0
  215. package/dist/overlay.confirm-body-B_v0ivkn.js.map +1 -0
  216. package/dist/overlay.js +3 -3
  217. package/dist/overlay.service-B3FjXCqc.js +143 -0
  218. package/dist/overlay.service-B3FjXCqc.js.map +1 -0
  219. package/dist/overlay.service-BkSeqXIv.cjs +1 -0
  220. package/dist/overlay.service-BkSeqXIv.cjs.map +1 -0
  221. package/dist/{progress-CY-UbvOB.cjs → progress-6_rb3Ah9.cjs} +1 -1
  222. package/dist/{progress-CY-UbvOB.cjs.map → progress-6_rb3Ah9.cjs.map} +1 -1
  223. package/dist/{progress-YjdEWDI5.js → progress-CFcmO0wv.js} +1 -1
  224. package/dist/{progress-YjdEWDI5.js.map → progress-CFcmO0wv.js.map} +1 -1
  225. package/dist/progress.cjs +1 -1
  226. package/dist/progress.js +1 -1
  227. package/dist/{radio-group-aKXKHqUp.js → radio-group-Bd8y9QpX.js} +1 -1
  228. package/dist/{radio-group-aKXKHqUp.js.map → radio-group-Bd8y9QpX.js.map} +1 -1
  229. package/dist/{radio-group--UamzqAm.cjs → radio-group-_WZg8EKM.cjs} +1 -1
  230. package/dist/{radio-group--UamzqAm.cjs.map → radio-group-_WZg8EKM.cjs.map} +1 -1
  231. package/dist/radio-group.cjs +1 -1
  232. package/dist/radio-group.js +1 -1
  233. package/dist/range.cjs +1 -1
  234. package/dist/range.js +1 -1
  235. package/dist/{rxjs-utils-CaC-tdot.cjs.map → rxjs-utils-Csnks202.cjs.map} +1 -1
  236. package/dist/{rxjs-utils-BXpvHN4-.js.map → rxjs-utils-d-ivVN84.js.map} +1 -1
  237. package/dist/rxjs-utils.cjs +1 -1
  238. package/dist/rxjs-utils.js +1 -1
  239. package/dist/{select-CIquL8LY.cjs → select-BaioT3yY.cjs} +2 -2
  240. package/dist/{select-CIquL8LY.cjs.map → select-BaioT3yY.cjs.map} +1 -1
  241. package/dist/{select-B0Qk4PfT.js → select-Czpl1ztD.js} +3 -3
  242. package/dist/{select-B0Qk4PfT.js.map → select-Czpl1ztD.js.map} +1 -1
  243. package/dist/select.cjs +1 -1
  244. package/dist/select.js +1 -1
  245. package/dist/skeleton.cjs +1 -1
  246. package/dist/skeleton.js +1 -1
  247. package/dist/skills/SKILL.md +1 -1
  248. package/dist/skills/list.md +0 -1
  249. package/dist/skills/schmancy/SKILL.md +1 -1
  250. package/dist/skills/schmancy/list.md +0 -1
  251. package/dist/slider.cjs +1 -1
  252. package/dist/slider.js +1 -1
  253. package/dist/{splash-screen-rg56AXCf.cjs → splash-screen-3FtgdVy3.cjs} +1 -1
  254. package/dist/{splash-screen-rg56AXCf.cjs.map → splash-screen-3FtgdVy3.cjs.map} +1 -1
  255. package/dist/{splash-screen-CP_Idse2.js → splash-screen-YtTVkJg8.js} +1 -1
  256. package/dist/{splash-screen-CP_Idse2.js.map → splash-screen-YtTVkJg8.js.map} +1 -1
  257. package/dist/splash-screen.cjs +1 -1
  258. package/dist/splash-screen.js +1 -1
  259. package/dist/{src-BAaNnqwc.cjs → src-AYRNg63f.cjs} +8 -8
  260. package/dist/{src-BAaNnqwc.cjs.map → src-AYRNg63f.cjs.map} +1 -1
  261. package/dist/{src-Do0IGupa.js → src-DKMEgT2z.js} +37 -37
  262. package/dist/{src-Do0IGupa.js.map → src-DKMEgT2z.js.map} +1 -1
  263. package/dist/steps.cjs +1 -1
  264. package/dist/steps.js +1 -1
  265. package/dist/{surface-B7a2O5-9.cjs → surface-BNvxLEDN.cjs} +1 -1
  266. package/dist/surface-BNvxLEDN.cjs.map +1 -0
  267. package/dist/{surface-DGewe6IV.js → surface-CVxyQPln.js} +1 -1
  268. package/dist/surface-CVxyQPln.js.map +1 -0
  269. package/dist/surface.cjs +1 -1
  270. package/dist/surface.js +1 -1
  271. package/dist/switch.cjs +1 -1
  272. package/dist/switch.js +1 -1
  273. package/dist/table.cjs +1 -1
  274. package/dist/table.js +1 -1
  275. package/dist/{tabs-g2aM43TH.js → tabs-CnPXvZuZ.js} +1 -1
  276. package/dist/{tabs-g2aM43TH.js.map → tabs-CnPXvZuZ.js.map} +1 -1
  277. package/dist/{tabs-n4dO5fo1.cjs → tabs-DTU7748z.cjs} +1 -1
  278. package/dist/{tabs-n4dO5fo1.cjs.map → tabs-DTU7748z.cjs.map} +1 -1
  279. package/dist/tabs.cjs +1 -1
  280. package/dist/tabs.js +1 -1
  281. package/dist/teleport.cjs +1 -1
  282. package/dist/teleport.js +1 -1
  283. package/dist/{textarea-DDx_7AfQ.cjs → textarea-Bqth6Q8P.cjs} +1 -1
  284. package/dist/{textarea-DDx_7AfQ.cjs.map → textarea-Bqth6Q8P.cjs.map} +1 -1
  285. package/dist/{textarea-D5hw4jsP.js → textarea-mQPsppmd.js} +1 -1
  286. package/dist/{textarea-D5hw4jsP.js.map → textarea-mQPsppmd.js.map} +1 -1
  287. package/dist/textarea.cjs +1 -1
  288. package/dist/textarea.js +1 -1
  289. package/dist/{theme-BMYkheaA.js → theme-BJqpv4cG.js} +2 -2
  290. package/dist/{theme-BMYkheaA.js.map → theme-BJqpv4cG.js.map} +1 -1
  291. package/dist/{theme-BdZAj0CO.cjs → theme-D4HGKt7N.cjs} +1 -1
  292. package/dist/{theme-BdZAj0CO.cjs.map → theme-D4HGKt7N.cjs.map} +1 -1
  293. package/dist/{theme-button-DdI6kxY3.js → theme-button-Jap7G_IH.js} +1 -1
  294. package/dist/{theme-button-DdI6kxY3.js.map → theme-button-Jap7G_IH.js.map} +1 -1
  295. package/dist/{theme-button-R2f_kLEl.cjs → theme-button-LP-Dgr17.cjs} +1 -1
  296. package/dist/{theme-button-R2f_kLEl.cjs.map → theme-button-LP-Dgr17.cjs.map} +1 -1
  297. package/dist/theme-button.cjs +1 -1
  298. package/dist/theme-button.js +1 -1
  299. package/dist/theme.cjs +1 -1
  300. package/dist/{theme.interface-B5xjEk74.cjs.map → theme.interface-CSt7JUBD.cjs.map} +1 -1
  301. package/dist/{theme.interface-DVEw3s8m.js.map → theme.interface-odQEpZZH.js.map} +1 -1
  302. package/dist/theme.js +3 -3
  303. package/dist/tree.cjs +1 -1
  304. package/dist/tree.js +1 -1
  305. package/dist/typography-BJMm6b0b.js +358 -0
  306. package/dist/typography-BJMm6b0b.js.map +1 -0
  307. package/dist/typography-Bc4MmSal.cjs +282 -0
  308. package/dist/typography-Bc4MmSal.cjs.map +1 -0
  309. package/dist/typography.cjs +1 -282
  310. package/dist/typography.js +2 -358
  311. package/dist/{utils-CVWUrECT.cjs.map → utils-DTa3QHxk.cjs.map} +1 -1
  312. package/dist/{utils-578eFTx4.js.map → utils-H8wNknWC.js.map} +1 -1
  313. package/dist/utils.cjs +1 -1
  314. package/dist/utils.js +1 -1
  315. package/dist/visually-hidden.cjs +1 -1
  316. package/dist/visually-hidden.js +1 -1
  317. package/dist/{window-LOGPpN8K.cjs → window-CNu_WnsY.cjs} +1 -1
  318. package/dist/{window-LOGPpN8K.cjs.map → window-CNu_WnsY.cjs.map} +1 -1
  319. package/dist/{window-MQxhTodp.js → window-DZTjkE24.js} +1 -1
  320. package/dist/{window-MQxhTodp.js.map → window-DZTjkE24.js.map} +1 -1
  321. package/dist/window.cjs +1 -1
  322. package/dist/window.js +1 -1
  323. package/package.json +1 -1
  324. package/skills/schmancy/SKILL.md +1 -1
  325. package/skills/schmancy/list.md +0 -1
  326. package/src/form/fields/date-range/date-range-dialog.ts +8 -1
  327. package/src/list/list.ts +1 -12
  328. package/src/menu/menu.ts +4 -1
  329. package/src/navigation-rail/navigation-rail.ts +558 -490
  330. package/src/notification/notification-service.ts +81 -263
  331. package/src/notification/notification.scss +93 -50
  332. package/src/notification/notification.ts +32 -69
  333. package/src/overlay/overlay.component.ts +99 -158
  334. package/src/overlay/overlay.confirm-body.ts +106 -61
  335. package/src/overlay/overlay.service.ts +81 -108
  336. package/src/surface/surface.styles.ts +0 -17
  337. package/src/surface/surface.ts +5 -7
  338. package/types/mixins/surface.mixin.d.ts +0 -3
  339. package/types/src/form/fields/date-range/date-range-dialog.d.ts +1 -0
  340. package/types/src/list/list.d.ts +0 -9
  341. package/types/src/navigation-rail/navigation-rail.d.ts +21 -1
  342. package/types/src/notification/notification-service.d.ts +3 -86
  343. package/types/src/notification/notification.d.ts +1 -1
  344. package/types/src/overlay/overlay.component.d.ts +1 -2
  345. package/types/src/overlay/overlay.confirm-body.d.ts +8 -4
  346. package/types/src/surface/surface.d.ts +5 -6
  347. package/types/src/surface/surface.styles.d.ts +0 -4
  348. package/dist/agent/overlay.confirm-body-DJrL6tio.js +0 -2859
  349. package/dist/agent/overlay.confirm-body-DJrL6tio.js.map +0 -1
  350. package/dist/button-BU-X0a0S.js.map +0 -1
  351. package/dist/button-HzLpB3NP.cjs.map +0 -1
  352. package/dist/date-range-ASZ8h_Il.js.map +0 -1
  353. package/dist/date-range-BFOqXAI2.cjs.map +0 -1
  354. package/dist/directives-Dq0zi2KR.cjs.map +0 -1
  355. package/dist/directives-sWKTEJDb.js.map +0 -1
  356. package/dist/form-DxApnyVx.cjs +0 -42
  357. package/dist/icons-3F1nQAn_.cjs.map +0 -1
  358. package/dist/list-BIjJ6T1c.js.map +0 -1
  359. package/dist/list-CUbI0RM6.cjs.map +0 -1
  360. package/dist/mixins-CKbQ6BJo.js +0 -642
  361. package/dist/mixins-CKbQ6BJo.js.map +0 -1
  362. package/dist/mixins-DSy-enUd.cjs +0 -254
  363. package/dist/mixins-DSy-enUd.cjs.map +0 -1
  364. package/dist/notification-BqyMYtP7.js +0 -306
  365. package/dist/notification-BqyMYtP7.js.map +0 -1
  366. package/dist/notification-D5eOdsMT.cjs +0 -23
  367. package/dist/notification-D5eOdsMT.cjs.map +0 -1
  368. package/dist/overlay-D1hFkcFA.js.map +0 -1
  369. package/dist/overlay-D7nQaT5U.cjs +0 -81
  370. package/dist/overlay-D7nQaT5U.cjs.map +0 -1
  371. package/dist/overlay.confirm-body-B4eCDLmU.js +0 -100
  372. package/dist/overlay.confirm-body-B4eCDLmU.js.map +0 -1
  373. package/dist/overlay.confirm-body-P18SmJL2.cjs +0 -45
  374. package/dist/overlay.confirm-body-P18SmJL2.cjs.map +0 -1
  375. package/dist/overlay.service-02ZLZ8Ib.js +0 -146
  376. package/dist/overlay.service-02ZLZ8Ib.js.map +0 -1
  377. package/dist/overlay.service-m-8omCA-.cjs +0 -1
  378. package/dist/overlay.service-m-8omCA-.cjs.map +0 -1
  379. package/dist/surface-B7a2O5-9.cjs.map +0 -1
  380. package/dist/surface-DGewe6IV.js.map +0 -1
  381. package/dist/typography.cjs.map +0 -1
  382. package/dist/typography.js.map +0 -1
  383. /package/dist/{discovery.service-CVDXO9rH.cjs → discovery.service-CIa3Eeuk.cjs} +0 -0
  384. /package/dist/{discovery.service-COmbHaoI.js → discovery.service-DZFxtRwW.js} +0 -0
  385. /package/dist/{hashContent-Dgmzc32o.js → hashContent-BqU6v1Xr.js} +0 -0
  386. /package/dist/{hashContent-Dh1VzIAb.cjs → hashContent-iRZJJWtE.cjs} +0 -0
  387. /package/dist/{magnetic-mHXl54Z8.js → magnetic-B2VKNfDu.js} +0 -0
  388. /package/dist/{magnetic-D-ph029G.cjs → magnetic-MQ3HMHJi.cjs} +0 -0
  389. /package/dist/{rxjs-utils-CaC-tdot.cjs → rxjs-utils-Csnks202.cjs} +0 -0
  390. /package/dist/{rxjs-utils-BXpvHN4-.js → rxjs-utils-d-ivVN84.js} +0 -0
  391. /package/dist/{theme.interface-B5xjEk74.cjs → theme.interface-CSt7JUBD.cjs} +0 -0
  392. /package/dist/{theme.interface-DVEw3s8m.js → theme.interface-odQEpZZH.js} +0 -0
  393. /package/dist/{utils-CVWUrECT.cjs → utils-DTa3QHxk.cjs} +0 -0
  394. /package/dist/{utils-578eFTx4.js → utils-H8wNknWC.js} +0 -0
@@ -1,175 +1,55 @@
1
- import { c as e } from "./mixins-CKbQ6BJo.js";
1
+ import { c as e } from "./mixins-8dT5j6CS.js";
2
2
  import { a as t } from "./active-host-BP0zy_Y9.js";
3
3
  import { _ as n, d as r, f as i, u as a } from "./animation-DCznELuT.js";
4
4
  import { t as o } from "./reduced-motion-D-L12p7G.js";
5
5
  import { t as s } from "./layout-DSAjo92m.js";
6
- import "./overlay.service-02ZLZ8Ib.js";
7
- import "./overlay.confirm-body-B4eCDLmU.js";
8
- import { Observable as c, Subject as l, debounceTime as u, distinctUntilChanged as d, filter as f, fromEvent as p, map as m, merge as h, take as g, takeUntil as _, tap as v } from "rxjs";
9
- import { customElement as y, property as b, query as x, state as S } from "lit/decorators.js";
10
- import { css as C, html as w, render as T } from "lit";
11
- import { when as E } from "lit/directives/when.js";
12
- import { autoUpdate as D, computePosition as O, flip as k, offset as A, shift as j, size as M } from "@floating-ui/dom";
13
- var N = o.value;
6
+ import "./overlay.service-B3FjXCqc.js";
7
+ import "./overlay.confirm-body-B_v0ivkn.js";
8
+ import { EMPTY as c, Observable as l, Subject as u, debounceTime as d, distinctUntilChanged as f, filter as p, fromEvent as m, map as h, merge as g, take as _, takeUntil as v, tap as y } from "rxjs";
9
+ import { customElement as b, property as x, query as S, state as C } from "lit/decorators.js";
10
+ import { css as w, html as T, render as E } from "lit";
11
+ import { when as D } from "lit/directives/when.js";
12
+ import { autoUpdate as O, computePosition as k, flip as A, offset as j, shift as M, size as N } from "@floating-ui/dom";
13
+ var P = o.value;
14
14
  o.subscribe((e) => {
15
- N = e;
15
+ P = e;
16
16
  });
17
- var P = "--schmancy-overlay-origin-x", F = "--schmancy-overlay-origin-y", I = `var(${P}, 50%) var(${F}, 50%)`;
18
- function L(e) {
17
+ var F = "--schmancy-overlay-origin-x", I = "--schmancy-overlay-origin-y", L = `var(${F}, 50%) var(${I}, 50%)`;
18
+ function R(e) {
19
19
  return Number.isNaN(e) || !Number.isFinite(e) ? 50 : Math.max(0, Math.min(100, e));
20
20
  }
21
- function R(e, t) {
22
- if (N) return t === "in" ? {
23
- keyframes: [{
24
- opacity: 0,
25
- transform: "none"
26
- }, {
27
- opacity: 1,
28
- transform: "none"
29
- }],
30
- options: {
31
- duration: 1,
32
- easing: "linear",
33
- fill: "forwards"
34
- }
35
- } : {
36
- keyframes: [{
37
- opacity: 1,
38
- transform: "none"
39
- }, {
40
- opacity: 0,
41
- transform: "none"
42
- }],
43
- options: {
44
- duration: 1,
45
- easing: "linear",
46
- fill: "forwards"
47
- }
48
- };
49
- switch (e) {
50
- case "centered": return t === "in" ? {
51
- keyframes: [{
52
- opacity: 0,
53
- transform: "scale(0.6)",
54
- transformOrigin: I
55
- }, {
56
- opacity: 1,
57
- transform: "scale(1)",
58
- transformOrigin: I
59
- }],
60
- options: {
61
- duration: i.duration,
62
- easing: n(i),
63
- fill: "forwards"
64
- }
65
- } : {
66
- keyframes: [{
67
- opacity: 1,
68
- transform: "scale(1)",
69
- transformOrigin: I
70
- }, {
71
- opacity: 0,
72
- transform: "scale(0.95)",
73
- transformOrigin: I
74
- }],
75
- options: {
76
- duration: 150,
77
- easing: n(r),
78
- fill: "forwards"
79
- }
80
- };
81
- case "sheet": return t === "in" ? {
82
- keyframes: [{
83
- opacity: 0,
84
- transform: "translateY(100%)"
85
- }, {
86
- opacity: 1,
87
- transform: "translateY(0)"
88
- }],
89
- options: {
90
- duration: a.duration,
91
- easing: n(a),
92
- fill: "forwards"
93
- }
94
- } : {
95
- keyframes: [{
96
- opacity: 1,
97
- transform: "translateY(0)"
98
- }, {
99
- opacity: 0,
100
- transform: "translateY(100%)"
101
- }],
102
- options: {
103
- duration: 150,
104
- easing: n(r),
105
- fill: "forwards"
106
- }
107
- };
108
- case "anchored": return t === "in" ? {
109
- keyframes: [{
110
- opacity: 0,
111
- transform: "scale(0.85)",
112
- transformOrigin: I
113
- }, {
114
- opacity: 1,
115
- transform: "scale(1)",
116
- transformOrigin: I
117
- }],
118
- options: {
119
- duration: i.duration,
120
- easing: n(i),
121
- fill: "forwards"
122
- }
123
- } : {
124
- keyframes: [{
125
- opacity: 1,
126
- transform: "scale(1)",
127
- transformOrigin: I
128
- }, {
129
- opacity: 0,
130
- transform: "scale(0.92)",
131
- transformOrigin: I
132
- }],
133
- options: {
134
- duration: 150,
135
- easing: n(r),
136
- fill: "forwards"
137
- }
138
- };
139
- }
140
- }
141
21
  function z(e) {
142
22
  let { surface: t, dragHandle: n, until$: r } = e;
143
- return new c((e) => {
144
- let i = n ?? t, a = new l(), o = !1, s = null, c = 0, u = 0, d = 0;
145
- return h(p(i, "pointerdown").pipe(f((e) => e.isPrimary && (e.pointerType !== "mouse" || e.button === 0)), f((e) => {
23
+ return new l((e) => {
24
+ let i = n ?? t, a = new u(), o = !1, s = null, c = 0, l = 0, d = 0;
25
+ return g(m(i, "pointerdown").pipe(p((e) => e.isPrimary && (e.pointerType !== "mouse" || e.button === 0)), p((e) => {
146
26
  if (n) return !0;
147
27
  let r = t.getBoundingClientRect();
148
28
  return e.clientY - r.top <= 40;
149
- }), v((e) => {
150
- o = !0, s = e.pointerId, c = e.clientY, u = performance.now(), d = 0, t.style.transition = "none", t.style.willChange = "transform";
29
+ }), y((e) => {
30
+ o = !0, s = e.pointerId, c = e.clientY, l = performance.now(), d = 0, t.style.transition = "none", t.style.willChange = "transform";
151
31
  try {
152
32
  i.setPointerCapture?.(e.pointerId);
153
33
  } catch {}
154
- })), p(i, "pointermove").pipe(f(() => o), f((e) => e.pointerId === s), v((e) => {
34
+ })), m(i, "pointermove").pipe(p(() => o), p((e) => e.pointerId === s), y((e) => {
155
35
  d = function(e) {
156
36
  if (e >= 0) return e;
157
37
  let t = -e;
158
38
  return -Math.max(0, 8 * (Math.log(t + 1) - 2));
159
39
  }(e.clientY - c), t.style.transform = `translateY(${d}px)`, e.cancelable && e.preventDefault();
160
- })), h(p(i, "pointerup"), p(i, "pointercancel"), p(i, "lostpointercapture")).pipe(f(() => o), f((e) => e.pointerId === s), v(() => {
40
+ })), g(m(i, "pointerup"), m(i, "pointercancel"), m(i, "lostpointercapture")).pipe(p(() => o), p((e) => e.pointerId === s), y(() => {
161
41
  o = !1;
162
42
  let n = s;
163
43
  s = null;
164
44
  try {
165
45
  n !== null && i.releasePointerCapture?.(n);
166
46
  } catch {}
167
- let r = Math.max(1, performance.now() - u), a = d / r, c = t.getBoundingClientRect().height, l = Math.min(80, .25 * c), f = d > l || d > 20 && a > .4;
47
+ let r = Math.max(1, performance.now() - l), a = d / r, c = t.getBoundingClientRect().height, u = Math.min(80, .25 * c), f = d > u || d > 20 && a > .4;
168
48
  t.style.willChange = "", f ? (t.style.transition = "transform 300ms cubic-bezier(0.16, 1, 0.3, 1)", t.style.transform = "translateY(100%)", e.next("dismiss"), e.complete()) : (t.style.transition = "transform 300ms cubic-bezier(0.16, 1, 0.3, 1)", t.style.transform = "translateY(0)");
169
- }))).pipe(_(h(a, r))).subscribe(), () => {
49
+ }))).pipe(v(g(a, r))).subscribe(), () => {
170
50
  a.next(), a.complete(), t.style.transition = "", t.style.transform = "", t.style.willChange = "";
171
51
  };
172
- }).pipe(g(1));
52
+ }).pipe(_(1));
173
53
  }
174
54
  function B(e) {
175
55
  let { anchor: t, content: n, viewport: r } = e, i = r.width < 640, a = r.isCoarsePointer, o = n.height > .8 * r.height, s = n.width > .9 * r.width;
@@ -222,22 +102,22 @@ function W(e) {
222
102
  };
223
103
  }
224
104
  function G(e, t, n = {}) {
225
- return new c((r) => {
105
+ return new l((r) => {
226
106
  let i = t.el ?? t.virtual;
227
107
  if (!i) return void r.error(/* @__PURE__ */ Error("positionFloatingUI requires an element or virtual anchor"));
228
- let a = n.placement ?? "bottom-start", o = n.padding ?? 16, s = n.offsetPx ?? 8, c = D(i, e, async () => {
108
+ let a = n.placement ?? "bottom-start", o = n.padding ?? 16, s = n.offsetPx ?? 8, c = O(i, e, async () => {
229
109
  try {
230
- let { x: t, y: n } = await O(i, e, {
110
+ let { x: t, y: n } = await k(i, e, {
231
111
  strategy: "fixed",
232
112
  placement: a,
233
113
  middleware: [
234
- A(s),
235
- k({
114
+ j(s),
115
+ A({
236
116
  padding: o,
237
117
  fallbackPlacements: K(a)
238
118
  }),
239
- j({ padding: o }),
240
- M({
119
+ M({ padding: o }),
120
+ N({
241
121
  padding: o,
242
122
  apply({ availableWidth: e, availableHeight: t, elements: n }) {
243
123
  n.floating.style.maxWidth = `${Math.max(0, e)}px`, n.floating.style.maxHeight = `${Math.max(0, t)}px`;
@@ -331,76 +211,38 @@ function K(e) {
331
211
  }
332
212
  var q = "overlay-mount", J = class extends e {
333
213
  constructor(...e) {
334
- super(...e), this.layout = "centered", this.dismissable = !0, this.modal = !0, this.tier = "modal", this._active = !1, this._closed$ = new l(), this._mounted = !1, this._closing = !1, this._lastFocusedElement = null, this._inertedSiblings = [], this._lastReResolveAt = 0, this.onBackdropClick = () => {
214
+ super(...e), this.layout = "centered", this.dismissable = !0, this.modal = !0, this.tier = "modal", this._active = !1, this._closed$ = new u(), this._mounted = !1, this._closing = !1, this._lastFocusedElement = null, this._inertedSiblings = [], this._lastReResolveAt = 0, this.onBackdropClick = () => {
335
215
  this.dismissable && this.close("backdrop");
336
216
  };
337
217
  }
338
218
  static {
339
- this.styles = [C`
219
+ this.styles = [w`
340
220
  :host {
341
221
  position: fixed;
342
222
  inset: 0;
343
- z-index: var(--schmancy-overlay-z, 10000);
223
+ z-index: 10000;
344
224
  display: none;
345
225
  pointer-events: none;
346
226
  }
347
227
  :host([active]) {
348
228
  display: block;
349
229
  }
350
- .shell {
351
- position: fixed;
352
- inset: 0;
353
- pointer-events: none;
354
- }
230
+ /* Vertical-gradient scrim — Tailwind's bg-gradient utilities cannot reach
231
+ * these color-mix percentages with sufficient control. */
355
232
  .backdrop {
356
- position: fixed;
357
- inset: 0;
358
- background: color-mix(in srgb, var(--schmancy-sys-color-surface-container, rgba(12, 12, 16, 0.28)) 60%, transparent);
359
- backdrop-filter: blur(18px) saturate(150%);
360
- -webkit-backdrop-filter: blur(18px) saturate(150%);
361
- pointer-events: auto;
362
- }
363
- .surface {
364
- position: fixed;
365
- pointer-events: auto;
366
- max-width: calc(100vw - 2rem);
367
- max-height: 90dvh;
368
- overflow: auto;
369
- border-radius: var(--schmancy-sys-shape-corner-large, 16px);
370
- background: var(--schmancy-sys-color-surface, #ffffff);
371
- color: var(--schmancy-sys-color-on-surface, #1a1a1a);
372
- box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.35);
373
- padding: var(--schmancy-overlay-padding, 1.5rem);
233
+ background: linear-gradient(
234
+ to bottom,
235
+ color-mix(in srgb, var(--schmancy-sys-color-scrim) 18%, transparent) 0%,
236
+ color-mix(in srgb, var(--schmancy-sys-color-scrim) 56%, transparent) 100%
237
+ );
238
+ -webkit-backdrop-filter: blur(16px) saturate(160%);
239
+ backdrop-filter: blur(16px) saturate(160%);
374
240
  }
375
- .surface[data-layout='centered'] {
376
- top: 50%;
377
- left: 50%;
378
- transform: translate(-50%, -50%);
379
- }
380
- .surface[data-layout='sheet'] {
381
- left: 0;
382
- right: 0;
383
- bottom: 0;
384
- max-width: none;
385
- width: 100%;
386
- border-radius: var(--schmancy-sys-shape-corner-large, 16px) var(--schmancy-sys-shape-corner-large, 16px) 0 0;
387
- padding-bottom: env(safe-area-inset-bottom);
388
- }
389
- .surface[data-layout='anchored'] {
390
- max-width: min(480px, calc(100vw - 2rem));
391
- box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.28);
392
- }
393
- /* Popover top-layer surfaces escape normal z-index — zero out host
394
- * display to avoid two surfaces rendering during transitions. */
241
+ /* Popover top-layer surfaces — UA defaults push surface off-screen. */
395
242
  .surface:popover-open {
396
243
  margin: 0;
397
244
  border: 0;
398
245
  }
399
- @media (prefers-reduced-motion: reduce) {
400
- .surface {
401
- box-shadow: var(--schmancy-sys-elevation-2, 0 2px 6px rgba(0, 0, 0, 0.2));
402
- }
403
- }
404
246
  `];
405
247
  }
406
248
  get closed$() {
@@ -469,14 +311,14 @@ var q = "overlay-mount", J = class extends e {
469
311
  });
470
312
  let e = W(this._surface), n = this._positionerTeardown;
471
313
  this._positionerTeardown = () => {
472
- e(), n();
314
+ e(), n?.();
473
315
  };
474
316
  } else if (this.tier === "popover-fui" && this._resolvedAnchor) {
475
317
  let e = W(this._surface), n = G(this._surface, this._resolvedAnchor, {
476
318
  placement: t.preferredPlacement ?? "bottom-start",
477
319
  offsetPx: 8,
478
320
  track: !1 !== t.track
479
- }).pipe(_(this.disconnecting)).subscribe();
321
+ }).pipe(v(this.disconnecting)).subscribe();
480
322
  this._positionerTeardown = () => {
481
323
  e(), n.unsubscribe();
482
324
  };
@@ -485,16 +327,16 @@ var q = "overlay-mount", J = class extends e {
485
327
  placement: t.preferredPlacement ?? "bottom-start",
486
328
  offsetPx: 8,
487
329
  track: !1 !== t.track
488
- }).pipe(_(this.disconnecting)).subscribe();
330
+ }).pipe(v(this.disconnecting)).subscribe();
489
331
  this._positionerTeardown = () => e.unsubscribe();
490
332
  }
491
- this.setAnchorOriginVars(), this.wireFocusTrap(), this.wireCloseTriggers(t.signal), this.wireResizeObserver(n), await this.playEnterAnimations();
333
+ this.setAnchorOriginVars(), this.wireFocusTrap(), this.wireCloseTriggers(t.signal), this.wireResizeObserver(n), await this.playAnimations("in");
492
334
  }
493
335
  async close(e, t) {
494
336
  if (!this._closing && this._mounted) {
495
337
  this._closing = !0;
496
338
  try {
497
- await this.playExitAnimations();
339
+ await this.playAnimations("out");
498
340
  } catch {}
499
341
  if (this.releaseFocusTrap(), this._positionerTeardown) {
500
342
  try {
@@ -509,11 +351,13 @@ var q = "overlay-mount", J = class extends e {
509
351
  }
510
352
  }
511
353
  render() {
512
- return this._active ? w`
513
- <div class="shell" part="shell">
514
- ${E(this.modal, () => w`<div class="backdrop" part="backdrop" @click=${this.onBackdropClick}></div>`)}
354
+ if (!this._active) return T``;
355
+ let e = this.layout === "centered" ? "top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 max-w-[min(calc(100vw-2rem),560px)] max-h-[90dvh] rounded-3xl shadow-overlay" : this.layout === "sheet" ? "left-0 right-0 bottom-0 w-full max-h-[90dvh] rounded-t-[28px] shadow-overlay" : "max-w-[min(480px,calc(100vw-2rem))] max-h-[90dvh] rounded-3xl shadow-overlay-anchored";
356
+ return T`
357
+ <div class="shell fixed inset-0 pointer-events-none" part="shell">
358
+ ${D(this.modal, () => T`<div class="backdrop fixed inset-0 pointer-events-auto" part="backdrop" @click=${this.onBackdropClick}></div>`)}
515
359
  <section
516
- class="surface"
360
+ class="${"surface fixed pointer-events-auto overflow-auto bg-surface-container/85 text-surface-on backdrop-blur-md border border-surface-on/8"} ${e}"
517
361
  part="surface"
518
362
  data-layout=${this.layout}
519
363
  data-tier=${this.tier}
@@ -524,15 +368,15 @@ var q = "overlay-mount", J = class extends e {
524
368
  <div id=${q}></div>
525
369
  </section>
526
370
  </div>
527
- ` : w``;
371
+ `;
528
372
  }
529
373
  setAnchorOriginVars() {
530
374
  let e = this._surface;
531
375
  if (!e) return;
532
376
  let t = e.getBoundingClientRect(), n = this.layout !== "centered" || this._anchorOriginAnchor ? this.layout !== "sheet" || this._anchorOriginAnchor ? function(e, t) {
533
377
  if (!e) return {
534
- [P]: "50%",
535
- [F]: "50%"
378
+ [F]: "50%",
379
+ [I]: "50%"
536
380
  };
537
381
  let { x: n, y: r } = function(e) {
538
382
  if (typeof e.getBoundingClientRect == "function") {
@@ -570,13 +414,13 @@ var q = "overlay-mount", J = class extends e {
570
414
  };
571
415
  }(e);
572
416
  if (!t.width || !t.height) return {
573
- [P]: "50%",
574
- [F]: "50%"
417
+ [F]: "50%",
418
+ [I]: "50%"
575
419
  };
576
- let i = L((n - t.left) / t.width * 100), a = L((r - t.top) / t.height * 100);
420
+ let i = R((n - t.left) / t.width * 100), a = R((r - t.top) / t.height * 100);
577
421
  return {
578
- [P]: `${i}%`,
579
- [F]: `${a}%`
422
+ [F]: `${i}%`,
423
+ [I]: `${a}%`
580
424
  };
581
425
  }(this._anchorOriginAnchor, t) : {
582
426
  "--schmancy-overlay-origin-x": "50%",
@@ -609,36 +453,32 @@ var q = "overlay-mount", J = class extends e {
609
453
  }
610
454
  wireCloseTriggers(e) {
611
455
  let t = this.disconnecting;
612
- p(this, "close").pipe(f((e) => e instanceof CustomEvent), v((e) => {
613
- e.stopPropagation(), this.close("structured", e.detail);
614
- }), _(t)).subscribe(), p(this, "submit").pipe(f((e) => {
456
+ if (e?.aborted) return void queueMicrotask(() => {
457
+ this.close("abort");
458
+ });
459
+ let n = m(this, "close").pipe(p((e) => e instanceof CustomEvent), y((e) => e.stopPropagation()), h((e) => ({
460
+ reason: "structured",
461
+ result: e.detail
462
+ }))), r = m(this, "submit").pipe(p((e) => {
615
463
  let t = e.target;
616
464
  return !!t && t.method === "dialog";
617
- }), v((e) => {
618
- e.preventDefault();
619
- let t = e.submitter?.value ?? "";
620
- this.close("native-submit", t);
621
- }), _(t)).subscribe(), p(document, "keydown").pipe(f((e) => e.key === "Escape"), v((e) => {
622
- this.dismissable ? (e.preventDefault(), this.close("escape")) : e.preventDefault();
623
- }), _(t)).subscribe(), this.tier !== "modal" && p(document, "pointerdown", { capture: !0 }).pipe(f((e) => {
465
+ }), y((e) => e.preventDefault()), h((e) => ({
466
+ reason: "native-submit",
467
+ result: e.submitter?.value ?? ""
468
+ }))), i = m(document, "keydown").pipe(p((e) => e.key === "Escape"), y((e) => e.preventDefault()), p(() => this.dismissable), h(() => ({ reason: "escape" })), _(1)), a = this.tier === "modal" ? null : m(document, "pointerdown", { capture: !0 }).pipe(p((e) => {
624
469
  if (!this.dismissable) return !1;
625
470
  let t = e.composedPath();
626
471
  return (!this._surface || !t.includes(this._surface)) && (!this._resolvedAnchor?.el || !t.includes(this._resolvedAnchor.el));
627
- }), g(1), v(() => {
628
- this.close("backdrop");
629
- }), _(t)).subscribe(), this.layout === "sheet" && this.dismissable && z({
472
+ }), h(() => ({ reason: "backdrop" })), _(1)), o = this.layout === "sheet" && this.dismissable ? z({
630
473
  surface: this._surface,
631
- until$: h(t, this._closed$)
632
- }).pipe(g(1)).subscribe(() => {
633
- this.close("swipe");
634
- }), e && (e.aborted ? queueMicrotask(() => {
635
- this.close("abort");
636
- }) : p(e, "abort").pipe(g(1), v(() => {
637
- this.close("abort");
638
- }), _(t)).subscribe());
474
+ until$: g(t, this._closed$)
475
+ }).pipe(_(1), h(() => ({ reason: "swipe" }))) : null, s = e ? m(e, "abort").pipe(_(1), h(() => ({ reason: "abort" }))) : null;
476
+ g(n, r, i, a ?? c, o ?? c, s ?? c).pipe(v(t)).subscribe(({ reason: e, result: t }) => {
477
+ this.close(e, t);
478
+ });
639
479
  }
640
480
  wireResizeObserver(e) {
641
- s(e).pipe(m((e) => {
481
+ s(e).pipe(h((e) => {
642
482
  let t = e[0];
643
483
  if (!t) return null;
644
484
  let n = t.contentRect;
@@ -646,7 +486,7 @@ var q = "overlay-mount", J = class extends e {
646
486
  w: n.width,
647
487
  h: n.height
648
488
  };
649
- }), f((e) => e !== null), d((e, t) => e.w === t.w && e.h === t.h), u(80), _(h(this.disconnecting, this._closed$))).subscribe((e) => this.maybeReResolve(e));
489
+ }), p((e) => e !== null), f((e, t) => e.w === t.w && e.h === t.h), d(80), v(g(this.disconnecting, this._closed$))).subscribe((e) => this.maybeReResolve(e));
650
490
  }
651
491
  async maybeReResolve(e) {
652
492
  if (this._closing) return;
@@ -663,7 +503,7 @@ var q = "overlay-mount", J = class extends e {
663
503
  let s = this._surface, c = s.getBoundingClientRect();
664
504
  this.layout = i, await this.updateComplete;
665
505
  let l = function(e, t) {
666
- return N ? {
506
+ return P ? {
667
507
  keyframes: [{ transform: "none" }, { transform: "none" }],
668
508
  options: {
669
509
  duration: 1,
@@ -690,25 +530,134 @@ var q = "overlay-mount", J = class extends e {
690
530
  } catch {}
691
531
  this._lastReResolveAt = performance.now();
692
532
  }
693
- async playEnterAnimations() {
694
- let e = this._surface;
695
- if (!e) return;
696
- let t = R(this.layout, "in"), n = [e.animate(t.keyframes, t.options).finished.catch(() => {})], r = this._backdrop;
697
- this.modal && r && n.push(r.animate([{ opacity: 0 }, { opacity: 1 }], {
698
- duration: t.options.duration,
699
- easing: "ease-out",
700
- fill: "forwards"
701
- }).finished.catch(() => {})), await Promise.all(n);
702
- }
703
- async playExitAnimations() {
704
- let e = this._surface;
705
- if (!e) return;
706
- let t = R(this.layout, "out"), n = [e.animate(t.keyframes, t.options).finished.catch(() => {})], r = this._backdrop;
707
- this.modal && r && n.push(r.animate([{ opacity: 1 }, { opacity: 0 }], {
708
- duration: t.options.duration,
709
- easing: "ease-in",
533
+ async playAnimations(e) {
534
+ let t = this._surface;
535
+ if (!t) return;
536
+ let o = function(e, t) {
537
+ if (P) return t === "in" ? {
538
+ keyframes: [{
539
+ opacity: 0,
540
+ transform: "none"
541
+ }, {
542
+ opacity: 1,
543
+ transform: "none"
544
+ }],
545
+ options: {
546
+ duration: 1,
547
+ easing: "linear",
548
+ fill: "forwards"
549
+ }
550
+ } : {
551
+ keyframes: [{
552
+ opacity: 1,
553
+ transform: "none"
554
+ }, {
555
+ opacity: 0,
556
+ transform: "none"
557
+ }],
558
+ options: {
559
+ duration: 1,
560
+ easing: "linear",
561
+ fill: "forwards"
562
+ }
563
+ };
564
+ switch (e) {
565
+ case "centered": return t === "in" ? {
566
+ keyframes: [{
567
+ opacity: 0,
568
+ transform: "scale(0.6)",
569
+ transformOrigin: L
570
+ }, {
571
+ opacity: 1,
572
+ transform: "scale(1)",
573
+ transformOrigin: L
574
+ }],
575
+ options: {
576
+ duration: i.duration,
577
+ easing: n(i),
578
+ fill: "forwards"
579
+ }
580
+ } : {
581
+ keyframes: [{
582
+ opacity: 1,
583
+ transform: "scale(1)",
584
+ transformOrigin: L
585
+ }, {
586
+ opacity: 0,
587
+ transform: "scale(0.95)",
588
+ transformOrigin: L
589
+ }],
590
+ options: {
591
+ duration: 150,
592
+ easing: n(r),
593
+ fill: "forwards"
594
+ }
595
+ };
596
+ case "sheet": return t === "in" ? {
597
+ keyframes: [{
598
+ opacity: 0,
599
+ transform: "translateY(100%)"
600
+ }, {
601
+ opacity: 1,
602
+ transform: "translateY(0)"
603
+ }],
604
+ options: {
605
+ duration: a.duration,
606
+ easing: n(a),
607
+ fill: "forwards"
608
+ }
609
+ } : {
610
+ keyframes: [{
611
+ opacity: 1,
612
+ transform: "translateY(0)"
613
+ }, {
614
+ opacity: 0,
615
+ transform: "translateY(100%)"
616
+ }],
617
+ options: {
618
+ duration: 150,
619
+ easing: n(r),
620
+ fill: "forwards"
621
+ }
622
+ };
623
+ case "anchored": return t === "in" ? {
624
+ keyframes: [{
625
+ opacity: 0,
626
+ transform: "scale(0.85)",
627
+ transformOrigin: L
628
+ }, {
629
+ opacity: 1,
630
+ transform: "scale(1)",
631
+ transformOrigin: L
632
+ }],
633
+ options: {
634
+ duration: i.duration,
635
+ easing: n(i),
636
+ fill: "forwards"
637
+ }
638
+ } : {
639
+ keyframes: [{
640
+ opacity: 1,
641
+ transform: "scale(1)",
642
+ transformOrigin: L
643
+ }, {
644
+ opacity: 0,
645
+ transform: "scale(0.92)",
646
+ transformOrigin: L
647
+ }],
648
+ options: {
649
+ duration: 150,
650
+ easing: n(r),
651
+ fill: "forwards"
652
+ }
653
+ };
654
+ }
655
+ }(this.layout, e), s = [t.animate(o.keyframes, o.options).finished.catch(() => {})], c = this._backdrop;
656
+ this.modal && c && s.push(c.animate(e === "in" ? [{ opacity: 0 }, { opacity: 1 }] : [{ opacity: 1 }, { opacity: 0 }], {
657
+ duration: o.options.duration,
658
+ easing: e === "in" ? "ease-out" : "ease-in",
710
659
  fill: "forwards"
711
- }).finished.catch(() => {})), await Promise.all(n);
660
+ }).finished.catch(() => {})), await Promise.all(s);
712
661
  }
713
662
  };
714
663
  async function Y(e, t, n) {
@@ -716,7 +665,7 @@ async function Y(e, t, n) {
716
665
  var r;
717
666
  if (function(e) {
718
667
  return typeof e == "object" && !!e && "_$litType$" in e;
719
- }(e)) return T(e, t), t;
668
+ }(e)) return E(e, t), t;
720
669
  if (e instanceof HTMLElement) return n && Object.assign(e, n), t.appendChild(e), e;
721
670
  if (function(e) {
722
671
  return typeof e == "function" && ("preload" in e || "_promise" in e);
@@ -731,17 +680,17 @@ async function Y(e, t, n) {
731
680
  }
732
681
  throw Error("schmancy-overlay: unsupported content type");
733
682
  }
734
- t([b({
683
+ t([x({
735
684
  type: String,
736
685
  reflect: !0
737
- })], J.prototype, "layout", void 0), t([b({
686
+ })], J.prototype, "layout", void 0), t([x({
738
687
  type: Boolean,
739
688
  reflect: !0
740
- })], J.prototype, "dismissable", void 0), t([b({
689
+ })], J.prototype, "dismissable", void 0), t([x({
741
690
  type: Boolean,
742
691
  reflect: !0
743
- })], J.prototype, "modal", void 0), t([b({
692
+ })], J.prototype, "modal", void 0), t([x({
744
693
  type: String,
745
694
  reflect: !0
746
- })], J.prototype, "tier", void 0), t([S()], J.prototype, "_active", void 0), t([x(".backdrop")], J.prototype, "_backdrop", void 0), t([x(".surface")], J.prototype, "_surface", void 0), J = t([y("schmancy-overlay")], J);
695
+ })], J.prototype, "tier", void 0), t([C()], J.prototype, "_active", void 0), t([S(".backdrop")], J.prototype, "_backdrop", void 0), t([S(".surface")], J.prototype, "_surface", void 0), J = t([b("schmancy-overlay")], J);
747
696
  export { J as t };